summaryrefslogtreecommitdiffstats
path: root/epsdk-app-onap/src/main/webapp
diff options
context:
space:
mode:
authorOfir Sonsino <os0695@att.com>2017-10-18 11:08:51 +0300
committerOfir Sonsino <os0695@att.com>2017-10-18 11:08:51 +0300
commit6536558797da0a4e13e8dc2c30686cb0eb183b20 (patch)
treeff6bf442b75bb3531eb049c76686cd3e78fcdaf4 /epsdk-app-onap/src/main/webapp
parent14f56a8ca467f0318d9f0d04638612e85de6504c (diff)
Remove GreenSock from att-abs-tpls.js
Change-Id: Ia820d9ba91dcc528f5a6eb825480cb47fec20059 Issue-ID: VID-39 Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'epsdk-app-onap/src/main/webapp')
-rwxr-xr-xepsdk-app-onap/src/main/webapp/app/fusion/external/ebz/sandbox/att-abs-tpls.js1719
-rwxr-xr-xepsdk-app-onap/src/main/webapp/app/fusion/external/ebz/sandbox/att-abs-tpls.min.js19
2 files changed, 9 insertions, 1729 deletions
diff --git a/epsdk-app-onap/src/main/webapp/app/fusion/external/ebz/sandbox/att-abs-tpls.js b/epsdk-app-onap/src/main/webapp/app/fusion/external/ebz/sandbox/att-abs-tpls.js
index b69d6267..6aaa8a60 100755
--- a/epsdk-app-onap/src/main/webapp/app/fusion/external/ebz/sandbox/att-abs-tpls.js
+++ b/epsdk-app-onap/src/main/webapp/app/fusion/external/ebz/sandbox/att-abs-tpls.js
@@ -672,1725 +672,6 @@ angular.module('att.abs.position', [])
}]);
-/*
- * ----------------------------------------------------------------
- * Base classes like TweenLite, SimpleTimeline, Ease, Ticker, etc.
- * ----------------------------------------------------------------
- */
-(function(window) {
-
- "use strict";
- var _globals = window.GreenSockGlobals || window;
- if (_globals.TweenLite) {
- return; //in case the core set of classes is already loaded, don't instantiate twice.
- }
- var _namespace = function(ns) {
- var a = ns.split("."),
- p = _globals, i;
- for (i = 0; i < a.length; i++) {
- p[a[i]] = p = p[a[i]] || {};
- }
- return p;
- },
- gs = _namespace("com.greensock"),
- _tinyNum = 0.0000000001,
- _slice = [].slice,
- _emptyFunc = function() {},
- _isArray = (function() { //works around issues in iframe environments where the Array global isn't shared, thus if the object originates in a different window/iframe, "(obj instanceof Array)" will evaluate false. We added some speed optimizations to avoid Object.prototype.toString.call() unless it's absolutely necessary because it's VERY slow (like 20x slower)
- var toString = Object.prototype.toString,
- array = toString.call([]);
- return function(obj) {
- return obj != null && (obj instanceof Array || (typeof(obj) === "object" && !!obj.push && toString.call(obj) === array));
- };
- }()),
- a, i, p, _ticker, _tickerActive,
- _defLookup = {},
-
- /**
- * @constructor
- * Defines a GreenSock class, optionally with an array of dependencies that must be instantiated first and passed into the definition.
- * This allows users to load GreenSock JS files in any order even if they have interdependencies (like CSSPlugin extends TweenPlugin which is
- * inside TweenLite.js, but if CSSPlugin is loaded first, it should wait to run its code until TweenLite.js loads and instantiates TweenPlugin
- * and then pass TweenPlugin to CSSPlugin's definition). This is all done automatically and internally.
- *
- * Every definition will be added to a "com.greensock" global object (typically window, but if a window.GreenSockGlobals object is found,
- * it will go there as of v1.7). For example, TweenLite will be found at window.com.greensock.TweenLite and since it's a global class that should be available anywhere,
- * it is ALSO referenced at window.TweenLite. However some classes aren't considered global, like the base com.greensock.core.Animation class, so
- * those will only be at the package like window.com.greensock.core.Animation. Again, if you define a GreenSockGlobals object on the window, everything
- * gets tucked neatly inside there instead of on the window directly. This allows you to do advanced things like load multiple versions of GreenSock
- * files and put them into distinct objects (imagine a banner ad uses a newer version but the main site uses an older one). In that case, you could
- * sandbox the banner one like:
- *
- * <script>
- * var gs = window.GreenSockGlobals = {}; //the newer version we're about to load could now be referenced in a "gs" object, like gs.TweenLite.to(...). Use whatever alias you want as long as it's unique, "gs" or "banner" or whatever.
- * </script>
- * <script src="js/greensock/v1.7/TweenMax.js"></script>
- * <script>
- * window.GreenSockGlobals = null; //reset it back to null so that the next load of TweenMax affects the window and we can reference things directly like TweenLite.to(...)
- * </script>
- * <script src="js/greensock/v1.6/TweenMax.js"></script>
- * <script>
- * gs.TweenLite.to(...); //would use v1.7
- * TweenLite.to(...); //would use v1.6
- * </script>
- *
- * @param {!string} ns The namespace of the class definition, leaving off "com.greensock." as that's assumed. For example, "TweenLite" or "plugins.CSSPlugin" or "easing.Back".
- * @param {!Array.<string>} dependencies An array of dependencies (described as their namespaces minus "com.greensock." prefix). For example ["TweenLite","plugins.TweenPlugin","core.Animation"]
- * @param {!function():Object} func The function that should be called and passed the resolved dependencies which will return the actual class for this definition.
- * @param {boolean=} global If true, the class will be added to the global scope (typically window unless you define a window.GreenSockGlobals object)
- */
- Definition = function(ns, dependencies, func, global) {
- this.sc = (_defLookup[ns]) ? _defLookup[ns].sc : []; //subclasses
- _defLookup[ns] = this;
- this.gsClass = null;
- this.func = func;
- var _classes = [];
- this.check = function(init) {
- var i = dependencies.length,
- missing = i,
- cur, a, n, cl;
- while (--i > -1) {
- if ((cur = _defLookup[dependencies[i]] || new Definition(dependencies[i], [])).gsClass) {
- _classes[i] = cur.gsClass;
- missing--;
- } else if (init) {
- cur.sc.push(this);
- }
- }
- if (missing === 0 && func) {
- a = ("com.greensock." + ns).split(".");
- n = a.pop();
- cl = _namespace(a.join("."))[n] = this.gsClass = func.apply(func, _classes);
-
- //exports to multiple environments
- if (global) {
- _globals[n] = cl; //provides a way to avoid global namespace pollution. By default, the main classes like TweenLite, Power1, Strong, etc. are added to window unless a GreenSockGlobals is defined. So if you want to have things added to a custom object instead, just do something like window.GreenSockGlobals = {} before loading any GreenSock files. You can even set up an alias like window.GreenSockGlobals = windows.gs = {} so that you can access everything like gs.TweenLite. Also remember that ALL classes are added to the window.com.greensock object (in their respective packages, like com.greensock.easing.Power1, com.greensock.TweenLite, etc.)
- if (typeof(define) === "function" && define.amd){ //AMD
- define((window.GreenSockAMDPath ? window.GreenSockAMDPath + "/" : "") + ns.split(".").join("/"), [], function() { return cl; });
- } else if (typeof(module) !== "undefined" && module.exports){ //node
- module.exports = cl;
- }
- }
- for (i = 0; i < this.sc.length; i++) {
- this.sc[i].check();
- }
- }
- };
- this.check(true);
- },
-
- //used to create Definition instances (which basically registers a class that has dependencies).
- _gsDefine = window._gsDefine = function(ns, dependencies, func, global) {
- return new Definition(ns, dependencies, func, global);
- },
-
- //a quick way to create a class that doesn't have any dependencies. Returns the class, but first registers it in the GreenSock namespace so that other classes can grab it (other classes might be dependent on the class).
- _class = gs._class = function(ns, func, global) {
- func = func || function() {};
- _gsDefine(ns, [], function(){ return func; }, global);
- return func;
- };
-
- _gsDefine.globals = _globals;
-
-
-
-/*
- * ----------------------------------------------------------------
- * Ease
- * ----------------------------------------------------------------
- */
- var _baseParams = [0, 0, 1, 1],
- _blankArray = [],
- Ease = _class("easing.Ease", function(func, extraParams, type, power) {
- this._func = func;
- this._type = type || 0;
- this._power = power || 0;
- this._params = extraParams ? _baseParams.concat(extraParams) : _baseParams;
- }, true),
- _easeMap = Ease.map = {},
- _easeReg = Ease.register = function(ease, names, types, create) {
- var na = names.split(","),
- i = na.length,
- ta = (types || "easeIn,easeOut,easeInOut").split(","),
- e, name, j, type;
- while (--i > -1) {
- name = na[i];
- e = create ? _class("easing."+name, null, true) : gs.easing[name] || {};
- j = ta.length;
- while (--j > -1) {
- type = ta[j];
- _easeMap[name + "." + type] = _easeMap[type + name] = e[type] = ease.getRatio ? ease : ease[type] || new ease();
- }
- }
- };
-
- p = Ease.prototype;
- p._calcEnd = false;
- p.getRatio = function(p) {
- if (this._func) {
- this._params[0] = p;
- return this._func.apply(null, this._params);
- }
- var t = this._type,
- pw = this._power,
- r = (t === 1) ? 1 - p : (t === 2) ? p : (p < 0.5) ? p * 2 : (1 - p) * 2;
- if (pw === 1) {
- r *= r;
- } else if (pw === 2) {
- r *= r * r;
- } else if (pw === 3) {
- r *= r * r * r;
- } else if (pw === 4) {
- r *= r * r * r * r;
- }
- return (t === 1) ? 1 - r : (t === 2) ? r : (p < 0.5) ? r / 2 : 1 - (r / 2);
- };
-
- //create all the standard eases like Linear, Quad, Cubic, Quart, Quint, Strong, Power0, Power1, Power2, Power3, and Power4 (each with easeIn, easeOut, and easeInOut)
- a = ["Linear","Quad","Cubic","Quart","Quint,Strong"];
- i = a.length;
- while (--i > -1) {
- p = a[i]+",Power"+i;
- _easeReg(new Ease(null,null,1,i), p, "easeOut", true);
- _easeReg(new Ease(null,null,2,i), p, "easeIn" + ((i === 0) ? ",easeNone" : ""));
- _easeReg(new Ease(null,null,3,i), p, "easeInOut");
- }
- _easeMap.linear = gs.easing.Linear.easeIn;
- _easeMap.swing = gs.easing.Quad.easeInOut; //for jQuery folks
-
-
-/*
- * ----------------------------------------------------------------
- * EventDispatcher
- * ----------------------------------------------------------------
- */
- var EventDispatcher = _class("events.EventDispatcher", function(target) {
- this._listeners = {};
- this._eventTarget = target || this;
- });
- p = EventDispatcher.prototype;
-
- p.addEventListener = function(type, callback, scope, useParam, priority) {
- priority = priority || 0;
- var list = this._listeners[type],
- index = 0,
- listener, i;
- if (list == null) {
- this._listeners[type] = list = [];
- }
- i = list.length;
- while (--i > -1) {
- listener = list[i];
- if (listener.c === callback && listener.s === scope) {
- list.splice(i, 1);
- } else if (index === 0 && listener.pr < priority) {
- index = i + 1;
- }
- }
- list.splice(index, 0, {c:callback, s:scope, up:useParam, pr:priority});
- if (this === _ticker && !_tickerActive) {
- _ticker.wake();
- }
- };
-
- p.removeEventListener = function(type, callback) {
- var list = this._listeners[type], i;
- if (list) {
- i = list.length;
- while (--i > -1) {
- if (list[i].c === callback) {
- list.splice(i, 1);
- return;
- }
- }
- }
- };
-
- p.dispatchEvent = function(type) {
- var list = this._listeners[type],
- i, t, listener;
- if (list) {
- i = list.length;
- t = this._eventTarget;
- while (--i > -1) {
- listener = list[i];
- if (listener.up) {
- listener.c.call(listener.s || t, {type:type, target:t});
- } else {
- listener.c.call(listener.s || t);
- }
- }
- }
- };
-
-
-/*
- * ----------------------------------------------------------------
- * Ticker
- * ----------------------------------------------------------------
- */
- var _reqAnimFrame = window.requestAnimationFrame,
- _cancelAnimFrame = window.cancelAnimationFrame,
- _getTime = Date.now || function() {return new Date().getTime();},
- _lastUpdate = _getTime();
-
- //now try to determine the requestAnimationFrame and cancelAnimationFrame functions and if none are found, we'll use a setTimeout()/clearTimeout() polyfill.
- a = ["ms","moz","webkit","o"];
- i = a.length;
- while (--i > -1 && !_reqAnimFrame) {
- _reqAnimFrame = window[a[i] + "RequestAnimationFrame"];
- _cancelAnimFrame = window[a[i] + "CancelAnimationFrame"] || window[a[i] + "CancelRequestAnimationFrame"];
- }
-
- _class("Ticker", function(fps, useRAF) {
- var _self = this,
- _startTime = _getTime(),
- _useRAF = (useRAF !== false && _reqAnimFrame),
- _lagThreshold = 500,
- _adjustedLag = 33,
- _fps, _req, _id, _gap, _nextTime,
- _tick = function(manual) {
- var elapsed = _getTime() - _lastUpdate,
- overlap, dispatch;
- if (elapsed > _lagThreshold) {
- _startTime += elapsed - _adjustedLag;
- }
- _lastUpdate += elapsed;
- _self.time = (_lastUpdate - _startTime) / 1000;
- overlap = _self.time - _nextTime;
- if (!_fps || overlap > 0 || manual === true) {
- _self.frame++;
- _nextTime += overlap + (overlap >= _gap ? 0.004 : _gap - overlap);
- dispatch = true;
- }
- if (manual !== true) { //make sure the request is made before we dispatch the "tick" event so that timing is maintained. Otherwise, if processing the "tick" requires a bunch of time (like 15ms) and we're using a setTimeout() that's based on 16.7ms, it'd technically take 31.7ms between frames otherwise.
- _id = _req(_tick);
- }
- if (dispatch) {
- _self.dispatchEvent("tick");
- }
- };
-
- EventDispatcher.call(_self);
- _self.time = _self.frame = 0;
- _self.tick = function() {
- _tick(true);
- };
-
- _self.lagSmoothing = function(threshold, adjustedLag) {
- _lagThreshold = threshold || (1 / _tinyNum); //zero should be interpreted as basically unlimited
- _adjustedLag = Math.min(adjustedLag, _lagThreshold, 0);
- };
-
- _self.sleep = function() {
- if (_id == null) {
- return;
- }
- if (!_useRAF || !_cancelAnimFrame) {
- clearTimeout(_id);
- } else {
- _cancelAnimFrame(_id);
- }
- _req = _emptyFunc;
- _id = null;
- if (_self === _ticker) {
- _tickerActive = false;
- }
- };
-
- _self.wake = function() {
- if (_id !== null) {
- _self.sleep();
- } else if (_self.frame > 10) { //don't trigger lagSmoothing if we're just waking up, and make sure that at least 10 frames have elapsed because of the iOS bug that we work around below with the 1.5-second setTimout().
- _lastUpdate = _getTime() - _lagThreshold + 5;
- }
- _req = (_fps === 0) ? _emptyFunc : (!_useRAF || !_reqAnimFrame) ? function(f) { return setTimeout(f, ((_nextTime - _self.time) * 1000 + 1) | 0); } : _reqAnimFrame;
- if (_self === _ticker) {
- _tickerActive = true;
- }
- _tick(2);
- };
-
- _self.fps = function(value) {
- if (!arguments.length) {
- return _fps;
- }
- _fps = value;
- _gap = 1 / (_fps || 60);
- _nextTime = this.time + _gap;
- _self.wake();
- };
-
- _self.useRAF = function(value) {
- if (!arguments.length) {
- return _useRAF;
- }
- _self.sleep();
- _useRAF = value;
- _self.fps(_fps);
- };
- _self.fps(fps);
-
- //a bug in iOS 6 Safari occasionally prevents the requestAnimationFrame from working initially, so we use a 1.5-second timeout that automatically falls back to setTimeout() if it senses this condition.
- setTimeout(function() {
- if (_useRAF && (!_id || _self.frame < 5)) {
- _self.useRAF(false);
- }
- }, 1500);
- });
-
- p = gs.Ticker.prototype = new gs.events.EventDispatcher();
- p.constructor = gs.Ticker;
-
-
-/*
- * ----------------------------------------------------------------
- * Animation
- * ----------------------------------------------------------------
- */
- var Animation = _class("core.Animation", function(duration, vars) {
- this.vars = vars = vars || {};
- this._duration = this._totalDuration = duration || 0;
- this._delay = Number(vars.delay) || 0;
- this._timeScale = 1;
- this._active = (vars.immediateRender === true);
- this.data = vars.data;
- this._reversed = (vars.reversed === true);
-
- if (!_rootTimeline) {
- return;
- }
- if (!_tickerActive) { //some browsers (like iOS 6 Safari) shut down JavaScript execution when the tab is disabled and they [occasionally] neglect to start up requestAnimationFrame again when returning - this code ensures that the engine starts up again properly.
- _ticker.wake();
- }
-
- var tl = this.vars.useFrames ? _rootFramesTimeline : _rootTimeline;
- tl.add(this, tl._time);
-
- if (this.vars.paused) {
- this.paused(true);
- }
- });
-
- _ticker = Animation.ticker = new gs.Ticker();
- p = Animation.prototype;
- p._dirty = p._gc = p._initted = p._paused = false;
- p._totalTime = p._time = 0;
- p._rawPrevTime = -1;
- p._next = p._last = p._onUpdate = p._timeline = p.timeline = null;
- p._paused = false;
-
-
- //some browsers (like iOS) occasionally drop the requestAnimationFrame event when the user switches to a different tab and then comes back again, so we use a 2-second setTimeout() to sense if/when that condition occurs and then wake() the ticker.
- var _checkTimeout = function() {
- if (_tickerActive && _getTime() - _lastUpdate > 2000) {
- _ticker.wake();
- }
- setTimeout(_checkTimeout, 2000);
- };
- _checkTimeout();
-
-
- p.play = function(from, suppressEvents) {
- if (from != null) {
- this.seek(from, suppressEvents);
- }
- return this.reversed(false).paused(false);
- };
-
- p.pause = function(atTime, suppressEvents) {
- if (atTime != null) {
- this.seek(atTime, suppressEvents);
- }
- return this.paused(true);
- };
-
- p.resume = function(from, suppressEvents) {
- if (from != null) {
- this.seek(from, suppressEvents);
- }
- return this.paused(false);
- };
-
- p.seek = function(time, suppressEvents) {
- return this.totalTime(Number(time), suppressEvents !== false);
- };
-
- p.restart = function(includeDelay, suppressEvents) {
- return this.reversed(false).paused(false).totalTime(includeDelay ? -this._delay : 0, (suppressEvents !== false), true);
- };
-
- p.reverse = function(from, suppressEvents) {
- if (from != null) {
- this.seek((from || this.totalDuration()), suppressEvents);
- }
- return this.reversed(true).paused(false);
- };
-
- p.render = function(time, suppressEvents, force) {
- //stub - we override this method in subclasses.
- };
-
- p.invalidate = function() {
- return this;
- };
-
- p.isActive = function() {
- var tl = this._timeline, //the 2 root timelines won't have a _timeline; they're always active.
- startTime = this._startTime,
- rawTime;
- return (!tl || (!this._gc && !this._paused && tl.isActive() && (rawTime = tl.rawTime()) >= startTime && rawTime < startTime + this.totalDuration() / this._timeScale));
- };
-
- p._enabled = function (enabled, ignoreTimeline) {
- if (!_tickerActive) {
- _ticker.wake();
- }
- this._gc = !enabled;
- this._active = this.isActive();
- if (ignoreTimeline !== true) {
- if (enabled && !this.timeline) {
- this._timeline.add(this, this._startTime - this._delay);
- } else if (!enabled && this.timeline) {
- this._timeline._remove(this, true);
- }
- }
- return false;
- };
-
-
- p._kill = function(vars, target) {
- return this._enabled(false, false);
- };
-
- p.kill = function(vars, target) {
- this._kill(vars, target);
- return this;
- };
-
- p._uncache = function(includeSelf) {
- var tween = includeSelf ? this : this.timeline;
- while (tween) {
- tween._dirty = true;
- tween = tween.timeline;
- }
- return this;
- };
-
- p._swapSelfInParams = function(params) {
- var i = params.length,
- copy = params.concat();
- while (--i > -1) {
- if (params[i] === "{self}") {
- copy[i] = this;
- }
- }
- return copy;
- };
-
-//----Animation getters/setters --------------------------------------------------------
-
- p.eventCallback = function(type, callback, params, scope) {
- if ((type || "").substr(0,2) === "on") {
- var v = this.vars;
- if (arguments.length === 1) {
- return v[type];
- }
- if (callback == null) {
- delete v[type];
- } else {
- v[type] = callback;
- v[type + "Params"] = (_isArray(params) && params.join("").indexOf("{self}") !== -1) ? this._swapSelfInParams(params) : params;
- v[type + "Scope"] = scope;
- }
- if (type === "onUpdate") {
- this._onUpdate = callback;
- }
- }
- return this;
- };
-
- p.delay = function(value) {
- if (!arguments.length) {
- return this._delay;
- }
- if (this._timeline.smoothChildTiming) {
- this.startTime( this._startTime + value - this._delay );
- }
- this._delay = value;
- return this;
- };
-
- p.duration = function(value) {
- if (!arguments.length) {
- this._dirty = false;
- return this._duration;
- }
- this._duration = this._totalDuration = value;
- this._uncache(true); //true in case it's a TweenMax or TimelineMax that has a repeat - we'll need to refresh the totalDuration.
- if (this._timeline.smoothChildTiming) if (this._time > 0) if (this._time < this._duration) if (value !== 0) {
- this.totalTime(this._totalTime * (value / this._duration), true);
- }
- return this;
- };
-
- p.totalDuration = function(value) {
- this._dirty = false;
- return (!arguments.length) ? this._totalDuration : this.duration(value);
- };
-
- p.time = function(value, suppressEvents) {
- if (!arguments.length) {
- return this._time;
- }
- if (this._dirty) {
- this.totalDuration();
- }
- return this.totalTime((value > this._duration) ? this._duration : value, suppressEvents);
- };
-
- p.totalTime = function(time, suppressEvents, uncapped) {
- if (!_tickerActive) {
- _ticker.wake();
- }
- if (!arguments.length) {
- return this._totalTime;
- }
- if (this._timeline) {
- if (time < 0 && !uncapped) {
- time += this.totalDuration();
- }
- if (this._timeline.smoothChildTiming) {
- if (this._dirty) {
- this.totalDuration();
- }
- var totalDuration = this._totalDuration,
- tl = this._timeline;
- if (time > totalDuration && !uncapped) {
- time = totalDuration;
- }
- this._startTime = (this._paused ? this._pauseTime : tl._time) - ((!this._reversed ? time : totalDuration - time) / this._timeScale);
- if (!tl._dirty) { //for performance improvement. If the parent's cache is already dirty, it already took care of marking the ancestors as dirty too, so skip the function call here.
- this._uncache(false);
- }
- //in case any of the ancestor timelines had completed but should now be enabled, we should reset their totalTime() which will also ensure that they're lined up properly and enabled. Skip for animations that are on the root (wasteful). Example: a TimelineLite.exportRoot() is performed when there's a paused tween on the root, the export will not complete until that tween is unpaused, but imagine a child gets restarted later, after all [unpaused] tweens have completed. The startTime of that child would get pushed out, but one of the ancestors may have completed.
- if (tl._timeline) {
- while (tl._timeline) {
- if (tl._timeline._time !== (tl._startTime + tl._totalTime) / tl._timeScale) {
- tl.totalTime(tl._totalTime, true);
- }
- tl = tl._timeline;
- }
- }
- }
- if (this._gc) {
- this._enabled(true, false);
- }
- if (this._totalTime !== time || this._duration === 0) {
- this.render(time, suppressEvents, false);
- if (_lazyTweens.length) { //in case rendering caused any tweens to lazy-init, we should render them because typically when someone calls seek() or time() or progress(), they expect an immediate render.
- _lazyRender();
- }
- }
- }
- return this;
- };
-
- p.progress = p.totalProgress = function(value, suppressEvents) {
- return (!arguments.length) ? this._time / this.duration() : this.totalTime(this.duration() * value, suppressEvents);
- };
-
- p.startTime = function(value) {
- if (!arguments.length) {
- return this._startTime;
- }
- if (value !== this._startTime) {
- this._startTime = value;
- if (this.timeline) if (this.timeline._sortChildren) {
- this.timeline.add(this, value - this._delay); //ensures that any necessary re-sequencing of Animations in the timeline occurs to make sure the rendering order is correct.
- }
- }
- return this;
- };
-
- p.timeScale = function(value) {
- if (!arguments.length) {
- return this._timeScale;
- }
- value = value || _tinyNum; //can't allow zero because it'll throw the math off
- if (this._timeline && this._timeline.smoothChildTiming) {
- var pauseTime = this._pauseTime,
- t = (pauseTime || pauseTime === 0) ? pauseTime : this._timeline.totalTime();
- this._startTime = t - ((t - this._startTime) * this._timeScale / value);
- }
- this._timeScale = value;
- return this._uncache(false);
- };
-
- p.reversed = function(value) {
- if (!arguments.length) {
- return this._reversed;
- }
- if (value != this._reversed) {
- this._reversed = value;
- this.totalTime(((this._timeline && !this._timeline.smoothChildTiming) ? this.totalDuration() - this._totalTime : this._totalTime), true);
- }
- return this;
- };
-
- p.paused = function(value) {
- if (!arguments.length) {
- return this._paused;
- }
- if (value != this._paused) if (this._timeline) {
- if (!_tickerActive && !value) {
- _ticker.wake();
- }
- var tl = this._timeline,
- raw = tl.rawTime(),
- elapsed = raw - this._pauseTime;
- if (!value && tl.smoothChildTiming) {
- this._startTime += elapsed;
- this._uncache(false);
- }
- this._pauseTime = value ? raw : null;
- this._paused = value;
- this._active = this.isActive();
- if (!value && elapsed !== 0 && this._initted && this.duration()) {
- this.render((tl.smoothChildTiming ? this._totalTime : (raw - this._startTime) / this._timeScale), true, true); //in case the target's properties changed via some other tween or manual update by the user, we should force a render.
- }
- }
- if (this._gc && !value) {
- this._enabled(true, false);
- }
- return this;
- };
-
-
-/*
- * ----------------------------------------------------------------
- * SimpleTimeline
- * ----------------------------------------------------------------
- */
- var SimpleTimeline = _class("core.SimpleTimeline", function(vars) {
- Animation.call(this, 0, vars);
- this.autoRemoveChildren = this.smoothChildTiming = true;
- });
-
- p = SimpleTimeline.prototype = new Animation();
- p.constructor = SimpleTimeline;
- p.kill()._gc = false;
- p._first = p._last = null;
- p._sortChildren = false;
-
- p.add = p.insert = function(child, position, align, stagger) {
- var prevTween, st;
- child._startTime = Number(position || 0) + child._delay;
- if (child._paused) if (this !== child._timeline) { //we only adjust the _pauseTime if it wasn't in this timeline already. Remember, sometimes a tween will be inserted again into the same timeline when its startTime is changed so that the tweens in the TimelineLite/Max are re-ordered properly in the linked list (so everything renders in the proper order).
- child._pauseTime = child._startTime + ((this.rawTime() - child._startTime) / child._timeScale);
- }
- if (child.timeline) {
- child.timeline._remove(child, true); //removes from existing timeline so that it can be properly added to this one.
- }
- child.timeline = child._timeline = this;
- if (child._gc) {
- child._enabled(true, true);
- }
- prevTween = this._last;
- if (this._sortChildren) {
- st = child._startTime;
- while (prevTween && prevTween._startTime > st) {
- prevTween = prevTween._prev;
- }
- }
- if (prevTween) {
- child._next = prevTween._next;
- prevTween._next = child;
- } else {
- child._next = this._first;
- this._first = child;
- }
- if (child._next) {
- child._next._prev = child;
- } else {
- this._last = child;
- }
- child._prev = prevTween;
- if (this._timeline) {
- this._uncache(true);
- }
- return this;
- };
-
- p._remove = function(tween, skipDisable) {
- if (tween.timeline === this) {
- if (!skipDisable) {
- tween._enabled(false, true);
- }
- tween.timeline = null;
-
- if (tween._prev) {
- tween._prev._next = tween._next;
- } else if (this._first === tween) {
- this._first = tween._next;
- }
- if (tween._next) {
- tween._next._prev = tween._prev;
- } else if (this._last === tween) {
- this._last = tween._prev;
- }
-
- if (this._timeline) {
- this._uncache(true);
- }
- }
- return this;
- };
-
- p.render = function(time, suppressEvents, force) {
- var tween = this._first,
- next;
- this._totalTime = this._time = this._rawPrevTime = time;
- while (tween) {
- next = tween._next; //record it here because the value could change after rendering...
- if (tween._active || (time >= tween._startTime && !tween._paused)) {
- if (!tween._reversed) {
- tween.render((time - tween._startTime) * tween._timeScale, suppressEvents, force);
- } else {
- tween.render(((!tween._dirty) ? tween._totalDuration : tween.totalDuration()) - ((time - tween._startTime) * tween._timeScale), suppressEvents, force);
- }
- }
- tween = next;
- }
- };
-
- p.rawTime = function() {
- if (!_tickerActive) {
- _ticker.wake();
- }
- return this._totalTime;
- };
-
-/*
- * ----------------------------------------------------------------
- * TweenLite
- * ----------------------------------------------------------------
- */
- var TweenLite = _class("TweenLite", function(target, duration, vars) {
- Animation.call(this, duration, vars);
- this.render = TweenLite.prototype.render; //speed optimization (avoid prototype lookup on this "hot" method)
-
- if (target == null) {
- throw "Cannot tween a null target.";
- }
-
- this.target = target = (typeof(target) !== "string") ? target : TweenLite.selector(target) || target;
-
- var isSelector = (target.jquery || (target.length && target !== window && target[0] && (target[0] === window || (target[0].nodeType && target[0].style && !target.nodeType)))),
- overwrite = this.vars.overwrite,
- i, targ, targets;
-
- this._overwrite = overwrite = (overwrite == null) ? _overwriteLookup[TweenLite.defaultOverwrite] : (typeof(overwrite) === "number") ? overwrite >> 0 : _overwriteLookup[overwrite];
-
- if ((isSelector || target instanceof Array || (target.push && _isArray(target))) && typeof(target[0]) !== "number") {
- this._targets = targets = _slice.call(target, 0);
- this._propLookup = [];
- this._siblings = [];
- for (i = 0; i < targets.length; i++) {
- targ = targets[i];
- if (!targ) {
- targets.splice(i--, 1);
- continue;
- } else if (typeof(targ) === "string") {
- targ = targets[i--] = TweenLite.selector(targ); //in case it's an array of strings
- if (typeof(targ) === "string") {
- targets.splice(i+1, 1); //to avoid an endless loop (can't imagine why the selector would return a string, but just in case)
- }
- continue;
- } else if (targ.length && targ !== window && targ[0] && (targ[0] === window || (targ[0].nodeType && targ[0].style && !targ.nodeType))) { //in case the user is passing in an array of selector objects (like jQuery objects), we need to check one more level and pull things out if necessary. Also note that <select> elements pass all the criteria regarding length and the first child having style, so we must also check to ensure the target isn't an HTML node itself.
- targets.splice(i--, 1);
- this._targets = targets = targets.concat(_slice.call(targ, 0));
- continue;
- }
- this._siblings[i] = _register(targ, this, false);
- if (overwrite === 1) if (this._siblings[i].length > 1) {
- _applyOverwrite(targ, this, null, 1, this._siblings[i]);
- }
- }
-
- } else {
- this._propLookup = {};
- this._siblings = _register(target, this, false);
- if (overwrite === 1) if (this._siblings.length > 1) {
- _applyOverwrite(target, this, null, 1, this._siblings);
- }
- }
- if (this.vars.immediateRender || (duration === 0 && this._delay === 0 && this.vars.immediateRender !== false)) {
- this._time = -_tinyNum; //forces a render without having to set the render() "force" parameter to true because we want to allow lazying by default (using the "force" parameter always forces an immediate full render)
- this.render(-this._delay);
- }
- }, true),
- _isSelector = function(v) {
- return (v.length && v !== window && v[0] && (v[0] === window || (v[0].nodeType && v[0].style && !v.nodeType))); //we cannot check "nodeType" if the target is window from within an iframe, otherwise it will trigger a security error in some browsers like Firefox.
- },
- _autoCSS = function(vars, target) {
- var css = {},
- p;
- for (p in vars) {
- if (!_reservedProps[p] && (!(p in target) || p === "transform" || p === "x" || p === "y" || p === "width" || p === "height" || p === "className" || p === "border") && (!_plugins[p] || (_plugins[p] && _plugins[p]._autoCSS))) { //note: <img> elements contain read-only "x" and "y" properties. We should also prioritize editing css width/height rather than the element's properties.
- css[p] = vars[p];
- delete vars[p];
- }
- }
- vars.css = css;
- };
-
- p = TweenLite.prototype = new Animation();
- p.constructor = TweenLite;
- p.kill()._gc = false;
-
-//----TweenLite defaults, overwrite management, and root updates ----------------------------------------------------
-
- p.ratio = 0;
- p._firstPT = p._targets = p._overwrittenProps = p._startAt = null;
- p._notifyPluginsOfEnabled = p._lazy = false;
-
- TweenLite.version = "1.12.1";
- TweenLite.defaultEase = p._ease = new Ease(null, null, 1, 1);
- TweenLite.defaultOverwrite = "auto";
- TweenLite.ticker = _ticker;
- TweenLite.autoSleep = true;
- TweenLite.lagSmoothing = function(threshold, adjustedLag) {
- _ticker.lagSmoothing(threshold, adjustedLag);
- };
- TweenLite.selector = window.$ || window.jQuery || function(e) { if (window.$) { TweenLite.selector = window.$; return window.$(e); } return window.document ? window.document.getElementById((e.charAt(0) === "#") ? e.substr(1) : e) : e; };
-
- var _lazyTweens = [],
- _lazyLookup = {},
- _internals = TweenLite._internals = {isArray:_isArray, isSelector:_isSelector, lazyTweens:_lazyTweens}, //gives us a way to expose certain private values to other GreenSock classes without contaminating tha main TweenLite object.
- _plugins = TweenLite._plugins = {},
- _tweenLookup = _internals.tweenLookup = {},
- _tweenLookupNum = 0,
- _reservedProps = _internals.reservedProps = {ease:1, delay:1, overwrite:1, onComplete:1, onCompleteParams:1, onCompleteScope:1, useFrames:1, runBackwards:1, startAt:1, onUpdate:1, onUpdateParams:1, onUpdateScope:1, onStart:1, onStartParams:1, onStartScope:1, onReverseComplete:1, onReverseCompleteParams:1, onReverseCompleteScope:1, onRepeat:1, onRepeatParams:1, onRepeatScope:1, easeParams:1, yoyo:1, immediateRender:1, repeat:1, repeatDelay:1, data:1, paused:1, reversed:1, autoCSS:1, lazy:1},
- _overwriteLookup = {none:0, all:1, auto:2, concurrent:3, allOnStart:4, preexisting:5, "true":1, "false":0},
- _rootFramesTimeline = Animation._rootFramesTimeline = new SimpleTimeline(),
- _rootTimeline = Animation._rootTimeline = new SimpleTimeline(),
- _lazyRender = function() {
- var i = _lazyTweens.length;
- _lazyLookup = {};
- while (--i > -1) {
- a = _lazyTweens[i];
- if (a && a._lazy !== false) {
- a.render(a._lazy, false, true);
- a._lazy = false;
- }
- }
- _lazyTweens.length = 0;
- };
-
- _rootTimeline._startTime = _ticker.time;
- _rootFramesTimeline._startTime = _ticker.frame;
- _rootTimeline._active = _rootFramesTimeline._active = true;
- setTimeout(_lazyRender, 1); //on some mobile devices, there isn't a "tick" before code runs which means any lazy renders wouldn't run before the next official "tick".
-
- Animation._updateRoot = TweenLite.render = function() {
- var i, a, p;
- if (_lazyTweens.length) { //if code is run outside of the requestAnimationFrame loop, there may be tweens queued AFTER the engine refreshed, so we need to ensure any pending renders occur before we refresh again.
- _lazyRender();
- }
- _rootTimeline.render((_ticker.time - _rootTimeline._startTime) * _rootTimeline._timeScale, false, false);
- _rootFramesTimeline.render((_ticker.frame - _rootFramesTimeline._startTime) * _rootFramesTimeline._timeScale, false, false);
- if (_lazyTweens.length) {
- _lazyRender();
- }
- if (!(_ticker.frame % 120)) { //dump garbage every 120 frames...
- for (p in _tweenLookup) {
- a = _tweenLookup[p].tweens;
- i = a.length;
- while (--i > -1) {
- if (a[i]._gc) {
- a.splice(i, 1);
- }
- }
- if (a.length === 0) {
- delete _tweenLookup[p];
- }
- }
- //if there are no more tweens in the root timelines, or if they're all paused, make the _timer sleep to reduce load on the CPU slightly
- p = _rootTimeline._first;
- if (!p || p._paused) if (TweenLite.autoSleep && !_rootFramesTimeline._first && _ticker._listeners.tick.length === 1) {
- while (p && p._paused) {
- p = p._next;
- }
- if (!p) {
- _ticker.sleep();
- }
- }
- }
- };
-
- _ticker.addEventListener("tick", Animation._updateRoot);
-
- var _register = function(target, tween, scrub) {
- var id = target._gsTweenID, a, i;
- if (!_tweenLookup[id || (target._gsTweenID = id = "t" + (_tweenLookupNum++))]) {
- _tweenLookup[id] = {target:target, tweens:[]};
- }
- if (tween) {
- a = _tweenLookup[id].tweens;
- a[(i = a.length)] = tween;
- if (scrub) {
- while (--i > -1) {
- if (a[i] === tween) {
- a.splice(i, 1);
- }
- }
- }
- }
- return _tweenLookup[id].tweens;
- },
-
- _applyOverwrite = function(target, tween, props, mode, siblings) {
- var i, changed, curTween, l;
- if (mode === 1 || mode >= 4) {
- l = siblings.length;
- for (i = 0; i < l; i++) {
- if ((curTween = siblings[i]) !== tween) {
- if (!curTween._gc) if (curTween._enabled(false, false)) {
- changed = true;
- }
- } else if (mode === 5) {
- break;
- }
- }
- return changed;
- }
- //NOTE: Add 0.0000000001 to overcome floating point errors that can cause the startTime to be VERY slightly off (when a tween's time() is set for example)
- var startTime = tween._startTime + _tinyNum,
- overlaps = [],
- oCount = 0,
- zeroDur = (tween._duration === 0),
- globalStart;
- i = siblings.length;
- while (--i > -1) {
- if ((curTween = siblings[i]) === tween || curTween._gc || curTween._paused) {
- //ignore
- } else if (curTween._timeline !== tween._timeline) {
- globalStart = globalStart || _checkOverlap(tween, 0, zeroDur);
- if (_checkOverlap(curTween, globalStart, zeroDur) === 0) {
- overlaps[oCount++] = curTween;
- }
- } else if (curTween._startTime <= startTime) if (curTween._startTime + curTween.totalDuration() / curTween._timeScale > startTime) if (!((zeroDur || !curTween._initted) && startTime - curTween._startTime <= 0.0000000002)) {
- overlaps[oCount++] = curTween;
- }
- }
-
- i = oCount;
- while (--i > -1) {
- curTween = overlaps[i];
- if (mode === 2) if (curTween._kill(props, target)) {
- changed = true;
- }
- if (mode !== 2 || (!curTween._firstPT && curTween._initted)) {
- if (curTween._enabled(false, false)) { //if all property tweens have been overwritten, kill the tween.
- changed = true;
- }
- }
- }
- return changed;
- },
-
- _checkOverlap = function(tween, reference, zeroDur) {
- var tl = tween._timeline,
- ts = tl._timeScale,
- t = tween._startTime;
- while (tl._timeline) {
- t += tl._startTime;
- ts *= tl._timeScale;
- if (tl._paused) {
- return -100;
- }
- tl = tl._timeline;
- }
- t /= ts;
- return (t > reference) ? t - reference : ((zeroDur && t === reference) || (!tween._initted && t - reference < 2 * _tinyNum)) ? _tinyNum : ((t += tween.totalDuration() / tween._timeScale / ts) > reference + _tinyNum) ? 0 : t - reference - _tinyNum;
- };
-
-
-//---- TweenLite instance methods -----------------------------------------------------------------------------
-
- p._init = function() {
- var v = this.vars,
- op = this._overwrittenProps,
- dur = this._duration,
- immediate = !!v.immediateRender,
- ease = v.ease,
- i, initPlugins, pt, p, startVars;
- if (v.startAt) {
- if (this._startAt) {
- this._startAt.render(-1, true); //if we've run a startAt previously (when the tween instantiated), we should revert it so that the values re-instantiate correctly particularly for relative tweens. Without this, a TweenLite.fromTo(obj, 1, {x:"+=100"}, {x:"-=100"}), for example, would actually jump to +=200 because the startAt would run twice, doubling the relative change.
- this._startAt.kill();
- }
- startVars = {};
- for (p in v.startAt) { //copy the properties/values into a new object to avoid collisions, like var to = {x:0}, from = {x:500}; timeline.fromTo(e, 1, from, to).fromTo(e, 1, to, from);
- startVars[p] = v.startAt[p];
- }
- startVars.overwrite = false;
- startVars.immediateRender = true;
- startVars.lazy = (immediate && v.lazy !== false);
- startVars.startAt = startVars.delay = null; //no nesting of startAt objects allowed (otherwise it could cause an infinite loop).
- this._startAt = TweenLite.to(this.target, 0, startVars);
- if (immediate) {
- if (this._time > 0) {
- this._startAt = null; //tweens that render immediately (like most from() and fromTo() tweens) shouldn't revert when their parent timeline's playhead goes backward past the startTime because the initial render could have happened anytime and it shouldn't be directly correlated to this tween's startTime. Imagine setting up a complex animation where the beginning states of various objects are rendered immediately but the tween doesn't happen for quite some time - if we revert to the starting values as soon as the playhead goes backward past the tween's startTime, it will throw things off visually. Reversion should only happen in TimelineLite/Max instances where immediateRender was false (which is the default in the convenience methods like from()).
- } else if (dur !== 0) {
- return; //we skip initialization here so that overwriting doesn't occur until the tween actually begins. Otherwise, if you create several immediateRender:true tweens of the same target/properties to drop into a TimelineLite or TimelineMax, the last one created would overwrite the first ones because they didn't get placed into the timeline yet before the first render occurs and kicks in overwriting.
- }
- }
- } else if (v.runBackwards && dur !== 0) {
- //from() tweens must be handled uniquely: their beginning values must be rendered but we don't want overwriting to occur yet (when time is still 0). Wait until the tween actually begins before doing all the routines like overwriting. At that time, we should render at the END of the tween to ensure that things initialize correctly (remember, from() tweens go backwards)
- if (this._startAt) {
- this._startAt.render(-1, true);
- this._startAt.kill();
- this._startAt = null;
- } else {
- pt = {};
- for (p in v) { //copy props into a new object and skip any reserved props, otherwise onComplete or onUpdate or onStart could fire. We should, however, permit autoCSS to go through.
- if (!_reservedProps[p] || p === "autoCSS") {
- pt[p] = v[p];
- }
- }
- pt.overwrite = 0;
- pt.data = "isFromStart"; //we tag the tween with as "isFromStart" so that if [inside a plugin] we need to only do something at the very END of a tween, we have a way of identifying this tween as merely the one that's setting the beginning values for a "from()" tween. For example, clearProps in CSSPlugin should only get applied at the very END of a tween and without this tag, from(...{height:100, clearProps:"height", delay:1}) would wipe the height at the beginning of the tween and after 1 second, it'd kick back in.
- pt.lazy = (immediate && v.lazy !== false);
- pt.immediateRender = immediate; //zero-duration tweens render immediately by default, but if we're not specifically instructed to render this tween immediately, we should skip this and merely _init() to record the starting values (rendering them immediately would push them to completion which is wasteful in that case - we'd have to render(-1) immediately after)
- this._startAt = TweenLite.to(this.target, 0, pt);
- if (!immediate) {
- this._startAt._init(); //ensures that the initial values are recorded
- this._startAt._enabled(false); //no need to have the tween render on the next cycle. Disable it because we'll always manually control the renders of the _startAt tween.
- } else if (this._time === 0) {
- return;
- }
- }
- }
- if (!ease) {
- this._ease = TweenLite.defaultEase;
- } else if (ease instanceof Ease) {
- this._ease = (v.easeParams instanceof Array) ? ease.config.apply(ease, v.easeParams) : ease;
- } else {
- this._ease = (typeof(ease) === "function") ? new Ease(ease, v.easeParams) : _easeMap[ease] || TweenLite.defaultEase;
- }
- this._easeType = this._ease._type;
- this._easePower = this._ease._power;
- this._firstPT = null;
-
- if (this._targets) {
- i = this._targets.length;
- while (--i > -1) {
- if ( this._initProps( this._targets[i], (this._propLookup[i] = {}), this._siblings[i], (op ? op[i] : null)) ) {
- initPlugins = true;
- }
- }
- } else {
- initPlugins = this._initProps(this.target, this._propLookup, this._siblings, op);
- }
-
- if (initPlugins) {
- TweenLite._onPluginEvent("_onInitAllProps", this); //reorders the array in order of priority. Uses a static TweenPlugin method in order to minimize file size in TweenLite
- }
- if (op) if (!this._firstPT) if (typeof(this.target) !== "function") { //if all tweening properties have been overwritten, kill the tween. If the target is a function, it's probably a delayedCall so let it live.
- this._enabled(false, false);
- }
- if (v.runBackwards) {
- pt = this._firstPT;
- while (pt) {
- pt.s += pt.c;
- pt.c = -pt.c;
- pt = pt._next;
- }
- }
- this._onUpdate = v.onUpdate;
- this._initted = true;
- };
-
- p._initProps = function(target, propLookup, siblings, overwrittenProps) {
- var p, i, initPlugins, plugin, pt, v;
- if (target == null) {
- return false;
- }
-
- if (_lazyLookup[target._gsTweenID]) {
- _lazyRender(); //if other tweens of the same target have recently initted but haven't rendered yet, we've got to force the render so that the starting values are correct (imagine populating a timeline with a bunch of sequential tweens and then jumping to the end)
- }
-
- if (!this.vars.css) if (target.style) if (target !== window && target.nodeType) if (_plugins.css) if (this.vars.autoCSS !== false) { //it's so common to use TweenLite/Max to animate the css of DOM elements, we assume that if the target is a DOM element, that's what is intended (a convenience so that users don't have to wrap things in css:{}, although we still recommend it for a slight performance boost and better specificity). Note: we cannot check "nodeType" on the window inside an iframe.
- _autoCSS(this.vars, target);
- }
- for (p in this.vars) {
- v = this.vars[p];
- if (_reservedProps[p]) {
- if (v) if ((v instanceof Array) || (v.push && _isArray(v))) if (v.join("").indexOf("{self}") !== -1) {
- this.vars[p] = v = this._swapSelfInParams(v, this);
- }
-
- } else if (_plugins[p] && (plugin = new _plugins[p]())._onInitTween(target, this.vars[p], this)) {
-
- //t - target [object]
- //p - property [string]
- //s - start [number]
- //c - change [number]
- //f - isFunction [boolean]
- //n - name [string]
- //pg - isPlugin [boolean]
- //pr - priority [number]
- this._firstPT = pt = {_next:this._firstPT, t:plugin, p:"setRatio", s:0, c:1, f:true, n:p, pg:true, pr:plugin._priority};
- i = plugin._overwriteProps.length;
- while (--i > -1) {
- propLookup[plugin._overwriteProps[i]] = this._firstPT;
- }
- if (plugin._priority || plugin._onInitAllProps) {
- initPlugins = true;
- }
- if (plugin._onDisable || plugin._onEnable) {
- this._notifyPluginsOfEnabled = true;
- }
-
- } else {
- this._firstPT = propLookup[p] = pt = {_next:this._firstPT, t:target, p:p, f:(typeof(target[p]) === "function"), n:p, pg:false, pr:0};
- pt.s = (!pt.f) ? parseFloat(target[p]) : target[ ((p.indexOf("set") || typeof(target["get" + p.substr(3)]) !== "function") ? p : "get" + p.substr(3)) ]();
- pt.c = (typeof(v) === "string" && v.charAt(1) === "=") ? parseInt(v.charAt(0) + "1", 10) * Number(v.substr(2)) : (Number(v) - pt.s) || 0;
- }
- if (pt) if (pt._next) {
- pt._next._prev = pt;
- }
- }
-
- if (overwrittenProps) if (this._kill(overwrittenProps, target)) { //another tween may have tried to overwrite properties of this tween before init() was called (like if two tweens start at the same time, the one created second will run first)
- return this._initProps(target, propLookup, siblings, overwrittenProps);
- }
- if (this._overwrite > 1) if (this._firstPT) if (siblings.length > 1) if (_applyOverwrite(target, this, propLookup, this._overwrite, siblings)) {
- this._kill(propLookup, target);
- return this._initProps(target, propLookup, siblings, overwrittenProps);
- }
- if (this._firstPT) if ((this.vars.lazy !== false && this._duration) || (this.vars.lazy && !this._duration)) { //zero duration tweens don't lazy render by default; everything else does.
- _lazyLookup[target._gsTweenID] = true;
- }
- return initPlugins;
- };
-
- p.render = function(time, suppressEvents, force) {
- var prevTime = this._time,
- duration = this._duration,
- prevRawPrevTime = this._rawPrevTime,
- isComplete, callback, pt, rawPrevTime;
- if (time >= duration) {
- this._totalTime = this._time = duration;
- this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1;
- if (!this._reversed ) {
- isComplete = true;
- callback = "onComplete";
- }
- if (duration === 0) if (this._initted || !this.vars.lazy || force) { //zero-duration tweens are tricky because we must discern the momentum/direction of time in order to determine whether the starting values should be rendered or the ending values. If the "playhead" of its timeline goes past the zero-duration tween in the forward direction or lands directly on it, the end values should be rendered, but if the timeline's "playhead" moves past it in the backward direction (from a postitive time to a negative time), the starting values must be rendered.
- if (this._startTime === this._timeline._duration) { //if a zero-duration tween is at the VERY end of a timeline and that timeline renders at its end, it will typically add a tiny bit of cushion to the render time to prevent rounding errors from getting in the way of tweens rendering their VERY end. If we then reverse() that timeline, the zero-duration tween will trigger its onReverseComplete even though technically the playhead didn't pass over it again. It's a very specific edge case we must accommodate.
- time = 0;
- }
- if (time === 0 || prevRawPrevTime < 0 || prevRawPrevTime === _tinyNum) if (prevRawPrevTime !== time) {
- force = true;
- if (prevRawPrevTime > _tinyNum) {
- callback = "onReverseComplete";
- }
- }
- this._rawPrevTime = rawPrevTime = (!suppressEvents || time || prevRawPrevTime === time) ? time : _tinyNum; //when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration tween, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect. We set the _rawPrevTime to be a precise tiny number to indicate this scenario rather than using another property/variable which would increase memory usage. This technique is less readable, but more efficient.
- }
-
- } else if (time < 0.0000001) { //to work around occasional floating point math artifacts, round super small values to 0.
- this._totalTime = this._time = 0;
- this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0;
- if (prevTime !== 0 || (duration === 0 && prevRawPrevTime > 0 && prevRawPrevTime !== _tinyNum)) {
- callback = "onReverseComplete";
- isComplete = this._reversed;
- }
- if (time < 0) {
- this._active = false;
- if (duration === 0) if (this._initted || !this.vars.lazy || force) { //zero-duration tweens are tricky because we must discern the momentum/direction of time in order to determine whether the starting values should be rendered or the ending values. If the "playhead" of its timeline goes past the zero-duration tween in the forward direction or lands directly on it, the end values should be rendered, but if the timeline's "playhead" moves past it in the backward direction (from a postitive time to a negative time), the starting values must be rendered.
- if (prevRawPrevTime >= 0) {
- force = true;
- }
- this._rawPrevTime = rawPrevTime = (!suppressEvents || time || prevRawPrevTime === time) ? time : _tinyNum; //when the playhead arrives at EXACTLY time 0 (right on top) of a zero-duration tween, we need to discern if events are suppressed so that when the playhead moves again (next time), it'll trigger the callback. If events are NOT suppressed, obviously the callback would be triggered in this render. Basically, the callback should fire either when the playhead ARRIVES or LEAVES this exact spot, not both. Imagine doing a timeline.seek(0) and there's a callback that sits at 0. Since events are suppressed on that seek() by default, nothing will fire, but when the playhead moves off of that position, the callback should fire. This behavior is what people intuitively expect. We set the _rawPrevTime to be a precise tiny number to indicate this scenario rather than using another property/variable which would increase memory usage. This technique is less readable, but more efficient.
- }
- } else if (!this._initted) { //if we render the very beginning (time == 0) of a fromTo(), we must force the render (normal tweens wouldn't need to render at a time of 0 when the prevTime was also 0). This is also mandatory to make sure overwriting kicks in immediately.
- force = true;
- }
- } else {
- this._totalTime = this._time = time;
-
- if (this._easeType) {
- var r = time / duration, type = this._easeType, pow = this._easePower;
- if (type === 1 || (type === 3 && r >= 0.5)) {
- r = 1 - r;
- }
- if (type === 3) {
- r *= 2;
- }
- if (pow === 1) {
- r *= r;
- } else if (pow === 2) {
- r *= r * r;
- } else if (pow === 3) {
- r *= r * r * r;
- } else if (pow === 4) {
- r *= r * r * r * r;
- }
-
- if (type === 1) {
- this.ratio = 1 - r;
- } else if (type === 2) {
- this.ratio = r;
- } else if (time / duration < 0.5) {
- this.ratio = r / 2;
- } else {
- this.ratio = 1 - (r / 2);
- }
-
- } else {
- this.ratio = this._ease.getRatio(time / duration);
- }
- }
-
- if (this._time === prevTime && !force) {
- return;
- } else if (!this._initted) {
- this._init();
- if (!this._initted || this._gc) { //immediateRender tweens typically won't initialize until the playhead advances (_time is greater than 0) in order to ensure that overwriting occurs properly. Also, if all of the tweening properties have been overwritten (which would cause _gc to be true, as set in _init()), we shouldn't continue otherwise an onStart callback could be called for example.
- return;
- } else if (!force && this._firstPT && ((this.vars.lazy !== false && this._duration) || (this.vars.lazy && !this._duration))) {
- this._time = this._totalTime = prevTime;
- this._rawPrevTime = prevRawPrevTime;
- _lazyTweens.push(this);
- this._lazy = time;
- return;
- }
- //_ease is initially set to defaultEase, so now that init() has run, _ease is set properly and we need to recalculate the ratio. Overall this is faster than using conditional logic earlier in the method to avoid having to set ratio twice because we only init() once but renderTime() gets called VERY frequently.
- if (this._time && !isComplete) {
- this.ratio = this._ease.getRatio(this._time / duration);
- } else if (isComplete && this._ease._calcEnd) {
- this.ratio = this._ease.getRatio((this._time === 0) ? 0 : 1);
- }
- }
- if (this._lazy !== false) { //in case a lazy render is pending, we should flush it because the new render is occuring now (imagine a lazy tween instantiating and then immediately the user calls tween.seek(tween.duration()), skipping to the end - the end render would be forced, and then if we didn't flush the lazy render, it'd fire AFTER the seek(), rendering it at the wrong time.
- this._lazy = false;
- }
- if (!this._active) if (!this._paused && this._time !== prevTime && time >= 0) {
- this._active = true; //so that if the user renders a tween (as opposed to the timeline rendering it), the timeline is forced to re-render and align it with the proper time/frame on the next rendering cycle. Maybe the tween already finished but the user manually re-renders it as halfway done.
- }
- if (prevTime === 0) {
- if (this._startAt) {
- if (time >= 0) {
- this._startAt.render(time, suppressEvents, force);
- } else if (!callback) {
- callback = "_dummyGS"; //if no callback is defined, use a dummy value just so that the condition at the end evaluates as true because _startAt should render AFTER the normal render loop when the time is negative. We could handle this in a more intuitive way, of course, but the render loop is the MOST important thing to optimize, so this technique allows us to avoid adding extra conditional logic in a high-frequency area.
- }
- }
- if (this.vars.onStart) if (this._time !== 0 || duration === 0) if (!suppressEvents) {
- this.vars.onStart.apply(this.vars.onStartScope || this, this.vars.onStartParams || _blankArray);
- }
- }
-
- pt = this._firstPT;
- while (pt) {
- if (pt.f) {
- pt.t[pt.p](pt.c * this.ratio + pt.s);
- } else {
- pt.t[pt.p] = pt.c * this.ratio + pt.s;
- }
- pt = pt._next;
- }
-
- if (this._onUpdate) {
- if (time < 0) if (this._startAt && this._startTime) { //if the tween is positioned at the VERY beginning (_startTime 0) of its parent timeline, it's illegal for the playhead to go back further, so we should not render the recorded startAt values.
- this._startAt.render(time, suppressEvents, force); //note: for performance reasons, we tuck this conditional logic inside less traveled areas (most tweens don't have an onUpdate). We'd just have it at the end before the onComplete, but the values should be updated before any onUpdate is called, so we ALSO put it here and then if it's not called, we do so later near the onComplete.
- }
- if (!suppressEvents) if (this._time !== prevTime || isComplete) {
- this._onUpdate.apply(this.vars.onUpdateScope || this, this.vars.onUpdateParams || _blankArray);
- }
- }
-
- if (callback) if (!this._gc) { //check _gc because there's a chance that kill() could be called in an onUpdate
- if (time < 0 && this._startAt && !this._onUpdate && this._startTime) { //if the tween is positioned at the VERY beginning (_startTime 0) of its parent timeline, it's illegal for the playhead to go back further, so we should not render the recorded startAt values.
- this._startAt.render(time, suppressEvents, force);
- }
- if (isComplete) {
- if (this._timeline.autoRemoveChildren) {
- this._enabled(false, false);
- }
- this._active = false;
- }
- if (!suppressEvents && this.vars[callback]) {
- this.vars[callback].apply(this.vars[callback + "Scope"] || this, this.vars[callback + "Params"] || _blankArray);
- }
- if (duration === 0 && this._rawPrevTime === _tinyNum && rawPrevTime !== _tinyNum) { //the onComplete or onReverseComplete could trigger movement of the playhead and for zero-duration tweens (which must discern direction) that land directly back on their start time, we don't want to fire again on the next render. Think of several addPause()'s in a timeline that forces the playhead to a certain spot, but what if it's already paused and another tween is tweening the "time" of the timeline? Each time it moves [forward] past that spot, it would move back, and since suppressEvents is true, it'd reset _rawPrevTime to _tinyNum so that when it begins again, the callback would fire (so ultimately it could bounce back and forth during that tween). Again, this is a very uncommon scenario, but possible nonetheless.
- this._rawPrevTime = 0;
- }
- }
-
- };
-
- p._kill = function(vars, target) {
- if (vars === "all") {
- vars = null;
- }
- if (vars == null) if (target == null || target === this.target) {
- this._lazy = false;
- return this._enabled(false, false);
- }
- target = (typeof(target) !== "string") ? (target || this._targets || this.target) : TweenLite.selector(target) || target;
- var i, overwrittenProps, p, pt, propLookup, changed, killProps, record;
- if ((_isArray(target) || _isSelector(target)) && typeof(target[0]) !== "number") {
- i = target.length;
- while (--i > -1) {
- if (this._kill(vars, target[i])) {
- changed = true;
- }
- }
- } else {
- if (this._targets) {
- i = this._targets.length;
- while (--i > -1) {
- if (target === this._targets[i]) {
- propLookup = this._propLookup[i] || {};
- this._overwrittenProps = this._overwrittenProps || [];
- overwrittenProps = this._overwrittenProps[i] = vars ? this._overwrittenProps[i] || {} : "all";
- break;
- }
- }
- } else if (target !== this.target) {
- return false;
- } else {
- propLookup = this._propLookup;
- overwrittenProps = this._overwrittenProps = vars ? this._overwrittenProps || {} : "all";
- }
-
- if (propLookup) {
- killProps = vars || propLookup;
- record = (vars !== overwrittenProps && overwrittenProps !== "all" && vars !== propLookup && (typeof(vars) !== "object" || !vars._tempKill)); //_tempKill is a super-secret way to delete a particular tweening property but NOT have it remembered as an official overwritten property (like in BezierPlugin)
- for (p in killProps) {
- if ((pt = propLookup[p])) {
- if (pt.pg && pt.t._kill(killProps)) {
- changed = true; //some plugins need to be notified so they can perform cleanup tasks first
- }
- if (!pt.pg || pt.t._overwriteProps.length === 0) {
- if (pt._prev) {
- pt._prev._next = pt._next;
- } else if (pt === this._firstPT) {
- this._firstPT = pt._next;
- }
- if (pt._next) {
- pt._next._prev = pt._prev;
- }
- pt._next = pt._prev = null;
- }
- delete propLookup[p];
- }
- if (record) {
- overwrittenProps[p] = 1;
- }
- }
- if (!this._firstPT && this._initted) { //if all tweening properties are killed, kill the tween. Without this line, if there's a tween with multiple targets and then you killTweensOf() each target individually, the tween would technically still remain active and fire its onComplete even though there aren't any more properties tweening.
- this._enabled(false, false);
- }
- }
- }
- return changed;
- };
-
- p.invalidate = function() {
- if (this._notifyPluginsOfEnabled) {
- TweenLite._onPluginEvent("_onDisable", this);
- }
- this._firstPT = null;
- this._overwrittenProps = null;
- this._onUpdate = null;
- this._startAt = null;
- this._initted = this._active = this._notifyPluginsOfEnabled = this._lazy = false;
- this._propLookup = (this._targets) ? {} : [];
- return this;
- };
-
- p._enabled = function(enabled, ignoreTimeline) {
- if (!_tickerActive) {
- _ticker.wake();
- }
- if (enabled && this._gc) {
- var targets = this._targets,
- i;
- if (targets) {
- i = targets.length;
- while (--i > -1) {
- this._siblings[i] = _register(targets[i], this, true);
- }
- } else {
- this._siblings = _register(this.target, this, true);
- }
- }
- Animation.prototype._enabled.call(this, enabled, ignoreTimeline);
- if (this._notifyPluginsOfEnabled) if (this._firstPT) {
- return TweenLite._onPluginEvent((enabled ? "_onEnable" : "_onDisable"), this);
- }
- return false;
- };
-
-
-//----TweenLite static methods -----------------------------------------------------
-
- TweenLite.to = function(target, duration, vars) {
- return new TweenLite(target, duration, vars);
- };
-
- TweenLite.from = function(target, duration, vars) {
- vars.runBackwards = true;
- vars.immediateRender = (vars.immediateRender != false);
- return new TweenLite(target, duration, vars);
- };
-
- TweenLite.fromTo = function(target, duration, fromVars, toVars) {
- toVars.startAt = fromVars;
- toVars.immediateRender = (toVars.immediateRender != false && fromVars.immediateRender != false);
- return new TweenLite(target, duration, toVars);
- };
-
- TweenLite.delayedCall = function(delay, callback, params, scope, useFrames) {
- return new TweenLite(callback, 0, {delay:delay, onComplete:callback, onCompleteParams:params, onCompleteScope:scope, onReverseComplete:callback, onReverseCompleteParams:params, onReverseCompleteScope:scope, immediateRender:false, useFrames:useFrames, overwrite:0});
- };
-
- TweenLite.set = function(target, vars) {
- return new TweenLite(target, 0, vars);
- };
-
- TweenLite.getTweensOf = function(target, onlyActive) {
- if (target == null) { return []; }
- target = (typeof(target) !== "string") ? target : TweenLite.selector(target) || target;
- var i, a, j, t;
- if ((_isArray(target) || _isSelector(target)) && typeof(target[0]) !== "number") {
- i = target.length;
- a = [];
- while (--i > -1) {
- a = a.concat(TweenLite.getTweensOf(target[i], onlyActive));
- }
- i = a.length;
- //now get rid of any duplicates (tweens of arrays of objects could cause duplicates)
- while (--i > -1) {
- t = a[i];
- j = i;
- while (--j > -1) {
- if (t === a[j]) {
- a.splice(i, 1);
- }
- }
- }
- } else {
- a = _register(target).concat();
- i = a.length;
- while (--i > -1) {
- if (a[i]._gc || (onlyActive && !a[i].isActive())) {
- a.splice(i, 1);
- }
- }
- }
- return a;
- };
-
- TweenLite.killTweensOf = TweenLite.killDelayedCallsTo = function(target, onlyActive, vars) {
- if (typeof(onlyActive) === "object") {
- vars = onlyActive; //for backwards compatibility (before "onlyActive" parameter was inserted)
- onlyActive = false;
- }
- var a = TweenLite.getTweensOf(target, onlyActive),
- i = a.length;
- while (--i > -1) {
- a[i]._kill(vars, target);
- }
- };
-
-
-
-/*
- * ----------------------------------------------------------------
- * TweenPlugin (could easily be split out as a separate file/class, but included for ease of use (so that people don't need to include another <script> call before loading plugins which is easy to forget)
- * ----------------------------------------------------------------
- */
- var TweenPlugin = _class("plugins.TweenPlugin", function(props, priority) {
- this._overwriteProps = (props || "").split(",");
- this._propName = this._overwriteProps[0];
- this._priority = priority || 0;
- this._super = TweenPlugin.prototype;
- }, true);
-
- p = TweenPlugin.prototype;
- TweenPlugin.version = "1.10.1";
- TweenPlugin.API = 2;
- p._firstPT = null;
-
- p._addTween = function(target, prop, start, end, overwriteProp, round) {
- var c, pt;
- if (end != null && (c = (typeof(end) === "number" || end.charAt(1) !== "=") ? Number(end) - start : parseInt(end.charAt(0) + "1", 10) * Number(end.substr(2)))) {
- this._firstPT = pt = {_next:this._firstPT, t:target, p:prop, s:start, c:c, f:(typeof(target[prop]) === "function"), n:overwriteProp || prop, r:round};
- if (pt._next) {
- pt._next._prev = pt;
- }
- return pt;
- }
- };
-
- p.setRatio = function(v) {
- var pt = this._firstPT,
- min = 0.000001,
- val;
- while (pt) {
- val = pt.c * v + pt.s;
- if (pt.r) {
- val = Math.round(val);
- } else if (val < min) if (val > -min) { //prevents issues with converting very small numbers to strings in the browser
- val = 0;
- }
- if (pt.f) {
- pt.t[pt.p](val);
- } else {
- pt.t[pt.p] = val;
- }
- pt = pt._next;
- }
- };
-
- p._kill = function(lookup) {
- var a = this._overwriteProps,
- pt = this._firstPT,
- i;
- if (lookup[this._propName] != null) {
- this._overwriteProps = [];
- } else {
- i = a.length;
- while (--i > -1) {
- if (lookup[a[i]] != null) {
- a.splice(i, 1);
- }
- }
- }
- while (pt) {
- if (lookup[pt.n] != null) {
- if (pt._next) {
- pt._next._prev = pt._prev;
- }
- if (pt._prev) {
- pt._prev._next = pt._next;
- pt._prev = null;
- } else if (this._firstPT === pt) {
- this._firstPT = pt._next;
- }
- }
- pt = pt._next;
- }
- return false;
- };
-
- p._roundProps = function(lookup, value) {
- var pt = this._firstPT;
- while (pt) {
- if (lookup[this._propName] || (pt.n != null && lookup[ pt.n.split(this._propName + "_").join("") ])) { //some properties that are very plugin-specific add a prefix named after the _propName plus an underscore, so we need to ignore that extra stuff here.
- pt.r = value;
- }
- pt = pt._next;
- }
- };
-
- TweenLite._onPluginEvent = function(type, tween) {
- var pt = tween._firstPT,
- changed, pt2, first, last, next;
- if (type === "_onInitAllProps") {
- //sorts the PropTween linked list in order of priority because some plugins need to render earlier/later than others, like MotionBlurPlugin applies its effects after all x/y/alpha tweens have rendered on each frame.
- while (pt) {
- next = pt._next;
- pt2 = first;
- while (pt2 && pt2.pr > pt.pr) {
- pt2 = pt2._next;
- }
- if ((pt._prev = pt2 ? pt2._prev : last)) {
- pt._prev._next = pt;
- } else {
- first = pt;
- }
- if ((pt._next = pt2)) {
- pt2._prev = pt;
- } else {
- last = pt;
- }
- pt = next;
- }
- pt = tween._firstPT = first;
- }
- while (pt) {
- if (pt.pg) if (typeof(pt.t[type]) === "function") if (pt.t[type]()) {
- changed = true;
- }
- pt = pt._next;
- }
- return changed;
- };
-
- TweenPlugin.activate = function(plugins) {
- var i = plugins.length;
- while (--i > -1) {
- if (plugins[i].API === TweenPlugin.API) {
- _plugins[(new plugins[i]())._propName] = plugins[i];
- }
- }
- return true;
- };
-
- //provides a more concise way to define plugins that have no dependencies besides TweenPlugin and TweenLite, wrapping common boilerplate stuff into one function (added in 1.9.0). You don't NEED to use this to define a plugin - the old way still works and can be useful in certain (rare) situations.
- _gsDefine.plugin = function(config) {
- if (!config || !config.propName || !config.init || !config.API) { throw "illegal plugin definition."; }
- var propName = config.propName,
- priority = config.priority || 0,
- overwriteProps = config.overwriteProps,
- map = {init:"_onInitTween", set:"setRatio", kill:"_kill", round:"_roundProps", initAll:"_onInitAllProps"},
- Plugin = _class("plugins." + propName.charAt(0).toUpperCase() + propName.substr(1) + "Plugin",
- function() {
- TweenPlugin.call(this, propName, priority);
- this._overwriteProps = overwriteProps || [];
- }, (config.global === true)),
- p = Plugin.prototype = new TweenPlugin(propName),
- prop;
- p.constructor = Plugin;
- Plugin.API = config.API;
- for (prop in map) {
- if (typeof(config[prop]) === "function") {
- p[map[prop]] = config[prop];
- }
- }
- Plugin.version = config.version;
- TweenPlugin.activate([Plugin]);
- return Plugin;
- };
-
-
- //now run through all the dependencies discovered and if any are missing, log that to the console as a warning. This is why it's best to have TweenLite load last - it can check all the dependencies for you.
- a = window._gsQueue;
- if (a) {
- for (i = 0; i < a.length; i++) {
- a[i]();
- }
- for (p in _defLookup) {
- if (!_defLookup[p].func) {
- //window.console.log("GSAP encountered missing dependency: com.greensock." + p);
- }
- }
- }
-
- _tickerActive = false; //ensures that the first official animation forces a ticker.tick() to update the time when it is instantiated
-
-})(window);
-
angular.module('att.abs.transition', [])
.factory('$transition', ['$q', '$timeout', '$rootScope', function($q, $timeout, $rootScope) {
diff --git a/epsdk-app-onap/src/main/webapp/app/fusion/external/ebz/sandbox/att-abs-tpls.min.js b/epsdk-app-onap/src/main/webapp/app/fusion/external/ebz/sandbox/att-abs-tpls.min.js
index cfed6183..add03765 100755
--- a/epsdk-app-onap/src/main/webapp/app/fusion/external/ebz/sandbox/att-abs-tpls.min.js
+++ b/epsdk-app-onap/src/main/webapp/app/fusion/external/ebz/sandbox/att-abs-tpls.min.js
@@ -5,13 +5,12 @@
* Date 11/23/2015
*/
-!function(angular,window){return angular.module("att.abs",["att.abs.tpls","att.abs.utilities","att.abs.position","att.abs.transition","att.abs.accordion","att.abs.alert","att.abs.boardStrip","att.abs.breadCrumbs","att.abs.buttons","att.abs.checkbox","att.abs.colorselector","att.abs.datepicker","att.abs.devNotes","att.abs.dividerLines","att.abs.dragdrop","att.abs.drawer","att.abs.message","att.abs.formField","att.abs.hourpicker","att.abs.iconButtons","att.abs.links","att.abs.loading","att.abs.modal","att.abs.pagination","att.abs.paneSelector","att.abs.tooltip","att.abs.popOvers","att.abs.profileCard","att.abs.progressBars","att.abs.radio","att.abs.scrollbar","att.abs.search","att.abs.select","att.abs.slider","att.abs.splitButtonDropdown","att.abs.splitIconButton","att.abs.stepSlider","att.abs.steptracker","att.abs.table","att.abs.tableMessages","att.abs.tabs","att.abs.tagBadges","att.abs.textOverflow","att.abs.toggle","att.abs.treeview","att.abs.typeAhead","att.abs.verticalSteptracker","att.abs.videoControls"]),angular.module("att.abs.tpls",["app/scripts/ng_js_att_tpls/accordion/accordion.html","app/scripts/ng_js_att_tpls/accordion/accordion_alt.html","app/scripts/ng_js_att_tpls/accordion/attAccord.html","app/scripts/ng_js_att_tpls/accordion/attAccordBody.html","app/scripts/ng_js_att_tpls/accordion/attAccordHeader.html","app/scripts/ng_js_att_tpls/alert/alert.html","app/scripts/ng_js_att_tpls/boardStrip/attAddBoard.html","app/scripts/ng_js_att_tpls/boardStrip/attBoard.html","app/scripts/ng_js_att_tpls/boardStrip/attBoardStrip.html","app/scripts/ng_js_att_tpls/buttons/buttonDropdown.html","app/scripts/ng_js_att_tpls/colorselector/colorselector.html","app/scripts/ng_js_att_tpls/datepicker/dateFilter.html","app/scripts/ng_js_att_tpls/datepicker/dateFilterList.html","app/scripts/ng_js_att_tpls/datepicker/datepicker.html","app/scripts/ng_js_att_tpls/datepicker/datepickerPopup.html","app/scripts/ng_js_att_tpls/dividerLines/dividerLines.html","app/scripts/ng_js_att_tpls/dragdrop/fileUpload.html","app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlert.html","app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlertPrv.html","app/scripts/ng_js_att_tpls/formField/creditCardImage.html","app/scripts/ng_js_att_tpls/formField/cvcSecurityImg.html","app/scripts/ng_js_att_tpls/hourpicker/hourpicker.html","app/scripts/ng_js_att_tpls/links/readMore.html","app/scripts/ng_js_att_tpls/loading/loading.html","app/scripts/ng_js_att_tpls/modal/backdrop.html","app/scripts/ng_js_att_tpls/modal/tabbedItem.html","app/scripts/ng_js_att_tpls/modal/tabbedOverlayItem.html","app/scripts/ng_js_att_tpls/modal/window.html","app/scripts/ng_js_att_tpls/pagination/pagination.html","app/scripts/ng_js_att_tpls/paneSelector/innerPane.html","app/scripts/ng_js_att_tpls/paneSelector/paneGroup.html","app/scripts/ng_js_att_tpls/paneSelector/sidePane.html","app/scripts/ng_js_att_tpls/tooltip/tooltip-popup.html","app/scripts/ng_js_att_tpls/popOvers/popOvers.html","app/scripts/ng_js_att_tpls/profileCard/addUser.html","app/scripts/ng_js_att_tpls/profileCard/profileCard.html","app/scripts/ng_js_att_tpls/progressBars/progressBars.html","app/scripts/ng_js_att_tpls/scrollbar/scrollbar.html","app/scripts/ng_js_att_tpls/search/search.html","app/scripts/ng_js_att_tpls/select/select.html","app/scripts/ng_js_att_tpls/select/textDropdown.html","app/scripts/ng_js_att_tpls/slider/maxContent.html","app/scripts/ng_js_att_tpls/slider/minContent.html","app/scripts/ng_js_att_tpls/slider/slider.html","app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdown.html","app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdownItem.html","app/scripts/ng_js_att_tpls/splitIconButton/splitIcon.html","app/scripts/ng_js_att_tpls/splitIconButton/splitIconButton.html","app/scripts/ng_js_att_tpls/splitIconButton/splitIconButtonGroup.html","app/scripts/ng_js_att_tpls/stepSlider/attStepSlider.html","app/scripts/ng_js_att_tpls/steptracker/step-tracker.html","app/scripts/ng_js_att_tpls/steptracker/step.html","app/scripts/ng_js_att_tpls/steptracker/timeline.html","app/scripts/ng_js_att_tpls/steptracker/timelineBar.html","app/scripts/ng_js_att_tpls/steptracker/timelineDot.html","app/scripts/ng_js_att_tpls/table/attTable.html","app/scripts/ng_js_att_tpls/table/attTableBody.html","app/scripts/ng_js_att_tpls/table/attTableHeader.html","app/scripts/ng_js_att_tpls/tableMessages/attTableMessage.html","app/scripts/ng_js_att_tpls/tableMessages/attUserMessage.html","app/scripts/ng_js_att_tpls/tabs/floatingTabs.html","app/scripts/ng_js_att_tpls/tabs/genericTabs.html","app/scripts/ng_js_att_tpls/tabs/menuTab.html","app/scripts/ng_js_att_tpls/tabs/parentmenuTab.html","app/scripts/ng_js_att_tpls/tabs/simplifiedTabs.html","app/scripts/ng_js_att_tpls/tabs/submenuTab.html","app/scripts/ng_js_att_tpls/tagBadges/tagBadges.html","app/scripts/ng_js_att_tpls/toggle/demoToggle.html","app/scripts/ng_js_att_tpls/typeAhead/typeAhead.html","app/scripts/ng_js_att_tpls/verticalSteptracker/vertical-step-tracker.html","app/scripts/ng_js_att_tpls/videoControls/photoControls.html","app/scripts/ng_js_att_tpls/videoControls/videoControls.html"]),angular.module("att.abs.utilities",[]).filter("unsafe",["$sce",function(e){return function(t){return e.trustAsHtml(t)}}]).filter("highlight",function(){function e(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}return function(t,n,i){return n&&t?t.replace(new RegExp(e(n),"gi"),'<span class="'+i+'">$&</span>'):t}}).filter("attLimitTo",function(){return function(e,t,n){var i=[],a=t,s=n;return isNaN(s)&&(s=0),i=e&&!isNaN(a)?e.slice(s,s+a):e}}).filter("startsWith",function(){return"function"!=typeof String.prototype.startsWith&&(String.prototype.startsWith=function(e){return 0===this.indexOf(e)}),function(e,t){if(void 0===t||""===t)return e;var n=[];return angular.forEach(e,function(e){e.title.toLowerCase().startsWith(t.toLowerCase())&&n.push(e)}),n}}).directive("attInputDeny",[function(){return{restrict:"A",require:"ngModel",link:function(e,t,n,i){var a=null;n.$observe("attInputDeny",function(e){e&&(a=new RegExp(e,"g"))}),t.bind("input",function(){var t=i.$viewValue&&i.$viewValue.replace(a,"");t!==i.$viewValue&&(i.$setViewValue(t),i.$render(),e.$apply())})}}}]).directive("attAccessibilityClick",[function(){return{restrict:"A",link:function(e,t,n){var i=[];n.$observe("attAccessibilityClick",function(e){e&&(i=e.split(","))}),t.bind("keydown",function(e){var n=function(){var t=!1;return e.keyCode||(e.which?e.keyCode=e.which:e.charCode&&(e.keyCode=e.charCode)),e.keyCode&&i.indexOf(e.keyCode.toString())>-1&&(t=!0),t};i.length>0&&n()&&(t[0].click(),e.preventDefault())})}}}]).directive("attElementFocus",[function(){return{restrict:"A",link:function(e,t,n){e.$watch(n.attElementFocus,function(e){e&&t[0].focus()})}}}]).directive("focusOn",["$timeout",function(e){var t=function(e){if(!e.focusOn&&""!==e.focusOn)throw"FocusOnCondition missing attribute to evaluate"};return{restrict:"A",link:function(n,i,a){t(a),n.$watch(a.focusOn,function(t){t&&e(function(){i[0].focus()})})}}}]).constant("whenScrollEndsConstants",{threshold:100,width:0,height:0}).directive("whenScrollEnds",function(e,t){return{restrict:"A",link:function(n,i,a){var s=parseInt(a.threshold,10)||e.threshold;return a.axis&&""!==a.axis?void("x"===a.axis?(visibleWidth=parseInt(a.width,10)||e.width,i.css("width")&&(visibleWidth=i.css("width").split("px")[0]),i[0].addEventListener("scroll",function(){var e=i.prop("scrollWidth");void 0===e&&(e=1);var t=e-visibleWidth;t-i[0].scrollLeft<=s&&n.$apply(a.whenScrollEnds)})):"y"===a.axis&&(visibleHeight=parseInt(a.height,10)||e.height,i.css("width")&&(visibleHeight=i.css("height").split("px")[0]),i[0].addEventListener("scroll",function(){var e=i.prop("scrollHeight");void 0===e&&(e=1);var t=e-visibleHeight;t-i[0].scrollTop<=s&&n.$apply(a.whenScrollEnds)}))):void t.warn("axis attribute must be defined for whenScrollEnds.")}}}).directive("validImei",function(){return{restrict:"A",require:"ngModel",link:function(e,t,n,i){i.$parsers.unshift(function(t){if(t){if(e.valid=!1,isNaN(t)||15!==t.length)e.valid=!1;else{for(var n=0,a=[],s=0;15>s;s++)a[s]=parseInt(t.substring(s,s+1),10),s%2!==0&&(a[s]=parseInt(2*a[s],10)),a[s]>9&&(a[s]=parseInt(a[s]%10,10)+parseInt(a[s]/10,10)),n+=parseInt(a[s],10);n%10===0?e.valid=!0:e.valid=!1}i.$setValidity("invalidImei",e.valid)}return e.valid?t:void 0})}}}).directive("togglePassword",function(){return{restrict:"A",transclude:!1,link:function(e,t,n,i){t.bind("click",function(){var e=n.togglePassword;t[0].innerHTML="Show"===t[0].innerHTML?"Hide":"Show";var i=angular.element(document.querySelector("#"+e))[0].type;angular.element(document.querySelector("#"+e))[0].type="password"===i?"text":"password"})}}}).factory("events",function(){var e=function(e){e.stopPropagation?e.stopPropagation():e.returnValue=!1},t=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1};return{stopPropagation:e,preventDefault:t}}).factory("$documentBind",["$document","$timeout",function(e,t){var n=function(n,i,a){a.$watch(n,function(n){t(function(){n?e.bind("click",i):e.unbind("click",i)})})},i=function(n,i,a,s,r,o){r?(o||(o=0),s.$watch(i,function(i,s){i!==s&&t(function(){i?e.bind(n,a):e.unbind(n,a)},o)})):s.$watch(i,function(t,i){t!==i&&(t?e.bind(n,a):e.unbind(n,a))})};return{click:n,event:i}}]).factory("DOMHelper",function(){function e(e){var t=angular.element(e),n=parseInt(t.attr("tabindex"),10)>=0?!0:!1,i=t[0].tagName.toUpperCase();return n||"A"===i||"INPUT"===i||"TEXTAREA"===i?!(t[0].disabled||t[0].readOnly):!1}function t(e){return 1==e.nodeType&&"SCRIPT"!=e.nodeName&&"STYLE"!=e.nodeName}function n(i){var i=i||document.getElementsByTagName("body")[0];if(t(i)&&e(i))return i;if(!i.hasChildNodes())return void 0;for(var a=i.firstChild;a;){var s=n(a);if(s)return s;a=a.nextSibling}}var i=function(e){var t=e;return e.hasOwnProperty("length")&&(t=e[0]),n(t)};return{firstTabableElement:i}}).factory("keymap",function(){return{KEY:{TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,COMMAND:91},MAP:{91:"COMMAND",8:"BACKSPACE",9:"TAB",13:"ENTER",16:"SHIFT",17:"CTRL",18:"ALT",19:"PAUSEBREAK",20:"CAPSLOCK",27:"ESC",32:"SPACE",33:"PAGE_UP",34:"PAGE_DOWN",35:"END",36:"HOME",37:"LEFT",38:"UP",39:"RIGHT",40:"DOWN",43:"+",44:"PRINTSCREEN",45:"INSERT",46:"DELETE",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NUMLOCK",145:"SCROLLLOCK",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},isControl:function(e){var t=e.keyCode;switch(t){case this.KEY.COMMAND:case this.KEY.SHIFT:case this.KEY.CTRL:case this.KEY.ALT:return!0}return e.metaKey?!0:!1},isFunctionKey:function(e){return e=e.keyCode?e.keyCode:e,e>=112&&123>=e},isVerticalMovement:function(e){return~[this.KEY.UP,this.KEY.DOWN].indexOf(e)},isHorizontalMovement:function(e){return~[this.KEY.LEFT,this.KEY.RIGHT,this.KEY.BACKSPACE,this.KEY.DELETE].indexOf(e)},isAllowedKey:function(e){return~[this.KEY.SPACE,this.KEY.ESC,this.KEY.ENTER].indexOf(e)||this.isHorizontalMovement(e)||this.isVerticalMovement(e)}}}).factory("keyMapAc",function(){return{keys:{32:" ",33:"!",34:'"',35:"#",36:"$",37:"%",38:"&",39:"'",40:"(",41:")",42:"*",43:"+",44:",",45:"-",46:".",47:"/",58:":",59:";",60:"<",61:"=",62:">",63:"?",64:"@",91:"[",92:"\\",93:"]",94:"^",95:"_",96:"`",123:"{",124:"|",125:"}",126:"~"},keyRange:{startNum:"48",endNum:"57",startSmallLetters:"97",endSmallLetters:"122",startCapitalLetters:"65",endCapitalLetters:"90"},allowedKeys:{TAB:8,BACKSPACE:9,DELETE:16}}}).factory("$attElementDetach",function(){var e=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)};return e}).factory("$ieVersion",function(){var ie=null,loadIEVersion=function(){var isIE10=eval("/*@cc_on!@*/false")&&10===document.documentMode;if(isIE10)return 10;var v=3,div=document.createElement("div"),all=div.getElementsByTagName("i");do div.innerHTML="<!--[if gt IE "+ ++v+"]><i></i><![endif]-->";while(all[0]);return v>4?v:void 0};return function(){return null===ie&&(ie=loadIEVersion()),ie}}),function(){String.prototype.toSnakeCase=function(){return this.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})};var e=function(e,t){e=e||"",t=!isNaN(t)&&t||0;for(var n="",i=0;t>i;i++)n+=e;return n},t=function(t,n,i,a){return t=t||"",n=!isNaN(n)&&n||0,i=i||"",n>t.length?a?e(i,n-t.length)+t:t+e(i,n-t.length):t};String.prototype.lPad=function(e,n){return t(this,e,n,!0)},String.prototype.rPad=function(e,n){return t(this,e,n,!1)},Array.prototype.indexOf||(Array.prototype.indexOf=function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1})}(),angular.module("att.abs.position",[]).factory("$position",["$document","$window",function(e,t){function n(e,n){return e.currentStyle?e.currentStyle[n]:t.getComputedStyle?t.getComputedStyle(e)[n]:e.style[n]}function i(e){return"static"===(n(e,"position")||"static")}var a=function(t){for(var n=e[0],a=t.offsetParent||n;a&&a!==n&&i(a);)a=a.offsetParent;return a||n};return{position:function(t){var n=this.offset(t),i={top:0,left:0},s=a(t[0]);return s!==e[0]&&(i=this.offset(angular.element(s)),i.top+=s.clientTop-s.scrollTop,i.left+=s.clientLeft-s.scrollLeft),{width:t.prop("offsetWidth"),height:t.prop("offsetHeight"),top:n.top-i.top,left:n.left-i.left}},offset:function(n){var i=n[0].getBoundingClientRect();return{width:n.prop("offsetWidth"),height:n.prop("offsetHeight"),top:i.top+(t.pageYOffset||e[0].body.scrollTop||e[0].documentElement.scrollTop),left:i.left+(t.pageXOffset||e[0].body.scrollLeft||e[0].documentElement.scrollLeft)}}}}]).factory("$isElement",[function(){var e=function(t,n,i){return t[0]===n[0]?!0:t[0]===i[0]?!1:e(t.parent()[0]&&t.parent()||n,n,i)};return e}]).directive("attPosition",["$position",function(e){return{restrict:"A",link:function(t,n,i){t.$watchCollection(function(){return e.position(n)},function(e){t[i.attPosition]=e})}}}]),(window._gsQueue||(window._gsQueue=[])).push(function(){"use strict";var e=document.documentElement,t=window,n=function(n,i){var a="x"===i?"Width":"Height",s="scroll"+a,r="client"+a,o=document.body;return n===t||n===e||n===o?Math.max(e[s],o[s])-(t["inner"+a]||Math.max(e[r],o[r])):n[s]-n["offset"+a]},i=window._gsDefine.plugin({propName:"scrollTo",API:2,version:"1.7.3",init:function(e,i,a){return this._wdw=e===t,this._target=e,this._tween=a,"object"!=typeof i&&(i={y:i}),this._autoKill=i.autoKill!==!1,this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=i.x?(this._addTween(this,"x",this.x,"max"===i.x?n(e,"x"):i.x,"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=i.y?(this._addTween(this,"y",this.y,"max"===i.y?n(e,"y"):i.y,"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(e){this._super.setRatio.call(this,e);var i=this._wdw||!this.skipX?this.getX():this.xPrev,a=this._wdw||!this.skipY?this.getY():this.yPrev,s=a-this.yPrev,r=i-this.xPrev;this._autoKill&&(!this.skipX&&(r>7||-7>r)&&i<n(this._target,"x")&&(this.skipX=!0),!this.skipY&&(s>7||-7>s)&&a<n(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&this._tween.kill()),this._wdw?t.scrollTo(this.skipX?i:this.x,this.skipY?a:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),a=i.prototype;i.max=n,a.getX=function(){return this._wdw?null!=t.pageXOffset?t.pageXOffset:null!=e.scrollLeft?e.scrollLeft:document.body.scrollLeft:this._target.scrollLeft},a.getY=function(){return this._wdw?null!=t.pageYOffset?t.pageYOffset:null!=e.scrollTop?e.scrollTop:document.body.scrollTop:this._target.scrollTop},a._kill=function(e){return e.scrollTo_x&&(this.skipX=!0),e.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,e)}}),window._gsDefine&&window._gsQueue.pop()(),function(e){"use strict";var t=e.GreenSockGlobals||e;if(!t.TweenLite){var n,i,a,s,r,o=function(e){var n,i=e.split("."),a=t;for(n=0;n<i.length;n++)a[i[n]]=a=a[i[n]]||{};return a},l=o("com.greensock"),c=1e-10,d=[].slice,p=function(){},u=function(){var e=Object.prototype.toString,t=e.call([]);return function(n){return null!=n&&(n instanceof Array||"object"==typeof n&&!!n.push&&e.call(n)===t)}}(),h={},g=function(n,i,a,s){this.sc=h[n]?h[n].sc:[],h[n]=this,this.gsClass=null,this.func=a;var r=[];this.check=function(l){for(var c,d,p,u,f=i.length,m=f;--f>-1;)(c=h[i[f]]||new g(i[f],[])).gsClass?(r[f]=c.gsClass,m--):l&&c.sc.push(this);if(0===m&&a)for(d=("com.greensock."+n).split("."),p=d.pop(),u=o(d.join("."))[p]=this.gsClass=a.apply(a,r),s&&(t[p]=u,"function"==typeof define&&define.amd?define((e.GreenSockAMDPath?e.GreenSockAMDPath+"/":"")+n.split(".").join("/"),[],function(){return u}):"undefined"!=typeof module&&module.exports&&(module.exports=u)),f=0;f<this.sc.length;f++)this.sc[f].check()},this.check(!0)},f=e._gsDefine=function(e,t,n,i){return new g(e,t,n,i)},m=l._class=function(e,t,n){return t=t||function(){},f(e,[],function(){return t},n),t};f.globals=t;var v=[0,0,1,1],b=[],_=m("easing.Ease",function(e,t,n,i){this._func=e,this._type=n||0,this._power=i||0,this._params=t?v.concat(t):v},!0),y=_.map={},w=_.register=function(e,t,n,i){for(var a,s,r,o,c=t.split(","),d=c.length,p=(n||"easeIn,easeOut,easeInOut").split(",");--d>-1;)for(s=c[d],a=i?m("easing."+s,null,!0):l.easing[s]||{},r=p.length;--r>-1;)o=p[r],y[s+"."+o]=y[o+s]=a[o]=e.getRatio?e:e[o]||new e};for(a=_.prototype,a._calcEnd=!1,a.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,n=this._power,i=1===t?1-e:2===t?e:.5>e?2*e:2*(1-e);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===t?1-i:2===t?i:.5>e?i/2:1-i/2},n=["Linear","Quad","Cubic","Quart","Quint,Strong"],i=n.length;--i>-1;)a=n[i]+",Power"+i,w(new _(null,null,1,i),a,"easeOut",!0),w(new _(null,null,2,i),a,"easeIn"+(0===i?",easeNone":"")),w(new _(null,null,3,i),a,"easeInOut");y.linear=l.easing.Linear.easeIn,y.swing=l.easing.Quad.easeInOut;var k=m("events.EventDispatcher",function(e){this._listeners={},this._eventTarget=e||this});a=k.prototype,a.addEventListener=function(e,t,n,i,a){a=a||0;var o,l,c=this._listeners[e],d=0;for(null==c&&(this._listeners[e]=c=[]),l=c.length;--l>-1;)o=c[l],o.c===t&&o.s===n?c.splice(l,1):0===d&&o.pr<a&&(d=l+1);c.splice(d,0,{c:t,s:n,up:i,pr:a}),this!==s||r||s.wake()},a.removeEventListener=function(e,t){var n,i=this._listeners[e];if(i)for(n=i.length;--n>-1;)if(i[n].c===t)return void i.splice(n,1)},a.dispatchEvent=function(e){var t,n,i,a=this._listeners[e];if(a)for(t=a.length,n=this._eventTarget;--t>-1;)i=a[t],i.up?i.c.call(i.s||n,{type:e,target:n}):i.c.call(i.s||n)};var C=e.requestAnimationFrame,S=e.cancelAnimationFrame,x=Date.now||function(){return(new Date).getTime()},T=x();for(n=["ms","moz","webkit","o"],i=n.length;--i>-1&&!C;)C=e[n[i]+"RequestAnimationFrame"],S=e[n[i]+"CancelAnimationFrame"]||e[n[i]+"CancelRequestAnimationFrame"];m("Ticker",function(e,t){var n,i,a,o,l,d=this,u=x(),h=t!==!1&&C,g=500,f=33,m=function(e){var t,s,r=x()-T;r>g&&(u+=r-f),T+=r,d.time=(T-u)/1e3,t=d.time-l,(!n||t>0||e===!0)&&(d.frame++,l+=t+(t>=o?.004:o-t),s=!0),e!==!0&&(a=i(m)),s&&d.dispatchEvent("tick")};k.call(d),d.time=d.frame=0,d.tick=function(){m(!0)},d.lagSmoothing=function(e,t){g=e||1/c,f=Math.min(t,g,0)},d.sleep=function(){null!=a&&(h&&S?S(a):clearTimeout(a),i=p,a=null,d===s&&(r=!1))},d.wake=function(){null!==a?d.sleep():d.frame>10&&(T=x()-g+5),i=0===n?p:h&&C?C:function(e){return setTimeout(e,1e3*(l-d.time)+1|0)},d===s&&(r=!0),m(2)},d.fps=function(e){return arguments.length?(n=e,o=1/(n||60),l=this.time+o,void d.wake()):n},d.useRAF=function(e){return arguments.length?(d.sleep(),h=e,void d.fps(n)):h},d.fps(e),setTimeout(function(){h&&(!a||d.frame<5)&&d.useRAF(!1)},1500)}),a=l.Ticker.prototype=new l.events.EventDispatcher,a.constructor=l.Ticker;var D=m("core.Animation",function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=t.immediateRender===!0,this.data=t.data,this._reversed=t.reversed===!0,q){r||s.wake();var n=this.vars.useFrames?V:q;n.add(this,n._time),this.vars.paused&&this.paused(!0)}});s=D.ticker=new l.Ticker,a=D.prototype,a._dirty=a._gc=a._initted=a._paused=!1,a._totalTime=a._time=0,a._rawPrevTime=-1,a._next=a._last=a._onUpdate=a._timeline=a.timeline=null,a._paused=!1;var $=function(){r&&x()-T>2e3&&s.wake(),setTimeout($,2e3)};$(),a.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},a.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},a.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},a.seek=function(e,t){return this.totalTime(Number(e),t!==!1)},a.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,t!==!1,!0)},a.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},a.render=function(e,t,n){},a.invalidate=function(){return this},a.isActive=function(){var e,t=this._timeline,n=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime())>=n&&e<n+this.totalDuration()/this._timeScale},a._enabled=function(e,t){return r||s.wake(),this._gc=!e,this._active=this.isActive(),t!==!0&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},a._kill=function(e,t){return this._enabled(!1,!1)},a.kill=function(e,t){return this._kill(e,t),this},a._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},a._swapSelfInParams=function(e){for(var t=e.length,n=e.concat();--t>-1;)"{self}"===e[t]&&(n[t]=this);return n},a.eventCallback=function(e,t,n,i){if("on"===(e||"").substr(0,2)){var a=this.vars;if(1===arguments.length)return a[e];null==t?delete a[e]:(a[e]=t,a[e+"Params"]=u(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,a[e+"Scope"]=i),"onUpdate"===e&&(this._onUpdate=t)}return this},a.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},a.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},a.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},a.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},a.totalTime=function(e,t,n){if(r||s.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>e&&!n&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,a=this._timeline;if(e>i&&!n&&(e=i),this._startTime=(this._paused?this._pauseTime:a._time)-(this._reversed?i-e:e)/this._timeScale,a._dirty||this._uncache(!1),a._timeline)for(;a._timeline;)a._timeline._time!==(a._startTime+a._totalTime)/a._timeScale&&a.totalTime(a._totalTime,!0),a=a._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==e||0===this._duration)&&(this.render(e,t,!1),L.length&&H())}return this},a.progress=a.totalProgress=function(e,t){return arguments.length?this.totalTime(this.duration()*e,t):this._time/this.duration()},a.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},a.timeScale=function(e){if(!arguments.length)return this._timeScale;if(e=e||c,this._timeline&&this._timeline.smoothChildTiming){var t=this._pauseTime,n=t||0===t?t:this._timeline.totalTime();this._startTime=n-(n-this._startTime)*this._timeScale/e}return this._timeScale=e,this._uncache(!1)},a.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},a.paused=function(e){if(!arguments.length)return this._paused;if(e!=this._paused&&this._timeline){r||e||s.wake();var t=this._timeline,n=t.rawTime(),i=n-this._pauseTime;!e&&t.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=e?n:null,this._paused=e,this._active=this.isActive(),!e&&0!==i&&this._initted&&this.duration()&&this.render(t.smoothChildTiming?this._totalTime:(n-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!e&&this._enabled(!0,!1),this};var A=m("core.SimpleTimeline",function(e){D.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0});a=A.prototype=new D,a.constructor=A,a.kill()._gc=!1,a._first=a._last=null,a._sortChildren=!1,a.add=a.insert=function(e,t,n,i){var a,s;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=e._startTime+(this.rawTime()-e._startTime)/e._timeScale),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),a=this._last,this._sortChildren)for(s=e._startTime;a&&a._startTime>s;)a=a._prev;return a?(e._next=a._next,a._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=a,this._timeline&&this._uncache(!0),this},a._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e.timeline=null,e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),this._timeline&&this._uncache(!0)),this},a.render=function(e,t,n){var i,a=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;a;)i=a._next,(a._active||e>=a._startTime&&!a._paused)&&(a._reversed?a.render((a._dirty?a.totalDuration():a._totalDuration)-(e-a._startTime)*a._timeScale,t,n):a.render((e-a._startTime)*a._timeScale,t,n)),a=i},a.rawTime=function(){return r||s.wake(),this._totalTime};var E=m("TweenLite",function(t,n,i){if(D.call(this,n,i),this.render=E.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:E.selector(t)||t;var a,s,r,o=t.jquery||t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?R[E.defaultOverwrite]:"number"==typeof l?l>>0:R[l],(o||t instanceof Array||t.push&&u(t))&&"number"!=typeof t[0])for(this._targets=r=d.call(t,0),this._propLookup=[],this._siblings=[],a=0;a<r.length;a++)s=r[a],s?"string"!=typeof s?s.length&&s!==e&&s[0]&&(s[0]===e||s[0].nodeType&&s[0].style&&!s.nodeType)?(r.splice(a--,1),this._targets=r=r.concat(d.call(s,0))):(this._siblings[a]=U(s,this,!1),1===l&&this._siblings[a].length>1&&W(s,this,null,1,this._siblings[a])):(s=r[a--]=E.selector(s),"string"==typeof s&&r.splice(a+1,1)):r.splice(a--,1);else this._propLookup={},this._siblings=U(t,this,!1),1===l&&this._siblings.length>1&&W(t,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-c,this.render(-this._delay))},!0),I=function(t){return t.length&&t!==e&&t[0]&&(t[0]===e||t[0].nodeType&&t[0].style&&!t.nodeType)},P=function(e,t){var n,i={};for(n in e)B[n]||n in t&&"transform"!==n&&"x"!==n&&"y"!==n&&"width"!==n&&"height"!==n&&"className"!==n&&"border"!==n||!(!F[n]||F[n]&&F[n]._autoCSS)||(i[n]=e[n],delete e[n]);e.css=i};a=E.prototype=new D,a.constructor=E,a.kill()._gc=!1,a.ratio=0,a._firstPT=a._targets=a._overwrittenProps=a._startAt=null,a._notifyPluginsOfEnabled=a._lazy=!1,E.version="1.12.1",E.defaultEase=a._ease=new _(null,null,1,1),E.defaultOverwrite="auto",E.ticker=s,E.autoSleep=!0,E.lagSmoothing=function(e,t){s.lagSmoothing(e,t)},E.selector=e.$||e.jQuery||function(t){return e.$?(E.selector=e.$,e.$(t)):e.document?e.document.getElementById("#"===t.charAt(0)?t.substr(1):t):t};var L=[],O={},M=E._internals={isArray:u,isSelector:I,lazyTweens:L},F=E._plugins={},N=M.tweenLookup={},j=0,B=M.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1},R={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},V=D._rootFramesTimeline=new A,q=D._rootTimeline=new A,H=function(){var e=L.length;for(O={};--e>-1;)n=L[e],n&&n._lazy!==!1&&(n.render(n._lazy,!1,!0),n._lazy=!1);L.length=0};q._startTime=s.time,V._startTime=s.frame,q._active=V._active=!0,setTimeout(H,1),D._updateRoot=E.render=function(){var e,t,n;if(L.length&&H(),q.render((s.time-q._startTime)*q._timeScale,!1,!1),V.render((s.frame-V._startTime)*V._timeScale,!1,!1),L.length&&H(),!(s.frame%120)){for(n in N){for(t=N[n].tweens,e=t.length;--e>-1;)t[e]._gc&&t.splice(e,1);0===t.length&&delete N[n]}if(n=q._first,(!n||n._paused)&&E.autoSleep&&!V._first&&1===s._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||s.sleep()}}},s.addEventListener("tick",D._updateRoot);var U=function(e,t,n){var i,a,s=e._gsTweenID;if(N[s||(e._gsTweenID=s="t"+j++)]||(N[s]={target:e,tweens:[]}),t&&(i=N[s].tweens,i[a=i.length]=t,n))for(;--a>-1;)i[a]===t&&i.splice(a,1);return N[s].tweens},W=function(e,t,n,i,a){var s,r,o,l;if(1===i||i>=4){for(l=a.length,s=0;l>s;s++)if((o=a[s])!==t)o._gc||o._enabled(!1,!1)&&(r=!0);else if(5===i)break;return r}var d,p=t._startTime+c,u=[],h=0,g=0===t._duration;for(s=a.length;--s>-1;)(o=a[s])===t||o._gc||o._paused||(o._timeline!==t._timeline?(d=d||z(t,0,g),0===z(o,d,g)&&(u[h++]=o)):o._startTime<=p&&o._startTime+o.totalDuration()/o._timeScale>p&&((g||!o._initted)&&p-o._startTime<=2e-10||(u[h++]=o)));for(s=h;--s>-1;)o=u[s],2===i&&o._kill(n,e)&&(r=!0),(2!==i||!o._firstPT&&o._initted)&&o._enabled(!1,!1)&&(r=!0);return r},z=function(e,t,n){for(var i=e._timeline,a=i._timeScale,s=e._startTime;i._timeline;){if(s+=i._startTime,a*=i._timeScale,i._paused)return-100;i=i._timeline}return s/=a,s>t?s-t:n&&s===t||!e._initted&&2*c>s-t?c:(s+=e.totalDuration()/e._timeScale/a)>t+c?0:s-t-c};a._init=function(){var e,t,n,i,a,s=this.vars,r=this._overwrittenProps,o=this._duration,l=!!s.immediateRender,c=s.ease;if(s.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),a={};for(i in s.startAt)a[i]=s.startAt[i];if(a.overwrite=!1,a.immediateRender=!0,a.lazy=l&&s.lazy!==!1,a.startAt=a.delay=null,this._startAt=E.to(this.target,0,a),l)if(this._time>0)this._startAt=null;else if(0!==o)return}else if(s.runBackwards&&0!==o)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{n={};for(i in s)B[i]&&"autoCSS"!==i||(n[i]=s[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=l&&s.lazy!==!1,n.immediateRender=l,this._startAt=E.to(this.target,0,n),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1)}if(c?c instanceof _?this._ease=s.easeParams instanceof Array?c.config.apply(c,s.easeParams):c:this._ease="function"==typeof c?new _(c,s.easeParams):y[c]||E.defaultEase:this._ease=E.defaultEase,this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(e=this._targets.length;--e>-1;)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],r?r[e]:null)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,r);if(t&&E._onPluginEvent("_onInitAllProps",this),r&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),
-s.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=s.onUpdate,this._initted=!0},a._initProps=function(t,n,i,a){var s,r,o,l,c,d;if(null==t)return!1;O[t._gsTweenID]&&H(),this.vars.css||t.style&&t!==e&&t.nodeType&&F.css&&this.vars.autoCSS!==!1&&P(this.vars,t);for(s in this.vars){if(d=this.vars[s],B[s])d&&(d instanceof Array||d.push&&u(d))&&-1!==d.join("").indexOf("{self}")&&(this.vars[s]=d=this._swapSelfInParams(d,this));else if(F[s]&&(l=new F[s])._onInitTween(t,this.vars[s],this)){for(this._firstPT=c={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:!0,n:s,pg:!0,pr:l._priority},r=l._overwriteProps.length;--r>-1;)n[l._overwriteProps[r]]=this._firstPT;(l._priority||l._onInitAllProps)&&(o=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=n[s]=c={_next:this._firstPT,t:t,p:s,f:"function"==typeof t[s],n:s,pg:!1,pr:0},c.s=c.f?t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]():parseFloat(t[s]),c.c="string"==typeof d&&"="===d.charAt(1)?parseInt(d.charAt(0)+"1",10)*Number(d.substr(2)):Number(d)-c.s||0;c&&c._next&&(c._next._prev=c)}return a&&this._kill(a,t)?this._initProps(t,n,i,a):this._overwrite>1&&this._firstPT&&i.length>1&&W(t,this,n,this._overwrite,i)?(this._kill(n,t),this._initProps(t,n,i,a)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(O[t._gsTweenID]=!0),o)},a.render=function(e,t,n){var i,a,s,r,o=this._time,l=this._duration,d=this._rawPrevTime;if(e>=l)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,a="onComplete"),0===l&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(e=0),(0===e||0>d||d===c)&&d!==e&&(n=!0,d>c&&(a="onReverseComplete")),this._rawPrevTime=r=!t||e||d===e?e:c);else if(1e-7>e)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&d>0&&d!==c)&&(a="onReverseComplete",i=this._reversed),0>e?(this._active=!1,0===l&&(this._initted||!this.vars.lazy||n)&&(d>=0&&(n=!0),this._rawPrevTime=r=!t||e||d===e?e:c)):this._initted||(n=!0);else if(this._totalTime=this._time=e,this._easeType){var p=e/l,u=this._easeType,h=this._easePower;(1===u||3===u&&p>=.5)&&(p=1-p),3===u&&(p*=2),1===h?p*=p:2===h?p*=p*p:3===h?p*=p*p*p:4===h&&(p*=p*p*p*p),1===u?this.ratio=1-p:2===u?this.ratio=p:.5>e/l?this.ratio=p/2:this.ratio=1-p/2}else this.ratio=this._ease.getRatio(e/l);if(this._time!==o||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=o,this._rawPrevTime=d,L.push(this),void(this._lazy=e);this._time&&!i?this.ratio=this._ease.getRatio(this._time/l):i&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&e>=0&&(this._active=!0),0===o&&(this._startAt&&(e>=0?this._startAt.render(e,t,n):a||(a="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||b))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(0>e&&this._startAt&&this._startTime&&this._startAt.render(e,t,n),t||(this._time!==o||i)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b)),a&&(this._gc||(0>e&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(e,t,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||b),0===l&&this._rawPrevTime===c&&r!==c&&(this._rawPrevTime=0)))}},a._kill=function(e,t){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);t="string"!=typeof t?t||this._targets||this.target:E.selector(t)||t;var n,i,a,s,r,o,l,c;if((u(t)||I(t))&&"number"!=typeof t[0])for(n=t.length;--n>-1;)this._kill(e,t[n])&&(o=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(t===this._targets[n]){r=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],i=this._overwrittenProps[n]=e?this._overwrittenProps[n]||{}:"all";break}}else{if(t!==this.target)return!1;r=this._propLookup,i=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(r){l=e||r,c=e!==i&&"all"!==i&&e!==r&&("object"!=typeof e||!e._tempKill);for(a in l)(s=r[a])&&(s.pg&&s.t._kill(l)&&(o=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete r[a]),c&&(i[a]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return o},a.invalidate=function(){return this._notifyPluginsOfEnabled&&E._onPluginEvent("_onDisable",this),this._firstPT=null,this._overwrittenProps=null,this._onUpdate=null,this._startAt=null,this._initted=this._active=this._notifyPluginsOfEnabled=this._lazy=!1,this._propLookup=this._targets?{}:[],this},a._enabled=function(e,t){if(r||s.wake(),e&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=U(i[n],this,!0);else this._siblings=U(this.target,this,!0)}return D.prototype._enabled.call(this,e,t),this._notifyPluginsOfEnabled&&this._firstPT?E._onPluginEvent(e?"_onEnable":"_onDisable",this):!1},E.to=function(e,t,n){return new E(e,t,n)},E.from=function(e,t,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new E(e,t,n)},E.fromTo=function(e,t,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new E(e,t,i)},E.delayedCall=function(e,t,n,i,a){return new E(t,0,{delay:e,onComplete:t,onCompleteParams:n,onCompleteScope:i,onReverseComplete:t,onReverseCompleteParams:n,onReverseCompleteScope:i,immediateRender:!1,useFrames:a,overwrite:0})},E.set=function(e,t){return new E(e,0,t)},E.getTweensOf=function(e,t){if(null==e)return[];e="string"!=typeof e?e:E.selector(e)||e;var n,i,a,s;if((u(e)||I(e))&&"number"!=typeof e[0]){for(n=e.length,i=[];--n>-1;)i=i.concat(E.getTweensOf(e[n],t));for(n=i.length;--n>-1;)for(s=i[n],a=n;--a>-1;)s===i[a]&&i.splice(n,1)}else for(i=U(e).concat(),n=i.length;--n>-1;)(i[n]._gc||t&&!i[n].isActive())&&i.splice(n,1);return i},E.killTweensOf=E.killDelayedCallsTo=function(e,t,n){"object"==typeof t&&(n=t,t=!1);for(var i=E.getTweensOf(e,t),a=i.length;--a>-1;)i[a]._kill(n,e)};var Y=m("plugins.TweenPlugin",function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=Y.prototype},!0);if(a=Y.prototype,Y.version="1.10.1",Y.API=2,a._firstPT=null,a._addTween=function(e,t,n,i,a,s){var r,o;return null!=i&&(r="number"==typeof i||"="!==i.charAt(1)?Number(i)-n:parseInt(i.charAt(0)+"1",10)*Number(i.substr(2)))?(this._firstPT=o={_next:this._firstPT,t:e,p:t,s:n,c:r,f:"function"==typeof e[t],n:a||t,r:s},o._next&&(o._next._prev=o),o):void 0},a.setRatio=function(e){for(var t,n=this._firstPT,i=1e-6;n;)t=n.c*e+n.s,n.r?t=Math.round(t):i>t&&t>-i&&(t=0),n.f?n.t[n.p](t):n.t[n.p]=t,n=n._next},a._kill=function(e){var t,n=this._overwriteProps,i=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=n.length;--t>-1;)null!=e[n[t]]&&n.splice(t,1);for(;i;)null!=e[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},a._roundProps=function(e,t){for(var n=this._firstPT;n;)(e[this._propName]||null!=n.n&&e[n.n.split(this._propName+"_").join("")])&&(n.r=t),n=n._next},E._onPluginEvent=function(e,t){var n,i,a,s,r,o=t._firstPT;if("_onInitAllProps"===e){for(;o;){for(r=o._next,i=a;i&&i.pr>o.pr;)i=i._next;(o._prev=i?i._prev:s)?o._prev._next=o:a=o,(o._next=i)?i._prev=o:s=o,o=r}o=t._firstPT=a}for(;o;)o.pg&&"function"==typeof o.t[e]&&o.t[e]()&&(n=!0),o=o._next;return n},Y.activate=function(e){for(var t=e.length;--t>-1;)e[t].API===Y.API&&(F[(new e[t])._propName]=e[t]);return!0},f.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,n=e.propName,i=e.priority||0,a=e.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},r=m("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",function(){Y.call(this,n,i),this._overwriteProps=a||[]},e.global===!0),o=r.prototype=new Y(n);o.constructor=r,r.API=e.API;for(t in s)"function"==typeof e[t]&&(o[s[t]]=e[t]);return r.version=e.version,Y.activate([r]),r},n=e._gsQueue){for(i=0;i<n.length;i++)n[i]();for(a in h)!h[a].func}r=!1}}(window),angular.module("att.abs.transition",[]).factory("$transition",["$q","$timeout","$rootScope",function(e,t,n){function i(e){for(var t in e)if(void 0!==s.style[t])return e[t]}var a=function(i,s,r){r=r||{};var o=e.defer(),l=a[r.animation?"animationEndEventName":"transitionEndEventName"],c=function(){n.$apply(function(){i.unbind(l,c),o.resolve(i)})};return l&&i.bind(l,c),t(function(){angular.isString(s)?i.addClass(s):angular.isFunction(s)?s(i):angular.isObject(s)&&i.css(s),l||o.resolve(i)},100),o.promise.cancel=function(){l&&i.unbind(l,c),o.reject("Transition cancelled")},o.promise},s=document.createElement("trans"),r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},o={WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"};return a.transitionEndEventName=i(r),a.animationEndEventName=i(o),a}]).factory("$scrollTo",["$window",function(e){var t=function(t,n,i){TweenMax.to(e,i||1,{scrollTo:{y:n,x:t},ease:Power4.easeOut})};return t}]).factory("animation",function(){return TweenMax}).factory("$progressBar",function(){var e=function(e){var t=function(t,n){TweenMax.to({},n,{onUpdateParams:["{self}"],onUpdate:e,onComplete:t})};return function(){return t}()};return e}).factory("$height",function(){var e=function(e,t,n,i){TweenMax.to(e,t,{height:n,autoAlpha:i},0)};return e}),angular.module("att.abs.accordion",["att.abs.utilities","att.abs.position","att.abs.transition"]).constant("accordionConfig",{closeOthers:!1}).controller("AccordionController",["$scope","$attrs","accordionConfig","$log",function(e,t,n,i){this.groups=[],this.index=-1,this.scope=e,e.forceExpand=!1,this.closeOthers=function(i){var a=angular.isDefined(t.closeOthers)?e.$eval(t.closeOthers):n.closeOthers;a&&!e.forceExpand&&angular.forEach(this.groups,function(e){e!==i&&(e.isOpen=!1)}),this.groups.indexOf(i)===this.groups.length-1&&e.forceExpand&&(e.forceExpand=!1)},this.expandAll=function(){e.forceExpand=!0,angular.forEach(this.groups,function(e){e.isOpen=!0})},this.collapseAll=function(){angular.forEach(this.groups,function(e){e.isOpen=!1})},this.focus=function(e){var t=this;angular.forEach(this.groups,function(n,i){n!==e?n.focused=!1:(t.index=i,n.focused=!0)})},this.blur=function(e){e.focused=!1,this.index=-1,i.log("accordion.blur()",e)},this.cycle=function(t,n,i){if(n)if(this.index===this.groups.length-1){if(i)return this.index=0,t.focused=!1,void e.$apply();this.index=0}else this.index++;else this.index<=0&&!i?this.index=this.groups.length-1:this.index--;t.focused=!1,this.groups[this.index].setFocus=!0,this.groups[this.index].focused=!0,e.$apply()},this.addGroup=function(e){var t=this;e.index=this.groups.length,e.focused=!1,this.groups.push(e),this.groups.length>0&&(this.index=0),e.$on("$destroy",function(){t.removeGroup(e)})},this.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(this.groups.indexOf(e),1)}}]).directive("accordion",function(){return{restrict:"EA",controller:"AccordionController",transclude:!0,replace:!1,scope:{cClass:"@css",expandAll:"=?",collapseAll:"=?"},template:'<div class="{{cClass}}" ng-transclude></div>',link:function(e,t,n,i){e.$watch("expandAll",function(t){t&&(i.expandAll(),e.expandAll=!1)}),e.$watch("collapseAll",function(t){t&&(i.collapseAll(),e.collapseAll=!1)})}}}).directive("accordionGroup",[function(){return{require:["^accordion","accordionGroup"],restrict:"EA",transclude:!0,replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/accordion/accordion.html",scope:{heading:"@",isOpen:"=?"},controller:["$scope",function(e){e.showicon=!0,this.setHeading=function(t){this.heading=t,e.showicon=!1},this.isIsOpen=function(){return e.isOpen}}],link:function(e,t,n,i){var a=i[0],s=i[1],r={tab:9,enter:13,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40},o=t.children().eq(0),l=n.parentLink;e.setFocus=!1,e.childLength=n.childLength,e.headingIconClass=n.imageSource;var c=function(t){var n=!0;switch(t.keyCode){case r.enter:t.preventDefault(),e.toggle(),e.$apply();break;case r.up:case r.left:t.preventDefault(),a.cycle(e,!1);break;case r.down:case r.right:t.preventDefault(),a.cycle(e,!0);break;default:n=!1}return t.stopPropagation(),n};angular.isUndefined(e.isOpen)&&(e.isOpen=!1),o.bind("keydown",c),a.addGroup(e),0===e.index&&(e.focused=!0),s.toggle=e.toggle=function(){return e.childLength>0?(e.isOpen=!e.isOpen,a.focus(e),e.isOpen):void(window.location.href=l)},e.$watch("isOpen",function(t){t&&a.closeOthers(e)}),e.$watch("focused",function(t){t?(o.attr("tabindex","0"),e.setFocus&&o[0].focus()):(e.setFocus=!1,o.attr("tabindex","-1"))})}}}]).directive("accordionToggle",function(){return{restrict:"EA",require:"^accordionGroup",scope:{expandIcon:"@",collapseIcon:"@"},link:function(e,t,n,i){var a=function(n){e.expandIcon&&e.collapseIcon&&(n?(t.removeClass(e.expandIcon),t.addClass(e.collapseIcon)):(t.removeClass(e.collapseIcon),t.addClass(e.expandIcon)))};t.bind("click",function(){i.toggle(),e.$apply()}),e.$watch(function(){return i.isIsOpen()},function(e){a(e)})}}}).directive("accordionHeading",function(){return{restrict:"EA",transclude:!0,template:"",require:"^accordionGroup",compile:function(e,t,n){var i=function(e,t,i,a){n(e,function(e){t.append(e),a.setHeading(t)})};return i}}}).directive("accordionTransclude",function(){return{require:"^accordionGroup",link:function(e,t,n,i){e.$watch(function(){return i[n.accordionTransclude]},function(e){e&&t.find("span").eq(0).prepend(e)})}}}).directive("attGoTop",["$scrollTo",function(e){return{restrict:"A",transclude:!1,link:function(t,n,i){n.bind("click",function(){e(0,i.attGoTop)})}}}]).directive("attGoTo",["$anchorScroll","$location",function(e,t){return{restrict:"A",transclude:!1,link:function(n,i,a){i.bind("click",function(){var n=a.attGoTo;t.hash()!==n?t.hash(a.attGoTo):e()})}}}]).directive("freeStanding",function(){return{restrict:"EA",transclude:!0,replace:!0,scope:!0,template:"<div><span class='att-accordion__freestanding' ng-show='showAccordion'></span>\n<div class='section-toggle'>\n<button class='section-toggle__button' ng-click='fsToggle()'>\n {{btnText}}<i style='font-size:0.875rem' ng-class='{\"icon-chevron-up\": showAccordion,\"icon-chevron-down\": !showAccordion, }'></i> \n</button>\n</div></div>",compile:function(e,t,n){var i=function(e,t,i){e.content="",n(e,function(e){t.find("span").append(e)}),e.showAccordion=!1,e.btnText=e.showAccordion?i.hideMsg:i.showMsg,e.fsToggle=function(){e.showAccordion=!e.showAccordion,e.btnText=e.showAccordion?i.hideMsg:i.showMsg}};return i}}}).directive("expanders",function(){return{restrict:"EA",replace:!0,transclude:!0,template:"<div ng-transclude></div>",controller:["$scope",function(e){var t=null;this.setScope=function(e){t=e},this.toggle=function(){return e.isOpen=t.isOpen=!t.isOpen,t.isOpen}}],link:function(e){e.isOpen=!1}}}).directive("expanderHeading",function(){return{require:"^expanders",restrict:"EA",replace:!0,transclude:!0,scope:!0,template:"<div style='padding:10px !important' ng-transclude></div>"}}).directive("expanderBody",function(){return{restrict:"EA",require:"^expanders",replace:!0,transclude:!0,scope:{},template:"<div collapse='!isOpen'><div ng-transclude></div></div>",link:function(e,t,n,i){e.isOpen=!1,i.setScope(e)}}}).directive("expanderToggle",function(){return{restrict:"EA",require:"^expanders",scope:{expandIcon:"@",collapseIcon:"@"},link:function(e,t,n,i){var a=!1,s=function(){e.expandIcon&&e.collapseIcon&&(a?(t.removeClass(e.expandIcon),t.addClass(e.collapseIcon)):(t.removeClass(e.collapseIcon),t.addClass(e.expandIcon)))};t.bind("keydown",function(t){13===t.keyCode&&e.toggleit()}),t.bind("click",function(){e.toggleit()}),e.toggleit=function(){a=i.toggle(),s(),e.$apply()},s()}}}).directive("collapse",["$transition",function(e){var t={open:{marginTop:null,marginBottom:null,paddingTop:null,paddingBottom:null,display:"block"},closed:{marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,display:"none"}},n=function(e,n,i){n.removeClass("collapse"),n.css({height:i}),0===i?n.css(t.closed):n.css(t.open),n.addClass("collapse")};return{link:function(i,a,s){var r,o=!0;i.$watch(function(){return a[0].scrollHeight},function(){0===a[0].scrollHeight||r||(o?n(i,a,a[0].scrollHeight+"px"):n(i,a,"auto"))});var l,c=function(t){return l&&l.cancel(),l=e(a,t),l.then(function(){l=void 0},function(){l=void 0}),l},d=function(){i.postTransition=!0,o?(o=!1,r||n(i,a,"auto")):c(angular.extend({height:a[0].scrollHeight+"px"},t.open)).then(function(){r||n(i,a,"auto")}),r=!1},p=function(){r=!0,o?(o=!1,n(i,a,0)):(n(i,a,a[0].scrollHeight+"px"),c(angular.extend({height:0},t.closed)).then(function(){i.postTransition=!1}))};i.$watch(s.collapse,function(e){e?p():d()})}}}]).directive("attAccord",function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{},controller:"AttAccordCtrl",templateUrl:"app/scripts/ng_js_att_tpls/accordion/attAccordHeader.html"}}).controller("AttAccordCtrl",[function(){this.type="attAccord",this.headerCtrl,this.bodyCtrl;var e=!0;this.toggleBody=function(){e?this.expandBody():this.collapseBody(),e=!e},this.expandBody=function(){this.bodyCtrl.expand()},this.collapseBody=function(){this.bodyCtrl.collapse()}}]).controller("AttAccordHeaderCtrl",[function(){this.type="header"}]).directive("attAccordHeader",["keymap","events",function(e,t){return{restrict:"EA",transclude:!0,replace:!0,require:["^attAccord","attAccordHeader"],controller:"AttAccordHeaderCtrl",templateUrl:"app/scripts/ng_js_att_tpls/accordion/attAccordHeader.html",link:function(t,n,i,a){var s=a[0],r=a[1];s.headerCtrl=r;var o=n.children().eq(0);t.clickFunc=function(){s.toggleBody()};var l=function(n){var i=!0;switch(n.keyCode){case e.KEY.ENTER:n.preventDefault(),t.clickFunc(),t.$apply();break;default:i=!1}return n.stopPropagation(),i};angular.isUndefined(t.isOpen)&&(t.isOpen=!1),o.bind("keydown",l)}}}]).controller("AttAccordBodyCtrl",["$scope",function(e){this.type="body",this.expand=function(){e.expand()},this.collapse=function(){e.collapse()}}]).directive("attAccordBody",["$timeout","$height",function(e,t){return{restrict:"EA",transclude:!0,replace:!0,require:["^attAccord","attAccordBody"],controller:"AttAccordBodyCtrl",templateUrl:"app/scripts/ng_js_att_tpls/accordion/attAccordBody.html",link:function(n,i,a,s){var r=s[0],o=s[1];r.bodyCtrl=o;var l;e(function(){l=i[0].offsetHeight,t(i,0,0,0)}),n.expand=function(){t(i,.05,l,1)},n.collapse=function(){t(i,.25,0,0)}}}}]),angular.module("att.abs.alert",[]).directive("attAlert",[function(){return{restrict:"EA",replace:!0,transclude:!0,scope:{alertType:"@type",showTop:"@topPos",showAlert:"="},templateUrl:"app/scripts/ng_js_att_tpls/alert/alert.html",link:function(e){"true"===e.showTop?e.cssStyle={top:"50px"}:e.cssStyle={top:"0px"},e.close=function(){e.showAlert=!1}}}}]),angular.module("att.abs.boardStrip",["att.abs.utilities"]).constant("BoardStripConfig",{maxVisibleBoards:4,boardsToScroll:1,boardLength:140,boardMargin:15}).directive("attBoard",[function(){return{restrict:"AE",replace:!0,transclude:!0,require:"^attBoardStrip",scope:{boardIndex:"=",boardLabel:"="},templateUrl:"app/scripts/ng_js_att_tpls/boardStrip/attBoard.html",link:function(e,t,n,i){var a=i;e.getCurrentIndex=function(){return a.getCurrentIndex()},e.selectBoard=function(e){isNaN(e)||a.setCurrentIndex(e)},e.isInView=function(e){return a.isInView(e)}}}}]).directive("attBoardStrip",["BoardStripConfig","$timeout","$ieVersion",function(e,t,n){return{restrict:"AE",replace:!0,transclude:!0,scope:{currentIndex:"=selectedIndex",boardsMasterArray:"=",onAddBoard:"&?"},templateUrl:"app/scripts/ng_js_att_tpls/boardStrip/attBoardStrip.html",controller:function(t){if(angular.isDefined(t.boardsMasterArray)||(t.boardsMasterArray=[]),this.rectifyMaxVisibleBoards=function(){this.maxVisibleIndex>=t.boardsMasterArray.length&&(this.maxVisibleIndex=t.boardsMasterArray.length-1),this.maxVisibleIndex<0&&(this.maxVisibleIndex=0)},this.resetBoardStrip=function(){t.currentIndex=0,this.maxVisibleIndex=e.maxVisibleBoards-1,this.minVisibleIndex=0,this.rectifyMaxVisibleBoards()},t.currentIndex>0){var n=t.currentIndex;this.resetBoardStrip(),n>t.boardsMasterArray.length?t.currentIndex=t.boardsMasterArray.length-1:t.currentIndex=n}else this.resetBoardStrip();this.getCurrentIndex=function(){return t.currentIndex},this.setCurrentIndex=function(e){t.currentIndex=e},this.isInView=function(e){return e<=this.maxVisibleIndex&&e>=this.minVisibleIndex},this.getBoardsMasterArrayLength=function(){return t.boardsMasterArray.length}},link:function(i,a,s,r){var o,l=n(),c=1e3;l&&10>l&&(c=0);var d=function(t){return t*(e.boardLength+e.boardMargin)};a[0].querySelector(".board-viewport")&&angular.element(a[0].querySelector(".board-viewport")).css({width:d(e.maxVisibleBoards)+"px"});var p=function(t){return t*(e.boardLength+e.boardMargin)};a[0].querySelector(".boardstrip-container")&&(angular.element(a[0].querySelector(".boardstrip-container")).css({width:p(r.getBoardsMasterArrayLength())+"px"}),angular.element(a[0].querySelector(".boardstrip-container")).css({left:"0px"}));var u=function(){var t;return t=r.getBoardsMasterArrayLength()<=e.maxVisibleBoards?0:r.minVisibleIndex*(e.boardLength+e.boardMargin)*-1},h=function(e,t,n){for(var i=0;i<e.length;i++)angular.element(e[i]).attr("tabindex","-1");for(var i=t;n>=i;i++)angular.element(e[i]).attr("tabindex","0")};i.$watchCollection("boardsMasterArray",function(n,i){n!==i&&(n.length<i.length?(r.resetBoardStrip(),t(function(){var e=a[0].querySelectorAll("[att-board]");if(0!==e.length){var n=angular.element(a[0].querySelector(".boardstrip-container"))[0].style.left,i=u();n!==i+"px"?(angular.element(a[0].querySelector(".boardstrip-container")).css({left:i+"px"}),t.cancel(o),o=t(function(){e[0].focus()},c)):e[0].focus()}else a[0].querySelector("div.boardstrip-item--add").focus();angular.element(a[0].querySelector(".boardstrip-container")).css({width:p(r.getBoardsMasterArrayLength())+"px"})})):(r.maxVisibleIndex=r.getBoardsMasterArrayLength()-1,r.minVisibleIndex=Math.max(r.maxVisibleIndex-e.maxVisibleBoards+1,0),r.setCurrentIndex(r.maxVisibleIndex),t(function(){angular.element(a[0].querySelector(".boardstrip-container")).css({width:p(r.getBoardsMasterArrayLength())+"px"});var e=angular.element(a[0].querySelector(".boardstrip-container"))[0].style.left,n=u(),i=a[0].querySelectorAll("[att-board]");e!==n+"px"?(angular.element(a[0].querySelector(".boardstrip-container")).css({left:n+"px"}),t.cancel(o),o=t(function(){i[i.length-1].focus()},c)):i[i.length-1].focus(),h(i,r.minVisibleIndex,r.maxVisibleIndex)})))}),i.nextBoard=function(){r.maxVisibleIndex+=e.boardsToScroll,r.rectifyMaxVisibleBoards(),r.minVisibleIndex=r.maxVisibleIndex-(e.maxVisibleBoards-1),t.cancel(o),angular.element(a[0].querySelector(".boardstrip-container")).css({left:u()+"px"}),t(function(){var e=a[0].querySelectorAll("[att-board]");if(h(e,r.minVisibleIndex,r.maxVisibleIndex),!i.isNextBoard())try{e[e.length-1].focus()}catch(t){}},c)},i.prevBoard=function(){r.minVisibleIndex-=e.boardsToScroll,r.minVisibleIndex<0&&(r.minVisibleIndex=0),r.maxVisibleIndex=r.minVisibleIndex+e.maxVisibleBoards-1,r.rectifyMaxVisibleBoards(),t.cancel(o),angular.element(a[0].querySelector(".boardstrip-container")).css({left:u()+"px"}),t(function(){var e=a[0].querySelectorAll("[att-board]");if(h(e,r.minVisibleIndex,r.maxVisibleIndex),0===r.minVisibleIndex)try{a[0].querySelector("div.boardstrip-item--add").focus()}catch(t){}})},i.isPrevBoard=function(){return r.minVisibleIndex>0},i.isNextBoard=function(){return r.getBoardsMasterArrayLength()-1>r.maxVisibleIndex}}}}]).directive("attAddBoard",["BoardStripConfig","$parse","$timeout",function(e,t,n){return{restrict:"AE",replace:!0,require:"^attBoardStrip",scope:{onAddBoard:"&?"},templateUrl:"app/scripts/ng_js_att_tpls/boardStrip/attAddBoard.html",link:function(e,n,i,a){e.addBoard=function(){i.onAddBoard&&(e.onAddBoard=t(e.onAddBoard),e.onAddBoard())}}}}]).directive("attBoardNavigation",["keymap","events",function(e,t){return{restrict:"AE",link:function(n,i){var a=e.KEY.LEFT,s=e.KEY.RIGHT;i.bind("keydown",function(e){switch(e.keyCode||(e.keyCode=e.which),e.keyCode){case s:if(t.preventDefault(e),t.stopPropagation(e),i[0].nextElementSibling&&parseInt(angular.element(i[0].nextElementSibling).attr("tabindex"))>=0)angular.element(i[0])[0].nextElementSibling.focus();else{var n=angular.element(i[0])[0];do{if(!n.nextSibling)break;n=n.nextSibling}while(n&&"LI"!==n.tagName);n.tagName&&"LI"===n.tagName&&parseInt(angular.element(n).attr("tabindex"))>=0&&n.focus()}break;case a:if(t.preventDefault(e),t.stopPropagation(e),i[0].previousElementSibling&&parseInt(angular.element(i[0].previousElementSibling).attr("tabindex"))>=0)angular.element(i[0])[0].previousElementSibling.focus();else{var r=angular.element(i[0])[0];do{if(!r.previousSibling)break;r=r.previousSibling}while(r&&"LI"!==r.tagName);r.tagName&&"LI"===r.tagName&&parseInt(angular.element(n).attr("tabindex"))>=0&&r.focus()}}})}}}]),angular.module("att.abs.breadCrumbs",[]).constant("classConstant",{defaultClass:"breadcrumbs__link",activeClass:"breadcrumbs__link--active"}).directive("attCrumb",["classConstant",function(e){return{restrict:"A",link:function(t,n,i){n.addClass(e.defaultClass),"active"===i.attCrumb&&n.addClass(e.activeClass),n.hasClass("last")||n.after('<i class="breadcrumbs__item"></i>')}}}]),angular.module("att.abs.buttons",["att.abs.position","att.abs.utilities"]).constant("btnConfig",{btnClass:"button",btnPrimaryClass:"button--primary",btnSecondaryClass:"button--secondary",btnDisabledClass:"button--inactive",btnSmallClass:"button--small"}).directive("attButton",["btnConfig",function(e){return{restrict:"A",link:function(t,n,i){n.addClass(e.btnClass),"small"===i.size&&n.addClass(e.btnSmallClass),i.$observe("btnType",function(t){"primary"===t?(n.addClass(e.btnPrimaryClass),n.removeClass(e.btnSecondaryClass),n.removeClass(e.btnDisabledClass),n.removeAttr("disabled")):"secondary"===t?(n.addClass(e.btnSecondaryClass),n.removeClass(e.btnPrimaryClass),n.removeClass(e.btnDisabledClass),n.removeAttr("disabled")):"disabled"===t&&(n.addClass(e.btnDisabledClass),n.removeClass(e.btnPrimaryClass),n.removeClass(e.btnSecondaryClass),n.attr("disabled","disabled"))})}}}]).directive("attButtonLoader",[function(){return{restrict:"A",replace:!1,scope:{size:"@"},template:"<div ng-class=\"{'button--loading': size === 'large','button--loading__small': size === 'small'}\"><i></i><i class=\"second__loader\"></i><i></i></div>",link:function(e,t){t.addClass("button button--inactive")}}}]).directive("attButtonHero",[function(){return{restrict:"A",replace:!1,transclude:!0,scope:{icon:"@"},template:"<div class=\"button--hero__inner\"><span ng-transclude></span> <i ng-class=\"{'icon-arrow-right': icon === 'arrow-right','icon-cart': icon === 'cart'}\"></i></div>",link:function(e,t){t.addClass("button button--hero"),t.attr("tabindex","0")}}}]).directive("attBtnDropdown",["$document","$timeout","$isElement","$documentBind","keymap","events",function(e,t,n,i,a,s){return{restrict:"EA",scope:{type:"@dropdowntype"},replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/buttons/buttonDropdown.html",link:function(r,o){r.isOpen=!1;var l=-1,c=[],d=void 0;t(function(){c=o.find("li"),d=o.find("button")[0]},10);var p=r.toggle=function(e){angular.isUndefined(e)||""===e?r.isOpen=!r.isOpen:r.isOpen=e},u=function(){l+1<c.length&&(l++,c[l].focus())},h=function(){l-1>=0&&(l--,c[l].focus())};o.bind("keydown",function(e){var t=e.keyCode;if(a.isAllowedKey(t)||a.isControl(e)||a.isFunctionKey(e))switch(t){case a.KEY.ENTER:l>0&&(d.focus(),r.$apply());break;case a.KEY.ESC:p(!1),l=-1,d.focus(),r.$apply();break;case a.KEY.DOWN:u(),r.$apply(),s.preventDefault(e),s.stopPropagation(e);break;case a.KEY.UP:h(),r.$apply(),s.preventDefault(e),s.stopPropagation(e)}else t===a.KEY.TAB&&(p(!1),l=-1,r.$apply())});var g=function(t){var i=n(angular.element(t.target),o,e);if(!i){p(!1),l=-1;for(var a=0;a<c.length;a++)angular.element(c[a]).removeClass("selected");d.focus(),r.$apply()}};i.click("isOpen",g,r)}}}]),angular.module("att.abs.checkbox",[]).constant("attCheckboxConfig",{activeClass:"att-checkbox--on",disabledClass:"att-checkbox--disabled"}).directive("checkboxLimit",function(){return{scope:{checkboxLimit:"=",selectLimit:"@?",maxSelected:"&?"},restrict:"A",require:"checkboxLimit",controller:["$scope",function(e){e.limit=!0,this.getMaxLimits=function(){return e.limit},this.setMaxLimits=function(t){e.limit=t},this.maxCheckboxSelected=function(){e.maxSelected()}}],link:function(e,t,n,i){e.$watch("checkboxLimit",function(){var t=0;for(var n in e.checkboxLimit)e.checkboxLimit.hasOwnProperty(n)&&e.checkboxLimit[n]&&(t+=1);t>=parseInt(e.selectLimit)?i.setMaxLimits(!1):i.setMaxLimits(!0)},!0)}}}).directive("attCheckbox",["$compile","attCheckboxConfig",function(e,t){return{scope:{},restrict:"A",require:["ngModel","^?checkboxLimit"],link:function(n,i,a,s){var r=s[0],o=s[1],l=e('<div tabindex="0" role="checkbox" att-accessibility-click="13,32" aria-label="Checkbox" ng-click="updateModel($event)" class="att-checkbox"></div>')(n);i.css({display:"none"}),i.wrap(l),i.parent().append('<div class="att-checkbox__indicator"></div>'),i.parent().attr("title",a.title),i.parent().attr("aria-label",a.title),i.parent().attr("id",a.id),i.removeAttr("id"),r.$render=function(){var e=r.$modelValue?!0:!1;i.parent().toggleClass(t.activeClass,e),i.parent().attr("aria-checked",e)},n.updateModel=function(e){n.disabled||(r.$setViewValue(i.parent().hasClass(t.activeClass)?!1:!0),o&&!o.getMaxLimits()&&r.$modelValue?(o.maxCheckboxSelected(),r.$setViewValue(i.parent().hasClass(t.activeClass)?!0:!1)):r.$render()),e.preventDefault()},a.$observe("disabled",function(e){n.disabled=e||"disabled"===e||"true"===e,i.parent().toggleClass(t.disabledClass,n.disabled),i.parent().attr("tabindex",n.disabled?"-1":"0")})}}}]).directive("checkboxGroup",["$compile",function(e){return{scope:{checkboxGroup:"=",checkboxGroupValue:"=?"},restrict:"A",link:function(t,n,i){t.checkboxState="none",void 0===t.checkboxGroupValue&&(t.checkboxGroupValue="indeterminate"),n.css({display:"none"}),n.wrap(e('<div tabindex="0" role="checkbox" att-accessibility-click="13,32" ng-click="updateModel($event)" class="att-checkbox"></div>')(t)),n.parent().append('<div class="att-checkbox__indicator"></div>'),n.parent().attr("title",i.title),n.parent().attr("aria-label",i.title),t.$watch("checkboxState",function(e){"all"===e?(n.parent().addClass("att-checkbox--on"),n.parent().removeClass("att-checkbox--indeterminate"),n.parent().attr("aria-checked",!0)):"none"===e?(n.parent().removeClass("att-checkbox--on"),n.parent().removeClass("att-checkbox--indeterminate"),n.parent().attr("aria-checked",!1)):"indeterminate"===e&&(n.parent().removeClass("att-checkbox--on"),n.parent().addClass("att-checkbox--indeterminate"),n.parent().attr("aria-checked",!0))}),t.updateModel=function(e){if(n.parent().hasClass("att-checkbox--on")){n.parent().removeClass("att-checkbox--on");for(var i in t.checkboxGroup)t.checkboxGroup.hasOwnProperty(i)&&(t.checkboxGroup[i]=!1)}else{n.parent().addClass("att-checkbox--on");for(var a in t.checkboxGroup)t.checkboxGroup.hasOwnProperty(a)&&(t.checkboxGroup[a]=!0)}e.preventDefault()},t.$watch("checkboxGroupValue",function(e){if(e===!1){n.parent().removeClass("att-checkbox--on");
-for(var i in t.checkboxGroup)t.checkboxGroup.hasOwnProperty(i)&&(t.checkboxGroup[i]=!1)}else if(e===!0){n.parent().addClass("att-checkbox--on");for(var a in t.checkboxGroup)t.checkboxGroup.hasOwnProperty(a)&&(t.checkboxGroup[a]=!0)}}),t.$watch("checkboxGroup",function(){var e=0,n=0,i=0;for(var a in t.checkboxGroup)t.checkboxGroup.hasOwnProperty(a)&&(i+=1,t.checkboxGroup[a]?e+=1:t.checkboxGroup[a]||(n+=1));i===e?(t.checkboxState="all",t.checkboxGroupValue=!0):i===n?(t.checkboxState="none",t.checkboxGroupValue=!1):(t.checkboxState="indeterminate",t.checkboxGroupValue="indeterminate")},!0)}}}]),angular.module("att.abs.colorselector",[]).directive("colorSelectorWrapper",[function(){return{scope:{selected:"=",iconColor:"@"},restrict:"AE",transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/colorselector/colorselector.html",link:function(e){e.applycolor={"background-color":e.iconColor},e.selectedcolor=function(t){e.selected=t}}}}]).directive("colorSelector",["$compile",function(e){return{restrict:"A",scope:{colorSelector:"@",ngModel:"="},link:function(t,n,i){n.removeAttr("color-selector");var a=i.title,s=angular.element('<color-selector-wrapper selected="ngModel" title="'+a+'" icon-color="{{colorSelector}}">'+n.prop("outerHTML")+"</color-selector-wrapper>"),r=e(s)(t);n.replaceWith(r)}}}]),angular.module("att.abs.datepicker",["att.abs.position","att.abs.utilities"]).constant("datepickerConfig",{dateFormat:"MM/dd/yyyy",dayFormat:"d",monthFormat:"MMMM",yearFormat:"yyyy",dayHeaderFormat:"EEEE",dayTitleFormat:"MMMM yyyy",disableWeekend:!1,disableSunday:!1,startingDay:0,minDate:null,maxDate:null,mode:0,dateFilter:{defaultText:"Select from list"},datepickerEvalAttributes:["dateFormat","dayFormat","monthFormat","yearFormat","dayHeaderFormat","dayTitleFormat","disableWeekend","disableSunday","startingDay","mode"],datepickerWatchAttributes:["min","max"]}).factory("datepickerService",["datepickerConfig","dateFilter",function(e,t){var n=function(t,n){if(angular.isDefined(t)&&null!==t&&angular.isDefined(n)&&null!==n){var i=e.datepickerEvalAttributes.concat(e.datepickerWatchAttributes);for(var a in t){var s=t[a];-1!==i.indexOf(a)&&angular.isDefined(s)&&n.attr(a.toSnakeCase(),a)}}},i=function(t,n){if(angular.isDefined(t)&&null!==t&&angular.isDefined(n)&&null!==n){var i=function(e,t){n[e]=n.$parent.$eval(t)},a=function(e,t){n.$parent.$watch(t,function(t){n[e]=t}),n.$watch(e,function(e){n.$parent[t]=e})},s=e.datepickerEvalAttributes,r=e.datepickerWatchAttributes;for(var o in t){var l=t[o];-1!==s.indexOf(o)&&angular.isDefined(l)?i(o,l):-1!==r.indexOf(o)&&angular.isDefined(l)&&a(o,l)}}},a=function(e,n){if(e&&n){var i;-1!==n.indexOf("/")?i="/":-1!==n.indexOf("-")?i="-":-1!==n.indexOf(".")&&(i=".");var a=e.split(i),s=n.split(i);if(a.length!==s.length)return!1;for(var r=0;r<a.length;r++)a[r]=a[r].lPad(s[r].length,"0");var o=a.join(i),l=t(new Date(o),n);return o===l}};return{setAttributes:n,bindScope:i,validateDateString:a}}]).controller("DatepickerController",["$scope","$attrs","dateFilter","datepickerConfig",function(e,t,n,i){function a(t,n){return angular.isDefined(t)?e.$parent.$eval(t):n}function s(e,t){return new Date(e,t,0).getDate()}function r(e,t){for(var n=[],i=e,a=0;t>a;)n[a++]=new Date(i),i.setDate(i.getDate()+1);return n}function o(t){return t&&angular.isDate(e.currentDate)&&0===y(t,e.currentDate)?!0:!1}function l(t){return t&&angular.isDate(e.fromDate)&&0===y(t,e.fromDate)?!0:!1}function c(t){return t&&angular.isDate(e.fromDate)&&angular.isDate(e.currentDate)&&0===y(t,e.currentDate)?!0:!1}function d(t){return t&&angular.isDate(e.fromDate)&&angular.isDate(e.currentDate)&&y(t,e.fromDate)>=0&&y(t,e.currentDate)<=0?!0:!1}function p(e){return"Saturday"===n(e,b.dayHeader)||"Sunday"===n(e,b.dayHeader)?!0:!1}function u(t){return 0===y(t,e.resetTime(new Date))?!0:!1}function h(t){return t&&angular.isDate(e.focusedDate)&&0===y(t,e.focusedDate)?!0:!1}function g(t,n){return e.minDate&&e.minDate.getTime()>=t.getTime()&&e.minDate.getTime()<=n.getTime()}function f(t,n){return e.maxDate&&e.maxDate.getTime()>=t.getTime()&&e.maxDate.getTime()<=n.getTime()}function m(e){if(e){var t={pre:e.substr(0,3),post:e};return t}}function v(e){return{date:e.date,label:n(e.date,e.formatDay),header:n(e.date,e.formatHeader),focused:!!e.isFocused,selected:!!e.isSelected,from:!!e.isFromDate,to:!!e.isToDate,dateRange:!!e.isDateRange,oldMonth:!!e.oldMonth,nextMonth:!!e.newMonth,disabled:!!e.isDisabled,today:!!e.isToday,weekend:!!e.isWeakend}}var b={date:a(t.dateFormat,i.dateFormat),day:a(t.dayFormat,i.dayFormat),month:a(t.monthFormat,i.monthFormat),year:a(t.yearFormat,i.yearFormat),dayHeader:a(t.dayHeaderFormat,i.dayHeaderFormat),dayTitle:a(t.dayTitleFormat,i.dayTitleFormat),disableWeekend:a(t.disableWeekend,i.disableWeekend),disableSunday:a(t.disableSunday,i.disableSunday)},_=a(t.startingDay,i.startingDay);e.mode=a(t.mode,i.mode),e.minDate=i.minDate?e.resetTime(i.minDate):null,e.maxDate=i.maxDate?e.resetTime(i.maxDate):null;var y=this.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},w=this.isDisabled=function(t){return b.disableWeekend!==!0||"Saturday"!==n(t,b.dayHeader)&&"Sunday"!==n(t,b.dayHeader)?b.disableSunday===!0&&"Sunday"===n(t,b.dayHeader)?!0:e.minDate&&y(t,e.minDate)<0||e.maxDate&&y(t,e.maxDate)>0:!0};this.modes=[{name:"day",getVisibleDates:function(t,i){var a=t.getFullYear(),y=t.getMonth(),k=new Date(a,y,1),C=new Date(a,y+1,0),S=_-k.getDay(),x=S>0?7-S:-S,T=new Date(k),D=0;x>0&&(T.setDate(-x+1),D+=x),D+=s(a,y+1),D+=(7-D%7)%7;for(var $=r(T,D),A=[],E=0;D>E;E++){var I=new Date($[E]);$[E]=v({date:I,formatDay:b.day,formatHeader:b.dayHeader,isFocused:h(I),isSelected:o(I),isFromDate:l(I),isToDate:c(I),isDateRange:d(I),oldMonth:new Date(I.getFullYear(),I.getMonth(),1,0,0,0).getTime()<new Date(a,y,1,0,0,0).getTime(),newMonth:new Date(I.getFullYear(),I.getMonth(),1,0,0,0).getTime()>new Date(a,y,1,0,0,0).getTime(),isDisabled:w(I),isToday:u(I),isWeakend:p(I)})}for(var P=0;7>P;P++)A[P]=m(n($[P].date,b.dayHeader));return"top"===i?(e.disablePrevTop=g(k,C),e.disableNextTop=f(k,C)):"bottom"===i?(e.disablePrevBottom=g(k,C),e.disableNextBottom=f(k,C)):(e.disablePrevTop=e.disablePrevBottom=g(k,C),e.disableNextTop=e.disableNextBottom=f(k,C)),e.disablePrev=e.disablePrevTop||e.disablePrevBottom,e.disableNext=e.disableNextTop||e.disableNextBottom,{objects:$,title:n(t,b.dayTitle),labels:A}},split:7,step:{months:1}},{name:"month",getVisibleDates:function(e){for(var t=[],i=[],a=e.getFullYear(),s=0;12>s;s++){var r=new Date(a,s,1);t[s]=v({date:r,formatDay:b.month,formatHeader:b.month,isFocused:h(r),isSelected:o(r),isFromDate:l(r),isToDate:c(r),isDateRange:d(r),oldMonth:!1,newMonth:!1,isDisabled:w(r),isToday:u(r),isWeakend:!1})}return{objects:t,title:n(e,b.year),labels:i}},split:3,step:{years:1}}]}]).directive("datepicker",["$timeout",function(e){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/datepicker/datepicker.html",scope:{currentDate:"=?current",fromDate:"=?from"},require:"datepicker",controller:"DatepickerController",link:function(t,n,i,a){function s(e,t){for(var n=[];e.length>0;)n.push(e.splice(0,t));return n}function r(e){if(angular.isDate(e)&&!isNaN(e)?o=new Date(e):o||(o=new Date),o){var n;1===t.mode?(o=new Date,n=d(angular.copy(o),-1)):n=angular.copy(o);var i=l.modes[t.mode],a=i.getVisibleDates(n,"top");t.currentRows=s(a.objects,i.split),t.currentTitle=a.title,t.labels=a.labels||[];var r=i.getVisibleDates(d(angular.copy(n),1),"bottom");t.nextRows=s(r.objects,i.split),t.nextTitle=r.title}}var o,l=a,c=!1;t.focusedDate,t.resetTime=function(e){var n;return isNaN(new Date(e))?null:(n=new Date(e),n=1===t.mode?new Date(n.getFullYear(),n.getMonth()):new Date(n.getFullYear(),n.getMonth(),n.getDate()))},i.min&&t.$parent.$watch(i.min,function(e){t.minDate=e?t.resetTime(e):null,r()}),i.max&&t.$parent.$watch(i.max,function(e){t.maxDate=e?t.resetTime(e):null,r()});var d=function(e,n){var i=l.modes[t.mode].step;return e.setDate(1),e.setMonth(e.getMonth()+n*(i.months||0)),e.setFullYear(e.getFullYear()+n*(i.years||0)),e},p=function(e){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.currentDate=n},u=function(e){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.fromDate=n};t.select=function(e){c=!0,i.from?angular.isDate(t.fromDate)&&angular.isDate(t.currentDate)||(angular.isDate(t.fromDate)?p(e):angular.isDate(t.fromDate)||u(e)):p(e),t.focusedDate=e};var h=function(n,i){u(i),e(function(){c=!0,t.focusedDate=i,p(n)})};t.move=function(e){o=d(angular.copy(o),e),r()},t.$watch("currentDate",function(e){return angular.isDate(e)&&!isNaN(e)&&l.isDisabled(e)?void(t.currentDate=null):i.from&&!isNaN(e)&&!isNaN(t.fromDate)&&l.compare(e,t.fromDate)<0?void h(t.fromDate,e):(c?(r(),c=!1):angular.isDefined(e)&&null!==e?r(e):r(),void(t.focusedDate=void 0))}),t.$watch("fromDate",function(e){if(angular.isDate(e)&&!isNaN(e)&&l.isDisabled(e))return void(t.fromDate=null);if(i.from){if(!isNaN(t.currentDate)&&!isNaN(e)&&l.compare(t.currentDate,e)<0)return void h(e,t.currentDate);c?(r(),c=!1):angular.isDefined(e)&&null!==e?r(e):r()}t.focusedDate=void 0})}}}]).directive("datepickerPopup",["$document","datepickerService","$isElement","$documentBind",function(e,t,n,i){var a=function(a,s,r){t.bindScope(r,a),a.isOpen=!1;var o=a.toggle=function(e){e===!0||e===!1?a.isOpen=e:a.isOpen=!a.isOpen};a.$watch("current",function(){o(!1)});var l=function(t){var i=n(angular.element(t.target),s,e);i||(o(!1),a.$apply())};i.click("isOpen",l,a)};return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/datepicker/datepickerPopup.html",scope:{current:"=current"},compile:function(e,n){var i=e.find("span").eq(1);return i.attr("current","current"),t.setAttributes(n,i),a}}}]).directive("attDatepicker",["$log",function(e){return{restrict:"A",require:"ngModel",scope:{},controller:["$scope","$element","$attrs","$compile","datepickerConfig","datepickerService",function(e,t,n,i,a,s){var r=angular.isDefined(n.dateFormat)?e.$parent.$eval(n.dateFormat):a.dateFormat,o='<div class="sr-focus hidden-spoken" tabindex="-1">the date you selected is {{$parent.current | date : \''+r+"'}}</div>";t.removeAttr("att-datepicker"),t.removeAttr("ng-model"),t.attr("ng-model","$parent.current"),t.attr("aria-describedby","datepicker"),t.attr("format-date",r),t.attr("att-input-deny","[^0-9/-]"),t.attr("maxlength",10),t.attr("readonly","readonly");var l=angular.element("<div></div>");l.attr("datepicker-popup",""),l.attr("current","current"),s.setAttributes(n,l),s.bindScope(n,e),l.html(""),l.append(t.prop("outerHTML")),null===navigator.userAgent.match(/MSIE 8/)&&l.append(o);var c=l.prop("outerHTML");c=i(c)(e),t.replaceWith(c)}],link:function(t,n,i,a){return a?(t.$watch("current",function(e){a.$setViewValue(e)}),void(a.$render=function(){t.current=a.$viewValue})):void e.error("ng-model is required.")}}}]).directive("formatDate",["dateFilter","datepickerService",function(e,t){return{restrict:"A",require:"ngModel",link:function(n,i,a,s){var r="";a.$observe("formatDate",function(e){r=e});var o=function(t){return t?(s.$setValidity("invalidDate",!0),e(t,r)):(s.$setValidity("invalidDate",!1),i.val())},l=function(e){return t.validateDateString(e,r)?(s.$setValidity("invalidDate",!0),new Date(e)):(s.$setValidity("invalidDate",!1),null)};s.$formatters.unshift(o),s.$parsers.unshift(l)}}}]).directive("attDateFilter",["$document","dateFilter","datepickerConfig","datepickerService","$isElement","$documentBind",function(e,t,n,i,a,s){var r=function(r,o,l,c){i.bindScope(l,r),r.selectedOption=n.dateFilter.defaultText,r.showDropdownList=!1,r.showCalendar=!1,r.applyButtonType="disabled",r.currentSelection="";var d=angular.isDefined(l.dateFormat)?r.$parent.$eval(l.dateFormat):n.dateFormat,p=!1,u=function(e){if(!p){var n=d.toUpperCase(),i=d.toUpperCase();isNaN(new Date(r.fromDate))||(n=t(r.fromDate,d)),isNaN(new Date(r.currentDate))||(i=t(r.currentDate,d)),"Custom Single Date"===e?(c.$setValidity("invalidDate",!0),r.maxLength=10,r.selectedOption=i):"Custom Range"===e&&(c.$setValidity("invalidDate",!0),c.$setValidity("invalidDateRange",!0),r.maxLength=21,r.selectedOption=n+"-"+i)}},h=r.clear=function(e){r.fromDate=void 0,r.currentDate=void 0,r.applyButtonType="disabled",e||(c.$setValidity("invalidDate",!0),c.$setValidity("invalidDateRange",!0),u(r.currentSelection))},g=function(){r.showCalendar=!0},f=function(){r.showCalendar=!1,"Custom Single Date"!==r.currentSelection&&"Custom Range"!==r.currentSelection&&h(!0)},m=r.showDropdown=function(e){e===!0||e===!1?r.showDropdownList=e:r.showDropdownList=!r.showDropdownList,r.showDropdownList?("Custom Single Date"===r.currentSelection||"Custom Range"===r.currentSelection)&&g():(r.focusInputButton=!0,f())};r.resetTime=function(e){var t;return isNaN(new Date(e))?null:(t=new Date(e),new Date(t.getFullYear(),t.getMonth(),t.getDate()))},r.getDropdownText=function(){p=!0;var e=r.selectedOption;if("Custom Single Date"===r.currentSelection)!isNaN(new Date(e))&&i.validateDateString(e,d)?(c.$setValidity("invalidDate",!0),r.fromDate=void 0,r.currentDate=new Date(e)):(c.$setValidity("invalidDate",!1),h(!0));else if("Custom Range"===r.currentSelection)if(-1===e.indexOf("-")||2!==e.split("-").length&&6!==e.split("-").length)c.$setValidity("invalidDateRange",!1),h(!0);else{c.$setValidity("invalidDateRange",!0);var t=e.split("-");if(2===t.length)t[0]=t[0].trim(),t[1]=t[1].trim();else if(6===t.length){var n=t[0].trim()+"-"+t[1].trim()+"-"+t[2].trim(),a=t[3].trim()+"-"+t[4].trim()+"-"+t[5].trim();t[0]=n,t[1]=a}if(!isNaN(new Date(t[0]))&&!isNaN(new Date(t[1]))&&i.validateDateString(t[0],d)&&i.validateDateString(t[1],d)){c.$setValidity("invalidDate",!0);var s=new Date(t[0]),o=new Date(t[1]);s.getTime()<o.getTime()?(c.$setValidity("invalidDateRange",!0),r.fromDate=s,r.currentDate=o):(c.$setValidity("invalidDateRange",!1),h(!0))}else c.$setValidity("invalidDate",!1),h(!0)}},r.untrackInputChange=function(){p=!1},r.selectAdvancedOption=function(e,t){r.currentSelection=e,t||(h(),g()),r.$watch("currentDate",function(t){isNaN(new Date(t))||(r.applyButtonType="primary",u(e),p||(r.focusApplyButton=!0))}),r.$watch("fromDate",function(t){isNaN(new Date(t))||u(e)}),"Custom Single Date"===e?r.focusSingleDateCalendar=!0:"Custom Range"===e&&(r.focusRangeCalendar=!0)},r.resetFocus=function(){r.focusSingleDateCalendar=!1,r.focusRangeCalendar=!1,r.focusApplyButton=!1},r.apply=function(){r.dateRange.selection=r.selectedOption,isNaN(new Date(r.fromDate))?(r.from=void 0,r.dateRange.from=void 0):(r.from=r.fromDate,r.dateRange.from=r.fromDate),isNaN(new Date(r.currentDate))?(r.current=void 0,r.dateRange.current=void 0):(r.current=r.currentDate,r.dateRange.current=r.currentDate),m()},r.$watchCollection(function(){return r.dateRange},function(e){if(c){var t=angular.copy(e);c.$setViewValue(t)}}),c.$render=function(){if(c.$viewValue){var e=c.$viewValue;r.selectedOption=e.selection,r.fromDate=e.from,r.currentDate=e.current,void 0!==r.fromDate&&void 0!==r.currentDate?(r.selectAdvancedOption("Custom Range",!0),r.dateRange.from=r.fromDate,r.dateRange.current=r.currentDate):void 0!==r.currentDate&&(r.selectAdvancedOption("Custom Single Date",!0),r.dateRange.from=void 0,r.dateRange.current=r.currentDate)}},r.cancel=function(){r.currentSelection="",r.selectedOption=n.dateFilter.defaultText,m()};var v=function(t){var n=a(angular.element(t.target),o,e);n||(r.cancel(),r.$apply())};s.click("showDropdownList",v,r)};return{restrict:"EA",scope:{from:"=?from",current:"=?current"},replace:!0,require:"?ngModel",transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/datepicker/dateFilter.html",controller:["$scope","$element","$attrs",function(e){e.dateRange={selection:void 0,from:void 0,current:void 0},this.selectOption=function(t,n,i){e.selectedOption=i,e.currentSelection=i,e.dateRange.selection=i,e.dateRange.current=e.resetTime(n),e.dateRange.from=e.resetTime(t),e.showDropdown()},e.checkCurrentSelection=this.checkCurrentSelection=function(t){return t===e.currentSelection?!0:!1}}],compile:function(e,t){var n=e.find("span").eq(4),a=e.find("span").eq(5);return a.attr("from","fromDate"),n.attr("current","currentDate"),a.attr("current","currentDate"),i.setAttributes(t,n),i.setAttributes(t,a),r}}}]).directive("attDateFilterList",function(){return{restrict:"EA",scope:{fromDate:"=fromDate",toDate:"=toDate",caption:"=caption",disabled:"=disabled"},require:"^attDateFilter",transclude:!0,replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/datepicker/dateFilterList.html",link:function(e,t,n,i){e.selectOption=function(e,t,n){i.selectOption(e,t,n)},e.checkCurrentSelection=i.checkCurrentSelection}}}),angular.module("att.abs.devNotes",[]).directive("attDevNotes",function(){return{restrict:"EA",transclude:!0,scope:{},controller:function(e){var t=e.panes=[];e.select=function(e){angular.forEach(t,function(e){e.selected=!1}),e.selected=!0},this.addPane=function(n){0===t.length&&e.select(n),t.push(n)}},template:'<div><ul class="tabs"><li ng-repeat="pane in panes" ng-class="{active:pane.selected}"><a href="javascript:void(0)" ng-click="select(pane)">{{pane.title}}</a></li></ul><div ng-transclude></div></div>',replace:!0}}).directive("pane",function(){return{require:"^attDevNotes",restrict:"EA",transclude:!0,scope:{title:"@"},link:function(e,t,n,i){i.addPane(e)},template:'<div class="tab-pane" ng-class="{active: selected}">'+"<pre ng-class=\"{'language-markup':title=='HTML','language-javascript':title=='JavaScript','language-json':title=='JSON'}\" class=\" line-numbers\"><code ng-transclude></code></pre></div>",replace:!0}}),angular.module("att.abs.dividerLines",[]).directive("attDividerLines",[function(){return{scope:{attDividerLines:"@"},restrict:"A",replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/dividerLines/dividerLines.html",link:function(e,t,n){e.lightContainer=n.attDividerLines}}}]),angular.module("att.abs.dragdrop",[]).directive("attFileDrop",["$parse",function(e){return{restrict:"A",scope:{fileModel:"=",onDrop:"&",attFileDrop:"&"},controller:["$scope","$attrs",function(e,t){""!==t.attFileDrop&&(e.onDrop=e.attFileDrop),this.onDrop=e.onDrop}],link:function(t,n){n.addClass("dragdrop"),n.bind("dragover",function(e){return e.originalEvent&&(e.dataTransfer=e.originalEvent.dataTransfer),e.dataTransfer.dropEffect="move",e.preventDefault&&e.preventDefault(),n.addClass("dragdrop-over"),!1}),n.bind("dragenter",function(e){return e.preventDefault&&e.preventDefault(),n.addClass("dragdrop-over"),!1}),n.bind("dragleave",function(){return n.removeClass("dragdrop-over"),!1}),n.bind("drop",function(i){return i.preventDefault&&i.preventDefault(),i.stopPropagation&&i.stopPropagation(),i.originalEvent&&(i.dataTransfer=i.originalEvent.dataTransfer),n.removeClass("dragdrop-over"),i.dataTransfer.files&&i.dataTransfer.files.length>0&&(t.fileModel=i.dataTransfer.files[0],t.$apply(),"function"==typeof t.onDrop&&(t.onDrop=e(t.onDrop),t.onDrop())),!1})}}}]).directive("attFileLink",[function(){return{restrict:"EA",require:"^?attFileDrop",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/dragdrop/fileUpload.html",scope:{fileModel:"=?",onFileSelect:"&",attFileLink:"&"},controller:["$scope","$parse",function(e,t){this.setFileModel=function(t){e.takeFileModelFromParent?(e.$parent.fileModel=t,e.$parent.$apply()):(e.fileModel=t,e.$apply())},this.callbackFunction=function(){"function"==typeof e.onFileSelect&&(e.onFileSelect=t(e.onFileSelect),e.onFileSelect())}}],link:function(e,t,n,i){e.takeFileModelFromParent=!1,!n.fileModel&&i&&(e.takeFileModelFromParent=!0),""!==n.attFileLink?e.onFileSelect=e.attFileLink:!n.onFileSelect&&i&&(e.onFileSelect=i.onDrop)}}}]).directive("attFileChange",["$log","$rootScope",function(e,t){return{restrict:"A",require:"^attFileLink",link:function(n,i,a,s){function r(n){if(n.target.files&&n.target.files.length>0)s.setFileModel(n.target.files[0]),s.callbackFunction();else{var i=n.target.value;try{var a=new ActiveXObject("Scripting.FileSystemObject");s.setFileModel(a.getFile(i)),s.callbackFunction()}catch(n){var r="Error: Please follow the guidelines of Drag and Drop component on Sandbox demo page.";e.error(r),t.$broadcast("att-file-link-failure",r)}}}i.bind("change",r)}}}]),angular.module("att.abs.drawer",["att.abs.utilities"]).directive("attDrawer",["$document","$timeout","DOMHelper",function(e,t,n){return{restrict:"EA",replace:!0,transclude:!0,scope:{drawerOpen:"=?",drawerAutoClose:"&?"},template:'<div><div class="att-drawer" ng-transclude></div><div ng-class="{\'drawer-backdrop\':drawerOpen}"></div></div>',link:function(e,i,a){function s(t,n){t&&0!==t.style.width&&0!==t.style.height&&(u.style.display="none","right"===n.side||"left"===n.side?t.style.width="0px":("top"===n.side||"bottom"===n.side)&&(t.style.height="0px")),e.drawerOpen=!1,angular.isDefined(d)&&null!=d&&d.focus()}function r(e,n){d=document.activeElement,0!==e.style.width&&0!==e.style.height&&("right"===n.side||"left"===n.side?e.style.width=n.size:("top"===n.side||"bottom"===n.side)&&(e.style.height=n.size),t(function(){u.style.display="block",angular.isDefined(c)&&null!=c&&c.focus()},1e3*n.speed))}function o(e){var t={};return e&&"[object Function]"===t.toString.call(e)}var l={},c=void 0,d=void 0;l.side=a.drawerSlide||"top",l.speed=a.drawerSpeed||"0.25",l.size=a.drawerSize||"300px",l.zindex=a.drawerZindex||1e3,l.className=a.drawerClass||"att-drawer";var p=i.eq(0).children()[0],u=angular.element(p).children()[0];p.className=l.className,p.style.transitionDuration=l.speed+"s",p.style.webkitTransitionDuration=l.speed+"s",p.style.zIndex=l.zindex,p.style.position="fixed",p.style.width=0,p.style.height=0,p.style.transitionProperty="width, height","right"===l.side?(p.style.height=a.drawerCustomHeight||"100%",p.style.top=a.drawerCustomTop||"0px",p.style.bottom=a.drawerCustomBottom||"0px",p.style.right=a.drawerCustomRight||"0px"):"left"===l.side?(p.style.height=a.drawerCustomHeight||"100%",p.style.top=a.drawerCustomTop||"0px",p.style.bottom=a.drawerCustomBottom||"0px",p.style.left=a.drawerCustomRight||"0px"):("top"===l.side||"bottom"===l.side)&&(p.style.width=a.drawerCustomWidth||"100%",p.style.left=a.drawerCustomLeft||"0px",p.style.top=a.drawerCustomTop||"0px",p.style.right=a.drawerCustomRight||"0px"),t(function(){c=n.firstTabableElement(i[0])},10,!1),a.drawerSize&&e.$watch(function(){return a.drawerSize},function(t){l.size=t,e.drawerOpen&&r(p,l)}),e.$watch("drawerOpen",function(e){e?r(p,l):s(p,l)}),e.drawerAutoClose()&&(e.$on("$locationChangeStart",function(){s(p,l),o(e.drawerAutoClose())&&e.drawerAutoClose()}),e.$on("$stateChangeStart",function(){s(p,l),o(e.drawerAutoClose)&&e.drawerAutoClose()}))}}}]),angular.module("att.abs.message",[]).directive("attMessages",[function(){return{restrict:"EA",scope:{messageType:"=?"},controller:["$scope","$element","$attrs",function(e,t,n){e.messageScope=[],this.registerScope=function(t){e.messageScope.push(t)},e.$parent.$watchCollection(n["for"],function(t){for(var n in t){if(t[n]){e.error=n;break}e.error=null}for(var i=0;i<e.messageScope.length;i++)e.messageScope[i].when===e.error?(e.messageScope[i].show(),e.setMessageType(e.messageScope[i].type)):e.messageScope[i].hide();null===e.error&&e.setMessageType(null)}),e.setMessageType=this.setMessageType=function(t){n.messageType&&(e.messageType=t)}}]}}]).directive("attMessage",[function(){return{restrict:"EA",scope:{},require:"^attMessages",link:function(e,t,n,i){i.registerScope(e),t.attr("role","alert"),e.when=n.when||n.attMessage,e.type=n.type,e.show=function(){t.css({display:"block"})},e.hide=function(){t.css({display:"none"})},e.hide()}}}]),angular.module("att.abs.formField",["att.abs.message","att.abs.utilities"]).directive("attFormField",[function(){return{priority:101,restrict:"A",controller:function(){},link:function(e,t,n){t.wrap('<div class="form-field"></div>'),t.parent().append('<label class="form-field__label">'+n.placeholder||n.attFormField+"</label>"),t.wrap('<div class="form-field-input-container"></div>'),t.bind("keyup",function(){""!==this.value?t.parent().parent().find("label").addClass("form-field__label--show").removeClass("form-field__label--hide"):t.parent().parent().find("label").addClass("form-field__label--hide").removeClass("form-field__label--show")}),t.bind("blur",function(){""===this.value&&t.parent().parent().find("label").removeClass("form-field__label--hide")})}}}]).directive("attFormFieldValidation",["$compile","$log",function(e,t){return{priority:102,scope:{},restrict:"A",require:["?ngModel","?attFormField"],link:function(n,i,a,s){var r=s[0],o=s[1];return n.valid="",r?o?(i.parent().append(e(angular.element('<i class="icon-info-alert error" ng-show="valid===false">&nbsp;</i>'))(n)),i.parent().append(e(angular.element('<i class="icon-info-success success" ng-show="valid===true">&nbsp;</i>'))(n)),n.$watch("valid",function(e){e?i.parent().parent().addClass("success"):e===!1?i.parent().parent().addClass("error"):i.parent().parent().removeClass("success").removeClass("error")}),void i.bind("keyup",function(){r.$valid?n.valid=!0:r.$invalid?n.valid=!1:n.valid="",n.$apply()})):void t.error("att-form-field-validation :: att-form-field directive is required."):void t.error("att-form-field-validation :: ng-model directive is required.")}}}]).directive("attFormFieldValidationAlert",["$timeout",function(e){return{scope:{messageType:"=?"},restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlert.html",link:function(t,n,i,a){t.showLabel=!1,t.hideLabel=!1,t.errorMessage=!1,t.warningMessage=!1;var s=function(){var e=t.messageType;"error"===e?(t.errorMessage=!0,t.warningMessage=!1):"warning"===e?(t.errorMessage=!1,t.warningMessage=!0):(t.errorMessage=!1,t.warningMessage=!1)},r=-1!==navigator.userAgent.toLowerCase().indexOf("msie 8.0");n.find("label").text(n.find("input").attr("placeholder")),n.find("input").bind("keyup",function(){""!==this.value?(t.showLabel=!0,t.hideLabel=!1,r&&n.find("label").css({top:"-20px"})):(t.showLabel=!1,t.hideLabel=!0,r&&n.find("label").css({top:"0px"})),s(),t.$apply()}),n.find("input").bind("blur",function(){""===this.value&&(t.showLabel=!1,t.hideLabel=!1),t.$apply()}),e(function(){s()},100)}}}]).constant("CoreFormsUiConfig",{phoneMask:"(___) ___-____"}).directive("attPhoneMask",["$parse","CoreFormsUiConfig",function(e,t){return{require:"ngModel",scope:{ngModel:"="},link:function(e,n,i,a){var s=navigator.userAgent.toLowerCase(),r=s.indexOf("android")>-1,o=(-1!==s.indexOf("msie 8.0"),""),l=!1;o=r?"__________":t.phoneMask,n.attr("maxlength",o.length);var c=function(e){var t=!1;return e&&(t=10===e.length),a.$setValidity("invalidPhoneNumber",l),a.$setValidity("mask",t),t},d=function(){var e,t=a.$modelValue;if(t.length){var n,i,s,r,l;for(r=[],s=o.split(""),l=s.length,n=t.substring(0,o.length),i=t.replace(/[^0-9]/g,"").split(""),e=0;l>e&&(r.push("_"===s[e]?i.shift():s[e]),0!==i.length);e++);return t=r.join(""),"("===t&&(t=""),a.$setViewValue(t),a.$render(),t}},p=function(t){t.which&&((t.which<48||t.which>57)&&(t.which<96||t.which>105)?8===t.which||9===t.which||46===t.which||13===t.which||37===t.which||39===t.which||t.ctrlKey===!0||"118"===t.which&&"86"===t.which||t.ctrlKey===!0||"99"===t.which&&"67"===t.which||t.ctrlKey===!0||"120"===t.which&&"88"===t.which||(t.preventDefault?t.preventDefault():t.returnValue=!1,n.attr("aria-label","Only numbers are allowed"),l=!1):(n.removeAttr("aria-label"),l=!0)),e.$apply()},u=function(e){var t=/^[A-Za-z]+$/,n=/^[0-9]+$/;e.match(t)&&(l=!1),e.match(n)&&(l=!0);var i="";return e&&e.length>0&&(i=e.replace(/[^0-9]/g,"")),c(i),i},h=function(e){var t="";return c(e),e&&(t=d()),t};a.$parsers.push(u),a.$formatters.push(h),n.bind("keyup",d),n.bind("keydown",p),n.bind("input",function(e){d(e),p(e)})}}}]).constant("validationTypeInt",{validationNum:{number:"1",text:"2",email:"3"}}).directive("attFormFieldPrv",["keyMapAc","validationTypeInt",function(e,t){return{priority:101,restrict:"AE",controller:["$scope",function(n){this.showHideErrorMessage=function(e){null!=n.$$prevSibling&&angular.isDefined(n.$$prevSibling)&&angular.isDefined(n.$$prevSibling.hideErrorMsg)&&(n.$$prevSibling.hideErrorMsg=e,n.$apply())},this.findAllowedCharactor=function(t){var i=e.keys;if(angular.isDefined(n.allowedSpecialCharacters)&&angular.isDefined(n.allowedSpecialCharacters.length)&&n.allowedSpecialCharacters.length>0){for(var a=n.allowedSpecialCharacters,s=!1,r=0;r<a.length;r++)if(a[r]===i[t]){s=!0;break}return s}return!1},this.validateText=function(e,t,n,i){if(angular.isDefined(t)&&0===t.length){var a=/^[a-zA-Z0-9]*$/i;return a.test(n)}var s="^[a-zA-Z0-9"+i+"]*$",r=new RegExp(s,"i");return r.test(n)},this.validateNumber=function(e,t,n,i){if(angular.isDefined(t)&&0===t.length){var a=/^[0-9\.]+$/;return a.test(n)}var s="^[0-9."+i+"]*$",r=new RegExp(s,"i");return r.test(n)},this.validateEmail=function(e,t,n,i){if(angular.isDefined(t)&&0===t.length){var a=/(([a-zA-Z0-9\-?\.?]+)@(([a-zA-Z0-9\-_]+\.)+)([a-z]{2,3}))+$/;return a.test(n)}var s="(([a-z"+i+"A-Z0-9-?.?]+)@(([a-z"+i+"A-Z0-9-_]+.)+)(["+i+"a-z]{2,3}))+$",r=new RegExp(s,"i");return r.test(n)},this.validateInput=function(e,n,i){var a="",s=!1;if(angular.isDefined(n)&&angular.isDefined(n.length)&&n.length>0)for(var r=0;r<n.length;r++)a+="\\"+n[r];switch(t.validationNum[e]){case t.validationNum.text:s=this.validateText(e,n,i,a);break;case t.validationNum.number:s=this.validateNumber(e,n,i,a);break;case t.validationNum.email:s=this.validateEmail(e,n,i,a)}return s}}],link:function(e,t,n){t.parent().prepend('<label class="form-field__label">'+n.placeholder+"</label>"),t.wrap('<div class="form-field-input-container"></div>'),t.parent().parent().find("label").addClass("form-field__label--show")}}}]).directive("attFormFieldValidationPrv",["keyMapAc","validationTypeInt",function(e,t){return{priority:202,scope:{validationType:"=",allowedChars:"="},restrict:"A",require:["?ngModel","^attFormFieldPrv"],link:function(n,i,a,s){var r=s[1];i.bind("keyup",function(){r.validateInput(n.validationType,n.allowedChars,i[0].value)?r.showHideErrorMessage(!1):r.showHideErrorMessage(!0)});var o=e.keyRange,l=e.allowedKeys,c=function(e,t){var n=t.which<o.startNum||t.which>o.endNum,i=t.which<o.startCapitalLetters||t.which>o.endCapitalLetters,a=t.which<o.startSmallLetters||t.which>o.endSmallLetters,s=n&&i&&a;return s&&!e},d=function(e,t){return(t.which<o.startNum||t.which>o.endNum)&&!e},p=function(e,t){var n="-"!==String.fromCharCode(t.which)&&"_"!==String.fromCharCode(t.which),i="@"!==String.fromCharCode(t.which)&&"."!==String.fromCharCode(t.which),a=n&&i,s=c(e,t);return!e&&a&&s},u=function(e,n,i){switch(e){case t.validationNum.text:if(c(n,i))return!0;break;case t.validationNum.number:if(d(n,i))return!0;break;case t.validationNum.email:if(p(n,i))return!0}return!1};i.bind("keypress",function(e){e.which||(e.keyCode?e.which=e.keyCode:e.charCode&&(e.which=e.charCode));var i=r.findAllowedCharactor(e.which),a=angular.isDefined(n.validationType)&&""!==n.validationType,s=e.which!==l.TAB&&e.which!==l.BACKSPACE&&e.which!==l.DELETE,o=a&&s;o&&u(t.validationNum[n.validationType],i,e)&&e.preventDefault()})}}}]).directive("attFormFieldValidationAlertPrv",[function(){return{restrict:"A",scope:{errorMessage:"="},transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlertPrv.html",link:function(e){e.errorMessage=e.errorMessage,angular.isDefined(e.$parent.hideErrorMsg)?e.hideErrorMsg=e.$parent.hideErrorMsg:e.hideErrorMsg=!0}}}]).factory("Cards",[function(){var e=/(\d{1,4})/g,t=/(?:^|\s)(\d{4})$/,n=[{type:"discover",pattern:/^(6011|65|64[4-9]|622)/,format:e,inputFormat:t,length:[16],cvcLength:[3],cvcSecurityImg:"visaI",zipLength:[5],luhn:!0},{type:"mc",pattern:/^5[1-5]/,format:e,inputFormat:t,length:[16],cvcLength:[3],cvcSecurityImg:"visaI",zipLength:[5],luhn:!0},{type:"amex",pattern:/^3[47]/,format:/(\d{1,4})(\d{1,6})?(\d{1,5})?/,inputFormat:/^(\d{4}|\d{4}\s\d{6})$/,length:[15],cvcLength:[4],cvcSecurityImg:"amexI",zipLength:[5],luhn:!0},{type:"visa",pattern:/^4/,
-format:e,inputFormat:t,length:[16],cvcLength:[3],cvcSecurityImg:"visaI",zipLength:[5],luhn:!0}],i=function(e){var t,i,a;for(e=(e+"").replace(/\D/g,""),i=0,a=n.length;a>i;i++)if(t=n[i],t.pattern.test(e))return t},a=function(e){var t,i,a;for(i=0,a=n.length;a>i;i++)if(t=n[i],t.type===e)return t};return{fromNumber:function(e){return i(e)},fromType:function(e){return a(e)},defaultFormat:function(){return e},defaultInputFormat:function(){return t}}}]).factory("_Validate",["Cards","$parse",function(e,t){var n=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},i=function(e){var t,n,i,a,s,r;for(i=!0,a=0,n=(e+"").split("").reverse(),s=0,r=n.length;r>s;s++)t=n[s],t=parseInt(t,10),(i=!i)&&(t*=2),t>9&&(t-=9),a+=t;return a%10===0},a={};return a.cvc=function(i,a,s,r){var o,l;if(angular.isUndefined(i)||null===i||0===i.length)return!0;if(!/^\d+$/.test(i))return!1;var c;if(r.paymentsTypeModel){var d=t(r.paymentsTypeModel);c=d(s)}return c?(l=e.fromType(c),o=i.length,n.call(null!==l?l.cvcLength:void 0,o)>=0):i.length>=3&&i.length<=4},a.zip=function(i,a,s,r){var o,l;if(angular.isUndefined(i)||null===i||0===i.length)return!0;if(!/^\d+$/.test(i))return!1;var c;if(r.paymentsTypeModel){var d=t(r.paymentsTypeModel);c=d(s)}return c?(l=e.fromType(c),o=i.length,n.call(null!==l?l.zipLength:void 0,o)>=0):i.length<6},a.card=function(a,s,r,o){var l,c,d;o.paymentsTypeModel&&(d=t(o.paymentsTypeModel));var p=function(){d&&d.assign(r,null),s.$card=null};return angular.isUndefined(a)||null===a||0===a.length?(p(),!0):(a=(a+"").replace(/\s+|-/g,""),/^\d+$/.test(a)&&(l=e.fromNumber(a))?(s.$card=angular.copy(l),d&&d.assign(r,l.type),ret=(c=a.length,n.call(l.length,c)>=0&&(l.luhn===!1||i(a))),ret):(p(),!1))},function(e,t,n,i,s){if(!a[e])throw types=Object.keys(a),errstr='Unknown type for validation: "'+e+'". ',errstr+='Should be one of: "'+types.join('", "')+'"',errstr;return a[e](t,n,i,s)}}]).factory("_ValidateWatch",["_Validate",function(e){var t={};return t.cvc=function(t,n,i,a){a.paymentsTypeModel&&i.$watch(a.paymentsTypeModel,function(s,r){if(s!==r){var o=e(t,n.$modelValue,n,i,a);n.$setValidity(t,o)}})},t.zip=function(t,n,i,a){a.paymentsTypeModel&&i.$watch(a.paymentsTypeModel,function(s,r){if(s!==r){var o=e(t,n.$modelValue,n,i,a);n.$setValidity(t,o)}})},function(e,n,i,a){return t[e]?t[e](e,n,i,a):void 0}}]).directive("validateCard",["$window","_Validate","_ValidateWatch",function(e,t,n){return{restrict:"A",require:"ngModel",link:function(e,i,a,s){var r=a.validateCard;n(r,s,e,a);var o=function(n){var o=t(r,n,s,e,a);return s.$setValidity(r,o),"card"===r&&(null===s.$card?null==n||""===n||""===n?(e.invalidCardError="",e.invalidCard=""):n.length>=1&&(e.invalidCardError="error",e.invalidCard="The number entered is not a recognized credit card number."):o?(e.invalidCardError="",e.invalidCard=""):s.$card.length.indexOf(n.length)>=0?(e.invalidCardError="error",e.invalidCard="The number entered is not a recognized credit card number."):(e.invalidCardError="",e.invalidCard=""),i.bind("blur",function(){o&&null!==s.$card?(e.invalidCardError="",e.invalidCard=""):(e.invalidCardError="error",e.invalidCard="The number entered is not a recognized credit card number.")})),o?n:void 0};s.$formatters.push(o),s.$parsers.push(o)}}}]).directive("creditCardImage",function(){return{templateUrl:"app/scripts/ng_js_att_tpls/formField/creditCardImage.html",replace:!1,transclude:!1,link:function(e,t,n){e.$watch(n.creditCardImage,function(t,n){t!==n&&(e.cvc="",angular.isUndefined(t)||null===t||(e.newValCCI="show-"+t),null===t&&(e.newValCCI=""))})}}}).directive("securityCodeImage",["$document",function(e){return{templateUrl:"app/scripts/ng_js_att_tpls/formField/cvcSecurityImg.html",replace:!1,transclude:!1,link:function(t,n,i){t.$watch(i.securityCodeImage,function(e,n){e!==n&&(angular.isUndefined(e)||null===e||("amexI"===e?(t.newValI="ccv2-security-amex",t.newValIAlt="The 4 digit CVC security code is on the front of the card.",t.cvcPlaceholder="4 digits",t.cvcMaxlength=4):"visaI"===e&&(t.newValI="ccv2-security",t.newValIAlt="The CVC security code is on the back of your card right after the credit card number.",t.cvcPlaceholder="3 digits",t.cvcMaxlength=3)),null===e&&(t.newValI="ccv2-security",t.cvcPlaceholder="3 digits",t.cvcMaxlength=3,t.newValIAlt="The CVC security code is on the back of your card right after the credit card number."))}),n.bind("click",function(e){e.preventDefault(),n.find("button").hasClass("active")?n.find("button").removeClass("active"):n.find("button").addClass("active")});var a=angular.element(e);a.bind("click",function(e){var t=e.target.className;"btn btn-alt btn-tooltip active"!==t&&n.find("button").hasClass("active")&&n.find("button").removeClass("active")})}}}]),angular.module("att.abs.hourpicker",["att.abs.utilities"]).constant("hourpickerConfig",{days:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],customOption:"Custom"}).controller("hourPickerController",["$scope",function(e){e.options=[],this.setOptions=function(t,n,i,a,s,r){e.options.push(t),void 0!==a&&(e.preselect=a);var o;if(void 0!==n){e.fromtime=n;for(o in e.days)e.days.hasOwnProperty(o)&&(e.FrtimeList[e.days[o]]={},void 0!==s?(e.FrtimeList[e.days[o]].value=s,e.selectedFromOption[e.days[o]]=s):(e.FrtimeList[e.days[o]].value=n[0].value,e.selectedFromOption[e.days[o]]=n[0].value))}if(void 0!==i){e.totime=i;for(o in e.days)e.days.hasOwnProperty(o)&&(e.TotimeList[e.days[o]]={},void 0!==r?(e.TotimeList[e.days[o]].value=r,e.selectedToOption[e.days[o]]=r):(e.TotimeList[e.days[o]].value=i[0].value,e.selectedToOption[e.days[o]]=i[0].value),e.showToTimeErrorDay[e.days[o]]=!1)}void 0!==s&&(e.uncheckedFromTime=s),void 0!==r&&(e.uncheckedToTime=r)},this.getSelectedOption=function(){return e.selectedOption},this.setToTimeErrorDay=function(t,n){e.showToTimeErrorDay[t]=n}}]).directive("attHourpickerOption",[function(){return{restrict:"EA",require:"^attHourpicker",scope:{option:"=option",fromtime:"=fromtime",totime:"=totime",preselect:"=preselect",uncheckedFromTime:"=",uncheckedToTime:"="},link:function(e,t,n,i){i.setOptions(e.option,e.fromtime,e.totime,e.preselect,e.uncheckedFromTime,e.uncheckedToTime)}}}]).directive("attHourpicker",["hourpickerConfig","$document","$log","$documentBind","$timeout",function(e,t,n,i,a){return{require:"ngModel",restrict:"EA",controller:"hourPickerController",transclude:!0,scope:{model:"=ngModel",resetFlag:"=?"},templateUrl:"app/scripts/ng_js_att_tpls/hourpicker/hourpicker.html",link:function(t,n,s,r){var o=!1;t.isFromDropDownOpen=!1,t.isToDropDownOpen=!1;var l="",c={};t.days=e.days,t.daysList={},t.FrtimeList={},t.FrtimeListDay={},t.TotimeListDay={},t.selectedFromOption={},t.selectedToOption={},t.TotimeList={},t.selectedIndex=0,t.selectedOption="Select from list",t.customTime=[],t.resetFlag=!1,t.showToTimeErrorDay={},t.validatedCustomPreselect=[],t.$watch("resetFlag",function(n,i){if(n!==i){if(n&&t.selectedOption===e.customOption){for(day in t.daysList)t.daysList.hasOwnProperty(day)&&(t.daysList[day]=!1,t.addSelectedValue(day));t.preselectUpdateFxn(t.preselect)}t.resetFlag=!1}}),t.$watch("selCategory",function(e){e&&r.$setViewValue(e)},!0),t.updateData=function(n){if(n.constructor===Array){t.showDaysSelector=!0,t.selectedOption=e.customOption;for(var i in n)if(n.hasOwnProperty(i)){var a=n[i].day;"boolean"==typeof n[i].preEnabled&&n[i].preEnabled?t.daysList[a]=!0:t.daysList[a]=!1;for(var s in t.fromtime)t.fromtime[s].value!==n[i].FromTime||t.uncheckedFromTime||(t.FrtimeList[a].value=t.fromtime[s].value,t.selectedFromOption[a]=t.FrtimeList[a].value);for(var r in t.totime)t.totime[r].value!==n[i].ToTime||t.uncheckedToTime||(t.TotimeList[a].value=t.totime[r].value,t.selectedToOption[a]=t.TotimeList[a].value);if(t.addSelectedValue(a,n[i].FromTime,n[i].ToTime),parseInt(i)+1===n.length)break}}else t.selectOption(n.day)},t.$watch("preselect",function(e){t.preselectUpdateFxn(e)}),t.preselectUpdateFxn=function(e){if(void 0!==e){if(t.options&&(e=t.validatePreselectData(e)),""===e)return;t.updateData(e)}},t.validatePreselectData=function(e){if(e.constructor===Array){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n].day,a=!1,s=!1,r=!1;for(var o in t.days)if(t.days[o]===i){a=!0;break}if(!a){e.splice(n,1);continue}for(var l in t.fromtime)if(t.fromtime[l].value===e[n].FromTime){s=!0;break}s||(e[n].FromTime=t.fromtime[0].value);for(var c in t.totime)if(t.totime[c].value===e[n].ToTime){r=!0;break}if(r||(e[n].ToTime=t.totime[0].value),"boolean"==typeof e[n].preEnabled&&e[n].preEnabled?e[n].preEnabled=!0:e[n].preEnabled=!1,t.validatedCustomPreselect[i]={},t.validatedCustomPreselect[i].FromTime=e[n].FromTime,t.validatedCustomPreselect[i].ToTime=e[n].ToTime,parseInt(n)+1===e.length)break}}else{var d=!1;for(var p in t.options)if(t.options[p]===e.day){d=!0;break}d||(e="")}return e},t.selectPrevNextValue=function(e,t,n){var i,a=0;if(38===e.keyCode)i=-1;else{if(40!==e.keyCode)return n;i=1}if(-1!==t.indexOf(n))a=t.indexOf(n)+i;else for(var s in t)if(t[s].value===n){a=parseInt(s)+i;break}return a===t.length?a-=1:-1===a&&(a+=1),e.preventDefault(),t[a].value?t[a].value:t[a]},t.showDropdown=function(){t.showlist=!t.showlist,o=!o},t.showfromDayDropdown=function(e){for(count in t.FrtimeListDay)count!==e&&t.FrtimeListDay[count]&&(t.FrtimeListDay[count]=!1);for(count in t.TotimeListDay)t.TotimeListDay[count]&&(t.TotimeListDay[count]=!1);t.FrtimeListDay[e]=!t.FrtimeListDay[e],o=!o,t.showlist=!1,t.FrtimeListDay[e]?(t.isFromDropDownOpen=!0,l=e):t.isFromDropDownOpen=!1,a(function(){if(t.FrtimeListDay[e]){var i=angular.element(n)[0].querySelector(".customdays-width"),a=angular.element(i.querySelector(".select2-container-active")).parent()[0].querySelector("ul"),s=angular.element(a.querySelector(".selectedItemInDropDown"))[0].offsetTop;angular.element(a)[0].scrollTop=s}})},t.showtoDayDropdown=function(e){for(count in t.TotimeListDay)count!==e&&t.TotimeListDay[count]&&(t.TotimeListDay[count]=!1);for(count in t.FrtimeListDay)t.FrtimeListDay[count]&&(t.FrtimeListDay[count]=!1);t.TotimeListDay[e]=!t.TotimeListDay[e],o=!o,t.showlist=!1,t.TotimeListDay[e]?(t.isToDropDownOpen=!0,l=e):t.isToDropDownOpen=!1,a(function(){if(t.TotimeListDay[e]){var i=angular.element(n)[0].querySelector(".customdays-width"),a=angular.element(i.querySelector(".select2-container-active")).parent()[0].querySelector("ul"),s=angular.element(a.querySelector(".selectedItemInDropDown"))[0].offsetTop;angular.element(a)[0].scrollTop=s}})},t.selectFromDayOption=function(e,n){t.selectedFromOption[e]=n,t.FrtimeList[e].value=n,t.FrtimeListDay[e]=!1,t.isFromDropDownOpen=!1},t.selectToDayOption=function(e,n){t.selectedToOption[e]=n,t.TotimeList[e].value=n,t.TotimeListDay[e]=!1,t.isToDropDownOpen=!1},t.addSelectedValue=function(e,n,i){var a,s;if(void 0===t.daysList[e]||t.daysList[e]){for(t.selectedFromOption[e]===t.uncheckedFromTime&&(angular.isDefined(t.validatedCustomPreselect[e])?(t.selectedFromOption[e]=t.validatedCustomPreselect[e].FromTime,n=t.validatedCustomPreselect[e].FromTime,t.FrtimeList[e].value=t.validatedCustomPreselect[e].FromTime):(t.selectedFromOption[e]=t.fromtime[0].value,n=t.fromtime[0].value,t.FrtimeList[e].value=t.fromtime[0].value)),t.selectedToOption[e]===t.uncheckedToTime&&(angular.isDefined(t.validatedCustomPreselect[e])?(t.selectedToOption[e]=t.validatedCustomPreselect[e].ToTime,i=t.validatedCustomPreselect[e].ToTime,t.TotimeList[e].value=t.validatedCustomPreselect[e].ToTime):(t.selectedToOption[e]=t.totime[0].value,i=t.totime[0].value,t.TotimeList[e].value=t.totime[0].value)),c.day=e,c.FromTime=t.FrtimeList[e].value,c.ToTime=t.TotimeList[e].value,a=0,s=t.customTime.length;s>a;a++)if(t.customTime[a].day===e){t.customTime[a].FromTime=c.FromTime,t.customTime[a].ToTime=c.ToTime;break}if(a===s){var r=angular.copy(c);t.customTime.push(r)}}else for(a=0,s=t.customTime.length;s>a;a++)if(t.customTime[a].day===e){t.uncheckedFromTime?t.selectedFromOption[t.customTime[a].day]=t.uncheckedFromTime:t.selectedFromOption[t.customTime[a].day]=t.FrtimeList[t.customTime[a].day].value,t.uncheckedToTime?t.selectedToOption[t.customTime[a].day]=t.uncheckedToTime:t.selectedToOption[t.customTime[a].day]=t.TotimeList[t.customTime[a].day].value,t.customTime.splice(a,1);break}t.selCategory=t.customTime};var d=function(){t.showlist&&t.$apply(function(){t.showlist=!1})};i.click("showlist",d,t);var p=function(){t.$apply(function(){t.isFromDropDownOpen&&(t.FrtimeListDay[l]=!1,t.isFromDropDownOpen=!1)})};i.click("isFromDropDownOpen",p,t);var u=function(){t.$apply(function(){t.isToDropDownOpen&&(t.TotimeListDay[l]=!1,t.isToDropDownOpen=!1)})};i.click("isToDropDownOpen",u,t),t.selectOption=function(n){if(n===e.customOption)t.showDaysSelector=!0,t.selCategory=t.customTime;else{t.showDaysSelector=!1;var i=/[0-9]\s?am/i.exec(n),a=/[0-9]\s?pm/i.exec(n);t.selCategory={day:n,FromTime:null===i?"NA":i[0],ToTime:null===a?"NA":a[0]}}t.showlist=!1,o=!1,t.selectedOption=n}}}}]).directive("attHourpickerValidator",["hourpickerConfig",function(e){return{restrict:"A",require:["attHourpicker","ngModel"],link:function(t,n,i,a){var s=a[0],r=a[1],o=function(e){var t=Number(e.match(/^(\d+)/)[1]),n=Number(e.match(/:(\d+)/)[1]),i=e.match(/\s(.*)$/)[1].toUpperCase();"PM"===i&&12>t&&(t+=12),"AM"===i&&12===t&&(t-=12);var a=t.toString(),s=n.toString();return 10>t&&(a="0"+a),10>n&&(s="0"+s),parseInt(a+s,10)},l=function(e,t){var n=o(e),i=o(t);return i-n},c=function(t){if(s.getSelectedOption()===e.customOption){var n=0;for(var i in t)t.hasOwnProperty(i)&&(l(t[i].FromTime,t[i].ToTime)<=0?(s.setToTimeErrorDay(t[i].day,!0),n++):s.setToTimeErrorDay(t[i].day,!1));return n>0?(r.$setValidity("validationStatus",!1),[]):(r.$setValidity("validationStatus",!0),t)}return r.$setValidity("validationStatus",!0),t};r.$parsers.unshift(c)}}}]),angular.module("att.abs.iconButtons",[]).constant("buttonConfig",{activeClass:"active--button",toggleEvent:"click"}).directive("attIconBtnRadio",["buttonConfig",function(e){var t=e.activeClass||"active--button",n=e.toggleEvent||"click";return{require:"ngModel",link:function(e,i,a,s){i.attr("tabindex","0"),i.append("<span class='hidden-spoken'>"+a.attIconBtnRadio+"</span>"),s.$render=function(){i.parent().toggleClass(t,angular.equals(s.$modelValue,a.attIconBtnRadio))},i.parent().bind(n,function(){i.parent().hasClass(t)||e.$apply(function(){s.$setViewValue(a.attIconBtnRadio),s.$render()})})}}}]).directive("attIconBtnCheckbox",["buttonConfig",function(e){var t=e.activeClass||"active--button",n=e.toggleEvent||"click";return{require:"ngModel",link:function(e,i,a,s){function r(){var t=e.$eval(a.btnCheckboxTrue);return angular.isDefined(t)?t:!0}function o(){var t=e.$eval(a.btnCheckboxFalse);return angular.isDefined(t)?t:!1}i.attr("tabindex","0"),i.append("<span class='hidden-spoken'>"+a.attIconBtnCheckbox+"</span>"),s.$render=function(){i.parent().toggleClass(t,angular.equals(s.$modelValue,r()))},i.parent().bind(n,function(){e.$apply(function(){s.$setViewValue(i.parent().hasClass(t)?o():r()),s.$render()})})}}}]),angular.module("att.abs.links",["ngSanitize"]).directive("attLink",[function(){return{restrict:"A",link:function(e,t){t.addClass("link"),t.attr("href")||t.attr("tabindex","0")}}}]).directive("attLinkVisited",[function(){return{restrict:"A",link:function(e,t){t.addClass("link--visited"),t.attr("href")||t.attr("tabindex","0")}}}]).directive("attReadmore",["$timeout",function(e){return{restrict:"A",scope:{lines:"@noOfLines",textModel:"=",isOpen:"="},templateUrl:"app/scripts/ng_js_att_tpls/links/readMore.html",link:function(t,n){var i=1;t.$watch("textModel",function(a){a?("function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),t.textToDisplay=a.trim(),t.readFlag=!0,e(function(){var e=n[0].children[0].children[0];1===i&&(i=window.getComputedStyle?parseInt(t.lines)*parseFloat(window.getComputedStyle(e,null).getPropertyValue("height")):parseInt(t.lines)*parseFloat(e.currentStyle.height),t.elemHeight=i,t.readLinkStyle={height:t.elemHeight+"px"})}),t.readMoreLink=!0,t.readLessLink=!1):(t.textToDisplay="",t.readMoreLink=!1,t.readLessLink=!1,t.readFlag=!1)});var a=n.parent();a.hasClass("att-accordion__body")&&t.$watch("isOpen",function(e){e||(t.readMoreLink=!0,t.readLessLink=!1,t.readLinkStyle={height:t.elemHeight+"px"},t.readFlag=!0)}),t.readMore=function(){t.readMoreLink=!1,t.readLessLink=!0,t.readLinkStyle={height:"auto"},t.readFlag=!1;var i=angular.element(n).children().eq(1).find("a")[0];e(function(){i.focus()})},t.readLess=function(){t.readMoreLink=!0,t.readLessLink=!1,t.readLinkStyle={height:t.elemHeight+"px"},t.readFlag=!0;var i=angular.element(n).children().eq(0).find("a")[0];e(function(){i.focus()})}}}}]).directive("attLinksList",[function(){return{restrict:"A",controller:function(){},link:function(e,t){t.addClass("links-list")}}}]).directive("attLinksListItem",[function(){return{restrict:"A",require:"^attLinksList",link:function(e,t){t.addClass("links-list__item"),t.attr("href")||t.attr("tabindex","0")}}}]),angular.module("att.abs.loading",[]).directive("attLoading",["$window",function(e){return{restrict:"A",replace:!0,scope:{icon:"@attLoading",progressStatus:"=?",colorClass:"=?"},templateUrl:"app/scripts/ng_js_att_tpls/loading/loading.html",link:function(t,n){var i=t.progressStatus;if(t.progressStatus=Math.min(100,Math.max(0,i)),-1!==e.navigator.userAgent.indexOf("MSIE 8.")){var a=0,s=36*t.progressStatus;n.css({"background-position-x":a,"background-position-y":-s})}}}}]),angular.module("att.abs.modal",["att.abs.utilities"]).factory("$$stackedMap",function(){return{createNew:function(){var e=[];return{add:function(t,n){e.push({key:t,value:n})},get:function(t){for(var n=0;n<e.length;n++)if(t===e[n].key)return e[n]},keys:function(){for(var t=[],n=0;n<e.length;n++)t.push(e[n].key);return t},top:function(){return e[e.length-1]},remove:function(t){for(var n=-1,i=0;i<e.length;i++)if(t===e[i].key){n=i;break}return e.splice(n,1)[0]},removeTop:function(){return e.splice(e.length-1,1)[0]},length:function(){return e.length}}}}}).directive("modalBackdrop",["$timeout",function(e){return{restrict:"EA",replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/modal/backdrop.html",link:function(t){t.animate=!1,e(function(){t.animate=!0})}}}]).directive("modalWindow",["$modalStack","$timeout","$document",function(e,t,n){return{restrict:"EA",scope:{index:"@",modalTitle:"@?"},replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/modal/window.html",link:function(i,a,s){i.windowClass=s.windowClass||"",s.modalTitle&&""!==s.modalTitle&&(a[0].setAttribute("aria-label",s.modalTitle),a[0].removeAttribute("modal-title")),t(function(){i.focusModalFlag=!0,i.animate=!0}),n.on("focus keydown",function(e){9===e.which&&(String.prototype.contains=function(e){return-1!==this.indexOf(e)},a[0]===e.target||a[0].contains(e.target)||a[0].focus())}),i.close=function(t){var n=e.getTop();n&&n.value.backdrop&&"static"!=n.value.backdrop&&t.target===t.currentTarget&&(t.preventDefault?(t.preventDefault(),t.stopPropagation()):t.returnValue=!1,e.dismiss(n.key,"backdrop click"))}}}}]).factory("$modalStack",["$document","$compile","$rootScope","$$stackedMap","events","keymap",function(e,t,n,i,a,s){function r(){for(var e=-1,t=u.keys(),n=0;n<t.length;n++)u.get(t[n]).value.backdrop&&(e=n);return e}function o(t){var n=e.find("body").eq(0),i=e.find("html").eq(0),a=u.get(t).value;u.remove(t),a.modalDomEl.remove(),n.toggleClass(d,u.length()>0),i.css({overflow:"scroll"}),c&&-1==r()&&(c.remove(),c=void 0),a.modalScope.$destroy(),angular.isDefined(g)&&null!=g&&g.focus()}var l,c,d="modal-open",p=n.$new(!0),u=i.createNew(),h={},g=void 0;return n.$watch(r,function(e){p.index=e}),e.bind("keydown",function(e){var t;if(27===e.which)t=u.top(),t&&t.value.keyboard&&n.$apply(function(){h.dismiss(t.key)});else if(e.keyCode===s.KEY.BACKSPACE){var i,r=!1,o=e.srcElement||e.target;r=void 0===o.type?!0:"INPUT"===o.tagName.toUpperCase()&&("TEXT"===(i=o.type.toUpperCase())||"PASSWORD"===i||"FILE"===i||"SEARCH"===i||"EMAIL"===i||"NUMBER"===i||"DATE"===i||"TEL"===i||"URL"===i||"TIME"===i)||"TEXTAREA"===o.tagName.toUpperCase()?o.readOnly||o.disabled:!0,r&&a.preventDefault(e)}}),h.open=function(n,i){u.add(n,{deferred:i.deferred,modalScope:i.scope,backdrop:i.backdrop,keyboard:i.keyboard}),g=document.activeElement;var a=e.find("body").eq(0),s=e.find("html").eq(0);r()>=0&&!c&&(l=angular.element("<div modal-backdrop></div>"),c=t(l)(p),a.append(c));var o=angular.element("<div modal-window></div>");o.attr("window-class",i.windowClass),o.attr("index",u.length()-1),o.attr("modal-title",i.modalTitle),o.html(i.content);var h=t(o)(i.scope);u.top().value.modalDomEl=h,a.append(h),a.addClass(d),s.css({overflow:"hidden"})},h.close=function(e,t){var n=u.get(e);n&&(n.value.deferred.resolve(t),o(e))},h.dismiss=function(e,t){var n=u.get(e).value;n&&(n.deferred.reject(t),o(e))},h.getTop=function(){return u.top()},h}]).provider("$modal",function(){var e={options:{backdrop:!0,keyboard:!0},$get:["$injector","$rootScope","$q","$http","$templateCache","$controller","$modalStack",function(t,n,i,a,s,r,o){function l(e){return e.template?i.when(e.template):a.get(e.templateUrl,{cache:s}).then(function(e){return e.data})}function c(e){var n=[];return angular.forEach(e,function(e){(angular.isFunction(e)||angular.isArray(e))&&n.push(i.when(t.invoke(e)))}),n}var d={};return d.open=function(t){var a=i.defer(),s=i.defer(),d={result:a.promise,opened:s.promise,close:function(e){o.close(d,e)},dismiss:function(e){o.dismiss(d,e)}};if(t=angular.extend({},e.options,t),t.resolve=t.resolve||{},!t.template&&!t.templateUrl)throw new Error("One of template or templateUrl options is required.");var p=i.all([l(t)].concat(c(t.resolve)));return p.then(function(e){var i=(t.scope||n).$new();i.$close=d.close,i.$dismiss=d.dismiss;var s,l={},c=1;t.controller&&(l.$scope=i,l.$modalInstance=d,angular.forEach(t.resolve,function(t,n){l[n]=e[c++]}),s=r(t.controller,l)),o.open(d,{scope:i,deferred:a,content:e[0],backdrop:t.backdrop,keyboard:t.keyboard,windowClass:t.windowClass,modalTitle:t.modalTitle})},function(e){a.reject(e)}),p.then(function(){s.resolve(!0)},function(){s.reject(!1)}),d},d}]};return e}).directive("simpleModal",["$modal",function(e){return{restrict:"EA",scope:{simpleModal:"@",backdrop:"@",keyboard:"@",modalOk:"&",modalCancel:"&",windowClass:"@",controller:"@",modalTitle:"@?"},link:function(t,n){n.bind("click",function(i){i.preventDefault(),angular.isDefined(n.attr("href"))&&""!==n.attr("href")&&(t.simpleModal=n.attr("href")),"false"===t.backdrop?t.backdropclick="static":t.backdropclick=!0,"false"===t.keyboard?t.keyboardev=!1:t.keyboardev=!0,e.open({templateUrl:t.simpleModal,backdrop:t.backdropclick,keyboard:t.keyboardev,windowClass:t.windowClass,controller:t.controller,modalTitle:t.modalTitle}).result.then(t.modalOk,t.modalCancel)})}}}]).directive("tabbedItem",["$modal","$log",function(e,t){return{restrict:"AE",replace:!0,scope:{items:"=items",controller:"@",templateId:"@",modalTitle:"@?"},templateUrl:"app/scripts/ng_js_att_tpls/modal/tabbedItem.html",controller:["$scope","$rootScope","$attrs",function(n){n.clickTab=function(i){for(var a=0;a<n.items.length;a++)a===i?(n.items[a].isTabOpen=!0,n.items[a].showData=!0):(n.items[a].isTabOpen=!1,n.items[a].showData=!1);var s=e.open({templateUrl:n.templateId,controller:n.controller,windowClass:"tabbedOverlay_modal",modalTitle:n.modalTitle,resolve:{items:function(){return n.items}}});s.result.then(function(e){n.selected=e},function(){t.info("Modal dismissed at: "+new Date)})},n.isActiveTab=function(e){return n.items&&n.items[e]&&n.items[e].isTabOpen}}]}}]).directive("tabbedOverlay",[function(){return{restrict:"AE",replace:!0,scope:{items:"="},transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/modal/tabbedOverlayItem.html",controller:["$scope",function(e){e.clickTab=function(t){for(var n=0;n<e.items.length;n++)n===t?(e.items[n].isTabOpen=!0,e.items[n].showData=!0):(e.items[n].isTabOpen=!1,e.items[n].showData=!1)},e.isActiveTab=function(t){return e.items&&e.items[t]&&e.items[t].isTabOpen}}]}}]),angular.module("att.abs.pagination",["att.abs.utilities"]).directive("attPagination",[function(){return{restrict:"EA",scope:{totalPages:"=",currentPage:"=",showInput:"=",clickHandler:"=?"},replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/pagination/pagination.html",link:function(e){function t(t){angular.isDefined(t)&&null!==t&&((!t||1>t)&&(t=1),t>e.totalPages&&(t=e.totalPages),e.currentPage!==t&&(e.currentPage=t,n(e.currentPage)),e.totalPages>7&&(t<e.pages[0]&&t>3?e.pages=[t,t+1,t+2]:t>e.pages[2]&&t<e.totalPages-2?e.pages=[t-2,t-1,t]:3>=t?e.pages=[1,2,3]:t>=e.totalPages-2&&(e.pages=[e.totalPages-2,e.totalPages-1,e.totalPages])))}e.focusedPage,e.$watch("totalPages",function(n){if(angular.isDefined(n)&&null!==n){if(e.pages=[],1>n)return void(e.totalPages=1);if(7>=n)for(var i=1;n>=i;i++)e.pages.push(i);else if(n>7){var a=Math.ceil(n/2);e.pages=[a-1,a,a+1]}t(1)}}),e.$watch("currentPage",function(e){t(e)});var n=function(t){angular.isFunction(e.clickHandler)&&e.clickHandler(t)};e.next=function(t){t.preventDefault(),e.currentPage<e.totalPages&&(e.currentPage+=1,n(e.currentPage))},e.prev=function(t){t.preventDefault(),e.currentPage>1&&(e.currentPage-=1,n(e.currentPage))},e.selectPage=function(t,i){i.preventDefault(),e.currentPage=t,e.focusedPage=t,n(e.currentPage)},e.checkSelectedPage=function(t){return e.currentPage===t?!0:!1},e.isFocused=function(t){return e.focusedPage===t}}}}]),angular.module("att.abs.paneSelector",["att.abs.utilities"]).constant("paneGroupConstants",{SIDE_WIDTH_DEFAULT:"33%",INNER_PANE_DEFAULT:"67%",SIDE_PANE_ID:"sidePane",NO_DRILL_DOWN:"none"}).factory("animation",function(){return TweenLite}).directive("attPaneAccessibility",["keymap","$window",function(e,t){return{restrict:"A",require:["^?sidePane","^?innerPane"],link:function(t,n,i,a){var s=a[0],r=a[1],o=!1;t.ie=function(){for(var e,t=3,n=document.createElement("div"),i=n.getElementsByTagName("i");n.innerHTML="<!--[if gt IE "+ ++t+"]><i></i>< ![endif]-->",i[0];);return t>4?t:e}(),o=8===t.ie?!0:!1,n.bind("keydown",function(t){if(e.isAllowedKey(t.keyCode)||e.isControl(t)||e.isFunctionKey(t)){t.preventDefault(),t.stopPropagation();var i;switch(t.keyCode){case e.KEY.DOWN:if(i=angular.element(n[0])[0],i&&i.nextElementSibling&&i.nextElementSibling.focus(),o){do{if(!i||!i.nextSibling)break;i=i.nextSibling}while(i&&"DIV"!==i.tagName);i.focus()}break;case e.KEY.UP:if(i=angular.element(n[0])[0],i&&i.previousElementSibling&&i.previousElementSibling.focus(),o){do{if(!i||!i.previousSibling)break;i=i.previousSibling}while(i&&"DIV"!==i.tagName);i.focus()}break;case e.KEY.RIGHT:angular.isDefined(s)&&(i=s.getElement()[0]),angular.isDefined(r)&&(i=r.getElement()[0]);do{if(!i||!i.nextElementSibling)break;i=i.nextElementSibling}while("none"===window.getComputedStyle(i,null).getPropertyValue("display"));if(o)do{if(!i||!i.nextSibling)break;i=i.nextSibling}while(i&&"DIV"==i.tagName&&"none"==i.currentStyle.display);i&&i.querySelector("[att-pane-accessibility]").focus();break;case e.KEY.LEFT:angular.isDefined(s)&&(i=s.getElement()[0]),angular.isDefined(r)&&(i=r.getElement()[0]);do{if(!i||!i.previousElementSibling)break;i=i.previousElementSibling}while("none"==window.getComputedStyle(i,null).getPropertyValue("display"));if(o)do{if(!i||!i.previousSibling)break;i=i.previousSibling}while(i&&"DIV"==i.tagName&&"none"==i.currentStyle.display);i&&i.querySelector("[att-pane-accessibility]").focus()}}})}}}]).directive("sideRow",[function(){return{restrict:"A",replace:!0,require:["^sidePane","^paneGroup"],link:function(e,t,n,i){var a=i[0],s=i[1];e.$first&&(a.sidePaneIds=[]);var r=n.paneId,o=n.drillDownTo;a.sidePaneRows.push({paneId:r,drillDownTo:o}),t.on("click",function(){a.currentSelectedRowPaneId=r,s.slideOutPane(r,!0)})}}}]).controller("SidePaneCtrl",["$scope","$element","animation","paneGroupConstants",function(e,t,n,i){this.getElement=function(){return t},this.sidePaneTracker={},this.currentWidth=i.SIDE_WIDTH_DEFAULT,this.paneId=i.SIDE_PANE_ID,this.currentSelectedRowPaneId,this.drillDownToMapper={},this.sidePaneRows=[],this.init=function(){var e=this.sidePaneRows;if(e)for(var t in e)if(e.hasOwnProperty(t)){var n=e[t].paneId,i=e[t].drillDownTo;this.drillDownToMapper[n]=i,0==t&&(this.currentSelectedRowPaneId=n,this.sidePaneTracker[n]=[])}},this.getSidePanesList=function(){return this.sidePaneTracker[this.currentSelectedRowPaneId]},this.addToSidePanesList=function(e){void 0===this.sidePaneTracker[this.currentSelectedRowPaneId]?this.sidePaneTracker[this.currentSelectedRowPaneId]=[]:e&&this.sidePaneTracker[this.currentSelectedRowPaneId].push(e)},this.setWidth=function(e){e&&(this.currentWidth=e),n.set(t,{width:this.currentWidth})},this.resizeWidth=function(e){e&&(this.currentWidth=e),n.to(t,.5,{width:e})}}]).directive("sidePane",["paneGroupConstants",function(e){return{restrict:"EA",transclude:!0,replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/paneSelector/sidePane.html",require:["^paneGroup","sidePane"],controller:"SidePaneCtrl",scope:{},link:function(t,n,i,a){var s=a[0],r=a[1];s.addPaneCtrl(e.SIDE_PANE_ID,r)}}}]).directive("drillDownRow",["$parse","paneGroupConstants",function(e,t){return{restrict:"A",replace:!0,require:["^innerPane","^paneGroup"],link:function(e,n,i,a){var s=a[0],r=a[1];n.on("click",function(){var e=s.drillDownTo;s.drillDownTo!==t.NO_DRILL_DOWN&&r.slideOutPane(e),n[0].focus()})}}}]).controller("InnerPaneCtrl",["$scope","$element","animation","paneGroupConstants",function(e,t,n,i){this.getElement=function(){return t},this.paneId=e.paneId,this.drillDownTo,this.currentWidth=i.INNER_PANE_DEFAULT,this.setWidth=function(e){e&&(this.currentWidth=e),n.set(t,{width:this.currentWidth})},this.resizeWidth=function(e,i){n.to(t,.25,{width:e,onComplete:i})},this.displayNone=function(){n.set(t,{display:"none"})},this.displayBlock=function(){n.set(t,{display:"block"}),this&&this.hideRightBorder()},this.floatLeft=function(){n.set(t,{"float":"left"})},this.hideLeftBorder=function(){n.set(t,{borderLeftWidth:"0px"})},this.showLeftBorder=function(){n.set(t,{borderLeftWidth:"1px"})},this.hideRightBorder=function(){n.set(t,{borderRightWidth:"0px"})},this.showRightBorder=function(){n.set(t,{borderRightWidth:"1px"})},this.slideFromRight=function(){n.set(t,{"float":"right"}),n.set(t,{width:this.currentWidth})},this.startOpen=function(){return e.startOpen}}]).directive("innerPane",function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/paneSelector/innerPane.html",require:["^paneGroup","innerPane"],controller:"InnerPaneCtrl",scope:{paneId:"@"},link:function(e,t,n,i){""===n.startOpen&&(e.startOpen=!0);var a=i[0],s=i[1];a.addPaneCtrl(e.paneId,s)}}}).controller("PaneGroupCtrl",["$scope","$element","paneGroupConstants",function(e,t,n){this.panes={},this.accountLevelPaneModel=[],this.title=e.title,this.init=function(){function e(e,t){var n,i=[];for(n in e.sidePaneRows)if(e.sidePaneRows.hasOwnProperty(n)){var a=e.sidePaneRows[n];n>0&&t[a.paneId].startOpen&&t[a.paneId].startOpen()&&(i.push(a),e.addToSidePanesList(a.paneId))}if(s)for(n in i)if(i.hasOwnProperty(n)){var r=i[n].paneId,o=t[r];o&&o.setWidth&&o.displayBlock&&(o.setWidth(s),o.displayBlock())}}var t=this.panes[n.SIDE_PANE_ID];if(t){t.init();var i,a=1;for(i in this.panes)this.panes[i].startOpen&&this.panes[i].startOpen()&&a++;var s;if(a>=3&&(s=100/a+"%"),this.panes[t.currentSelectedRowPaneId]){s?(t.setWidth(s),this.panes[t.currentSelectedRowPaneId].setWidth(s)):(t.setWidth(),this.panes[t.currentSelectedRowPaneId].setWidth()),this.panes[t.currentSelectedRowPaneId].displayBlock();for(i in this.panes)i!==n.SIDE_PANE_ID&&i!==t.currentSelectedRowPaneId&&this.panes[i].displayNone(),this.panes[i].drillDownTo=t.drillDownToMapper[i]}e(t,this.panes)}},this.resetPanes=function(){for(var e in this.panes)if(this.panes.hasOwnProperty(e)){var t=this.panes[e];t&&t.paneId!==n.SIDE_PANE_ID&&(t.floatLeft(),t.displayNone())}this.panes[n.SIDE_PANE_ID]&&this.panes[n.SIDE_PANE_ID].setWidth(n.SIDE_WIDTH_DEFAULT)},this.addPaneCtrl=function(e,t){
-this.panes[e]=t},this._slideOutPane=function(e,t){this.resetPanes();var i;if(t)if(this.panes[n.SIDE_PANE_ID]&&(i=this.panes[n.SIDE_PANE_ID].getSidePanesList()),i){if(this.panes&&this.panes[n.SIDE_PANE_ID])if(0===i.length&&this.panes[e])this.panes[n.SIDE_PANE_ID].setWidth(n.SIDE_WIDTH_DEFAULT),this.panes[e].displayBlock(),this.panes[e].setWidth(n.INNER_PANE_DEFAULT);else{var a=i.length+2,s=100/a+"%";this.panes[n.SIDE_PANE_ID].setWidth(s),this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId]&&(this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].displayBlock(),this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].setWidth(s));for(var r in i)this.panes[i[r]]&&(this.panes[i[r]].displayBlock(),this.panes[i[r]].setWidth(s))}}else this.panes&&this.panes[n.SIDE_PANE_ID]&&this.panes[e]&&(this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId=e,this.panes[n.SIDE_PANE_ID].addToSidePanesList(),this.panes[e].slideFromRight(),this.panes[e].displayBlock(),this.panes[e].setWidth(n.INNER_PANE_DEFAULT));else{var o,l=!1;this.panes[n.SIDE_PANE_ID]&&(o=this.panes[n.SIDE_PANE_ID].getSidePanesList());for(var c in o)if(o.hasOwnProperty(c)){var d=o[c];if(d===e){l=!0;break}}!l&&this.panes[n.SIDE_PANE_ID]&&this.panes[n.SIDE_PANE_ID].addToSidePanesList(e);var p;this.panes[n.SIDE_PANE_ID]&&(p=this.panes[n.SIDE_PANE_ID].getSidePanesList().length);var u=p+2,h=100/u+"%";this.panes[n.SIDE_PANE_ID]&&this.panes[n.SIDE_PANE_ID].setWidth(h);var g;this.panes[n.SIDE_PANE_ID]&&(g=this.panes[n.SIDE_PANE_ID].getSidePanesList()[p-1]);var f=this;f.panes[n.SIDE_PANE_ID]&&(i=f.panes[n.SIDE_PANE_ID].getSidePanesList());for(var m in i)if(i.hasOwnProperty(m)){var v=i[m],b=this.panes[v];v!==g&&b&&(b.setWidth(h),b.displayBlock(),b.floatLeft())}this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId]&&(this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].displayBlock(),this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].showRightBorder(),this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].resizeWidth(h,function(){f.panes[g]&&f.panes[f.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId]&&(f.panes[f.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].hideRightBorder(),f.panes[g].setWidth(h),f.panes[g].slideFromRight(),f.panes[g].displayBlock(),f.panes[g].floatLeft())}))}},this.slideOutPane=function(e,t){this._slideOutPane(e,t)}}]).directive("paneGroup",["$timeout",function(e){return{restrict:"EA",transclude:!0,replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/paneSelector/paneGroup.html",scope:{},controller:"PaneGroupCtrl",link:function(t,n,i,a){function s(){a.init()}e(s,100)}}}]),angular.module("att.abs.tooltip",["att.abs.position","att.abs.utilities","ngSanitize"]).constant("tooltipDefaultOptions",{placement:"above",animation:!1,popupDelay:0,stylett:"dark",appendToBody:!0}).provider("$tooltip",["tooltipDefaultOptions",function(e){function t(e){var t=/[A-Z]/g,n="-";return e.replace(t,function(e,t){return(t?n:"")+e.toLowerCase()})}var n={mouseenter:"mouseleave",click:"click",focus:"blur",mouseover:"mouseout"},i={};this.options=function(e){angular.extend(i,e)},this.setTriggers=function(e){angular.extend(n,e)},this.$get=["$window","$compile","$timeout","$parse","$document","$position","$interpolate","$attElementDetach",function(a,s,r,o,l,c,d,p){return function(a,u,h){function g(e){var t=e||f.trigger||h,i=n[t]||t;return{show:t,hide:i}}var f=angular.extend({},e,i),m=t(a),v=d.startSymbol(),b=d.endSymbol();return{restrict:"EA",scope:!0,link:function(e,t,n){function i(){e.tt_isOpen?h():d()}function d(){(!I||e.$eval(n[u+"Enable"]))&&(e.tt_popupDelay?S=r(_,e.tt_popupDelay):e.$apply(_))}function h(){e.$apply(function(){y()})}function _(){var n,i,a,s;if(e.tt_content){C&&r.cancel(C),D.css({top:0,left:0,display:"block","z-index":9999}),$?(x=x||l.find("body"),x.append(D)):t.after(D),n=$?c.offset(t):c.position(t),i=D.prop("offsetWidth"),a=D.prop("offsetHeight");var o=10;switch(e.tt_placement){case"right":s=$?{top:n.top+n.height/2-a/2,left:n.left+n.width+P}:{top:n.top+n.height/2-a/2,left:n.left+n.width+o+P};break;case"below":s=$?{top:n.top+n.height+P,left:n.left+n.width/2-i/2}:{top:n.top+n.height+o+P,left:n.left+n.width/2-i/2};break;case"left":s=$?{top:n.top+n.height/2-a/2,left:n.left-i-P}:{top:n.top+n.height/2-a/2,left:n.left-i-o-P};break;default:s=$?{top:n.top-a-P,left:n.left+n.width/2-i/2}:{top:n.top-a-o-P,left:n.left+n.width/2-i/2}}s.top+="px",s.left+="px",D.css(s),e.tt_isOpen=!0}}function y(){e.tt_isOpen=!1,r.cancel(S),angular.isDefined(e.tt_animation)&&e.tt_animation()?C=r(function(){p(D[0])},500):p(D[0])}function w(){t.removeAttr("title"),k||(L?t.attr("title",e.tooltipAriaLabel):t.attr("title",e.tt_content))}t.attr("tabindex")||t.attr("tabindex","0");var k=!1;t.bind("mouseenter",function(){k=!0,t.removeAttr("title")}),t.bind("mouseleave",function(){k=!1}),e.parentAttrs=n;var C,S,x,T="<div "+m+'-popup title="'+v+"tt_title"+b+'" content="'+v+"tt_content"+b+'" placement="'+v+"tt_placement"+b+'" animation="tt_animation()" is-open="tt_isOpen" stylett="'+v+"tt_style"+b+'" ></div>',D=s(T)(e),$=angular.isDefined(f.appendToBody)?f.appendToBody:!1,A=g(void 0),E=!1,I=angular.isDefined(n[u+"Enable"]),P=0,L=!1;e.tt_isOpen=!1,e.$watch("tt_isOpen",function(e,t){e===t||e||p(D[0])}),n.$observe(a,function(t){t?e.tt_content=t:e.tt_isOpen&&y()}),n.$observe(u+"Title",function(t){e.tt_title=t}),n.$observe(u+"Placement",function(t){e.tt_placement=angular.isDefined(t)?t:f.placement}),n.$observe(u+"Style",function(t){e.tt_style=angular.isDefined(t)?t:f.stylett}),n.$observe(u+"Animation",function(t){e.tt_animation=angular.isDefined(t)?o(t):function(){return f.animation}}),n.$observe(u+"PopupDelay",function(t){var n=parseInt(t,10);e.tt_popupDelay=isNaN(n)?f.popupDelay:n}),n.$observe(u+"Trigger",function(e){E&&(t.unbind(A.show,d),t.unbind(A.hide,h)),A=g(e),"focus"===A.show?(t.bind("focus",d),t.bind("blur",h),t.bind("click",function(e){e.stopPropagation()})):A.show===A.hide?t.bind(A.show,i):(t.bind(A.show,d),t.bind(A.hide,h)),E=!0}),n.$observe(u+"AppendToBody",function(t){$=angular.isDefined(t)?o(t)(e):$}),n.$observe(u+"Offset",function(e){P=angular.isDefined(e)?parseInt(e,10):0}),n.$observe(u+"AriaLabel",function(t){angular.isDefined(t)?(e.tooltipAriaLabel=t,L=!0):L=!1,w()}),$&&e.$on("$locationChangeSuccess",function(){e.tt_isOpen&&y()}),e.$on("$destroy",function(){e.tt_isOpen?y():D.remove()})}}}}]}]).directive("tooltipPopup",["$document","$documentBind",function(e,t){return{restrict:"EA",replace:!0,transclude:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"=",stylett:"@"},templateUrl:"app/scripts/ng_js_att_tpls/tooltip/tooltip-popup.html",link:function(e,n){e.$watch("isOpen",function(){e.isOpen}),n.bind("click",function(e){e.stopPropagation()});var i=function(){e.$apply(function(){e.isOpen=!1})};t.event("click","isOpen",i,e,!0,10)}}}]).directive("tooltip",["$tooltip",function(e){return e("tooltip","tooltip","mouseenter")}]).directive("tooltipCondition",["$timeout",function(e){return{restrict:"EA",replace:!0,scope:{tooltipCondition:"@?"},template:'<p><span tooltip="{{tooltipCondition}}" ng-if="showpop">{{tooltipCondition}}</span><span id="innerElement" ng-hide="showpop">{{tooltipCondition}}</span></p>',link:function(t,n,i){t.showpop=!1,"true"===i.height?e(function(){var e=n[0].offsetHeight,i=n.children(0)[0].offsetHeight;i>e&&(t.showpop=!0)}):t.tooltipCondition.length>=25&&(t.showpop=!0)}}}]),angular.module("att.abs.popOvers",["att.abs.tooltip","att.abs.utilities","ngSanitize"]).directive("popover",["$tooltip",function(e){return e("popover","popover","click")}]).directive("popoverPopup",["$document","$documentBind","$timeout","events","DOMHelper",function(e,t,n,i,a){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/popOvers/popOvers.html",scope:{content:"@",placement:"@",animation:"&",isOpen:"=",stylett:"@"},link:function(e,s,r,o){e.closeable=!1;try{e.closeable=""===e.$parent.parentAttrs.closeable?!0:!1}catch(l){}var c=void 0,d=void 0,p=function(t){e.$apply(function(){e.isOpen=!1})},u=function(t){(27===t.which||27===t.keyCode)&&(console.log("ESC was pressed!"),e.$apply(function(){e.isOpen=!1}))};n(function(){d=a.firstTabableElement(s)},10,!1),e.$watch("isOpen",function(t){if(e.isOpen){if(c=document.activeElement,angular.isDefined(d))try{d.focus()}catch(n){}}else if(angular.isDefined(c))try{c.focus()}catch(n){}}),e.$watch("stylett",function(t){e.popOverStyle=t}),e.$watch("placement",function(t){e.popOverPlacement=t}),e.closeMe=function(){e.isOpen=!1},s.bind("click",function(e){i.stopPropagation(e)}),t.event("click","isOpen",p,e,!0,10),t.event("keydown","isOpen",u,e,!0,10)}}}]),angular.module("att.abs.profileCard",[]).constant("profileStatus",{status:{ACTIVE:{status:"Active",color:"green"},DEACTIVATED:{status:"Deactivated",color:"red"},LOCKED:{status:"Locked",color:"red"},IDLE:{status:"Idle",color:"yellow"},PENDING:{status:"Pending",color:"blue"}},role:"COMPANY ADMINISTRATOR"}).directive("profileCard",["$http","$q","profileStatus",function(e,t,n){return{restrict:"EA",replace:"true",templateUrl:function(e,t){return t.addUser?"app/scripts/ng_js_att_tpls/profileCard/addUser.html":"app/scripts/ng_js_att_tpls/profileCard/profileCard.html"},scope:{profile:"="},link:function(e,i,a){function s(e){var n=t.defer(),i=new Image;return i.onerror=function(){n.reject(!1)},i.onload=function(){n.resolve(!0)},void 0!==e&&e.length>0?i.src=e:n.reject(!1),n.promise}if(e.image=!0,!a.addUser){e.image=!1,s(e.profile.img).then(function(t){e.image=t});var r=e.profile.name.split(" ");e.initials="";for(var o=0;o<r.length;o++)e.initials+=r[o][0];e.profile.role.toUpperCase()===n.role&&(e.badge=!0);var l=n.status[e.profile.state.toUpperCase()];l&&(e.profile.state=n.status[e.profile.state.toUpperCase()].status,e.colorIcon=n.status[e.profile.state.toUpperCase()].color,(e.profile.state.toUpperCase()===n.status.PENDING.status.toUpperCase()||e.profile.state.toUpperCase()===n.status.LOCKED.status.toUpperCase())&&(e.profile.lastLogin=e.profile.state));var c=(new Date).getTime(),d=new Date(e.profile.lastLogin).getTime(),p=(c-d)/864e5;1>=p?e.profile.lastLogin="Today":2>=p&&(e.profile.lastLogin="Yesterday")}}}}]),angular.module("att.abs.progressBars",[]).directive("attProgressBar",[function(){return{restrict:"A",replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/progressBars/progressBars.html"}}]),angular.module("att.abs.radio",[]).constant("attRadioConfig",{activeClass:"att-radio--on",disabledClass:"att-radio--disabled"}).directive("attRadio",["$compile","attRadioConfig",function(e,t){return{scope:{},restrict:"A",require:"ngModel",link:function(n,i,a,s){var r=s;n.radioVal="";var o=angular.element('<div att-accessibility-click="13,32" ng-click="updateModel($event)" class="att-radio"></div>');i.attr("value",a.attRadio),i.removeAttr("att-radio"),i.removeAttr("title"),i.attr("ng-model","radioVal"),o.append(i.prop("outerHTML")),o.append('<div class="att-radio__indicator"></div>'),o.attr("title",a.title);var l=o.prop("outerHTML");l=e(l)(n),i=i.replaceWith(l);var c=l.find("input");c.on("focus",function(){l.css("outline","2px solid #5E9ED6"),l.css("outline","-webkit-focus-ring-color auto 5px")}),c.on("blur",function(){l.css("outline","none")}),r.$render=function(){n.radioVal=r.$modelValue;var e=angular.equals(r.$modelValue,a.attRadio);l.toggleClass(t.activeClass,e)},n.updateModel=function(){c[0].focus();var e=l.hasClass(t.activeClass);e||n.disabled||(r.$setViewValue(e?null:a.attRadio),r.$render())},a.$observe("disabled",function(e){n.disabled=e||"disabled"===e||"true"===e,n.disabled?(l.addClass(t.disabledClass),l.attr("tabindex","-1")):(l.removeClass(t.disabledClass),l.attr("tabindex","0"))})}}}]),angular.module("att.abs.scrollbar",["att.abs.position"]).constant("attScrollbarConstant",{defaults:{axis:"y",navigation:!1,wheel:!0,wheelSpeed:40,wheelLock:!0,scrollInvert:!1,trackSize:!1,thumbSize:!1,alwaysVisible:!0}}).directive("attScrollbar",["$window","$timeout","$parse","$animate","attScrollbarConstant","$position",function(e,t,n,i,a,s){return{restrict:"A",scope:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/scrollbar/scrollbar.html",controller:["$scope","$element","$attrs",function(r,o,l){function c(){k.contentRatio<=1&&k.contentPosition>k.contentSize-k.viewportSize?k.contentPosition=k.contentSize-k.viewportSize:k.contentRatio>1&&k.contentPosition>0&&(k.contentPosition=0),k.contentPosition<=0?r.prevAvailable=!1:r.prevAvailable=!0,k.contentPosition>=k.contentSize-k.viewportSize?r.nextAvailable=!1:r.nextAvailable=!0}function d(){I?(x.on("touchstart",u),$.on("touchstart",u)):($.on("mousedown",h),D.on("mousedown",v)),angular.element(e).on("resize",p),k.options.wheel&&o.on(P,g)}function p(){k.update()}function u(e){1===e.touches.length&&(e.stopPropagation(),h(e.touches[0]))}function h(e){C.addClass("scroll-no-select"),o.addClass("scroll-no-select"),k.options.alwaysVisible||D.addClass("visible"),A=E?e.clientX:e.clientY,k.thumbPosition=parseInt($.css(M),10)||0,I?(N=!1,F=!1,x.on("touchmove",f),x.on("touchend",b),$.on("touchmove",m),$.on("touchend",b)):(S.on("mousemove",v),S.on("mouseup",b),$.on("mouseup",b))}function g(n){if(!(k.contentRatio>=1)){k.options.alwaysVisible||(w&&t.cancel(w),D.addClass("visible"),w=t(function(){D.removeClass("visible")},100));var i=n&&n.originalEvent||n||e.event,a=k.options.axis.toUpperCase(),s={X:i.deltaX||0,Y:i.deltaY||0},l=0===i.deltaMode?k.options.wheelSpeed:1;k.options.scrollInvert&&(l*=-1),"mousewheel"===P&&(s.Y=-1*i.wheelDelta/40,i.wheelDeltaX&&(s.X=-1*i.wheelDeltaX/40)),s.X*=-1/l,s.Y*=-1/l;var d=s[a];k.contentPosition-=d*k.options.wheelSpeed,k.contentPosition=Math.min(k.contentSize-k.viewportSize,Math.max(0,k.contentPosition)),fireEvent(o[0],"move"),c(),$.css(M,k.contentPosition/k.trackRatio+"px"),T.css(M,-k.contentPosition+"px"),(k.options.wheelLock||k.contentPosition!==k.contentSize-k.viewportSize&&0!==k.contentPosition)&&i.preventDefault(),r.$apply()}}function f(e){e.preventDefault(),N=!0,v(e.touches[0])}function m(e){e.preventDefault(),F=!0,v(e.touches[0])}function v(e){if(!(k.contentRatio>=1)){var t=E?e.clientX:e.clientY,n=t-A;(k.options.scrollInvert&&!I||I&&!k.options.scrollInvert)&&(n=A-t),N&&I&&(n=A-t),F&&I&&(n=t-A);var i=Math.min(k.trackSize-k.thumbSize,Math.max(0,k.thumbPosition+n));k.contentPosition=i*k.trackRatio,fireEvent(o[0],"move"),c(),$.css(M,i+"px"),T.css(M,-k.contentPosition+"px"),r.$apply()}}function b(){C.removeClass("scroll-no-select"),o.removeClass("scroll-no-select"),k.options.alwaysVisible||D.removeClass("visible"),S.off("mousemove",v),S.off("mouseup",b),$.off("mouseup",b),S.off("touchmove",f),S.off("ontouchend",b),$.off("touchmove",m),$.off("touchend",b)}var _={axis:l.attScrollbar||a.defaults.axis,navigation:l.navigation||a.defaults.navigation,wheel:a.defaults.wheel,wheelSpeed:a.defaults.wheelSpeed,wheelLock:a.defaults.wheelLock,scrollInvert:a.defaults.scrollInvert,trackSize:a.defaults.trackSize,thumbSize:a.defaults.thumbSize,alwaysVisible:a.defaults.alwaysVisible},y=l.scrollbar;y=y?n(y)(r):{},this.options=angular.extend({},_,y),this._defaults=_;var w,k=this,C=angular.element(document.querySelectorAll("body")[0]),S=angular.element(document),x=angular.element(o[0].querySelectorAll(".scroll-viewport")[0]),T=angular.element(o[0].querySelectorAll(".scroll-overview")[0]),D=angular.element(o[0].querySelectorAll(".scroll-bar")[0]),$=angular.element(o[0].querySelectorAll(".scroll-thumb")[0]),A=0,E="x"===this.options.axis,I=!1,P="onwheel"in document?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",L=E?"width":"height",O=L.charAt(0).toUpperCase()+L.slice(1).toLowerCase(),M=E?"left":"top",F=!1,N=!1;("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)&&(I=!0),this.contentPosition=0,this.viewportSize=0,this.contentSize=0,this.contentRatio=0,this.trackSize=0,this.trackRatio=0,this.thumbSize=0,this.thumbPosition=0,this.initialize=function(){return this.options.alwaysVisible||D.css("opacity",0),k.update(),d(),k},this.setSizeData=function(){this.viewportSize=x.prop("offset"+O)||1,this.contentSize=T.prop("scroll"+O)||1,this.contentRatio=this.viewportSize/this.contentSize,this.trackSize=this.options.trackSize||this.viewportSize,this.thumbSize=Math.min(this.trackSize,Math.max(0,this.options.thumbSize||this.trackSize*this.contentRatio)),this.trackRatio=this.options.thumbSize?(this.contentSize-this.viewportSize)/(this.trackSize-this.thumbSize):this.contentSize/this.trackSize},this.update=function(e){return k.setSizeData(),A=D.prop("offsetTop"),D.toggleClass("disable",this.contentRatio>=1||isNaN(this.contentRatio)),!this.options.alwaysVisible&&this.contentRatio<1&&this.viewportSize>0&&i.addClass(D,"visible").then(function(){i.removeClass(D,"visible"),r.$digest()}),null!==e&&("bottom"===e?this.contentPosition=this.contentSize-this.viewportSize:this.contentPosition=parseInt(e,10)||0),c(),$.css(M,k.contentPosition/k.trackRatio+"px"),D.css(L,k.trackSize+"px"),$.css(L,k.thumbSize+"px"),T.css(M,-k.contentPosition+"px"),this},fireEvent=function(e,t){var n,i=e;document.createEvent?(n=document.createEvent("HTMLEvents"),n.initEvent(t,!0,!1),i.dispatchEvent(n)):document.createEventObject&&(n=document.createEventObject(),i.fireEvent("on"+t,n))},r.customScroll=function(e){if(!(k.contentRatio>=1)){var t,n=s.position(x);t=E?n.width:n.height,e?k.contentPosition+=t:k.contentPosition-=t,k.contentPosition=Math.min(k.contentSize-k.viewportSize,Math.max(0,k.contentPosition)),fireEvent(o[0],"move"),c(),$.css(M,k.contentPosition/k.trackRatio+"px"),T.css(M,-k.contentPosition+"px")}},this.cleanup=function(){x.off("touchstart",u),$.off("mousedown",h),D.off("mousedown",v),$.off("touchmove",m),$.off("touchend",b),angular.element(e).off("resize",p),o.off(P,g),k.options.alwaysVisible=!0,b()}}],link:function(e,n,i,a){e.navigation=a.options.navigation,e.viewportHeight=i.viewportHeight,e.viewportWidth=i.viewportWidth,e.scrollbarAxis=a.options.axis,"x"===e.scrollbarAxis?n.addClass("horizontal"):"y"===e.scrollbarAxis&&n.addClass("vertical");var s=n.css("position");"relative"!==s&&"absolute"!==s&&n.css("position","relative"),e.$watch(function(){t(r,100,!1)});var r=function(){var t=angular.element(n[0].querySelectorAll(".scroll-overview")[0]),i=t.prop("scrollHeight"),s=e.oldValue;i!==s&&(e.oldValue=i,a.update())};a.initialize(),n.on("$destroy",function(){a.cleanup()})}}}]),angular.module("att.abs.search",["att.abs.utilities","att.abs.position","att.abs.utilities"]).directive("attSearch",["$document","$filter","$isElement","$documentBind","$timeout","$log","keymap",function(e,t,n,i,a,s,r){return{restrict:"A",scope:{cName:"=attSearch"},transclude:!1,replace:!1,require:"ngModel",templateUrl:"app/scripts/ng_js_att_tpls/search/search.html",link:function(t,o,l,c){t.selectedIndex=-1,t.selectedOption=l.placeholder,t.isDisabled=!1,t.className="select2-match",t.showSearch=!1,t.showlist=!1;var d="",p=new Date,u=void 0,h=[];a(function(){h=o.find("li")},10),s.warn("attSearch is deprecated, please use attSelect instead. This component will be removed by version 2.7."),l.noFilter||"true"===l.noFilter?t.noFilter=!0:t.noFilter=!1,"false"===l.placeholderAsOption?t.selectedOption=l.placeholder:t.selectMsg=l.placeholder,(l.startsWithFilter||"true"===l.startsWithFilter)&&(t.startsWithFilter=!0),"true"===l.showInputFilter&&(t.showSearch=!1,s.warn("showInputFilter functionality has been removed from the library.")),l.disabled&&(t.isDisabled=!0),u=angular.element(o).children().eq(0).find("a")[0];var g=0,f=function(){if(t.noFilter){var e=d,n=0;for(n=g;n<t.cName.length;n++)if(t.cName[n].title.startsWith(e)&&n!==t.selectedIndex){t.selectOption(t.cName[n],n,t.showlist),g=n,d="";break}(n>=t.cName.length||!t.cName[n+1].title.startsWith(e))&&g>0&&(g=0)}};t.showDropdown=function(){l.disabled||(t.showlist=!t.showlist,t.setSelectTop())},o.bind("keydown",function(e){if(r.isAllowedKey(e.keyCode)||r.isControl(e)||r.isFunctionKey(e))switch(e.preventDefault(),e.stopPropagation(),e.keyCode){case r.KEY.DOWN:t.selectNext();break;case r.KEY.UP:t.selectPrev(),d="";break;case r.KEY.ENTER:t.selectCurrent(),d="";break;case r.KEY.BACKSPACE:t.title="",d="",t.$apply();break;case r.KEY.SPACE:t.noFilter||(t.title+=" "),t.$apply();break;case r.KEY.ESC:""===t.title||void 0===t.title?(t.showlist=!1,u.focus(),t.$apply()):(t.title="",t.$apply()),t.noFilter&&(d="",u.focus(),t.showlist=!1)}else if(9!==e.keyCode){if(t.noFilter){var n=new Date,i=Math.abs(p.getMilliseconds()-n.getMilliseconds());p=n,i>100&&(d=""),d=d?d+String.fromCharCode(e.keyCode):String.fromCharCode(e.keyCode),d.length>2&&(d=d.substring(0,2)),f()}else t.showlist=!0,t.title=t.title?t.title+String.fromCharCode(e.keyCode):String.fromCharCode(e.keyCode);t.$apply()}else 9===e.keyCode&&(t.showlist=!1,t.title="",t.$apply())}),t.selectOption=function(e,n,i){-1===n||"-1"===n?(t.selCategory="",t.selectedIndex=-1,c.$setViewValue(""),"false"!==l.placeholderAsOption&&(t.selectedOption=t.selectMsg)):(t.selCategory=t.cName[n],t.selectedIndex=n,c.$setViewValue(t.selCategory),t.selectedOption=t.selCategory.title,angular.isDefined(h[n])&&h[n].focus()),t.title="",i||(t.showlist=!1,u.focus()),t.$apply()},t.selectCurrent=function(){t.showlist?(t.selectOption(t.selectMsg,t.selectedIndex,!1),t.$apply()):(t.showlist=!0,t.setSelectTop(),t.$apply())},t.hoverIn=function(e){t.selectedIndex=e,t.focusme()},t.setSelectTop=function(){a(function(){if(t.showlist&&!t.noFilter){var e=angular.element(o)[0].querySelector(".select2-results");if(angular.element(e.querySelector(".select2-result-current"))[0])var n=angular.element(e.querySelector(".select2-result-current"))[0].offsetTop;angular.element(e)[0].scrollTop=n}})},t.setCurrentTop=function(){a(function(){if(t.showlist){var e=angular.element(o)[0].querySelector(".select2-results");if(angular.element(e.querySelector(".hovstyle"))[0])var n=angular.element(e.querySelector(".hovstyle"))[0].offsetTop;n<angular.element(e)[0].scrollTop?angular.element(e)[0].scrollTop-=30:n+30>angular.element(e)[0].clientHeight&&(angular.element(e)[0].scrollTop+=30)}})},t.selectNext=function(){t.selectedIndex+1<=t.cName.length-1&&(t.selectedIndex+=1,t.showlist||t.selectOption(t.selectMsg,t.selectedIndex,!1),t.focusme(),t.$apply()),t.setCurrentTop()},t.selectPrev=function(){t.selectedIndex-1>=0?(t.selectedIndex-=1,t.showlist||t.selectOption(t.selectMsg,t.selectedIndex,!1),t.focusme(),t.$apply()):t.selectedIndex-1<0&&(void 0===l.placeholderAsOption||"true"===l.placeholderAsOption?t.selectedIndex=-1:t.selectedIndex=0,t.showlist||t.selectOption(t.selectMsg,t.selectedIndex,!1),t.focusme(),t.$apply()),t.setCurrentTop()},t.updateSelection=function(e){t.selectedOption=e.title,t.title=""},t.focusme=function(){a(function(){var e=angular.element(o).find("ul").find("li"),n=t.selectedIndex+2;t.noFilter&&(n=t.selectedIndex),angular.isDefined(e[n])&&e[n].focus()})},t.$watch("selCategory",function(e){e&&t.updateSelection(e)}),c.$viewChangeListeners.push(function(){t.$eval(l.ngChange)}),c.$render=function(){t.selCategory=c.$viewValue};var m=function(i){var a=n(angular.element(i.target),o,e);a||(t.showlist=!1,u.focus(),t.$apply())};i.click("showlist",m,t)}}}]),angular.module("att.abs.select",["att.abs.utilities","att.abs.position","att.abs.utilities"]).directive("attSelect",["$document","$filter","$isElement","$documentBind","$timeout","keymap","$log",function(e,t,n,i,a,s,r){return{restrict:"A",scope:{cName:"=attSelect"},transclude:!1,replace:!1,require:"ngModel",templateUrl:"app/scripts/ng_js_att_tpls/select/select.html",link:function(o,l,c,d){o.selectedIndex=-1,o.selectedOption=c.placeholder,o.isDisabled=!1,o.className="select2-match",o.showSearch=!1,o.showlist=!1,o.titleName=c.titlename,o.$watch("ngModel",function(){});var p="",u=new Date,h=void 0,g=[];a(function(){g=l.find("li")},10),c.noFilter||"true"===c.noFilter?o.noFilter=!0:o.noFilter=!1,"false"===c.placeholderAsOption?o.selectedOption=c.placeholder:o.selectMsg=c.placeholder,(c.startsWithFilter||"true"===c.startsWithFilter)&&(o.startsWithFilter=!0),"true"===c.showInputFilter&&(o.showSearch=!1,r.warn("showInputFilter functionality has been removed from the library.")),c.disabled&&(o.isDisabled=!0);var f=function(){return o.startsWithFilter?"startsWith":"filter"};h=angular.element(l).children().eq(0).find("span")[0];var m=0,v=function(){if(o.noFilter){var e=p,t=0;for(t=m;t<o.cName.length;t++)if(o.cName[t].title.startsWith(e)&&t!==o.selectedIndex){o.selectOption(o.cName[t],t,o.showlist),m=t,p="";break}(t>=o.cName.length||!o.cName[t+1].title.startsWith(e))&&m>0&&(m=0)}};o.showDropdown=function(){c.disabled||(o.showlist=!o.showlist,o.setSelectTop(),o.focusme())},l.bind("keydown",function(e){if(s.isAllowedKey(e.keyCode)||s.isControl(e)||s.isFunctionKey(e))switch(e.preventDefault(),e.stopPropagation(),e.keyCode){case s.KEY.DOWN:o.selectNext();break;case s.KEY.UP:o.selectPrev(),p="";break;case s.KEY.ENTER:o.selectCurrent(),p="";break;case s.KEY.BACKSPACE:o.title="",p="",o.$apply();break;case s.KEY.SPACE:o.noFilter||(o.title+=" "),o.$apply();break;case s.KEY.ESC:""===o.title||void 0===o.title?(o.showlist=!1,h.focus(),o.$apply()):(o.title="",o.$apply()),o.noFilter&&(p="",h.focus(),o.showlist=!1)}else if(e.keyCode!==s.KEY.TAB){if(o.noFilter){var n=new Date,i=Math.abs(u.getMilliseconds()-n.getMilliseconds());u=n,i>100&&(p=""),p=p?p+String.fromCharCode(e.keyCode):String.fromCharCode(e.keyCode),p.length>2&&(p=p.substring(0,2)),v()}else if(o.showlist=!0,o.title=o.title?o.title+String.fromCharCode(e.keyCode):String.fromCharCode(e.keyCode),""!=o.title)for(var a=t(f())(o.cName,o.title),r=0;r<a.length;r++)for(var l=0;l<o.cName.length&&angular.isDefined(o.cName[o.selectedIndex]);l++)if(a[r].title===o.cName[o.selectedIndex].title){o.selectedIndex=r,o.focusme();break}o.$apply()}else e.keyCode===s.KEY.TAB&&(o.showlist=!1,o.title="",o.$apply())}),o.selectOption=function(e,n,i){if(-1===n||"-1"===n)o.selCategory="",o.selectedIndex=-1,d.$setViewValue(""),"false"!==c.placeholderAsOption&&(o.selectedOption=o.selectMsg);else{if(""!=o.title){var s=t(f())(o.cName,o.title);if(angular.isDefined(s)&&angular.isDefined(s[n]))for(var r=0;r<o.cName.length;r++)if(s[n].title===o.cName[r].title){n=r;break}}o.selCategory=o.cName[n],o.selectedIndex=n,d.$setViewValue(o.selCategory),o.selectedOption=o.selCategory.title,d.$render(),a(function(){if(angular.isDefined(g[n]))try{g[index].focus()}catch(e){}})}o.title="",i||(o.showlist=!1,h.focus())},o.selectCurrent=function(){o.showlist?o.selectOption(o.selectMsg,o.selectedIndex,!1):(o.showlist=!0,o.setSelectTop()),o.$apply()},o.hoverIn=function(e){o.selectedIndex=e,o.focusme()},o.setSelectTop=function(){a(function(){if(o.showlist&&!o.noFilter){var e=angular.element(l)[0].querySelector(".select2-results");if(angular.element(e.querySelector(".select2-result-current"))[0])var t=angular.element(e.querySelector(".select2-result-current"))[0].offsetTop;angular.element(e)[0].scrollTop=t}})},o.setCurrentTop=function(){a(function(){if(o.showlist){var e=angular.element(l)[0].querySelector(".select2-results");if(angular.element(e.querySelector(".hovstyle"))[0])var t=angular.element(e.querySelector(".hovstyle"))[0].offsetTop;t<angular.element(e)[0].scrollTop?angular.element(e)[0].scrollTop-=30:t+30>angular.element(e)[0].clientHeight&&(angular.element(e)[0].scrollTop+=30)}})},o.selectNext=function(){o.cName.length;if(o.selectedIndex+1<=o.cName.length-1){o.selectedIndex+=1;var e=o.cName[o.selectedIndex].disabled;e&&(o.selectedIndex+=1),o.showlist||o.selectOption(o.selectMsg,o.selectedIndex,!1),o.focusme(),o.$apply()}o.setCurrentTop()},o.selectPrev=function(){if(o.selectedIndex-1>=0){o.selectedIndex-=1;var e=o.cName[o.selectedIndex].disabled;e&&(o.selectedIndex-=1),o.showlist||o.selectOption(o.selectMsg,o.selectedIndex,!1),o.focusme(),o.$apply()}else o.selectedIndex-1<0&&(void 0===c.placeholderAsOption||"true"===c.placeholderAsOption?void 0===c.placeholder?o.selectedIndex=0:o.selectedIndex=-1:o.selectedIndex=0,o.showlist||o.selectOption(o.selectMsg,o.selectedIndex,!1),o.focusme(),o.$apply());o.setCurrentTop()},o.updateSelection=function(e){o.selectedOption=e.title,o.title="",e.index<0&&o.selectOption(o.selectMsg,e.index,o.showlist)},o.focusme=function(){a(function(){var e=angular.element(l).find("ul").find("li"),t=o.selectedIndex+2;if(o.noFilter&&(t=o.selectedIndex),angular.isDefined(e[t]))try{e[t].focus()}catch(n){}})},o.$watch("selCategory",function(e){e&&o.updateSelection(e)}),d.$viewChangeListeners.push(function(){o.$eval(c.ngChange)}),d.$render=function(){o.selCategory=d.$viewValue};var b=function(t){var i=n(angular.element(t.target),l,e);i||(o.showlist=!1,h.focus(),o.$apply())};i.click("showlist",b,o)}}}]).directive("textDropdown",["$document","$isElement","$documentBind","keymap",function(e,t,n,i){return{restrict:"EA",replace:!0,scope:{actions:"=actions",defaultAction:"=defaultAction",onActionClicked:"=?"},templateUrl:"app/scripts/ng_js_att_tpls/select/textDropdown.html",link:function(a,s,r){a.selectedIndex=0,a.selectedOption=r.placeholder,a.isDisabled=!1,a.isActionsShown=!1;var o=void 0;if(r.disabled&&(a.isDisabled=!0),o=s.find("div")[0],angular.isDefined(a.defaultAction))if(angular.isDefined(a.defaultAction)||""!==a.defaultAction){for(var l in a.actions)if(a.actions[l]===a.defaultAction){a.currentAction=a.actions[l],a.selectedIndex=a.actions.indexOf(l),a.isActionsShown=!1;break}}else a.currentAction=a.actions[0];else a.currentAction=a.actions[0],a.selectedIndex=0;a.toggle=function(){a.isActionsShown=!a.isActionsShown},a.chooseAction=function(e,t,n){null!=e?(a.currentAction=t,a.selectedIndex=n):a.currentAction=a.actions[a.selectedIndex],angular.isFunction(a.onActionClicked)&&a.onActionClicked(a.currentAction),a.toggle()},a.isCurrentAction=function(e){return e===a.currentAction},s.bind("keydown",function(e){if(i.isAllowedKey(e.keyCode)||i.isControl(e)||i.isFunctionKey(e)){switch(e.preventDefault(),e.stopPropagation(),e.keyCode){case i.KEY.DOWN:a.selectNext();break;case i.KEY.UP:a.selectPrev();break;case i.KEY.ENTER:a.selectCurrent();break;case i.KEY.ESC:a.isActionsShown=!1,o.focus(),a.$apply()}return void a.$apply()}e.keyCode===i.KEY.TAB&&(a.isActionsShown=!1,a.$apply())}),a.selectCurrent=function(){a.selectedIndex<0&&(a.selectedIndex=0),a.isActionsShown?a.chooseAction(null,a.currentAction):a.toggle()},a.selectNext=function(){a.isActionsShown&&(a.selectedIndex+1<a.actions.length?a.selectedIndex+=1:a.selectedIndex=a.actions.length-1,a.$apply())},a.selectPrev=function(){a.isActionsShown&&(a.selectedIndex-1>=0?a.selectedIndex-=1:a.selectedIndex-1<0&&(a.selectedIndex=0),a.$apply())},a.hoverIn=function(e){a.selectedIndex=e};var c=function(n){var i=t(angular.element(n.target),s,e);i||(a.toggle(),a.$apply())};n.click("isActionsShown",c,a)}}}]),angular.module("att.abs.slider",["att.abs.position"]).constant("sliderDefaultOptions",{width:300,step:1,precision:0,disabledWidth:116}).directive("attSlider",["sliderDefaultOptions","$position","$document",function(e,t,n){return{restrict:"EA",replace:!0,transclude:!0,scope:{floor:"=",ceiling:"=",step:"@",precision:"@",width:"@",textDisplay:"=",value:"=",ngModelSingle:"=?",ngModelLow:"=?",ngModelHigh:"=?",ngModelDisabled:"=?"},templateUrl:"app/scripts/ng_js_att_tpls/slider/slider.html",link:function(i,a,s){var r,o,l,c,d,p,u,h,g,f,m,v,b,_,y,w,k,C,S=0,x=!1;i.minPtrOffset=0,i.maxPtrOffset=0;var T=e.disabledWidth,D=a.children();h=D[0].children,h=angular.element(h[0]),C=D[1].children,k=angular.element(C[0]),w=angular.element(C[1]),y=angular.element(C[2]),g=null==s.ngModelSingle&&null==s.ngModelLow&&null==s.ngModelHigh&&null!=s.ngModelDisabled,v=null==s.ngModelSingle&&null!=s.ngModelLow&&null!=s.ngModelHigh,b="ngModelLow",_="ngModelHigh",v?k.remove():(w.remove(),y.remove()),g?(i.disabledStyle={width:T+"px",zIndex:1},i.handleStyle={left:T+"px"}):h.remove(),f=parseFloat(i.floor),m=parseFloat(i.ceiling),u=m-f,r=0,o=void 0!==s.width?s.width:0!==a[0].clientWidth?a[0].clientWidth:e.width,p=o-r,i.keyDown=function(n){if(39===n.keyCode){var s=t.position(a).left;if(l)"ngModelLow"===i.ref?(c=e.step+c,l=c):"ngModelHigh"===i.ref?(d=e.step+d,
-l=d):l=e.step+l;else{if(v&&"ngModelLow"===i.ref)return;l=e.step+s,c=d=l}}else if(37===n.keyCode){var r=t.position(k).left;l?0>=l||("ngModelLow"===i.ref?(c-=e.step,l=c):"ngModelHigh"===i.ref?(d-=e.step,l=d):(l-=e.step,c=d=l)):l=r-e.step}l>=0&&i.ptrOffset(l)},i.mouseDown=function(e,t){i.ref=t,x=!0,S=v?i.ref===b?e.clientX-i.minPtrOffset:e.clientX-i.maxPtrOffset:l?e.clientX-l:e.clientX,g&&(i.ref="ngModelDisabled",i.disabledStyle={width:T+"px",zIndex:1})},i.moveElem=function(e){if(x){var t;t=e.clientX,l=t-S,i.ptrOffset(l)}},i.focus=function(e,t){console.log(t),i.ref=t},i.mouseUp=function(e){x=!1,w.removeClass("dragging"),y.removeClass("dragging"),k.removeClass("dragging"),n.off("mousemove")},i.keyUp=function(e){x=!1,w.removeClass("dragging"),y.removeClass("dragging"),k.removeClass("dragging"),n.off("mousemove")},i.calStep=function(e,t,n,i){var a,s,r,o;return null===i&&(i=0),null===n&&(n=1/Math.pow(10,t)),s=(e-i)%n,o=s>n/2?e+n-s:e-s,a=Math.pow(10,t),r=o*a/a,r.toFixed(t)},i.percentOffset=function(e){return(e-r)/p*100},i.ptrOffset=function(t){var n,a;if(t=Math.max(Math.min(t,o),r),n=i.percentOffset(t),a=f+u*n/100,v){var s;i.ref===b?(i.minHandleStyle={left:t+"px"},i.minNewVal=a,i.minPtrOffset=t,w.addClass("dragging"),a>i.maxNewVal&&(i.ref=_,y[0].focus(),i.maxNewVal=a,i.maxPtrOffset=t,y.addClass("dragging"),w.removeClass("dragging"),i.maxHandleStyle={left:t+"px"})):(i.maxHandleStyle={left:t+"px"},i.maxNewVal=a,i.maxPtrOffset=t,y.addClass("dragging"),a<i.minNewVal&&(i.ref=b,w[0].focus(),i.minVal=a,i.minPtrOffset=t,w.addClass("dragging"),y.removeClass("dragging"),i.minHandleStyle={left:t+"px"})),s=parseInt(i.maxPtrOffset)-parseInt(i.minPtrOffset),i.rangeStyle={width:s+"px",left:i.minPtrOffset+"px"}}else g&&t>T?i.rangeStyle={width:t+"px",zIndex:0}:(k.addClass("dragging"),i.rangeStyle={width:t+"px"}),i.handleStyle={left:t+"px"};(void 0===i.precision||void 0===i.step)&&(i.precision=e.precision,i.step=e.step),a=i.calStep(a,parseInt(i.precision),parseFloat(i.step),parseFloat(i.floor)),i[i.ref]=a}}}}]).directive("attSliderMin",[function(){return{require:"^attSlider",restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/slider/minContent.html"}}]).directive("attSliderMax",[function(){return{require:"^attSlider",restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/slider/maxContent.html"}}]),angular.module("att.abs.splitButtonDropdown",["att.abs.utilities","att.abs.position"]).directive("attButtonDropdown",["$document","$parse","$documentBind","$timeout","$isElement",function(e,t,n,i,a){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdown.html",scope:{btnText:"@",btnType:"@",btnLink:"@",btnClick:"&",toggleTitle:"@"},controller:["$scope","$element",function(e,t){this.cSelected=0,this.closeAndFocusDropdown=function(){e.isDropDownOpen&&e.$apply(function(){e.isDropDownOpen=!1,angular.element(t[0].querySelector("a.dropdown-toggle"))[0].focus()})},this.focusNext=function(){this.cSelected=this.cSelected+1>=this.childScopes.length?e.cycleSelection===!0?0:this.childScopes.length-1:this.cSelected+1,this.childScopes[this.cSelected].sFlag=!0,this.resetFlag(this.cSelected)},this.focusPrev=function(){this.cSelected=this.cSelected-1<0?e.cycleSelection===!0?this.childScopes.length-1:0:this.cSelected-1,this.childScopes[this.cSelected].sFlag=!0,this.resetFlag(this.cSelected)},this.childScopes=[],this.registerScope=function(e){this.childScopes.push(e)},this.resetFlag=function(e){for(var t=0;t<this.childScopes.length;t++)t!==e&&(this.childScopes[t].sFlag=!1)}}],link:function(s,r,o){s.isSmall=""===o.small?!0:!1,s.multiselect=""===o.multiselect?!0:!1,s.cycleSelection=""===o.cycleSelection?!0:!1,s.isDropDownOpen=!1,s.isActionDropdown=!1,s.btnText||(s.isActionDropdown=!0),s.clickFxn=function(){"function"!=typeof s.btnClick||s.btnLink||(s.btnClick=t(s.btnClick),s.btnClick()),s.multiselect===!0&&(s.isDropDownOpen=!1)},s.toggleDropdown=function(){"disabled"!==s.btnType&&(s.isDropDownOpen=!s.isDropDownOpen,s.isDropDownOpen&&i(function(){angular.element(r[0].querySelector("li"))[0].focus()}))},s.btnTypeSelector=function(e,t){""!==e?s.btnTypeFinal=e:s.btnTypeFinal=t};var l=function(t){var n=a(angular.element(t.target),r.find("ul").eq(0),e);n||(s.isDropDownOpen=!1,s.$apply())};n.click("isDropDownOpen",l,s),o.$observe("btnType",function(e){s.btnType=e}),o.$observe("attButtonDropdown",function(e){o.attButtonDropdown=e,s.btnTypeSelector(o.attButtonDropdown,s.btnType)})}}}]).directive("attButtonDropdownItem",["$location","keymap",function(e,t){return{restrict:"EA",require:["^attButtonDropdown","?ngModel"],replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdownItem.html",scope:{itemLink:"@"},link:function(e,n,i,a){angular.element(n[0].querySelector("a"));e.sFlag=!1,a[0].registerScope(e);a[1]?e.isSelected=a[1].$viewValue:e.isSelected=!1,n.bind("keydown",function(n){if(t.isAllowedKey(n.keyCode)||t.isControl(n)||t.isFunctionKey(n))switch(n.preventDefault(),n.stopPropagation(),n.keyCode){case t.KEY.DOWN:a[0].focusNext();break;case t.KEY.UP:a[0].focusPrev();break;case t.KEY.ENTER:e.selectItem();break;case t.KEY.ESC:a[0].closeAndFocusDropdown()}e.$apply()}),e.selectItem=function(){a[1]&&e.$evalAsync(function(){a[1].$setViewValue(!a[1].$viewValue)})}}}}]),angular.module("att.abs.splitIconButton",["att.abs.utilities"]).constant("iconStateConstants",{MIDDLE:"middle",LEFT:"left",RIGHT:"right",NEXT_TO_DROPDOWN:"next-to-dropdown",LEFT_NEXT_TO_DROPDOWN:"left-next-to-dropdown",DIR_TYPE:{LEFT:"left",RIGHT:"right",BUTTON:"button"},SPLIT_ICON_BTN_EVENT_EMITTER_KEY:"splitIconButtonTap"}).directive("expandableLine",[function(){return{restrict:"EA",replace:!0,priority:300,require:["^attSplitIconButton","expandableLine"],controller:["$scope",function(e){e.isActive=!1,this.setActiveState=function(t){e.isActive=t},this.isActive=e.isActive,this.dirType=e.dirType}],template:"<div ng-class=\"{'expand-line-container': !isActive, 'expand-line-container-active': isActive}\"> <div ng-class=\"{'hovered-line':isActive, 'vertical-line':!isActive}\"> </div></div>",scope:{dirType:"@"},link:function(e,t,n,i){var a=i[0],s=i[1];a.addSubCtrl(s)}}}]).controller("AttSplitIconCtrl",["$scope",function(e){this.setType=function(t){e.type=t},this.isDropdown=function(t){e.isDropdown=t},this.dropDownClicked=function(){e.dropDownClicked&&e.dropDownClicked()},this.dirType=e.dirType}]).directive("attSplitIcon",["$document","$timeout","iconStateConstants","$documentBind","events","keymap",function(e,t,n,i,a,s){return{restrict:"EA",replace:!0,priority:200,transclude:!0,require:["^attSplitIconButton","attSplitIcon"],templateUrl:"app/scripts/ng_js_att_tpls/splitIconButton/splitIcon.html",scope:{icon:"@",iconTitle:"@title",hoverWatch:"=",dropDownWatch:"=",dirType:"@"},controller:"AttSplitIconCtrl",link:function(e,t,r,o){var l=o[0],c=o[1];l.addSubCtrl(c),e.iconStateConstants=n;var d,p=0,u=!1;e.isDropdown=!1,e.isDropdownOpen=!1;var h=function(t){e.isDropdown&&(u?(u=!1,e.toggleDropdown()):e.toggleDropdown(!1),e.$apply())};r.dropDownId&&""!==r.dropDownId&&(e.dropDownId=r.dropDownId,e.isDropdown=!0),e.$on(n.SPLIT_ICON_BTN_EVENT_EMITTER_KEY,function(n,i){function r(t){switch(t.which){case s.KEY.TAB:e.toggleDropdown(!1),e.$digest();break;case s.KEY.ESC:h();break;case s.KEY.ENTER:e.isDropDownOpen&&o();break;case s.KEY.UP:t.preventDefault(),a.stopPropagation(t),e.isDropDownOpen&&e.previousItemInDropdown();break;case s.KEY.DOWN:t.preventDefault(),a.stopPropagation(t),e.isDropDownOpen?e.nextItemInDropdown():(u=!0,h(),o())}}function o(){if(void 0===d){d=[];for(var e=t.find("li"),n=0;n<e.length;n++)d.push(e.eq(n));d[p].children().eq(0).addClass("selected-item")}}if("boolean"==typeof i&&i)e.dropDownClicked(),e.isDropDownOpen&&d[p].eq(0).find("a")[0].click();else{var l=i;e.isDropdown&&r(l)}}),e.nextItemInDropdown=function(){d&&p<d.length-1&&(p++,d[p-1].children().eq(0).removeClass("selected-item"),d[p].children().eq(0).addClass("selected-item"))},e.previousItemInDropdown=function(){p>0&&(p--,d[p].children().eq(0).addClass("selected-item"),p+1<d.length&&d[p+1].children().eq(0).removeClass("selected-item"))},e.$watch("isIconHovered",function(t){e.hoverWatch=t}),e.$watch("type",function(t){function n(t,n,i,a,s){e.isMiddle=t,e.isNextToDropDown=n,e.isRight=i,e.isLeft=a,e.isLeftNextDropdown=s}switch(t){case e.iconStateConstants.MIDDLE:n(!0,!1,!1,!0,!1);break;case e.iconStateConstants.LEFT:n(!1,!1,!1,!0,!1);break;case e.iconStateConstants.RIGHT:n(!1,!1,!0,!1,!1);break;case e.iconStateConstants.NEXT_TO_DROPDOWN:n(!1,!0,!0,!0,!1);break;case e.iconStateConstants.LEFT_NEXT_TO_DROPDOWN:n(!1,!1,!1,!0,!0)}}),e.dropDownClicked=function(){u=!0},e.toggleDropdown=function(t){void 0!==t?e.isDropDownOpen=t:e.isDropDownOpen=!e.isDropDownOpen,e.dropDownWatch=e.isDropDownOpen},i.click("isDropdown",h,e)}}}]).controller("AttSplitIconButtonCtrl",["$scope","iconStateConstants",function(e,t){function n(e){var t=-1;for(var n in i.subCtrls){var a=i.subCtrls[n];if(a.dirType===e){t=n;break}}return t}this.subCtrls=[],e.isLeftLineShown=!0,e.isRightLineShown=!0,e.childrenScopes=[];var i=this;this.addSubCtrl=function(e){this.subCtrls.push(e)},this.isLeftLineShown=function(t){return void 0===t?e.isLeftLineShown:void(e.isLeftLineShown=t)},this.isRightLineShown=function(t){return void 0===t?e.isRightLineShown:void(e.isRightLineShown=t)},this.setLeftLineHover=function(i){var a=n(t.DIR_TYPE.LEFT);e.isLeftLineShown&&this.subCtrls[a]&&this.subCtrls[a].setActiveState&&this.subCtrls[a].setActiveState(i)},this.setRightLineHover=function(i){var a=n(t.DIR_TYPE.RIGHT);e.isRightLineShown&&this.subCtrls[a]&&this.subCtrls[a].setActiveState&&this.subCtrls[a].setActiveState(i)},this.toggleLines=function(i,a,s,r){function o(){for(var e=0;c>e;e++)if(l[e]===s){c-1>=e+1&&l[e+1].isLeftLineShown()&&l[e+1].subCtrls[d]&&l[e+1].subCtrls[d].setActiveState&&l[e+1].subCtrls[d].setActiveState(i),e-1>=0&&l[e-1].isRightLineShown()&&l[e-1].subCtrls[p]&&l[e-1].subCtrls[p].setActiveState&&l[e-1].subCtrls[p].setActiveState(i);break}}var l=a.subIconButtons,c=l.length,d=n(t.DIR_TYPE.LEFT),p=n(t.DIR_TYPE.RIGHT);r?l[c-2]==s?l[c-2].isLeftLineShown()?l[c-2].subCtrls[d].setActiveState(i):c-3>=0&&l[c-3].isRightLineShown()&&l[c-3].subCtrls[p].setActiveState(i):(o(),e.isLeftLineShown&&this.subCtrls[d].setActiveState(i),e.isRightLineShown&&this.subCtrls[p].setActiveState(i)):(e.isLeftLineShown||e.isRightLineShown||o(),e.isLeftLineShown&&this.subCtrls[d].setActiveState&&this.subCtrls[d].setActiveState(i),e.isRightLineShown&&this.subCtrls[p].setActiveState&&this.subCtrls[p].setActiveState(i))},this.setButtonType=function(e){var i=n(t.DIR_TYPE.BUTTON);this.subCtrls[i]&&this.subCtrls[i].setType&&this.subCtrls[i].setType(e)}}]).directive("attSplitIconButton",["$document","iconStateConstants","keymap",function(e,t,n){return{restrict:"EA",replace:!0,priority:100,transclude:!0,require:["^attSplitIconButtonGroup","attSplitIconButton"],controller:"AttSplitIconButtonCtrl",templateUrl:"app/scripts/ng_js_att_tpls/splitIconButton/splitIconButton.html",scope:{icon:"@",title:"@",dropDownId:"@"},link:function(e,i,a,s){e.title||(e.title=e.icon);var r=s[0],o=s[1];r.addIconButton(o),i.bind("keydown",function(i){(i.which===n.KEY.ESC||i.which===n.KEY.DOWN||i.which===n.KEY.ENTER||i.which===n.KEY.UP||i.which===n.KEY.TAB)&&(e.clickHandler(),e.$broadcast(t.SPLIT_ICON_BTN_EVENT_EMITTER_KEY,i))}),e.dropDownWatch=!1,e.iconStateConstants=t,e.clickHandler=function(){r.hideLeftLineRightButton(o)},e.$watch("isHovered",function(e){e?o.toggleLines(e,r,o,r.isDropDownOpen):o.toggleLines(e,r,o,r.isDropDownOpen)}),e.$watch("dropDownWatch",function(e){r.isDropDownOpen=e,r.toggleDropdownState(e)})}}}]).controller("AttSplitIconButtonGroupCtrl",["$scope","iconStateConstants",function(e,t){this.subIconButtons=[],this.addIconButton=function(e){this.subIconButtons.push(e)},this.isDropDownOpen=!1,this.hideLeftLineRightButton=function(e){var t=this.subIconButtons.length,n=this.subIconButtons[t-2],i=this.subIconButtons[t-1];e!=n&&e!=i&&i.setLeftLineHover(!1)},this.toggleDropdownState=function(e){var n=this.subIconButtons.length;n>2?e?(this.subIconButtons[n-2].isRightLineShown()?this.subIconButtons[n-2].setRightLineHover(!0):this.subIconButtons[n-1].setLeftLineHover(!0),this.subIconButtons[n-2].setButtonType(t.NEXT_TO_DROPDOWN)):(this.subIconButtons[n-1].setLeftLineHover(!1),this.subIconButtons[n-2].setButtonType(t.MIDDLE)):e?(this.subIconButtons[0].setRightLineHover(!0),this.subIconButtons[0].setButtonType(t.LEFT_NEXT_TO_DROPDOWN)):this.subIconButtons[0].setButtonType(t.LEFT)}}]).directive("attSplitIconButtonGroup",["$document","$timeout","iconStateConstants",function(e,t,n){return{restrict:"EA",replace:!0,priority:50,transclude:!0,require:"attSplitIconButtonGroup",controller:"AttSplitIconButtonGroupCtrl",templateUrl:"app/scripts/ng_js_att_tpls/splitIconButton/splitIconButtonGroup.html",scope:{},link:function(e,i,a,s){function r(){var e=s.subIconButtons,t=0,a=e.length-1;if(e[t].setButtonType(n.LEFT),e[t].isLeftLineShown(!1),e[t].isRightLineShown(!0),e[a].setButtonType(n.RIGHT),e[a].isRightLineShown(!1),e[a].isLeftLineShown(!1),a>=2){for(var r=1;a>r;)e[r].setButtonType(n.MIDDLE),e[r].isRightLineShown(!1),e[r].isLeftLineShown(!1),r++;for(var o=2;a>=o;)o==a?e[o].isLeftLineShown(!0):(e[o].isRightLineShown(!0),e[o].isLeftLineShown(!0)),o+=2}var l=i.find("ul");if(l.length>0){var c=a+1;if(c>2){var d=34*c-70+c/1.5+.5,p=d+"px";angular.element(l).css("left",p),angular.element(l).css("border-top-left-radius","0px")}else angular.element(l).css("left","0px")}}t(r,100)}}}]),angular.module("att.abs.stepSlider",["att.abs.position"]).constant("sliderConstants",{SLIDER:{settings:{from:1,to:40,step:1,smooth:!0,limits:!0,value:"3",dimension:"",vertical:!1},className:"jslider",selector:".jslider-"},EVENTS:{},COLORS:{GREEN:"green",BLUE_HIGHLIGHT:"blue",MAGENTA:"magenta",GOLD:"gold",PURPLE:"purple",DARK_BLUE:"dark-blue",REGULAR:"regular",WHITE:"white"}}).factory("utils",function(){return{offset:function(e){var t=e[0],n=0,i=0,a=document.documentElement||document.body,s=window.pageXOffset||a.scrollLeft,r=window.pageYOffset||a.scrollTop;return n=t.getBoundingClientRect().left+s,i=t.getBoundingClientRect().top+r,{left:n,top:i}},roundUpToScale:function(e,t,n,i){function a(e,t){var n=.1;return Math.abs(t-e)<=n?!0:!1}for(var s,r,o,l,c=1;c<t.length;c++){if(s=t[c-1],r=t[c],l=.5*(r-s)+s,0===s&&l>=e||a(s,e)){o=s;break}if(e>s&&(r>e||a(e,r))){o=r;break}}return n&&n>o?t[i]:o},valueForDifferentScale:function(e,t,n,i){var a=n/100;return 0===a?e:i[n]},convertToMbpsGbps:function(e,t,n){function i(e,t){var n=Math.pow(10,t);return~~(e*n)/n}var a=3;return n&&(a=n),e>1024&&1e6>e&&angular.equals(t,"Kbps")?(e=i(e/1e3,a),t="Mbps"):e>1024&&1e6>e&&angular.equals(t,"Mbps")?(e=i(e/1e3,a),t="Mbps"):t=(1024>=e&&angular.equals(t,"Mbps"),"Kbps"),e>=1e6&&angular.equals(t,"Kbps")&&(e=i(e/1e6,a),t="Gbps"),{unitValue:e,unitLabel:t}},getConversionFactorValue:function(e,t,n){if(e<=t[0].startVal)return{scaledVal:e,scaledDimension:n};var i=0;for(var a in t){var s=t[a];e>s.startVal&&(i=a)}var r=t[i].scaleFactor,o=e/r,l=t[i].dimension;return{scaledVal:o,scaledDimension:l}}}}).factory("sliderDraggable",["utils",function(e){function t(){this._init.apply(this,arguments)}return t.prototype.oninit=function(){},t.prototype.events=function(){},t.prototype.onmousedown=function(){this.ptr.css({position:"absolute"})},t.prototype.onmousemove=function(e,t,n){this.ptr.css({left:t,top:n})},t.prototype.onmouseup=function(){},t.prototype.isDefault={drag:!1,clicked:!1,toclick:!0,mouseup:!1},t.prototype._init=function(){if(arguments.length>0){if(this.ptr=arguments[0],this.parent=arguments[2],!this.ptr)return;this.is={},angular.extend(this.is,this.isDefault);var t=e.offset(this.ptr);this.d={left:t.left,top:t.top,width:this.ptr[0].clientWidth,height:this.ptr[0].clientHeight},this.oninit.apply(this,arguments),this._events()}},t.prototype._getPageCoords=function(e){var t={};return t=e.targetTouches&&e.targetTouches[0]?{x:e.targetTouches[0].pageX,y:e.targetTouches[0].pageY}:{x:e.pageX,y:e.pageY}},t.prototype._bindEvent=function(e,t,n){this.supportTouches_?e[0].attachEvent(this.events_[t],n):e.bind&&e.bind(this.events_[t],n)},t.prototype._events=function(){var e=this;this.supportTouches_="ontouchend"in document,this.events_={click:this.supportTouches_?"touchstart":"click",down:this.supportTouches_?"touchstart":"mousedown",move:this.supportTouches_?"touchmove":"mousemove",up:this.supportTouches_?"touchend":"mouseup",mousedown:(this.supportTouches_,"mousedown")};var t=angular.element(window.document);this._bindEvent(t,"move",function(t){e.is.drag&&(t.stopPropagation(),t.preventDefault(),e.parent.disabled||e._mousemove(t))}),this._bindEvent(t,"down",function(t){e.is.drag&&(t.stopPropagation(),t.preventDefault())}),this._bindEvent(t,"up",function(t){e._mouseup(t)}),this._bindEvent(this.ptr,"down",function(t){return e._mousedown(t),!1}),this._bindEvent(this.ptr,"up",function(t){e._mouseup(t)}),this.events()},t.prototype._mousedown=function(e){this.is.drag=!0,this.is.clicked=!1,this.is.mouseup=!1;var t=this._getPageCoords(e);this.cx=t.x-this.ptr[0].offsetLeft,this.cy=t.y-this.ptr[0].offsetTop,angular.extend(this.d,{left:this.ptr[0].offsetLeft,top:this.ptr[0].offsetTop,width:this.ptr[0].clientWidth,height:this.ptr[0].clientHeight}),this.outer&&this.outer.get(0)&&this.outer.css({height:Math.max(this.outer.height(),$(document.body).height()),overflow:"hidden"}),this.onmousedown(e)},t.prototype._mousemove=function(e){if(0!==this.uid){this.is.toclick=!1;var t=this._getPageCoords(e);this.onmousemove(e,t.x-this.cx,t.y-this.cy)}},t.prototype._mouseup=function(e){this.is.drag&&(this.is.drag=!1,this.outer&&this.outer.get(0)&&($.browser.mozilla?this.outer.css({overflow:"hidden"}):this.outer.css({overflow:"visible"}),$.browser.msie&&"6.0"===$.browser.version?this.outer.css({height:"100%"}):this.outer.css({height:"auto"})),this.onmouseup(e))},t}]).factory("sliderPointer",["sliderDraggable","utils",function(e,t){function n(){e.apply(this,arguments)}return n.prototype=new e,n.prototype.oninit=function(e,t,n){this.uid=t,this.parent=n,this.value={},this.settings=angular.copy(n.settings)},n.prototype.onmousedown=function(e){var n=t.offset(this.parent.domNode),i={left:n.left,top:n.top,width:this.parent.domNode[0].clientWidth,height:this.parent.domNode[0].clientHeight};this._parent={offset:i,width:i.width,height:i.height},this.ptr.addClass("jslider-pointer-hover"),this.setIndexOver()},n.prototype.onmousemove=function(e,n,i){var a=this._getPageCoords(e),s=this.calc(a.x);this.parent.settings.smooth||(s=t.roundUpToScale(s,this.parent.settings.scale,this.parent.settings.cutOffWidth,this.parent.settings.cutOffIndex));var r=this.parent.settings.cutOffWidth;r&&r>s&&(s=r),this._set(s)},n.prototype.onmouseup=function(e){if(this.settings.callback&&angular.isFunction(this.settings.callback)){var t=this.parent.getValue();this.settings.callback.call(this.parent,t)}this.ptr.removeClass("jslider-pointer-hover")},n.prototype.setIndexOver=function(){this.parent.setPointersIndex(1),this.index(2)},n.prototype.index=function(e){},n.prototype.limits=function(e){return this.parent.limits(e,this)},n.prototype.calc=function(e){var t=e-this._parent.offset.left,n=this.limits(100*t/this._parent.width);return n},n.prototype.set=function(e,t){this.value.origin=this.parent.round(e),this._set(this.parent.valueToPrc(e,this),t)},n.prototype._set=function(e,t){t||(this.value.origin=this.parent.prcToValue(e)),this.value.prc=e,this.ptr.css({left:e+"%"}),this.parent.redraw(this)},n}]).factory("slider",["sliderPointer","sliderConstants","utils",function(e,t,n){function i(){return this.init.apply(this,arguments)}function a(e){s.css("width",e)}var s;return i.prototype.changeCutOffWidth=a,i.prototype.init=function(e,n,i){this.settings=t.SLIDER.settings,angular.extend(this.settings,angular.copy(i)),this.inputNode=e,this.inputNode.addClass("ng-hide"),this.settings.interval=this.settings.to-this.settings.from,this.settings.calculate&&$.isFunction(this.settings.calculate)&&(this.nice=this.settings.calculate),this.settings.onstatechange&&$.isFunction(this.settings.onstatechange)&&(this.onstatechange=this.settings.onstatechange),this.is={init:!1},this.o={},this.create(n)},i.prototype.create=function(t){var i=this;this.domNode=t;var a=n.offset(this.domNode),r={left:a.left,top:a.top,width:this.domNode[0].clientWidth,height:this.domNode[0].clientHeight};this.sizes={domWidth:this.domNode[0].clientWidth,domOffset:r},angular.extend(this.o,{pointers:{},labels:{0:{o:angular.element(this.domNode.find("div")[5])},1:{o:angular.element(this.domNode.find("div")[6])}},limits:{0:angular.element(this.domNode.find("div")[3]),1:angular.element(this.domNode.find("div")[5])}}),angular.extend(this.o.labels[0],{value:this.o.labels[0].o.find("span")}),angular.extend(this.o.labels[1],{value:this.o.labels[1].o.find("span")}),i.settings.value.split(";")[1]||(this.settings.single=!0);var o=this.domNode.find("div");s=angular.element(o[8]),s&&s.css&&s.css("width","0%");var l=[angular.element(o[1]),angular.element(o[2])];angular.forEach(l,function(t,n){i.settings=angular.copy(i.settings);var a=i.settings.value.split(";")[n];if(a){i.o.pointers[n]=new e(t,n,i);var s=i.settings.value.split(";")[n-1];s&&parseInt(a,10)<parseInt(s,10)&&(a=s);var r=a<i.settings.from?i.settings.from:a;r=a>i.settings.to?i.settings.to:a,i.o.pointers[n].set(r,!0),0===n&&i.domNode.bind("mousedown",i.clickHandler.apply(i))}}),this.o.value=angular.element(this.domNode.find("i")[2]),this.is.init=!0,angular.forEach(this.o.pointers,function(e){i.redraw(e)})},i.prototype.clickHandler=function(){var e=this;return function(t){if(!e.disabled){var i=t.target.className,a=0;i.indexOf("jslider-pointer-to")>0&&(a=1);var s=n.offset(e.domNode),r={left:s.left,top:s.top,width:e.domNode[0].clientWidth,height:e.domNode[0].clientHeight};a=1;var o=e.o.pointers[a];return o._parent={offset:r,width:r.width,height:r.height},o._mousemove(t),o.onmouseup(),!1}}},i.prototype.disable=function(e){this.disabled=e},i.prototype.nice=function(e){return e},i.prototype.onstatechange=function(){},i.prototype.limits=function(e,t){if(!this.settings.smooth){var n=100*this.settings.step/this.settings.interval;e=Math.round(e/n)*n}var i=this.o.pointers[1-t.uid];i&&t.uid&&e<i.value.prc&&(e=i.value.prc),i&&!t.uid&&e>i.value.prc&&(e=i.value.prc),0>e&&(e=0),e>100&&(e=100);var a=Math.round(10*e)/10;return a},i.prototype.setPointersIndex=function(e){angular.forEach(this.getPointers(),function(e,t){e.index(t)})},i.prototype.getPointers=function(){return this.o.pointers},i.prototype.onresize=function(){var e=this;this.sizes={domWidth:this.domNode[0].clientWidth,domHeight:this.domNode[0].clientHeight,domOffset:{left:this.domNode[0].offsetLeft,top:this.domNode[0].offsetTop,width:this.domNode[0].clientWidth,height:this.domNode[0].clientHeight}},angular.forEach(this.o.pointers,function(t,n){e.redraw(t)})},i.prototype.update=function(){this.onresize(),this.drawScale()},i.prototype.drawScale=function(){},i.prototype.redraw=function(e){if(!this.settings.smooth){var t=n.roundUpToScale(e.value.prc,this.settings.scale,this.settings.cutOffWidth,this.settings.cutOffIndex);e.value.origin=t,e.value.prc=t}if(!this.is.init)return!1;this.setValue();var i=this.o.pointers[1].value.prc,a={left:"0%",width:i+"%"};this.o.value.css(a);var s=this.nice(e.value.origin),r=this.settings.firstDimension;if(this.settings.stepWithDifferentScale&&!this.settings.smooth&&(s=n.valueForDifferentScale(this.settings.from,this.settings.to,s,this.settings.prcToValueMapper)),this.settings.realtimeCallback&&angular.isFunction(this.settings.realtimeCallback)&&void 0!==this.settings.cutOffVal&&1===e.uid&&this.settings.realtimeCallback(s),this.settings.conversion){var o=n.getConversionFactorValue(parseInt(s),this.settings.conversion,this.settings.firstDimension);s=o.scaledVal,r=o.scaledDimension}s=parseFloat(s);var l=n.convertToMbpsGbps(s,r,this.settings.decimalPlaces);this.o.labels[e.uid].value.html(l.unitValue+" "+l.unitLabel),this.redrawLabels(e)},i.prototype.redrawLabels=function(e){function t(e,t,i){t.margin=-t.label/2;var a=n.sizes.domWidth,s=t.border+t.margin;return 0>s&&(t.margin-=s),t.border+t.label/2>a?(t.margin=0,t.right=!0):t.right=!1,t.margin=-(e.o[0].clientWidth/2-e.o[0].clientWidth/20),e.o.css({left:i+"%",marginLeft:t.margin,right:"auto"}),t.right&&e.o.css({left:"auto",right:0}),t}var n=this,i=this.o.labels[e.uid],a=e.value.prc,s={label:i.o[0].offsetWidth,right:!1,border:a*l/100},r=null,o=null;if(!this.settings.single)switch(o=this.o.pointers[1-e.uid],r=this.o.labels[o.uid],e.uid){case 0:s.border+s.label/2>r.o[0].offsetLeft-this.sizes.domOffset.left?(r.o.css({visibility:"hidden"}),r.value.html(this.nice(o.value.origin)),i.o.css({visibility:"hidden"}),a=(o.value.prc-a)/2+a,o.value.prc!==e.value.prc&&(i.value.html(this.nice(e.value.origin)+"&nbsp;&ndash;&nbsp;"+this.nice(o.value.origin)),s.label=i.o[0].clientWidth,s.border=a*l/100)):r.o.css({visibility:"visible"});break;case 1:s.border-s.label/2<r.o[0].offsetLeft-this.sizes.domOffset.left+r.o[0].clientWidth?(r.o.css({visibility:"hidden"}),r.value.html(this.nice(o.value.origin)),i.o.css({visibility:"visible"}),a=(a-o.value.prc)/2+o.value.prc,o.value.prc!==e.value.prc&&(i.value.html(this.nice(o.value.origin)+"&nbsp;&ndash;&nbsp;"+this.nice(e.value.origin)),s.label=i.o[0].clientWidth,s.border=a*l/100)):r.o.css({visibility:"visible"})}s=t(i,s,a);var l=n.sizes.domWidth;r&&(s={label:r.o[0].clientWidth,right:!1,border:o.value.prc*this.sizes.domWidth/100},s=t(r,s,o.value.prc))},i.prototype.redrawLimits=function(){if(this.settings.limits){var e=[!0,!0];for(var t in this.o.pointers)if(!this.settings.single||0===t){var n=this.o.pointers[t],i=this.o.labels[n.uid],a=i.o[0].offsetLeft-this.sizes.domOffset.left,s=this.o.limits[0];a<s[0].clientWidth&&(e[0]=!1),s=this.o.limits[1],a+i.o[0].clientWidth>this.sizes.domWidth-s[0].clientWidth&&(e[1]=!1)}for(var r=0;r<e.length;r++)e[r]?angular.element(this.o.limits[r]).addClass("animate-show"):angular.element(this.o.limits[r]).addClass("animate-hidde")}},i.prototype.setValue=function(){var e=this.getValue();this.inputNode.attr("value",e),this.onstatechange.call(this,e,this.inputNode)},i.prototype.getValue=function(){if(!this.is.init)return!1;var e=this,t="";return angular.forEach(this.o.pointers,function(i,a){if(void 0!==i.value.prc&&!isNaN(i.value.prc)){var s=i.value.prc,r=e.prcToValue(s);if(!e.settings.smooth)var r=n.valueForDifferentScale(e.settings.from,e.settings.to,s,e.settings.prcToValueMapper);t+=(a>0?";":"")+r}}),t},i.prototype.getPrcValue=function(){if(!this.is.init)return!1;var e="";return $.each(this.o.pointers,function(t){void 0===this.value.prc||isNaN(this.value.prc)||(e+=(t>0?";":"")+this.value.prc)}),e},i.prototype.prcToValue=function(e){var t;if(this.settings.heterogeneity&&this.settings.heterogeneity.length>0)for(var n=this.settings.heterogeneity,i=0,a=this.settings.from,s=0;s<=n.length;s++){var r;r=n[s]?n[s].split("/"):[100,this.settings.to],e>=i&&e<=r[0]&&(t=a+(e-i)*(r[1]-a)/(r[0]-i)),i=r[0],a=r[1]}else t=this.settings.from+e*this.settings.interval/100;var o=this.round(t);return o},i.prototype.valueToPrc=function(e,t){var n;if(this.settings.heterogeneity&&this.settings.heterogeneity.length>0)for(var i=this.settings.heterogeneity,a=0,s=this.settings.from,r=0;r<=i.length;r++){var o;o=i[r]?i[r].split("/"):[100,this.settings.to],e>=s&&e<=o[1]&&(n=t.limits(a+(e-s)*(o[0]-a)/(o[1]-s))),a=o[0],s=o[1]}else n=t.limits(100*(e-this.settings.from)/this.settings.interval);return n},i.prototype.round=function(e){return e=Math.round(e/this.settings.step)*this.settings.step,e=this.settings.round?Math.round(e*Math.pow(10,this.settings.round))/Math.pow(10,this.settings.round):Math.round(e)},i}]).directive("attStepSlider",["$compile","$templateCache","$timeout","$window","slider","sliderConstants","utils",function(e,t,n,i,a,s,r){var o="app/scripts/ng_js_att_tpls/stepSlider/attStepSlider.html";return{restrict:"AE",require:"?ngModel",scope:{options:"=",cutOff:"="},priority:1,templateUrl:o,link:function(l,c,d,p){function u(){angular.element(i).bind("resize",function(e){l.slider.onresize()})}if(p){l.mainSliderClass="step-slider",c.after(e(t.get(o))(l,function(e,t){t.tmplElt=e})),p.$render=function(){if(p.$viewValue.split&&1===p.$viewValue.split(";").length?p.$viewValue="0;"+p.$viewValue:"number"==typeof p.$viewValue&&(p.$viewValue="0;"+p.$viewValue),(p.$viewValue||0===p.$viewValue)&&("number"==typeof p.$viewValue&&(p.$viewValue=""+p.$viewValue),l.slider)){var e="0";if(l.slider.getPointers()[0].set(e,!0),p.$viewValue.split(";")[1]){var t=p.$viewValue.split(";")[1];t.length>=4&&(t=t.substring(0,2)),l.options.realtime||l.options.callback(parseFloat(p.$viewValue.split(";")[1])),l.slider.getPointers()[1].set(p.$viewValue.split(";")[1],!0)}}};var h=function(){function e(){0!==i[0]&&i.splice(0,0,0),100!==i[i.length-1]&&i.splice(i.length,0,100)}function t(){if(i[i.length-1]!==l.options.to&&i.splice(i.length,0,l.options.to),l.options.displayScaledvalues){for(var e in i)o.push(Math.log2(i[e]));var t=o[o.length-1]}for(var e in i){var n,a=i[e]/l.options.from,s=i[e]/l.options.to;n=l.options.displayScaledvalues?o[e]/t*100:(i[e]-l.options.from)/(l.options.to-l.options.from)*100;var r=i[e];1===s?n=100:1===a&&(n=0),i[e]=n,d[""+n]=r}}l.from=""+l.options.from,l.to=""+l.options.to,l.options.calculate&&"function"==typeof l.options.calculate&&(l.from=l.options.calculate(l.from),l.to=l.options.calculate(l.to)),l.showDividers=l.options.showDividers,l.COLORS=s.COLORS,l.sliderColor=l.options.sliderColor,l.sliderColor||(l.sliderColor=s.COLORS.REGULAR);var i=l.options.scale,a=[],o=[],d={};for(var h in i){var f=i[h];a.push(f)}0===l.options.from&&100===l.options.to||!l.options.smooth?0===l.options.from&&100===l.options.to||l.options.smooth?(t(),e()):(l.options.stepWithDifferentScale=!0,t(),e()):(e(),l.options.stepWithDifferentScale=!0);var m=0;if(l.options.decimalPlaces&&(m=l.options.decimalPlaces),l.endDimension=l.options.dimension,l.options.conversion){var v=l.options.conversion.length-1,b=l.options.conversion[v].dimension,_=l.options.conversion[v].scaleFactor;l.endDimension=" "+b;var y=(l.to/_).toFixed(m);l.toStr=y}else l.toStr=l.options.to;var w=r.convertToMbpsGbps(l.toStr,l.endDimension,l.options.decimalPlaces);l.toStr=w.unitValue,l.endDimension=" "+w.unitLabel;var k={from:l.options.from,to:l.options.to,step:l.options.step,smooth:l.options.smooth,limits:!0,stepWithDifferentScale:l.options.stepWithDifferentScale,round:l.options.round||!1,value:p.$viewValue,scale:l.options.scale,nonPercentScaleArray:a,prcToValueMapper:d,firstDimension:l.options.dimension,decimalPlaces:m,conversion:l.options.conversion,realtimeCallback:l.options.callback};angular.isFunction(l.options.realtime)?k.realtimeCallback=function(e){p.$setViewValue(e),l.options.callback(e)}:k.callback=g,k.calculate=l.options.calculate||void 0,k.onstatechange=l.options.onstatechange||void 0,n(function(){var e=l.tmplElt.find("div")[7];k.conversion||(l.tmplElt.find("div").eq(6).find("span").eq(0).css("padding-left","10px"),l.tmplElt.find("div").eq(6).find("span").eq(0).css("padding-right","15px")),l.slider=angular.element.slider(c,l.tmplElt,k),angular.element(e).html(l.generateScale()),l.drawScale(e),u(),l.$watch("options.disable",function(e){l.slider&&(l.tmplElt.toggleClass("disabled",e),l.slider.disable(e))}),l.$watch("cutOff",function(e){if(e&&e>0){var t=(e-l.slider.settings.from)/(l.slider.settings.to-l.slider.settings.from);if(t=100*t,l.isCutOffSlider=!0,l.slider.settings.cutOffWidth=t,l.cutOffVal=e,l.options.conversion){var n=r.getConversionFactorValue(e,l.options.conversion,l.options.dimension);n.scaledVal=parseFloat(n.scaledVal).toFixed(l.options.decimalPlaces),l.cutOffVal=n.scaledVal+" "+n.scaledDimension}l.slider.settings.cutOffVal=e,l.slider.changeCutOffWidth(t+"%");var i=l.slider.settings.nonPercentScaleArray;for(var a in i)if(a>=1){var s=i[a-1],o=i[a];e>s&&o>=e&&(l.slider.settings.cutOffIndex=a);
-}}else l.slider.settings.cutOffVal=0})})};l.generateScale=function(){if(l.options.scale&&l.options.scale.length>0){for(var e="",t=l.options.scale,n="left",i=0;i<t.length;i++)if(0!==i&&i!==t.length-1){var a=(t[i]-l.from)/(l.to-l.from)*100;l.options.stepWithDifferentScale&&!l.options.smooth&&(a=t[i]),e+='<span style="'+n+": "+a+'%"></span>'}return e}return""},l.drawScale=function(e){angular.forEach(angular.element(e).find("ins"),function(e,t){e.style.marginLeft=-e.clientWidth/2})};var g=function(e){var t=e.split(";")[1];l.$apply(function(){p.$setViewValue(parseInt(t))}),l.options.callback&&l.options.callback(parseInt(t))};l.$watch("options",function(e){h()}),angular.element.slider=function(e,t,n){t.data("jslider")||t.data("jslider",new a(e,t,n));var i=t.data("jslider");return i}}}}}]),angular.module("att.abs.steptracker",["att.abs.transition"]).directive("steptracker",["$timeout",function(e){return{priority:100,scope:{sdata:"=sdata",cstep:"=currentStep",clickHandler:"=?",disableClick:"=?"},restrict:"EA",replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/steptracker/step-tracker.html",link:function(t,n){void 0===t.disableClick&&(t.disableClick=!1),e(function(){function e(e){return angular.element(r[e-1])}function i(){if(t.cstep>0&&t.cstep<=t.sdata.length-1&&c>0){var n=c/d*100+"%";p=e(t.cstep),p.css("width",n)}}function a(){t.cstep<=t.sdata.length&&(c=t.sdata[t.cstep-1].currentPage,d=t.sdata[t.cstep-1].totalPages)}t.cstep<1?t.cstep=1:t.cstep>t.sdata.length&&(t.cstep=t.sdata.length);var s=n.find("div"),r=[];for(var o in s)if(s.eq(o)[0]){var l=s.eq(o)[0].className;l.indexOf("track ng-scope")>-1&&r.push(s.eq(o))}var c,d,p=e(t.cstep);t.set_width=function(e){var n=100/(t.sdata.length-1)+"%";return t.sdata.length-1>e?{width:n}:void 0},t.$watch("sdata",function(){a();var e=t.cstep;if(1>c&&(c=1,1!==t.cstep&&(t.cstep--,a())),c>d){if(t.cstep>t.sdata.length-1)return void t.cstep++;c=d,i(),t.cstep++,a(),i()}1>c&&e===t.cstep&&(c=1,t.cstep>1&&(t.cstep--,t.sdata[t.cstep-1].currentPage=t.sdata[t.cstep-1].totalPages,t.sdata[t.cstep].currentPage=1)),i()},!0),t.activestep=function(e){return e===t.cstep-1},t.donesteps=function(e){return e<t.cstep-1},t.laststep=function(e){return e===t.sdata.length-1},t.isIncomplete=function(e){if(e===t.cstep-1)return!1;if(e>=0&&e<t.sdata.length-1){var n=t.sdata[e];return n.currentPage<=n.totalPages}},t.stepclick=function(e,n){if(n<t.cstep){for(var s=t.cstep-1;s>n;s--)t.sdata[s].currentPage=1;t.sdata[n].currentPage--}angular.isFunction(t.clickHandler)&&t.clickHandler(e,n),t.cstep=n+1,t.cstep<=t.sdata.length&&t.sdata[t.cstep].currentPage<1&&(t.sdata[t.cstep].currentPage=1),a(),i()}},100)}}}]).constant("timelineConstants",{STEP_TYPE:{ALERT:"alert",COMPLETED:"completed",CANCELLED:"cancelled"}}).controller("AttTimelineCtrl",["$scope","$timeout",function(e,t){function n(){function t(e,t){return e.order<t.order?-1:e.order>t.order?1:0}s.sort(t),a.sort(t),e.$parent.animate&&i(),e.$watch("trigger",function(t){t?e.resetTimeline():e.$parent.animate=!1})}function i(){function n(){for(var e in s){var t=s[e];if(e%2===0?t.unhoveredStateForBelow(.25):t.unhoveredStateForAbove(.25),t.isStop())break}}function i(e,o){return 0===e?function(){s[e+1].isStop()&&s[e+1].isCancelled()&&a[e].isCancelled(!0),a[e].animate(i(e+1,o),o)}:e===a.length-1?function(){s[0].isCurrentStep()&&s[0].isCurrentStep(!1),s[e].isStop()?(s[e-1].shrinkAnimate(r),s[e].isCurrentStep(!0)):(s[e-1].shrinkAnimate(r),a[e].animate(i(e+1,o),o)),s[e].expandedAnimate(r),t(function(){n()},500)}:e===a.length?function(){s[0].isCurrentStep()&&s[0].isCurrentStep(!1),s[e-1].shrinkAnimate(r),s[e].expandedAnimate(r),s[e].isCurrentStep(!0),t(function(){n()},500)}:function(){s[0].isCurrentStep()&&s[0].isCurrentStep(!1),s[e].isStop()?(s[e-1].shrinkAnimate(r),s[e].expandedAnimate(r),s[e].isCurrentStep(!0),t(function(){n()},500)):(s[e+1].isStop()&&s[e+1].isCancelled()&&a[e].isCancelled(!0),s[e-1].shrinkAnimate(r),a[e].animate(i(e+1,o),o),s[e].expandedAnimate(r))}}var r=.25,o=.25;"number"==typeof e.barAnimateDuration&&(o=e.barAnimateDuration);var l=i(0,o);l()}var a=[],s=[];this.numSteps=0,this.isAlternate=function(){return e.alternate},this.addTimelineBarCtrls=function(e){a.push(e)},this.addTimelineDotCtrls=function(e){s.push(e)},t(n,200)}]).directive("attTimeline",["$timeout","$compile",function(e,t){return{restrict:"EA",replace:!0,scope:{steps:"=",trigger:"=",alternate:"=",barAnimateDuration:"="},templateUrl:"app/scripts/ng_js_att_tpls/steptracker/timeline.html",controller:"AttTimelineCtrl",link:function(e,n,i,a){var s=function(){for(var t=e.steps,n=[],i=1;i<t.length;i++){var s=t[i];n.push(s)}e.middleSteps=n,a.numSteps=t.length-1};s(),e.resetTimeline=function(){e.animate=!0,t(n)(e)}}}}]).controller("TimelineBarCtrl",["$scope",function(e){this.type="timelinebar",this.order=parseInt(e.order),this.animate=function(t,n){e.loadingAnimation(t,n)},this.isCancelled=function(t){e.isCancelled=t}}]).directive("timelineBar",["animation","$progressBar",function(e,t){return{restrict:"EA",replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/steptracker/timelineBar.html",scope:{order:"@"},require:["^attTimeline","timelineBar"],controller:"TimelineBarCtrl",link:function(n,i,a,s){var r=s[0],o=s[1];r.addTimelineBarCtrls(o),n.isCompleted=!0;var l=100/r.numSteps-3;i.css("width",l+"%");var c=i.find("div").eq(0);e.set(c,{opacity:0});var d=function(t){e.set(c,{opacity:1}),e.set(c,{scaleX:t.progress(),transformOrigin:"left"})};n.loadingAnimation=t(d)}}}]).controller("TimelineDotCtrl",["$scope","$timeout","timelineConstants",function(e,t,n){this.type="dot",this.order=parseInt(e.order);var i=this;t(function(){0!==i.order&&(i.order%2!==0?e.initializeAboveForAnimation():e.initializeBelowForAnimation())}),this.expandedAnimate=function(t){e.setColor(),e.expandedAnimate(t),0===i.order||e.isStepsLessThanFive()||(i.order%2!==0?e.expandContentForAbove(t):e.expandContentForBelow(t))},this.unhoveredStateForAbove=function(t){e.unhoveredStateForAbove(t)},this.unhoveredStateForBelow=function(t){e.unhoveredStateForBelow(t)},this.shrinkAnimate=function(t){e.shrinkAnimate(t)},this.setExpanded=function(){e.setSize(3)},this.isStop=function(){return e.isStop},this.isCancelled=function(){return e.type===n.STEP_TYPE.CANCELLED},this.isAlert=function(){return e.type===n.STEP_TYPE.ALERT},this.isCurrentStep=function(t){return void 0!==t&&(e.isCurrentStep=t),e.isCurrentStep}}]).directive("timelineDot",["animation","timelineConstants",function(e,t){return{restrict:"EA",replace:!0,scope:{order:"@",title:"@",description:"@",by:"@",date:"@",type:"@"},templateUrl:"app/scripts/ng_js_att_tpls/steptracker/timelineDot.html",require:["^attTimeline","timelineDot"],controller:"TimelineDotCtrl",link:function(n,i,a,s){function r(){return n.description||n.by||n.date?!1:!0}var o=s[0],l=s[1];o.addTimelineDotCtrls(l),n.numSteps=o.numSteps+1,n.isCurrentStep=!1,n.isCompleted=!1,n.isStop=!1,(n.type===t.STEP_TYPE.ALERT||n.type===t.STEP_TYPE.CANCELLED)&&(n.isStop=!0),n.isInactive=!0;var c=i.find("div"),d=c.eq(0),p=c.eq(2),u=c.eq(3),h=c.eq(5),g=c.eq(6),f=c.eq(9);n.isStepsLessThanFive=function(){return n.numSteps<5?!0:!1},n.titleMouseover=function(e){n.isStepsLessThanFive()||r()||(1===e&&n.order%2===0&&n.expandContentForBelow(.25),2===e&&n.order%2!==0&&n.expandContentForAbove(.25))},n.titleMouseleave=function(){n.order%2===0?n.unhoveredStateForBelow(.25):n.unhoveredStateForAbove(.25)},n.initializeAboveForAnimation=function(){if(!n.isStepsLessThanFive()&&o.isAlternate()&&(e.set(g,{opacity:0}),e.set(f,{opacity:0}),!r())){var t=g[0].offsetHeight+f[0].offsetHeight;e.set(h,{top:t})}},n.expandContentForAbove=function(t){!n.isStepsLessThanFive()&&o.isAlternate()&&(e.to(h,t,{top:0}),e.to(g,t,{opacity:1}),e.to(f,t,{opacity:1}))},n.unhoveredStateForAbove=function(t){if(!n.isStepsLessThanFive()&&o.isAlternate()){e.set(g,{opacity:0}),e.set(f,{opacity:1});var i=g[0].offsetHeight;e.to(h,t,{top:i})}},n.initializeBelowForAnimation=function(){!n.isStepsLessThanFive()&&o.isAlternate()&&(e.set(g,{height:"0%",opacity:0,top:"-20px"}),e.set(f,{opacity:0}))},n.expandContentForBelow=function(t){!n.isStepsLessThanFive()&&o.isAlternate()&&(e.set(f,{opacity:1}),e.to(g,t,{height:"auto",opacity:1,top:"0px"}))},n.unhoveredStateForBelow=function(t){!n.isStepsLessThanFive()&&o.isAlternate()&&(e.to(g,t,{height:"0%",opacity:0,top:"-20px",position:"relative"}),e.set(f,{opacity:1}))},r()&&n.order%2!==0&&o.isAlternate()&&u.css("top","-47px"),n.order%2!==0&&o.isAlternate()?n.isBelowInfoBoxShown=!1:n.isBelowInfoBoxShown=!0,n.isStepsLessThanFive()&&!o.isAlternate()&&e.set(f,{marginTop:10}),e.set(d,{opacity:".5"}),e.set(p,{opacity:"0.0"}),e.set(p,{scale:.1}),0===n.order&&(e.set(p,{opacity:"1.0"}),e.set(p,{scale:1}),e.set(d,{scale:3}),n.isCurrentStep=!0,n.isInactive=!1,n.isCompleted=!0),n.setColor=function(){n.isInactive=!1,n.type===t.STEP_TYPE.CANCELLED?n.isCancelled=!0:n.type===t.STEP_TYPE.ALERT?n.isAlert=!0:n.isCompleted=!0,n.$phase||n.$apply()},n.setSize=function(t){e.set(biggerCircle,{scale:t})},n.setExpandedCircle=function(){e.set(p,{opacity:"1.0"}),e.set(p,{scale:1})},n.expandedAnimate=function(t){e.to(d,t,{scale:3}),e.set(p,{opacity:"1.0"}),e.to(p,t,{scale:1})},n.shrinkAnimate=function(t){e.to(d,t,{scale:1})}}}}]),angular.module("att.abs.table",["att.abs.utilities"]).constant("tableConfig",{defaultSortPattern:!1,highlightSearchStringClass:"tablesorter-search-highlight"}).directive("attTable",["$filter",function(e){return{restrict:"EA",replace:!0,transclude:!0,scope:{tableData:"=",viewPerPage:"=",currentPage:"=",totalPage:"=",searchCategory:"=",searchString:"="},require:"attTable",templateUrl:"app/scripts/ng_js_att_tpls/table/attTable.html",controller:["$scope",function(e){this.headers=[],this.currentSortIndex=null,this.setIndex=function(e){this.headers.push(e)},this.getIndex=function(e){for(var t=0;t<this.headers.length;t++)if(this.headers[t].headerName===e)return this.headers[t].index;return null},this.sortData=function(t,n){e.$parent.columnIndex=t,e.$parent.reverse=n,this.currentSortIndex=t,e.currentPage=1,this.resetSortPattern()},this.getSearchString=function(){return e.searchString},this.resetSortPattern=function(){for(var e=0;e<this.headers.length;e++){var t=this.headers[e];t.index!==this.currentSortIndex&&t.resetSortPattern()}}}],link:function(t,n,i,a){t.searchCriteria={},t.$watchCollection("tableData",function(e){e&&!isNaN(e.length)&&(t.totalRows=e.length)}),t.$watch("currentPage",function(e){t.$parent.currentPage=e}),t.$watch("viewPerPage",function(e){t.$parent.viewPerPage=e}),t.$watch(function(){return t.totalRows/t.viewPerPage},function(e){isNaN(e)||(t.totalPage=Math.ceil(e),t.currentPage=1)});var s=function(e){return angular.isDefined(e)&&null!==e&&""!==e?!0:void 0},r=function(e,n){if(s(e)&&s(n)){var i=a.getIndex(n);t.searchCriteria={},null!==i&&(t.searchCriteria[i]=e)}else!s(e)||angular.isDefined(n)&&null!==n&&""!==n?t.searchCriteria={}:t.searchCriteria={$:e}};t.$watch("searchCategory",function(e,n){e!==n&&r(t.searchString,e)}),t.$watch("searchString",function(e,n){e!==n&&r(e,t.searchCategory)}),t.$watchCollection("searchCriteria",function(n){t.$parent.searchCriteria=n,t.totalRows=t.tableData&&e("filter")(t.tableData,n,!1).length||0,t.currentPage=1})}}}]).directive("attTableRow",[function(){return{restrict:"EA",compile:function(e,t){if("header"===t.type)e.find("tr").eq(0).addClass("tablesorter-headerRow");else if("body"===t.type){var n=e.children();t.rowRepeat&&(t.trackBy?n.attr("ng-repeat",t.rowRepeat.concat(" | orderBy : columnIndex : reverse | filter : searchCriteria : false | attLimitTo : viewPerPage : viewPerPage*(currentPage-1) track by "+t.trackBy)):n.attr("ng-repeat",t.rowRepeat.concat(" | orderBy : columnIndex : reverse | filter : searchCriteria : false | attLimitTo : viewPerPage : viewPerPage*(currentPage-1) track by $index"))),n.attr("ng-class","{'alt-row': $even,'normal-row': $odd}"),e.append(n)}}}}]).directive("attTableHeader",["tableConfig",function(e){return{restrict:"EA",replace:!0,transclude:!0,scope:{sortable:"@",defaultSort:"@",index:"@key"},require:"^attTable",templateUrl:"app/scripts/ng_js_att_tpls/table/attTableHeader.html",link:function(t,n,i,a){var s=e.defaultSortPattern;t.headerName=n.text(),t.sortPattern=null,a.setIndex(t),t.$watch(function(){return n.text()},function(e){t.headerName=e}),t.sort=function(e){"boolean"==typeof e&&(s=e),a.sortData(t.index,s),t.sortPattern=s?"descending":"ascending",s=!s},t.$watch(function(){return a.currentSortIndex},function(e){e!==t.index&&(t.sortPattern=null)}),void 0===t.sortable||"true"===t.sortable||t.sortable===!0?t.sortable="true":(t.sortable===!1||"false"===t.sortable)&&(t.sortable="false"),"false"!==t.sortable&&("A"===t.defaultSort||"a"===t.defaultSort?t.sort(!1):("D"===t.defaultSort||"d"===t.defaultSort)&&t.sort(!0)),t.resetSortPattern=function(){s=e.defaultSortPattern}}}}]).directive("attTableBody",["$filter","$timeout","tableConfig",function(e,t,n){return{restrict:"EA",require:"^attTable",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/table/attTableBody.html",link:function(i,a,s,r){var o=n.highlightSearchStringClass,l="",c=function(t){var n=t.text();t.html(e("highlight")(n,l,o))},d=function(e){var t=e.children();if(!(t.length>0))return void c(e);for(var n=0;n<t.length;n++)d(t.eq(n))},p=function(e){for(var t=e.find("*"),n=0;n<t.length;n++)if(t.eq(n).attr("class")&&-1!==t.eq(n).attr("class").indexOf(o)){var i=t.eq(n).text();t.eq(n).replaceWith(i)}};t(function(){var e=a.children();i.$watch(function(){return r.getSearchString()},function(t){l=t,p(a),e.length>0?d(a):c(a)})},50)}}}]),angular.module("att.abs.tableMessages",["att.abs.utilities"]).constant("messageConstants",{TABLE_MESSAGE_TYPES:{noMatching:1,errorLoading:2,magnifySearch:3,isLoading:4},USER_MESSAGE_TYPES:{success:1,error:0}}).directive("attTableMessage",["messageConstants",function(e){return{restrict:"AE",replace:!0,transclude:!0,scope:{msgType:"=",onRefreshClick:"&"},templateUrl:"app/scripts/ng_js_att_tpls/tableMessages/attTableMessage.html",link:function(t){t.messageConstants=e,t.refreshAction=function(e){t.onRefreshClick(e)}}}}]).directive("attUserMessage",["messageConstants","$timeout","DOMHelper",function(e,t,n){return{restrict:"AE",replace:!0,transclude:!0,scope:{thetitle:"=",type:"=",message:"=",trigger:"="},templateUrl:"app/scripts/ng_js_att_tpls/tableMessages/attUserMessage.html",link:function(i,a){var s=void 0,r=void 0;i.messageConstants=e,t(function(){r=n.firstTabableElement(a[0])},10),i.$watch("trigger",function(){i.trigger?(s=document.activeElement,angular.isDefined(r)&&r.focus()):angular.isDefined(s)&&s.focus()})}}}]),angular.module("att.abs.tabs",["att.abs.utilities"]).directive("attTabs",function(){return{restrict:"EA",transclude:!1,replace:!0,scope:{tabs:"=title"},controller:["$scope",function(e){this.getData=function(){return e.tabs},this.onClickTab=function(t){return e.currentTab=t.url,e.currentTab},this.isActiveTab=function(t){return t===e.currentTab}}],link:function(e){for(var t=0;t<e.tabs.length;t++)e.tabs[t].selected&&e.tabs[t].url&&(e.currentTab=e.tabs[t].url)}}}).directive("floatingTabs",function(){return{require:"^attTabs",restrict:"EA",transclude:!1,replace:!0,scope:{size:"@"},templateUrl:"app/scripts/ng_js_att_tpls/tabs/floatingTabs.html",link:function(e,t,n,i){e.tabs=i.getData(),e.onClickTab=i.onClickTab,e.isActiveTab=i.isActiveTab}}}).directive("simplifiedTabs",function(){return{require:"^attTabs",restrict:"EA",transclude:!1,replace:!0,scope:{ctab:"=ngModel"},templateUrl:"app/scripts/ng_js_att_tpls/tabs/simplifiedTabs.html",link:function(e,t,n,i){e.tabs=i.getData(),e.clickTab=function(t){return e.ctab=t.id,e.ctab},e.isActive=function(t){return t===e.ctab}}}}).directive("genericTabs",function(){return{require:"^attTabs",restrict:"EA",transclude:!1,replace:!0,scope:{ctab:"=ngModel"},templateUrl:"app/scripts/ng_js_att_tpls/tabs/genericTabs.html",link:function(e,t,n,i){e.tabs=i.getData(),e.clickTab=function(t){return e.ctab=t.id,e.ctab},e.isActive=function(t){return t===e.ctab}}}}).directive("skipNavigation",function(){return{link:function(e,t,n){t.bind("click",function(){var e=angular.element(t.parent().parent().parent().parent())[0].querySelector("a.skiptoBody");angular.element(e).attr("tabindex",-1),e.focus()})}}}).directive("parentTab",[function(){return{restrict:"EA",scope:{menuItems:"=",activeSubMenu:"=",activeMenu:"="},controller:["$scope",function(e){e.megaMenu=e.menuItems,e.megaMenuTab,e.megaMenuHoverTab,this.setMenu=function(){e.menuItems=e.megaMenu,e.activeSubMenu.scroll=!1;for(var t=0;t<e.menuItems.length;t++)e.menuItems[t].active&&(e.activeMenu=e.menuItems[t]);this.setSubMenuStatus(!1),e.$apply()},this.setActiveMenu=function(){if(void 0!==e.megaMenuTab&&null!==e.megaMenuTab)e.menuItems=[e.megaMenuTab],e.megaMenuTab.scroll=!0,e.activeMenu={},e.activeSubMenu=e.megaMenuTab,this.setSubMenuStatus(!0);else{for(var t=0;t<e.menuItems.length;t++)if(e.menuItems[t].active=!1,e.menuItems[t].subItems)for(var n=0;n<e.menuItems[t].subItems.length;n++)e.menuItems[t].subItems[n].active=!1;e.menuItems=e.megaMenu}e.$apply()};var t=!1;this.setSubMenuStatus=function(e){t=e},this.getSubMenuStatus=function(){return t},this.setActiveMenuTab=function(t){e.megaMenuTab=t},this.setActiveMenuHoverTab=function(t){e.megaMenuHoverTab=t},this.setActiveSubMenuTab=function(){e.megaMenuTab=e.megaMenuHoverTab},this.resetMenuTab=function(){e.megaMenuTab=void 0},this.clearSubMenu=function(){e.$evalAsync(function(){e.megaMenuTab=void 0,e.megaMenuHoverTab=void 0})}}]}}]).directive("parentmenuTabs",[function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{megaMenu:"@",menuItems:"="},controller:["$scope",function(e){this.getMenu=function(){return e.menuItems},this.setMenu=function(t){e.menuItems=t}}],templateUrl:"app/scripts/ng_js_att_tpls/tabs/parentmenuTab.html"}}]).directive("menuTabs",["$window","$document","events","keymap",function(e,t,n,i){return{restrict:"EA",transclude:!0,replace:!0,require:["^?parentTab","^?parentmenuTabs"],scope:{activeMenu:"=",menuItem:"=",subMenu:"@",subItemActive:"@",tabName:"=?",tabUrl:"=?"},templateUrl:function(e,t){return t.megaMenu?"app/scripts/ng_js_att_tpls/tabs/menuTab.html":"app/scripts/ng_js_att_tpls/tabs/submenuTab.html"},link:function(e,a,s,r){var o=r[0],l=r[1];e.clickInactive=!0,e.showHoverChild=function(t){e.clickInactive=!1,e.hoverChild=r[0].getSubMenuStatus(),"mouseover"===t.type&&r[0].getSubMenuStatus()},e.showChildren=function(t){e.parentMenuItems=l.getMenu();for(var n=0;n<e.parentMenuItems.length;n++){if(e.parentMenuItems[n].active=!1,e.parentMenuItems[n].subItems)for(var i=0;i<e.parentMenuItems[n].subItems.length;i++)e.parentMenuItems[n].subItems[i].active=!1;e.clickInactive=!0}e.menuItem.active=!0,e.activeMenu=e.menuItem,t.stopPropagation()},e.$watch("subItemActive",function(t){"true"===t&&"true"===e.subMenu&&o.setActiveMenuHoverTab(e.menuItem)}),e.showMenuClick=function(t){o.setActiveMenuTab(e.menuItem),t.stopPropagation()},e.showSubMenuClick=function(e){o.setActiveSubMenuTab(),e.stopPropagation()},e.resetMenu=function(e){o.resetMenuTab(),e.stopPropagation()},t.bind("scroll",function(){}),a.bind("keydown",function(t){switch(t.keyCode||(t.keyCode=t.which),t.keyCode!==i.KEY.TAB&&(n.preventDefault(t),n.stopPropagation(t)),t.keyCode){case i.KEY.ESC:var s;a.attr("mega-menu")?"item"===a.attr("menu-item")&&(s=angular.element(a.parent().parent().parent().parent())[0].querySelector("a.skiptoBody"),angular.element(s).attr("tabindex",-1),s.focus()):"true"===a.attr("sub-menu")?(s=angular.element(a.parent().parent().parent().parent().parent().parent().parent())[0].querySelector("a.skiptoBody"),angular.element(s).attr("tabindex",-1),s.focus()):void 0===a.attr("sub-menu")&&(s=angular.element(a.parent().parent().parent().parent().parent().parent().parent().parent().parent().parent())[0].querySelector("a.skiptoBody"),angular.element(s).attr("tabindex",-1),s.focus());break;case i.KEY.RIGHT:if(a.attr("mega-menu")){if("item"===a.attr("menu-item")){var r=angular.element(a)[0];if(r.nextElementSibling)null==r.nextElementSibling.querySelector("span")||r.nextElementSibling.querySelector("span").focus();else{do{if(!r||!r.nextSibling)break;r=r.nextSibling}while(r&&"LI"!==r.tagName);r&&(null===r.querySelector("span")||r.querySelector("span").focus()),n.preventDefault(t),n.stopPropagation(t)}}}else{var r=angular.element(a)[0];if("true"===a.attr("sub-menu")){if(null===r.nextElementSibling)break;if(r.nextElementSibling)r.nextElementSibling.querySelector("a").focus();else{do{if(!r||!r.nextSibling)break;r=r.nextSibling}while(r&&"LI"!==r.tagName);r&&(null==r.querySelector("a")||r.querySelector("a").focus()),n.preventDefault(t),n.stopPropagation(t)}}else if(void 0===a.attr("sub-menu")){if(null===r.nextElementSibling)break;if(r.nextElementSibling)r.nextElementSibling.querySelector("a").focus();else{do{if(!r||!r.nextSibling)break;r=r.nextSibling}while(r&&"LI"!==r.tagName);r&&(null==r.querySelector("a")||r.querySelector("a").focus())}}}break;case i.KEY.DOWN:if(a.attr("mega-menu"))angular.element(a)[0].querySelectorAll(".megamenu__items")[0].querySelector("a").focus();else if(void 0===a.attr("sub-menu")){var r=document.activeElement;if(null===r.nextElementSibling)break;if(r.nextElementSibling)r.nextElementSibling.focus();else{do{if(!r||!r.nextSibling)break;r=r.nextSibling}while(r&&"A"!==r.tagName);null!==r.attributes&&r.focus(),n.stopPropagation(t)}}else if("true"===a.attr("sub-menu")){var l=angular.element(a)[0].querySelector("span").querySelector("a");if(null===l)break;l.focus()}break;case i.KEY.LEFT:if(a.attr("mega-menu")){if("item"===a.attr("menu-item")){var r=angular.element(a)[0];if(r.previousElementSibling)null===r.previousElementSibling.querySelector("span")||r.previousElementSibling.querySelector("span").focus();else{do{if(!r||!r.previousSibling)break;r=r.previousSibling}while(r&&"LI"!==r.tagName);r&&(null===r.querySelector("span")||r.querySelector("span").focus()),n.preventDefault(t),n.stopPropagation(t)}}}else{var r=angular.element(a)[0];if("true"===a.attr("sub-menu")){if(null===r.previousElementSibling)break;if(r.previousElementSibling)r.previousElementSibling.querySelector("a").focus();else{do{if(!r||!r.previousSibling)break;r=r.previousSibling}while(r&&"LI"!==r.tagName);r&&(null==r.querySelector("a")||r.querySelector("a").focus()),n.preventDefault(t),n.stopPropagation(t)}}else if(void 0===a.attr("sub-menu")){if(null===r.previousElementSibling)break;if(r.previousElementSibling)r.previousElementSibling.querySelector("a").focus();else{do{if(!r||!r.previousSibling)break;r=r.previousSibling}while(r&&"LI"!==r.tagName);r&&(null==r.querySelector("a")||r.querySelector("a").focus())}}}break;case i.KEY.UP:if("true"===a.attr("sub-menu")){var r=document.activeElement,c=angular.element(a.parent().parent().parent().parent())[0].querySelector("span");c.focus(),o.clearSubMenu(),e.menuItem.active=!1;break}if(void 0===a.attr("sub-menu")){var r=document.activeElement,c=angular.element(a.parent().parent().parent().parent())[0].querySelector("a");if(document.activeElement===angular.element(r).parent().parent()[0].querySelectorAll("a")[0]){c.focus();break}if(r.previousElementSibling){r.previousElementSibling;null!=r.previousElementSibling?r.previousElementSibling.focus():c.focus()}else{do{if(!r||!r.previousSibling)break;r=r.previousSibling}while(r&&"A"!==r.tagName);r&&3!==r.nodeType&&r.focus(),n.preventDefault(t),n.stopPropagation(t)}break}}})}}}]),angular.module("att.abs.tagBadges",[]).directive("tagBadges",["$parse","$timeout",function(e,t){return{restrict:"EA",replace:!1,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/tagBadges/tagBadges.html",scope:{styleType:"@",onClose:"&"},link:function(n,i,a){n.isSmall=!1,n.isIcon=!1,n.isColor=!1,n.display=!0,n.isClosable=!1,n.isHighlight=!1,n.customColor=!1,""===a.small&&(n.isSmall=!0),"icon"===n.styleType?n.isIcon=!0:"color"===n.styleType&&(n.isColor=!0,void 0!==a.color&&""!==a.color&&(n.customColor=!0,a.$observe("color",function(e){n.border_type_borderColor=e,n.background_type_backgroundColor=e,n.background_type_borderColor=e}))),n.activeHighlight=function(e){n.customColor&&(e?n.isHighlight=!0:n.isHighlight=!1)},""===a.closable&&(n.isClosable=!0,n.closeMe=function(){n.display=!1,t(function(){i.attr("tabindex","0"),i[0].focus(),i.bind("blur",function(){i.remove()})}),a.onClose&&(n.onClose=e(n.onClose),n.onClose())})}}}]),angular.module("att.abs.textOverflow",[]).constant("textDefaultOptions",{width:"50%"}).directive("attTextOverflow",["textDefaultOptions","$compile",function(e,t){return{restrict:"A",link:function(n,i,a){var s=i.text();if(i.addClass("text-ellipsis"),a.$observe("attTextOverflow",function(t){t?i.css({width:t}):i.css({width:e.width})}),!i.attr("tooltip")){i.attr("tooltip",s),i.attr("tooltip-placement","above");var r=angular.element(i);t(r)(n)}}}}]),angular.module("att.abs.toggle",["angular-gestures","att.abs.position"]).directive("attToggleTemplate",["$compile","$log","$position",function(e,t,n){return{restrict:"A",require:"ngModel",transclude:!0,scope:{modelVal:"=ngModel"},templateUrl:"app/scripts/ng_js_att_tpls/toggle/demoToggle.html",link:function(e,t,i){e.initialDragPosition=0;var a=0,s=n.offset(t.children().eq(1).children().eq(0)).width-1,r=function(){e.attrValue===i.ngTrueValue||e.attrValue?e.modelVal=!1:e.modelVal=!0};e.updateModel=function(e){1!==a&&(r(),a=0),e.preventDefault()},e.drag=function(i){if(a=1,"dragstart"===i.type)e.initialDragPosition=n.position(t.children().eq(1)).left,t.children().eq(1).addClass("dragging");else if("drag"===i.type){var o=Math.min(0,Math.max(e.initialDragPosition+i.gesture.deltaX,-s));t.children().eq(1).css({left:o+"px"})}else if("dragend"===i.type){var l=n.position(t.children().eq(1)).left>-1*s/2;t.children().eq(1).removeClass("dragging"),TweenMax.to(t.children().eq(1),.1,{left:l?0:-1*s,ease:Power4.easeOut,onComplete:function(){t.children().eq(1).css({left:""})}}),(l||!l&&"left"===i.gesture.direction)&&r(),a=0}return!1},e.directiveValue=i.attToggleTemplate,e.on=i.trueValue,e.off=i.falseValue;var o=-1*s+"px";e.$watch("modelVal",function(n){if(e.attrValue=n,n===i.ngTrueValue||n){t.children().eq(1).css({left:"0px"}),t.addClass("att-checkbox--on");var s=t.find("div").find("div").eq(1);s.attr("aria-checked",!0),a=0}else{t.children().eq(1).css({left:o}),t.removeClass("att-checkbox--on");var s=t.find("div").find("div").eq(1);s.attr("aria-checked",!1),a=0}t.children().eq(1).css({left:""})})}}}]).directive("attToggleMain",["$compile",function(e){return{restrict:"A",require:"ngModel",transclude:!0,replace:!0,scope:{modelValue:"=ngModel",trueValue:"=ngTrueValue",falseValue:"=ngFalseValue"},link:function(t,n,i){var a="",s="";n.removeAttr("att-toggle-main"),t.on=i.ngTrueValue,t.off=i.ngFalseValue,t.largeValue=i.attToggleMain,angular.isDefined(i.ngTrueValue)&&(a+=' true-value="{{on}}" false-value="{{off}}"'),void 0!==t.largeValue&&(s+=' ="{{largeValue}}"'),n.css({display:"none"});var r=angular.element('<div class="att-switch att-switch-alt" ng-class="{\'large\' : largeValue == \'large\'}" ng-model="modelValue"'+a+" att-toggle-template"+s+">"+n.prop("outerHTML")+"</div>");r=e(r)(t),n.replaceWith(r)}}}]),angular.module("att.abs.treeview",[]).directive("treeView",function(){return{restrict:"A",link:function(e,t){function n(){s.reversed()?s.play():s.reverse()}function i(e){e.stopPropagation(),void 0!==angular.element(e.target).attr("tree-view")&&(t.hasClass("minus")?t.removeClass("minus"):t.addClass("minus"),n())}var a=t.children("ul li"),s=TweenMax.from(a,.2,{display:"none",paused:!0,reversed:!0});t.attr("tabindex","0"),t.on("click",function(e){i(e)}),t.on("keypress",function(e){var t=e.keyCode?e.keyCode:e.charCode,n=[13,32];n.length>0&&t&&n.indexOf(t)>-1&&(i(e),e.preventDefault())})}}}),angular.module("att.abs.typeAhead",["att.abs.tagBadges"]).directive("focusMe",["$timeout","$parse",function(e,t){return{link:function(n,i,a){var s=t(a.focusMe);n.$watch(s,function(t){t&&e(function(){i[0].focus(),n.inputActive=!0})}),i.bind("blur",function(){s.assign(n,!1),n.inputActive=!1,n.$digest()})}}}]).directive("typeAhead",["$timeout","$log",function(e,t){return{restrict:"EA",templateUrl:"app/scripts/ng_js_att_tpls/typeAhead/typeAhead.html",replace:!0,scope:{items:"=",title:"@?",titleName:"@",subtitle:"@",model:"=",emailIdList:"=",emailMessage:"="},link:function(n,i){!angular.isDefined(n.titleName)&&angular.isDefined(n.title)&&e(function(){n.titleName=n.title,t.warn("title attribute is deprecated and title-name attribute is used instead as it is conflicting with html title attribute")}),n.lineItems=[],n.filteredListLength=-1,n.filteredList=[],n.setFocus=function(){n.clickFocus=!0},n.setFocus(),n.handleSelection=function(e,t){n.lineItems.push(e),n.emailIdList.push(t),n.model="",n.current=0,n.selected=!0,n.clickFocus=!0},n.theMethodToBeCalled=function(t){var i=n.lineItems.slice();n.emailIdList.splice(t,1),i.splice(t,1),e(function(){n.lineItems=[],n.$apply(),n.lineItems=n.lineItems.concat(i)})},n.current=0,n.selected=!0,n.isCurrent=function(e,t,i,a){return n.current===e&&(n.itemName=t,n.itemEmail=i),n.dropdownLength=a,n.current===e},n.setCurrent=function(e){n.current=e},n.selectionIndex=function(e){38===e.keyCode&&n.current>0?(e.preventDefault(),n.current=n.current-1,n.isCurrent(n.current)):9===e.keyCode?n.selected=!0:13===e.keyCode&&n.dropdownLength!==n.items.length?n.handleSelection(n.itemName,n.itemEmail):8===e.keyCode&&0===n.model.length||46===e.keyCode?n.theMethodToBeCalled(n.lineItems.length-1):40===e.keyCode&&n.current<n.dropdownLength-1&&(e.preventDefault(),n.current=n.current+1,n.isCurrent(n.current)),i[0].querySelector(".list-scrollable").scrollTop=35*(n.current-1)}}}}]),angular.module("att.abs.verticalSteptracker",["ngSanitize"]).directive("verticalSteptracker",[function(){return{restrict:"EA",transclude:!0,replace:!1,scope:{},template:'<div class="vertical-nav"><ul ng-transclude arial-label="step list" role="presentation" class="tickets-list-height"></ul></div>',link:function(){}}}]).directive("verticalSteptrackerStep",[function(){return{restrict:"EA",transclude:!0,replace:!1,scope:{type:"=type",id:"=id"},templateUrl:"app/scripts/ng_js_att_tpls/verticalSteptracker/vertical-step-tracker.html",link:function(){}}}]).directive("attAbsLink",[function(){return{restrict:"EA",transclude:!0,replace:!1,template:'<span ng-transclude class="view-log"></span>'}}]),angular.module("att.abs.videoControls",[]).config(["$compileProvider",function(e){e.aHrefSanitizationWhitelist(/^\s*(https?|javascript):/)}]).directive("videoControls",[function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/videoControls/videoControls.html"}}]).directive("photoControls",[function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/videoControls/photoControls.html",scope:{prevLink:"@",nextLink:"@"},link:function(e,t,n){n.prevLink||(e.prevLink="javascript:void(0)"),n.nextLink||(e.nextLink="javascript:void(0)"),e.links={prevLink:e.prevLink,nextLink:e.nextLink}}}}]),angular.module("app/scripts/ng_js_att_tpls/accordion/accordion.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/accordion/accordion.html",'<div class="att-accordion__group tabpanel" ng-class="{\'att-accordion__group att-accordion__group--open\':isOpen,\'att-accordion__group\':!isOpen }">\n <a ng-show="showicon" \n class="toggle-header att-accordion__heading att-accordion__toggle noafter" \n aria-selected="{{focused}}" \n aria-controls="panel{{index}}" \n aria-expanded="{{isOpen}}" \n ng-class="{focus: focused, selected: focused}" \n role="tab" \n ng-click="toggle()" \n accordion-transclude="heading" \n style="cursor:pointer; text-decoration:none">\n <span href="#"><i class={{headingIconClass}}></i>&nbsp;&nbsp;{{heading}}</span>\n <i i ng-show = \'childLength > 0\' ng-class="{\'icon-chevron-down\':!isOpen,\'icon-chevron-up\':isOpen }" class="pull-right"></i>\n </a>\n <div ng-show="!showicon" \n ng-class="{focus: focused, selected: focused}" \n style="text-decoration:none" \n accordion-transclude="heading" \n role="tab" \n aria-expanded="{{isOpen}}"\n aria-selected="{{focused}}" \n aria-controls="panel{{index}}" \n class="toggle-header att-accordion__heading att-accordion__toggle noafter">\n <span>{{heading}}</span>\n </div> \n <div aria-label="{{heading}}" \n aria-hidden="{{!isOpen}}" \n role="tabpanel" \n collapse="!isOpen" \n class="att-accordion__body" \n id="panel{{index}}" \n ng-transclude>\n </div>\n <div class="att-accordion__bottom--border"></div> \n</div> ');
-}]),angular.module("app/scripts/ng_js_att_tpls/accordion/accordion_alt.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/accordion/accordion_alt.html",'<div class="att-accordion__group tabpanel" ng-class="{\'att-accordion__group att-accordion__group--open\':isOpen,\'att-accordion__group\':!isOpen }">\n <a class="toggle-header att-accordion__heading att-accordion__toggle" \n aria-selected="{{focused}}" \n aria-controls="panel{{index}}" \n ng-class="{focus: focused, selected: focused}" \n aria-expanded="{{isOpen}}" \n role="tab" \n ng-click="toggle()" \n accordion-transclude="heading"> \n </a>\n <span>{{heading}}</span>\n <div aria-label="{{heading}}" \n aria-hidden="{{!isOpen}}" \n role="tabpanel" \n collapse="!isOpen" \n class="att-accordion__body" \n id="panel{{index}}" \n ng-transclude>\n </div>\n</div> ')}]),angular.module("app/scripts/ng_js_att_tpls/accordion/attAccord.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/accordion/attAccord.html","<div ng-transclude></div>")}]),angular.module("app/scripts/ng_js_att_tpls/accordion/attAccordBody.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/accordion/attAccordBody.html","<div ng-transclude></div>")}]),angular.module("app/scripts/ng_js_att_tpls/accordion/attAccordHeader.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/accordion/attAccordHeader.html",'<div ng-click="clickFunc()">\n <div ng-transclude>\n <i class="icon-chevron-down"></i>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/alert/alert.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/alert/alert.html","<div class=\"alert\" ng-class=\"{'alert-success': alertType === 'success', 'alert-warning': alertType === 'warning', 'alert-error': alertType === 'error', 'alert-info': alertType === 'info', 'alert-inplace': showTop !== 'true'}\" ng-show=\"showAlert\" ng-style=\"cssStyle\">\n <div class=\"container\">\n"+' <a href="javascript:void(0)" alt="close" class="close-role" ng-click="close()" tabindex="0" att-accessibility-click="32,13">Dismiss <i class="icon-circle-action-close"></i></a>\n <span ng-transclude> </span>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/boardStrip/attAddBoard.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/boardStrip/attAddBoard.html",'<div tabindex="0" att-accessibility-click="13,32" ng-click="addBoard()" aria-label="Add Board" class="boardstrip-item--add">\n <i aria-hidden="true" class="icon-add centered"></i>\n <br/>\n <div class="centered">Add board</div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/boardStrip/attBoard.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/boardStrip/attBoard.html",'<li att-board-navigation tabindex="0" aria-label="{{boardLabel}}" att-accessibility-click="13,32" ng-click="selectBoard(boardIndex)" class="board-item" ng-class="{\'selected\': getCurrentIndex()===boardIndex}">\n <div ng-transclude></div>\n <div class="board-caret" ng-if="getCurrentIndex()===boardIndex">\n <div class="board-caret-indicator"></div>\n <div class="board-caret-arrow-up"></div>\n </div>\n</li>')}]),angular.module("app/scripts/ng_js_att_tpls/boardStrip/attBoardStrip.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/boardStrip/attBoardStrip.html",'<div class="att-boardstrip">\n <div class="boardstrip-reel">\n <div class="prev-items" ng-if="isPrevBoard()">\n <i tabindex="0" aria-label="Scroll Boardstrip Left" att-accessibility-click="13,32" ng-click="prevBoard()" class="arrow icon-arrow-left-circle"></i>\n </div>\n <div att-add-board on-add-board="onAddBoard()"></div>\n <div class="board-viewport"><ul role="presentation" class="boardstrip-container" ng-transclude></ul></div>\n <div class="next-items" ng-if="isNextBoard()">\n <i tabindex="0" aria-label="Scroll Boardstrip Right" att-accessibility-click="13,32" ng-click="nextBoard()" class="arrow icon-arrow-right-circle"></i>\n </div>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/buttons/buttonDropdown.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/buttons/buttonDropdown.html",'<div class="att-btn-dropdown">\n <div class="buttons-dropdown--small btn-group" ng-class="{\'open\': isOpen}" att-accessibility-click="13,32" ng-click="toggle()">\n \n <button role="menu" class="button button--secondary button--small buttons-dropdown__drop dropdown-toggle" ng-if="type===\'dots\'" alt="Click for Options" >\n \n <div class="circle"></div>\n <div class="circle"></div>\n <div class="circle"></div>\n </button>\n <button role="menu" class="button button--secondary button--small buttons-dropdown__drop dropdown-toggle ng-isolate-scope actions-title" ng-if="type === \'actions\'" alt="Actions dropdown Buttons">Actions</button>\n \n\n'+" <ul ng-class=\"{'dropdown-menu dots-dropdwn': type==='dots', 'dropdown-menu actions-dropdwn': type === 'actions'}\" ng-transclude></ul>\n </div>\n \n</div>\n")}]),angular.module("app/scripts/ng_js_att_tpls/colorselector/colorselector.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/colorselector/colorselector.html",'<div class="att-radio att-color-selector__item" \n ng-class="{\'att-radio--on\': (iconColor === selected)}">\n <div class="att-radio__indicator" tabindex="0" att-accessibility-click="32,13" ng-click="selectedcolor(iconColor)" \n ng-style="applycolor" ng-transclude></div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/datepicker/dateFilter.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/datepicker/dateFilter.html",'<div class="calendar" ng-class="{\'monthpicker\':mode === 1}">\n <div class="select2-container" ng-class="{\'select2-container-active select2-dropdown-open\': showDropdownList}" style="width: 100%; z-index:0">\n <a tabindex="0" id="select2-choice" class="select2-choice" href="javascript:void(0)" att-element-focus="focusInputButton" ng-show="!showCalendar" att-accessibility-click="13,32" ng-click="showDropdown()" ng-blur="focusInputButton=false">\n <span class="select2-chosen" ng-show="!showCalendar">{{selectedOption}}</span>\n <input type="text" ng-show="showCalendar" ng-blur="untrackInputChange($event)" att-input-deny="[^0-9\\/-]" maxlength="{{maxLength}}" ng-model="selectedOption" aria-labelledby="select2-choice" ng-change="getDropdownText()" />\n <abbr class="select2-search-choice-close"></abbr>\n <span ng-class="{\'select2-arrow\': mode !== 1, \'calendar-icon\': mode === 1}"><b></b></span>\n </a>\n <a id="select2-chosen" class="select2-choice" href="javascript:void(0)" ng-show="showCalendar">\n <span class="select2-chosen" ng-show="!showCalendar">{{selectedOption}}</span>\n <input type="text" ng-show="showCalendar" ng-blur="untrackInputChange($event)" att-input-deny="[^0-9\\/-]" maxlength="{{maxLength}}" ng-model="selectedOption" aria-labelledby="select2-chosen" ng-change="getDropdownText()" />\n <abbr class="select2-search-choice-close"></abbr>\n <span tabindex="0" ng-class="{\'select2-arrow\': mode !== 1, \'calendar-icon\': mode === 1}" att-accessibility-click="13,32" ng-click="showDropdown()"><b></b></span>\n </a>\n </div>\n <div class="select2-drop select2-drop-active select2-display-none" ng-style="{display: (showDropdownList && \'block\') || \'none\', \'border-radius\': showCalendar && \'0 0 0 6px\'}" style="width: 100%">\n <div id="dateFilterList" att-scrollbar ><ul class="select2-results options" ng-transclude></ul></div>\n <ul class="select2-results sttings" style="margin-top:0px">\n <li tabindex="0" class="select2-result select2-highlighted greyBorder" ng-class="{\'select2-result-current\': checkCurrentSelection(\'Custom Single Date\')}" att-accessibility-click="13,32" ng-click="selectAdvancedOption(\'Custom Single Date\')">\n <div class="select2-result-label" ng-if="mode !== 1">Custom Single Date...</div>\n <div class="select2-result-label" ng-if="mode === 1">Custom single month...</div>\n </li>\n <li tabindex="0" class="select2-result select2-highlighted" ng-class="{\'select2-result-current\': checkCurrentSelection(\'Custom Range\')}" att-accessibility-click="13,32" ng-click="selectAdvancedOption(\'Custom Range\')">\n <div class="select2-result-label" ng-if="mode !== 1">Custom Range...</div>\n <div class="select2-result-label" ng-if="mode === 1">Custom month range...</div>\n </li>\n <li class="select2-result select2-highlighted btnContainer" ng-style="{display: (showCalendar && \'block\') || \'none\'}">\n <button tabindex="0" ng-blur="resetFocus($event)" att-element-focus="focusApplyButton" att-button="" btn-type="{{applyButtonType}}" size="small" att-accessibility-click="13,32" ng-click="apply()">Apply</button>\n <button tabindex="0" att-button="" btn-type="secondary" size="small" att-accessibility-click="13,32" ng-click="cancel()">Cancel</button>\n <div>\n <a tabindex="0" href="javascript:void(0)" ng-if="mode !== 1" style="text-decoration:underline;" att-accessibility-click="13,32" ng-click="clear()">Clear Dates</a>\n <a tabindex="0" href="javascript:void(0)" ng-if="mode === 1" style="text-decoration:underline;" att-accessibility-click="13,32" ng-click="clear()">Clear Months</a>\n </div>\n </li>\n </ul>\n </div>\n <div class="datepicker-wrapper show-right" ng-style="{display: (showCalendar && \'block\') || \'none\'}">\n <span datepicker ng-blur="resetFocus($event)" att-element-focus="focusSingleDateCalendar" ng-show="checkCurrentSelection(\'Custom Single Date\')"></span>\n <span datepicker ng-blur="resetFocus($event)" att-element-focus="focusRangeCalendar" ng-show="checkCurrentSelection(\'Custom Range\')"></span>\n </div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/datepicker/dateFilterList.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/datepicker/dateFilterList.html",'<li ng-click="!disabled && selectOption(fromDate,toDate,caption)" att-accessibility-click="13,32" ng-class="{\'select2-result-current\': checkCurrentSelection(caption)}" class="select2-result select2-highlighted ng-scope" tabindex="{{!disabled?\'0\':\'-1\'}}">\n <div class="select2-result-label" ng-class="{\'disabled\':disabled}" ng-transclude></div>\n</li>')}]),angular.module("app/scripts/ng_js_att_tpls/datepicker/datepicker.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/datepicker/datepicker.html",'<div id="datepicker" class="datepicker" ng-class="{\'monthpicker\': mode === 1}" aria-hidden="false" role="dialog" tabindex="-1" aria-labelledby="datepicker">\n <div class="datepicker-days" style="display: block;">\n <table class="table-condensed">\n <thead>\n <tr>\n <th id="month" tabindex="0" class="datepicker-switch" colspan="{{(mode !== 1) && (currentRows[0].length - 2) || (currentRows[0].length)}}" style="text-align:left">{{currentTitle}}</th>\n <th ng-if="mode !== 1" id="prev" aria-hidden="{{!disablePrev && \'false\'|| \'true\'}}" tabindex="{{!disablePrev && \'0\'|| \'-1\'}}" att-accessibility-click="13,32" ng-click="!disablePrev && move(-1)">\n <div class="icons-list" data-size="medium"><i class="icon-arrow-left-circle" ng-class="{\'disabled\': disablePrev}" alt="Left Arrow"></i>\n </div><span class="hidden-spoken">Previous Month</span>\n </th>\n <th ng-if="mode !== 1" id="next" aria-hidden="{{!disableNext && \'false\'|| \'true\'}}" tabindex="{{!disableNext && \'0\'|| \'-1\'}}" att-accessibility-click="13,32" ng-click="!disableNext && move(1)">\n <div class="icons-list" data-size="medium"><i class="icon-arrow-right-circle" ng-class="{\'disabled\': disableNext}" alt="Right Arrow"></i>\n </div><span class="hidden-spoken">Next Month</span>\n </th>\n </tr>\n <tr ng-if="labels.length > 0">\n <th tabindex="-1" class="dow weekday" ng-repeat="label in labels"><span>{{label.pre}}</span></th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td id="datepickerBody" att-scrollbar colspan="{{currentRows[0].length}}" style="padding: 0px;" headers="">\n <table ng-class="{\'table-condensed\': mode === 0, \'monthtable-condensed\': mode === 1}" style="padding: 0px;">\n <thead class="hidden-spoken">\n <tr ng-show="labels.length > 0">\n <th id="{{label.post}}" tabindex="-1" class="dow weekday" ng-repeat="label in labels"></th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="row in currentRows">\n <td headers="{{(mode === 0) && dt.header || \'month\'}}" att-element-focus="dt.focused" aria-hidden="{{(!dt.oldMonth && !dt.nextMonth && !dt.disabled && \'false\') || \'true\'}}" tabindex="{{(!dt.oldMonth && !dt.nextMonth && !dt.disabled && \'0\') || \'-1\'}}" ng-repeat="dt in row" class="days" ng-class="{\'active\': dt.selected || dt.from || dt.to, \'from\': dt.from, \'to\': dt.to, \'range\': dt.dateRange, \'prev-month \': dt.oldMonth, \'next-month\': dt.nextMonth, \'disabled\': dt.disabled, \'today\': dt.today, \'weekend\': dt.weekend}" ng-click="!dt.selected && !dt.from && !dt.to && !dt.disabled && !dt.oldMonth && !dt.nextMonth && select(dt.date)" att-accessibility-click="13,32" aria-label="{{dt.date | date : \'EEEE, MMMM d\'}}"><span class="day">{{dt.label}}</span></td>\n </tr>\n <tr ng-if="mode === 1" class="divider"><td colspan="{{nextRows[0].length}}"><hr></td></tr>\n <tr>\n <th id="month" tabindex="0" class="datepicker-switch internal" colspan="{{nextRows[0].length}}" style="text-align:left">{{nextTitle}}</th>\n </tr>\n <tr ng-repeat="row in nextRows">\n'+" <td headers=\"{{(mode === 0) && dt.header || 'month'}}\" att-element-focus=\"dt.focused\" aria-hidden=\"{{(!dt.oldMonth && !dt.nextMonth && !dt.disabled && 'false') || 'true'}}\" tabindex=\"{{(!dt.oldMonth && !dt.nextMonth && !dt.disabled && '0') || '-1'}}\" ng-repeat=\"dt in row\" class=\"days\" ng-class=\"{'active': dt.selected || dt.from || dt.to, 'from': dt.from, 'to': dt.to, 'range': dt.dateRange, 'prev-month ': dt.oldMonth, 'next-month': dt.nextMonth, 'disabled': dt.disabled, 'today': dt.today, 'weekend': dt.weekend}\" ng-click=\"!dt.selected && !dt.from && !dt.to && !dt.disabled && !dt.oldMonth && !dt.nextMonth && select(dt.date)\" att-accessibility-click=\"13,32\" aria-label=\"{{dt.date | date : 'EEEE, MMMM d'}}\"><span class=\"day\">{{dt.label}}</span></td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n</div>\n")}]),angular.module("app/scripts/ng_js_att_tpls/datepicker/datepickerPopup.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/datepicker/datepickerPopup.html",'<div class="calendar">\n <div class="box" ng-class="{\'active\': isOpen}">\n <span ng-transclude></span>\n <i class="calendar-icon" tabindex="0" att-accessibility-click="13,32" ng-click="toggle()" alt="Calendar Icon"></i>\n </div>\n <div class="datepicker-wrapper datepicker-wrapper-display-none" ng-style="{display: (isOpen && \'block\') || \'none\'}" aria-hidden="false" role="dialog" tabindex="-1">\n <span datepicker></span>\n </div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/dividerLines/dividerLines.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/dividerLines/dividerLines.html",'<div class="divider-container" ng-class="{\'divider-container-light\': lightContainer}">\n <hr ng-class="{\'divider-light\': lightContainer}">\n</div>\n\n')}]),angular.module("app/scripts/ng_js_att_tpls/dragdrop/fileUpload.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/dragdrop/fileUpload.html",'<label class="fileContainer"><span ng-transclude></span><input type="file" att-file-change></label>')}]),angular.module("app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlert.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlert.html",'<div class="form-field" ng-class="{\'error\': errorMessage, \'warning\': warningMessage}">\n <label class="form-field__label" ng-class="{\'form-field__label--show\': showLabel, \'form-field__label--hide\': hideLabel}"></label>\n <div class="form-field-input-container" ng-transclude></div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlertPrv.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlertPrv.html",'<div class="form-field" ng-class="{\'error\':hideErrorMsg}">\n <div class="form-field-input-container" ng-transclude></div>\n <div class="form-field__message error" type="error" ng-show="hideErrorMsg" >\n <i class="icon-info-alert"></i>{{errorMessage}}\n </div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/formField/creditCardImage.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/formField/creditCardImage.html",'<span class="css-sprite pull-right">\n<span class="hidden-spoken">We accept</span>\n<ul class="{{newValCCI}}">\n <li class="css-sprite-mc"><span class="hidden-spoken">MasterCard</span></li>\n <li class="css-sprite-visa"><span class="hidden-spoken">Visa</span></li>\n <li class="css-sprite-amex"><span class="hidden-spoken">American Express</span></li>\n <li class="css-sprite-discover"><span class="hidden-spoken">Discover</span></li> \n</ul>\n</span>\n<label for="ccForm.card" class="pull-left">Card number</label>')}]),angular.module("app/scripts/ng_js_att_tpls/formField/cvcSecurityImg.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/formField/cvcSecurityImg.html",'<div>\n<button type="button" class="btn btn-alt btn-tooltip" style="padding-top:16px" title="Help"><i class="hidden-spoken">Help</i></button>\n<div class="helpertext" role="tooltip">\n<div class="popover-title"></div>\n<div class="popover-content">\n <p class="text-legal cvc-cc">\n <img ng-src="images/{{newValI}}.png" alt="{{newValIAlt}}">\n </p>\n</div>\n</div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/hourpicker/hourpicker.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/hourpicker/hourpicker.html",'<div class="hourpicker">\n <div class="dropdown-width">\n <div ng-model="showlist" class="select2-container topDropDownWidth" ng-class="{\'select2-dropdown-open select2-container-active\': showlist}" >\n <a class="select2-choice" href="javascript:void(0)" id="customSelect" ng-keydown="selectOption(selectPrevNextValue($event,options,selectedOption))" att-accessibility-click="13" ng-click="showDropdown()">\n <span class="select2-chosen">{{selectedOption}}</span>\n <span class="select2-arrow"><b></b></span>\n </a>\n </div> \n <div class="select2-display-none select2-with-searchbox select2-drop-active show-search resultTopWidth" ng-show="showlist"> \n <ul class="select2-results resultTopMargin" > \n <li ng-model="ListType" ng-repeat="option in options" att-accessibility-click="13" ng-click="selectOption(option,$index)" class="select2-results-dept-0 select2-result select2-result-selectable"><div class="select2-result-label"><span >{{option}}</span></div></li> \n </ul>\n </div>\n </div>\n <div ng-show="showDaysSelector" class="customdays-width">\n <div att-divider-lines class="divider-margin-f"></div> \n <div class="col-md-3 fromto-margin">\n <div>From</div> <br>\n <div>To</div>\n </div>\n <div ng-repeat="day in days">\n <div class="col-md-3 col-md-days">\n <div class="col-md-1 daysselect-margin">\n <input type="checkbox" ng-model="daysList[day]" title="Day selection {{$index}}" att-checkbox ng-change="addSelectedValue(day)"> \n </div>\n <span>{{day}}</span><br>\n \n <div class="dropDownMarginBottom">\n <div class="select2-container topDropDownWidth" ng-class="{\'select2-dropdown-open select2-container-active\': FrtimeListDay[day]}" >\n <a class="select2-choice selectDropDown" href="javascript:void(0)" tabindex="{{daysList[day] ? \'0\' : \'-1\'}}" att-accessibility-click="13" ng-click="daysList[day] && showfromDayDropdown(day)" ng-class="{\'select2-chosen-disabled\':!daysList[day]}" ng-keydown="daysList[day] && selectFromDayOption(day , selectPrevNextValue($event,fromtime,selectedFromOption[day]));daysList[day] && addSelectedValue(day);">\n <span class="select2-chosen dropDownMarginRight" >{{selectedFromOption[day]}} <i ng-if="daysList[day]" ng-class="FrtimeListDay[day] ? \'icon-dropdown-up\' : \'icon-dropdown-down\'"></i></span>\n </a>\n </div> \n \n <div class="select2-display-none select2-with-searchbox select2-drop-active show-search resultFromDropDown" ng-show="FrtimeListDay[day]"> \n <ul class="select2-results resultTopMargin" > \n <li ng-click="selectFromDayOption(day,time.value);addSelectedValue(day);" ng-repeat="time in fromtime" class="select2-results-dept-0 select2-result select2-result-selectable"><div class="select2-result-label" ng-class="{\'selectedItemInDropDown\': (time.value==selectedFromOption[day])}"><span >{{time.value}}</span></div></li> \n </ul>\n </div>\n </div>\n \n <div class="dropDownMarginBottom">\n <div class="select2-container topDropDownWidth" ng-class="{\'select2-dropdown-open select2-container-active\': TotimeListDay[day]}" >\n <a class="select2-choice selectDropDown" href="javascript:void(0)" tabindex="{{daysList[day] ? \'0\' : \'-1\'}}" att-accessibility-click="13" ng-click="daysList[day] && showtoDayDropdown(day)" ng-class="{\'select2-chosen-disabled\':!daysList[day], \'selectDropDown-error\':daysList[day] && showToTimeErrorDay[day]}" ng-keydown="daysList[day] && selectToDayOption(day , selectPrevNextValue($event,totime,selectedToOption[day]));daysList[day] && addSelectedValue(day);">\n <span class="select2-chosen dropDownMarginRight">{{selectedToOption[day]}} <i ng-if="daysList[day]" ng-class="TotimeListDay[day] ? \'icon-dropdown-up\' : \'icon-dropdown-down\'" ></i></span>\n </a>\n </div>\n \n <div class="select2-display-none select2-with-searchbox select2-drop-active show-search resultToDropDown" ng-show="TotimeListDay[day]"> \n <ul class="select2-results resultTopMargin" > \n <li ng-click="selectToDayOption(day,time.value);addSelectedValue(day);" ng-repeat="time in totime" class="select2-results-dept-0 select2-result select2-result-selectable"><div class="select2-result-label" ng-class="{\'selectedItemInDropDown\': (time.value==selectedToOption[day])}"><span >{{time.value}}</span></div></li> \n </ul>\n </div>\n </div>\n </div> \n </div> \n <div att-divider-lines class="divider-margin-s"></div>\n </div>\n <div ng-transclude></div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/links/readMore.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/links/readMore.html",'<div>\n <div ng-bind-html="textToDisplay" ng-class="{\'att--readMore\': readFlag, \'att--readLess\': !readFlag}" ng-style="readLinkStyle"></div>\n <span class="att--readmore__link" ng-show="readMoreLink">… <a href="javascript:void(0);" ng-click="readMore()" att-accessbility-click="32,13">Read More</a>\n </span>\n</div>\n<span class="att--readless__link" ng-show="readLessLink">\n <a href="javascript:void(0);" ng-click="readLess()" att-accessbility-click="32,13">Read Less</a>\n</span>')}]),angular.module("app/scripts/ng_js_att_tpls/loading/loading.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/loading/loading.html",'<div data-progress="{{progressStatus}}" class="{{colorClass}}" ng-class="{\'att-loading-count\':icon == \'count\',\'loading--small\':icon == \'small\',\'loading\': icon != \'count\'}" alt="Loading">\n <div class="att-loading-circle" ng-if="icon == \'count\'">\n <div class="att-loading-circle__mask att-loading-circle__full">\n <div class="att-loading-circle__fill"></div>\n </div>\n <div class="att-loading-circle__mask att-loading-circle__half">\n <div class="att-loading-circle__fill"></div>\n <div class="att-loading-circle__fill att-loading-circle__fix"></div>\n </div>\n </div>\n <div ng-class="{\'att-loading-inset\':icon == \'count\',\'loading__inside\':icon != \'count\'}"><div class="att-loading-inset__percentage" ng-if="icon == \'count\'" alt="Loading with Count"></div></div>\n</div>\n\n')}]),angular.module("app/scripts/ng_js_att_tpls/modal/backdrop.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/modal/backdrop.html",'<div class="overlayed" ng-class="{show: animate}" \n'+" ng-style=\"{'z-index': 2000 + index*10,'overflow':'scroll'}\"> \n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/modal/tabbedItem.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/modal/tabbedItem.html",'<div>\n <ul class="tabs_overlay">\n <li ng-repeat="item in items" class="tabs_overlay__item two__item" ng-class="{\'active\':isActiveTab($index)}" ng-click="clickTab($index)">\n <i class="{{item.iconClass}}"></i>\n {{item.title}} ({{item.number}})\n <a class="viewLink" att-link>Show</a>\n </li>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/modal/tabbedOverlayItem.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/modal/tabbedOverlayItem.html",'<div>\n <ul class="tabs_overlay">\n <li ng-repeat="item in items" class="tabs_overlay__item two__item" ng-class="{\'active\':isActiveTab($index)}" ng-click="clickTab($index)">\n <i class="{{item.iconClass}}"></i>\n {{item.title}} ({{item.number}})\n <a class="viewLink" att-link>Show</a>\n </li>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/modal/window.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/modal/window.html",'<div tabindex="-1" role="dialog" att-element-focus="focusModalFlag" class="modals {{ windowClass }}" ng-class="{show: animate}" \n ng-style="{\'z-index\': 2010 + index*10}" ng-click="close($event)" ng-transclude> \n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/pagination/pagination.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/pagination/pagination.html",'<div class="pager">\n <a tabindex="0" href="javascript:void(0)" class="pager__item--prev" att-accessibility-click="13,32" ng-click="prev($event)" ng-if="currentPage > 1"><i class="icon-arrow-left"></i> Previous</a>\n <a tabindex="0" href="javascript:void(0)" class="pager__item pager__item--link" ng-if="totalPages > 7 && currentPage > 3" att-accessibility-click="13,32" ng-click="selectPage(1, $event)">1</a>\n <span class="pager__item" ng-if="totalPages > 7 && currentPage > 3">...</span>\n <a tabindex="0" href="javascript:void(0)" class="pager__item pager__item--link" att-element-focus="isFocused(page)" ng-repeat="page in pages" ng-class="{\'pager__item--active\': checkSelectedPage(page)}" att-accessibility-click="13,32" ng-click="selectPage(page, $event)">{{page}}</a>\n <span class="pager__item" ng-if="totalPages > 7 && currentPage < totalPages - 2 && showInput !== true">...</span>\n <span ng-show="totalPages > 7 && showInput === true"><input class="pager__item--input" type="text" placeholder="..." maxlength="2" ng-model="currentPage" aria-label="Current page count"/></span>\n <a tabindex="0" href="javascript:void(0)" class="pager__item pager__item--link" ng-if="totalPages > 7 && currentPage < totalPages - 2" att-accessibility-click="13,32" ng-click="selectPage(totalPages, $event)">{{totalPages}}</a>\n <a tabindex="0" href="javascript:void(0)" class="pager__item--next" att-accessibility-click="13,32" ng-click="next($event)" ng-if="currentPage < totalPages">Next <i class="icon-arrow-right"></i></a>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/paneSelector/innerPane.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/paneSelector/innerPane.html","<div class='inner-pane' ng-transclude></div>")}]),angular.module("app/scripts/ng_js_att_tpls/paneSelector/paneGroup.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/paneSelector/paneGroup.html","<div class='pane-group' ng-transclude></div>")}]),angular.module("app/scripts/ng_js_att_tpls/paneSelector/sidePane.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/paneSelector/sidePane.html","<div class='side-pane' ng-transclude></div>")}]),angular.module("app/scripts/ng_js_att_tpls/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tooltip/tooltip-popup.html","<div class=\"att-tooltip \" \n ng-class=\"{ 'att-tooltip--on': isOpen, \n 'att-tooltip--dark att-tooltip--dark--hover':stylett=='dark', \n 'att-tooltip--light att-tooltip--light--hover':stylett=='light',\n 'att-tooltip--left':placement=='left', \n 'att-tooltip--above':placement=='above', \n 'att-tooltip--right':placement=='right', \n 'att-tooltip--below':placement=='below'}\" \n ng-bind-html=\"content | unsafe\" ></div>")}]),angular.module("app/scripts/ng_js_att_tpls/popOvers/popOvers.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/popOvers/popOvers.html","<div class=\"att-popover popover-demo\" ng-style=\"{backgroundColor:popOverStyle}\"\n ng-class=\"{'att-tooltip--dark':popOverStyle==='grey',\n 'att-pop-over--left':popOverPlacement==='left', \n 'att-pop-over--above':popOverPlacement==='above', \n 'att-pop-over--right':popOverPlacement==='right'}\" \n style='position: absolute; max-width: 490px;'>\n <div class=\"pop-over-caret\"\n ng-class=\"{'pop-over-caret-border--left':popOverPlacement==='left', \n 'pop-over-caret-border--above':popOverPlacement==='above', \n 'pop-over-caret-border--right':popOverPlacement==='right', \n 'pop-over-caret-border--below':popOverPlacement==='below'}\">\n </div>\n <div class=\"pop-over-caret\" ng-style=\"popOverPlacement=='below' && {borderBottom:'6px solid ' +popOverStyle}||popOverPlacement=='left' && {borderLeft:'6px solid ' +popOverStyle}||popOverPlacement=='right' && {borderRight:'6px solid ' +popOverStyle}||popOverPlacement=='above' && {borderTop:'6px solid ' +popOverStyle}\"\n ng-class=\"{'pop-over-caret--left':popOverPlacement==='left', \n 'pop-over-caret--above':popOverPlacement==='above', \n 'pop-over-caret--right':popOverPlacement==='right', \n 'pop-over-caret--below':popOverPlacement==='below'}\"></div>\n \n <div class=\"att-popover-content\">\n"+' <a ng-if="closeable" href="javascript:void(0)" class="icon-close att-popover__close" ng-click="closeMe();$event.preventDefault()"></a>\n <div class="popover-packages__container" ng-include="content"></div>\n </div>\n</div>');
-}]),angular.module("app/scripts/ng_js_att_tpls/profileCard/addUser.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/profileCard/addUser.html",'<div class="col-md-9 profile-card add-user">\n <div class="atcenter">\n <div><i class="icon-add"></i></div>\n <span>add User</span>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/profileCard/profileCard.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/profileCard/profileCard.html",'<div class="col-md-9 profile-card">\n <div class="top-block">\n <div class="profile-image">\n <img ng-if="image" profile-name="{{profile.name}}" ng-src="{{profile.img}}" alt="{{profile.name}}">\n <span ng-hide="image" class="default-img">{{initials}}</span>\n <p class="name" tooltip-condition="{{profile.name}}" height="true"></p>\n <p class="status">\n <span class="status-icon" ng-class="{\'icon-green\':colorIcon===\'green\',\'icon-red\':colorIcon===\'red\',\'icon-blue\':colorIcon===\'blue\',\'icon-yellow\':colorIcon===\'yellow\'}"> \n </span>\n <span>{{profile.state}}<span ng-if="badge" class="status-badge">Admin</span></span>\n </p>\n </div>\n </div>\n <div class="bottom-block">\n <div class="profile-details">\n <label>Username</label>\n <p att-text-overflow="92%" tooltip-condition="{{profile.userName}}">{{profile.userName}}</p>\n <label>Email</label>\n <p att-text-overflow="92%" tooltip-condition="{{profile.email}}">{{profile.email}}</p>\n <label>Role</label>\n <p att-text-overflow="92%" tooltip-condition="{{profile.role}}">{{profile.role}}</p>\n <label>Last Login</label>\n <p att-text-overflow="92%" tooltip-condition="{{profile.lastLogin}}">{{profile.lastLogin}}</p>\n </div>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/progressBars/progressBars.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/progressBars/progressBars.html",'<div class="att-progress">\n <div class="att-progress-value">&nbsp;</div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/scrollbar/scrollbar.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/scrollbar/scrollbar.html",'<div class="scroll-bar" style="position: absolute">\n <div class="scroll-thumb" style="position: absolute; overflow: hidden"></div>\n</div>\n<div class="prev icons-list" data-size="medium" ng-show="navigation && prevAvailable" ng-style="{height: scrollbarAxis === \'x\' && position.height + \'px\'}">\n <a href="javascript:void(0);" ng-click="customScroll(false)" aria-label="Scroll" aria-hidden="true">\n <i ng-class="{\'icon-chevron-up\': (scrollbarAxis === \'y\'), \'icon-chevron-left\': (scrollbarAxis === \'x\')}"></i>\n </a>\n</div>\n<div class="scroll-viewport" ng-style="{height: (scrollbarAxis === \'x\' && position.height + \'px\') || viewportHeight, width: viewportWidth}" style="position: relative; overflow: hidden">\n <div class="scroll-overview" style="position: absolute; display: table; width: 100%" att-position="position" ng-transclude></div>\n</div>\n<div class=\'next icons-list\' data-size="medium" ng-show="navigation && nextAvailable" ng-style="{height: scrollbarAxis === \'x\' && position.height + \'px\'}">\n <a href="javascript:void(0);" ng-click="customScroll(true)" aria-label="Scroll" aria-hidden="true">\n'+" <i ng-class=\"{'icon-chevron-down': (scrollbarAxis === 'y'), 'icon-chevron-right': (scrollbarAxis === 'x')}\"></i>\n </a>\n</div>\n")}]),angular.module("app/scripts/ng_js_att_tpls/search/search.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/search/search.html",'<div class="select2-container show-search" ng-class="{\'select2-dropdown-open\': (showlist && !isDisabled),\'select2-container-disabled\':isDisabled, \'select2-container-active\': isact}" ng-init="isact=false;" style="width: 100%;">\n <a href="javascript:void(0)" class="select2-choice needsclick" tabindex="0" ng-click="showDropdown()" ng-class="{\'select2-chosen-disabled\':isDisabled}" role="combobox" aria-expanded="{{showlist}}" aria-owns="inList" aria-label="{{selectedOption}} selected" ng-focus="isact=true;" ng-blur="isact=false;">\n <span class="select2-chosen needsclick" aria-hidden = "true">{{selectedOption}}</span>\n <abbr class="select2-search-choice-close needsclick"></abbr>\n <span class="select2-arrow needsclick" role="presentation">\n <b role="presentation" class="needsclick"></b>\n </span>\n </a> \n <input class="select2-focusser select2-offscreen" \n tabindex="-1" \n type="text" \n aria-hidden="true" \n title="hidden" \n aria-haspopup="true" \n role="button"> \n</div>\n\n<div class="select2-drop select2-with-searchbox select2-drop-auto-width select2-drop-active" ng-class="{\'select2-display-none\':(!showlist || isDisabled)}" style="width:100%;z-index: 10">\n <div class="select2-search">\n <label ng-if="!noFilter" class="select2-offscreen" aria-label="Inline Search Field" aria-hidden="true">Inline Search Field</label>\n <input ng-if="!noFilter" ng-model="title" aria-label="title" typeahead="c.title for c in cName | filter:$viewValue:startsWith" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" aria-autocomplete="list" placeholder="">\n </div>\n <ul id="inList" class="select2-results" role="listbox">\n <li ng-show="filteredName.length === 0" class="select2-no-results" tabindex="-1">No matches found</li>\n <li class="select2-results-dept-0 select2-result select2-result-selectable" role="presentation" ng-model="ListType" ng-show="selectMsg && filteredName.length > 0" ng-click="selectOption(selectMsg, \'-1\')" ng-class="{\'select2-result-current\': selectedOption === selectMsg, \'hovstyle\': selectedIndex === -1}" ng-mouseover="hoverIn(-1)" aria-label="{{selectMsg}}" tabindex="-1">\n <div ng-if="startsWithFilter" class="select2-result-label" ng-bind-html="selectMsg | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n <div ng-if="!startsWithFilter" class="select2-result-label" ng-bind-html="selectMsg | highlight:title:className | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n\n <li role="menuitem" ng-if="startsWithFilter" class="select2-results-dept-0 select2-result select2-result-selectable" role="presentation" ng-model="ListType" ng-repeat="(fIndex, item) in filteredName = (cName | startsWith:title:item)" ng-class="{\'select2-result-current\': selectedOption === item.title,\'hovstyle\': selectedIndex === item.index,\'disable\': item.disabled}" ng-click="item.disabled || selectOption(item.title,item.index)" ng-mouseover="hoverIn(item.index)" aria-label="{{item.title}}" tabindex="-1">\n <div class="select2-result-label" ng-bind-html="item.title | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n\n <li role="menuitem" ng-if="!startsWithFilter" class="select2-results-dept-0 select2-result select2-result-selectable" role="presentation" ng-model="ListType" ng-repeat="(fIndex, item) in filteredName = (cName | filter:title)" ng-class="{\'select2-result-current\': selectedOption === item.title,\'hovstyle\': selectedIndex === item.index,\'disable\': item.disabled}" ng-click="item.disabled || selectOption(item.title,item.index)" ng-mouseover="hoverIn(item.index)" aria-label="{{item.title}}" tabindex="-1">\n <div class="select2-result-label" ng-bind-html="item.title | highlight:title:className | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/select/select.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/select/select.html",'<div class="select2-container show-search" ng-class="{\'select2-dropdown-open\': (showlist && !isDisabled),\'select2-container-disabled\': isDisabled, \'select2-container-active\': isact}" ng-init="isact=false;">\n <span class="select2-choice needsclick" tabindex="{{isDisabled ? -1 : 0}}" ng-click="showDropdown()" ng-class="{\'select2-chosen-disabled\':isDisabled}" role="combobox" aria-expanded="{{showlist}}" aria-owns="inList" aria-label="{{titleName}} dropdown {{selectedOption}} selected" ng-focus="isact=true;" ng-blur="isact=false;">\n <span class="select2-chosen needsclick" aria-hidden="true" ng-bind-html="selectedOption | unsafe">{{selectedOption}}</span>\n <abbr class="select2-search-choice-close needsclick"></abbr>\n <span class="select2-arrow needsclick" role="presentation">\n <b role="presentation" class="needsclick"></b>\n </span>\n </span> \n <input class="select2-focusser select2-offscreen" \n tabindex="-1" \n type="text" \n aria-hidden="true" \n title="hidden" \n aria-haspopup="true" \n role="button"> \n</div>\n\n<div class="select2-drop select2-with-searchbox select2-drop-auto-width select2-drop-active" ng-class="{\'select2-display-none\':(!showlist || isDisabled)}" style="width:100%;z-index: 10">\n <div class="select2-search">\n <label ng-if="!noFilter" class="select2-offscreen" aria-label="Inline Search Field" aria-hidden="true">Inline Search Field</label>\n <input ng-if="!noFilter" ng-model="title" aria-label="title" typeahead="c.title for c in cName | filter:$viewValue:startsWith" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" aria-autocomplete="list" placeholder="">\n </div>\n <ul id="inList" class="select2-results" role="listbox">\n <li ng-if="!noFilter" ng-show="filteredName.length === 0" class="select2-no-results" tabindex="-1">No matches found</li>\n <li ng-if="!noFilter" class="select2-results-dept-0 select2-result select2-result-selectable" role="presentation" ng-model="ListType" ng-show="selectMsg && filteredName.length > 0" ng-click="selectOption(selectMsg, \'-1\')" ng-class="{\'select2-result-current\': selectedOption === selectMsg, \'hovstyle\': selectedIndex === -1}" ng-mouseover="hoverIn(-1)" aria-label="{{selectMsg}}" tabindex="-1">\n <div ng-if="startsWithFilter" class="select2-result-label" ng-bind-html="selectMsg | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n <div ng-if="!startsWithFilter" class="select2-result-label" ng-bind-html="selectMsg | highlight:title:className | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n\n <li role="menuitem" ng-if="startsWithFilter" class="select2-results-dept-0 select2-result select2-result-selectable" ng-model="ListType" ng-repeat="(fIndex, item) in filteredName = (cName | startsWith:title:item)" ng-class="{\'select2-result-current\': selectedOption === item.title,\'hovstyle\': selectedIndex === item.index,\'disable\': item.disabled}" ng-click="item.disabled || selectOption(item.title,item.index)" ng-mouseover="hoverIn(item.index)" tabindex="-1">\n <div class="select2-result-label" ng-bind-html="item.title | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n\n <li role="menuitem" ng-if="!startsWithFilter" class="select2-results-dept-0 select2-result select2-result-selectable" ng-model="ListType" ng-repeat="(fIndex, item) in filteredName = (cName | filter:title)" ng-class="{\'select2-result-current\': selectedOption === item.title,\'hovstyle\': selectedIndex === item.index,\'disable\': item.disabled}" ng-click="item.disabled || selectOption(item.title,item.index)" ng-mouseover="hoverIn(item.index)" tabindex="-1">\n <div class="select2-result-label" ng-bind-html="item.title | highlight:title:className | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/select/textDropdown.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/select/textDropdown.html",'<div tabindex="0" class="text-dropdown">\n <div class="dropdown" ng-class="{\'not-visible\': isActionsShown}" ng-click="toggle()">\n <span class="action--selected" ng-bind="currentAction"></span>\n <i ng-class="isActionsShown ? \'icon-dropdown-up\' : \'icon-dropdown-down\'"></i>\n </div>\n <ul ng-class="isActionsShown ? \'actionsOpened\' : \'actionsClosed\'" ng-show="isActionsShown">\n <li ng-class="{\'highlight\': selectedIndex==$index}" ng-repeat="action in actions track by $index" ng-click="chooseAction($event, action, $index)" ng-mouseover="hoverIn($index)">{{action}}<i ng-class="{\'icon-included-checkmark\': isCurrentAction(action)}" att-accessibility-click="13,32"></i></li>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/slider/maxContent.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/slider/maxContent.html",'<div class="att-slider__label att-slider__label--max att-slider__label--below" ng-transclude></div>')}]),angular.module("app/scripts/ng_js_att_tpls/slider/minContent.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/slider/minContent.html",'<div class="att-slider__label att-slider__label--min att-slider__label--below" ng-transclude></div>')}]),angular.module("app/scripts/ng_js_att_tpls/slider/slider.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/slider/slider.html",'<div class="att-slider" ng-mousemove="moveElem($event)" ng-mouseup="mouseUp($event)">\n <div class="att-slider__track">\n <div class="att-slider__range att-slider__range--disabled" ng-style="disabledStyle"></div>\n <div class="att-slider__range" ng-style="rangeStyle"></div>\n </div>\n <div class="att-slider__handles-container">\n <div role="menuitem" aria-label="{{ngModelSingle}}" class="att-slider__handle" ng-style="handleStyle" ng-mousedown="mouseDown($event,\'ngModelSingle\')" ng-mousemove="moveElem($event)" ng-mouseup="mouseUp($event)" tabindex="0" ng-keydown="keyDown($event,\'ngModelSingle\')"></div>\n <div role="menuitem" aria-label="Minimum Value- {{ngModelLow}}" class="att-slider__handle" ng-style="minHandleStyle" ng-mousedown="mouseDown($event,\'ngModelLow\')" ng-focus="focus($event,\'ngModelLow\')" ng-mousemove="moveElem($event)" ng-mouseup="mouseUp($event)" tabindex="0" ng-keyup="keyUp($event,\'ngModelLow\')" ng-keydown="keyDown($event,\'ngModelLow\')"></div>\n <div role="menuitem" aria-label="Maximum Value- {{ngModelHigh}}" class="att-slider__handle" ng-style="maxHandleStyle" ng-mousedown="mouseDown($event,\'ngModelHigh\')" ng-focus="focus($event,\'ngModelHigh\')" ng-mousemove="moveElem($event)" ng-mouseup="mouseUp($event)" tabindex="0" ng-keyup="keyUp($event,\'ngModelHigh\')" ng-keydown="keyDown($event,\'ngModelHigh\')"></div>\n </div>\n <div ng-transclude></div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdown.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdown.html",'<div class=" btn-group" \n ng-class="{\'buttons-dropdown--large\':!isSmall, \n \'buttons-dropdown--small\':isSmall, \n \'action-dropdown\':(isActionDropdown), \n \'open\':isDropDownOpen}">\n <a tabindex="0" href="javascript:void(0)" class="button btn buttons-dropdown__split" \n ng-class="{\'button--primary\':(btnType==undefined || btnType==\'primary\'), \n \'button--secondary\':btnType==\'secondary\', \n \'button--disabled\':btnType==\'disabled\', \n \'button--small\':isSmall}" \n ng-if="!isActionDropdown"\n ng-click="btnType===\'disabled\'?undefined:clickFxn()" att-accessibility-click="13,32">{{btnText}}</a>\n <a tabindex="0" href="javascript:void(0)" role="button" aria-label="Toggle Dropdown" aria-haspopup="true" class="button buttons-dropdown__drop dropdown-toggle" \n ng-class="{\'button--primary\':(btnType==undefined || btnType==\'primary\'), \n \'button--secondary\':btnType==\'secondary\', \n \'button--disabled\':btnType==\'disabled\', \n \'button--small\':isSmall}" ng-click="toggleDropdown()" att-accessibility-click="13,32">{{toggleTitle}} </a>\n <ul class="dropdown-menu" ng-class="{\'align-right\':multiselect ===true}" aria-expanded="{{isDropDownOpen}}" ng-click="hideDropdown()" role="menu" ng-transclude></ul>\n</div> ')}]),angular.module("app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdownItem.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdownItem.html",'<li role="menuitem" att-element-focus="sFlag" tabindex="0" ng-transclude></li>')}]),angular.module("app/scripts/ng_js_att_tpls/splitIconButton/splitIcon.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/splitIconButton/splitIcon.html","<div class='split-icon-button-container'>\n\n <div class='split-icon-button' ng-class=\"{'icon-with-chevron': isRight && !isMiddle && !isLeftNextDropdown && !isNextToDropDown, 'split-icon-button-middle':isMiddle, 'split-icon-button-right':isRight, 'split-icon-button-left':isLeft, 'split-icon-button-left-dropdown': isLeftNextDropdown ,'split-icon-button-next-dropdown': isNextToDropDown,'split-icon-button-dropdown': isDropDownOpen,'split-icon-button-hover':isIconHovered || isDropDownOpen}\" ng-mouseover='isIconHovered = true;' ng-mouseleave='isIconHovered = false;' tabindex=\"-1\" att-accessibility-click=\"13,32\" ng-click='dropDownClicked();'>\n <a class='{{icon}}' title='{{iconTitle}}' tabindex=\"0\"></a>\n <i ng-if=\"isRight && !isMiddle && !isLeftNextDropdown && !isNextToDropDown\" \n ng-class=\"isDropDownOpen ? 'icon-dropdown-up' : 'icon-dropdown-down'\"> </i>\n </div> \n\n <ul ng-if='isDropdown' class='dropdown-menu {{dropDownId}}' ng-show='\n isDropDownOpen' ng-click='toggleDropdown(false)' role=\"presentation\" ng-transclude>\n </ul>\n\n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/splitIconButton/splitIconButton.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/splitIconButton/splitIconButton.html","<div>\n <div ng-if='isLeftLineShown' dir-type='{{iconStateConstants.DIR_TYPE.LEFT}}' expandable-line></div>\n <div ng-click='clickHandler()' att-split-icon icon='{{icon}}' title='{{title}}' dir-type='{{iconStateConstants.DIR_TYPE.BUTTON}}' hover-watch='isHovered' drop-down-watch='dropDownWatch' drop-down-id='{{dropDownId}}'>\n <div ng-transclude>\n </div>\n </div>\n <div ng-if='isRightLineShown' dir-type='{{iconStateConstants.DIR_TYPE.RIGHT}}' expandable-line></div>\n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/splitIconButton/splitIconButtonGroup.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/splitIconButton/splitIconButtonGroup.html","<div ng-transclude>\n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/stepSlider/attStepSlider.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/stepSlider/attStepSlider.html",'<span ng-class="mainSliderClass">\n <table>\n <tr>\n <td>\n <div class="jslider-bg">\n <i class="l"></i>\n <i class="r"></i>\n <i class="v" ng-class="{\'step-slider-green\':sliderColor == COLORS.GREEN, \'step-slider-blue\': sliderColor == COLORS.BLUE_HIGHLIGHT, \'step-slider-magenta\': sliderColor == COLORS.MAGENTA, \'step-slider-gold\': sliderColor == COLORS.GOLD, \'step-slider-purple\': sliderColor == COLORS.PURPLE, \'step-slider-dark-blue\': sliderColor == COLORS.DARK_BLUE, \'step-slider-regular\': sliderColor == COLORS.REGULAR, \'step-slider-white\': sliderColor == COLORS.WHITE, \'cutoff-slider\': isCutOffSlider}"></i>\n </div>\n <div class="jslider-pointer" id="left-pointer"></div>\n <div class="jslider-pointer jslider-pointer-to" ng-class="{\'step-slider-green\':sliderColor == COLORS.GREEN, \'step-slider-blue\': sliderColor == COLORS.BLUE_HIGHLIGHT, \'step-slider-magenta\': sliderColor == COLORS.MAGENTA, \'step-slider-gold\': sliderColor == COLORS.GOLD, \'step-slider-purple\': sliderColor == COLORS.PURPLE, \'step-slider-dark-blue\': sliderColor == COLORS.DARK_BLUE, \'step-slider-regular\': sliderColor == COLORS.REGULAR, \'step-slider-white\':sliderColor == COLORS.WHITE ,\'cutoff-slider\': isCutOffSlider}"></div>\n <div class="jslider-label"><span ng-bind="from"></span><span ng-bind="options.dimension"></span></div>\n <div class="jslider-label jslider-label-to"><span ng-bind="toStr"></span><span ng-bind="endDimension"></span></div>\n <div class="jslider-value" id="jslider-value-left"><span></span>{{options.dimension}}</div>\n <div class="jslider-value jslider-value-to"><span></span>{{toolTipDimension}}</div>\n <div class="jslider-scale" ng-class="{\'show-dividers\': showDividers, \'cutoff-slider-dividers\':isCutOffSlider}">\n </div>\n <div class="jslider-cutoff">\n <div class="jslider-label jslider-label-cutoff">\n <span ng-bind="cutOffVal"></span>\n </div>\n </div>\n </td>\n </tr>\n </table>\n</span>\n')}]),angular.module("app/scripts/ng_js_att_tpls/steptracker/step-tracker.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/steptracker/step-tracker.html",'<div class="steptracker1">\n <div class="steptracker-bg">\n <div tabindex="0" ng-click="stepclick($event, $index);" att-accessibility-click="13,23" class="steptracker-track size-onethird" ng-repeat="step in sdata"\n ng-style="set_width($index)"\n ng-class="{\'last\':laststep($index),\'done\':donesteps($index),\'active\':activestep($index), \'incomplete\': isIncomplete($index), \'disabled\': disableClick}">\n <div class="circle">{{($index) + 1}}<span>{{step.title}}</span></div>\n <div ng-if="!laststep($index)" class="track"></div>\n </div>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/steptracker/step.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/steptracker/step.html",'<div class="steptracker1">\n <div class="steptracker-bg">\n <div class="steptracker-track size-onethird" \n ng-class="{\'last\':laststep($index),\'done\':donesteps($index),\'active\':activestep($index)}">\n <div class="circle" tabindex="0" \n ng-click="stepclick($event, $index);" \n att-accessibility-click="13,23">{{($index) + 1}}<span>{{step.title}}</span></div>\n <div ng-if="!laststep($index)" class="track"></div>\n </div>\n </div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/steptracker/timeline.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/steptracker/timeline.html","<div class='att-timeline'>\n <div timeline-dot order='0' title='{{steps[0].title}}' description='{{steps[0].description}}' by='{{steps[0].by}}' date='{{steps[0].date}}' type='{{steps[0].type}}'></div>\n\n <div ng-repeat=\"m in middleSteps track by $index\">\n <div timeline-bar order='{{$index}}'></div>\n <div timeline-dot order='{{$index + 1}}' title='{{m.title}}' description='{{m.description}}' by='{{m.by}}' date='{{m.date}}' type='{{m.type}}'>\n </div>\n </div>\n\n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/steptracker/timelineBar.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/steptracker/timelineBar.html","<div class='timeline-bar'>\n <div class='progress-bar' ng-class=\"{'completed-color':isCompleted,'cancelled-color':isCancelled,'alert-color':isAlert}\">\n </div>\n <hr></hr>\n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/steptracker/timelineDot.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/steptracker/timelineDot.html","<div class='timeline-dot'>\n\n <div class='bigger-circle' ng-class=\"{'completed-color':isCompleted,'cancelled-color':isCancelled,'alert-color':isAlert}\">\n </div>\n\n <div class='inactive-circle'>\n </div>\n\n <div class='expandable-circle' ng-class=\"{'completed-color':isCompleted,'cancelled-color':isCancelled,'alert-color':isAlert}\">\n </div>\n\n <div ng-class=\"{'below-info-box':isBelowInfoBoxShown, 'above-info-box': !isBelowInfoBoxShown}\" tabindex=\"0\">\n \n <div ng-if='isBelowInfoBoxShown' class='vertical-line'>\n </div>\n\n <div class='info-container' ng-init='isContentShown=false'>\n <div ng-class=\"{'current-step-title':isCurrentStep, 'title':!isCurrentStep,'completed-color-text':isCompleted,'cancelled-color-text':isCancelled,'alert-color-text':isAlert, 'inactive-color-text':isInactive}\" ng-mouseover='titleMouseover(1)' ng-mouseleave='titleMouseleave()' ng-bind='title' ></div>\n <div class='content'>\n <div class='description' ng-bind='description'></div>\n <div class='submitter' ng-bind='by'></div>\n </div>\n <div class='date' ng-mouseover='titleMouseover(2)' ng-mouseleave='titleMouseleave()' ng-bind='date'></div>\n </div>\n\n <div ng-if='!isBelowInfoBoxShown' class='vertical-line'>\n </div>\n </div>\n\n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/table/attTable.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/table/attTable.html",'<table class="tablesorter tablesorter-default" ng-transclude></table>\n')}]),angular.module("app/scripts/ng_js_att_tpls/table/attTableBody.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/table/attTableBody.html","<td ng-transclude></td>\n")}]),angular.module("app/scripts/ng_js_att_tpls/table/attTableHeader.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/table/attTableHeader.html","<th role=\"columnheader\" scope=\"col\" aria-live=\"polite\" aria-sort=\"{{sortPattern !== 'null' && '' || sortPattern}}\" aria-label=\"{{headerName}} {{sortable !== 'false' && ': activate to sort' || ' '}} {{sortPattern !== 'null' && '' || sortPattern}}\" tabindex=\"{{sortable !== 'false' && '0' || '-1'}}\" class=\"tablesorter-header\" ng-class=\"{'tablesorter-headerAsc': sortPattern === 'ascending', 'tablesorter-headerDesc': sortPattern === 'descending', 'tablesort-sortable': sortable !== 'false', 'sorter-false': sortable === 'false'}\" att-accessibility-click=\"13,32\" ng-click=\"(sortable !== 'false') && sort();\"><div class=\"tablesorter-header-inner\" ng-transclude></div></th>")}]),angular.module("app/scripts/ng_js_att_tpls/tableMessages/attTableMessage.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tableMessages/attTableMessage.html",'<div class="att-table-message">\n <div class="message" ng-if="msgType==messageConstants.TABLE_MESSAGE_TYPES.noMatching">\n <div class="img-magnify-glass"></div> \n <div>\n <div ng-transclude></div>\n </div>\n </div>\n <div class="message" ng-if="msgType==messageConstants.TABLE_MESSAGE_TYPES.errorLoading">\n <div class="img-oops-exclamation" tabindex="0" aria-label="Oops! The information could not load at this time. Please click link to refresh the page."></div> \n <div>Oops!</div>\n <div>The information could not load at this time.</div>\n <div>Please <a href="javascript:void(0)" ng-click="refreshAction($event)">refresh the page</a>\n </div>\n </div>\n <div class="message" ng-if="msgType==messageConstants.TABLE_MESSAGE_TYPES.magnifySearch">\n <div class="img-magnify-glass"></div>\n <div>\n <p class="title" tabindex="0">Please input values to <br/> begin your search.</p>\n </div>\n </div>\n <div class="message loading-message" ng-if="msgType==messageConstants.TABLE_MESSAGE_TYPES.isLoading">\n <div class="img-loading-dots"></div>\n <div ng-transclude></div>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/tableMessages/attUserMessage.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tableMessages/attUserMessage.html",'<div class="att-user-message">\n <div ng-class="type==messageConstants.USER_MESSAGE_TYPES.error && trigger ? \'message-wrapper-error\' : \'hidden\'">\n <div class="message-icon-error"> <i class="icon-info-alert"></i> </div>\n\n <div class="message-body-wrapper">\n <div class="message-title-error" ng-if="thetitle && thetitle.length > 0"> <span ng-bind="thetitle" tabindex="0" aria-label="{{thetitle}}"></span> </div>\n <div class="message-msg" ng-bind="message" ng-if="message && message.length > 0" tabindex="0"></div>\n <div class="message-bottom">\n <div ng-transclude></div>\n </div>\n </div>\n\n </div>\n <div ng-class="type==messageConstants.USER_MESSAGE_TYPES.success && trigger ? \'message-wrapper-success\' : \'hidden\'">\n <div class="message-icon-success"> <i class="icon-included-checkmark"></i></div>\n\n <div class="message-body-wrapper">\n <div class="message-title-success" ng-if="thetitle && thetitle.length > 0" >\n <span ng-bind="thetitle" tabindex="0" aria-label="{{thetitle}}"></span>\n </div>\n <div class="message-msg" ng-bind="message" ng-if="message && message.length > 0" tabindex="0"></div>\n <div class="message-bottom">\n <div ng-transclude></div>\n </div>\n </div>\n\n </div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/tabs/floatingTabs.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/floatingTabs.html","<ul ng-class=\"{'tabsbid': size === 'large', 'tabsbid--small': size === 'small'}\">\n <li ng-repeat=\"tab in tabs\" ng-class=\"{'tabsbid__item tabsbid__item--active': isActiveTab(tab.url), 'tabsbid__item': !isActiveTab(tab.url)}\" ng-click=\"onClickTab(tab)\">\n"+' <a class="tabsbid__item-link" href="{{tab.url}}" tabindex="0" att-accessibility-click="32,13">{{tab.title}}</a>\n </li>\n</ul>')}]),angular.module("app/scripts/ng_js_att_tpls/tabs/genericTabs.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/genericTabs.html","<ul ng-class=\"{'tabsbid': size === 'large', 'tabsbid--small': size === 'small'}\">\n <li ng-repeat=\"tab in tabs\" ng-class=\"{'tabsbid__item tabsbid__item--active': isActive(tab.id), 'tabsbid__item': !isActive(tab.id),'tabs__item--active': isActive(tab.id)}\" ng-click=\"clickTab(tab)\">\n"+' <a class="tabsbid__item-link" href="{{tab.url}}" tabindex="0" att-accessibility-click="32,13">{{tab.title}}</a>\n </li>\n</ul>\n')}]),angular.module("app/scripts/ng_js_att_tpls/tabs/menuTab.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/menuTab.html",'<li class="megamenu__item" ng-mouseover="showHoverChild($event)" ng-class="{\'tabs__item--active\': menuItem.active==true && !hoverChild==true}">\n <span role="menuitem" att-accessibility-click="13,32" tabindex="0" ng-click="showChildren($event);!clickInactive||resetMenu($event)">{{tabName}}</span>\n <div ng-transclude></div>\n</li>\n');
-}]),angular.module("app/scripts/ng_js_att_tpls/tabs/parentmenuTab.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/parentmenuTab.html",'<div ng-class="{\'megamenu-tabs\': megaMenu,\'submenu-tabs\': !megaMenu}">\n <ul class="megamenu__items" role="presentation" ng-transclude>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/tabs/simplifiedTabs.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/simplifiedTabs.html",'<div class="simplified-tabs">\n<ul class="simplified-tabs__items" role="tablist">\n <li ng-repeat="tab in tabs" role="tab" class="simplified-tabs__item" ng-class="{\'tabs__item--active\': isActive(tab.id)}" ng-click="clickTab(tab)" tabindex="0" att-accessibility-click="32,13">{{tab.title}}</li>\n <li class="tabs__pointer"></li>\n</ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/tabs/submenuTab.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/submenuTab.html",'<li class="tabsbid__item megamenu__item" ng-class="{\'subMenuHover\': menuItem.active==true}">\n<a ng-href="{{tabUrl}}" role="menuitem" ng-if="subMenu === true" ng-mouseover="!subMenu || showChildren($event)" ng-focus="!subMenu ||showChildren($event)" tabindex="{{subMenu==\'true\'?0:-1}}" ng-click="!subMenu ||showMenuClick($event) ; subMenu ||showSubMenuClick($event)" att-accessibility-click="13,32">{{tabName}}</a>\n<a ng-href="{{tabUrl}}" role="menuitem" ng-if="!menuItem.leafNode && subMenu !== true" ng-mouseover="!subMenu || showChildren($event)" ng-focus="!subMenu ||showChildren($event)" tabindex="{{subMenu==\'true\'?0:-1}}" ng-click="!subMenu ||showMenuClick($event) ; subMenu ||showSubMenuClick($event)" att-accessibility-click="13,32">{{tabName}}</a>\n<span ng-transclude></span>\n</li>\n')}]),angular.module("app/scripts/ng_js_att_tpls/tagBadges/tagBadges.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tagBadges/tagBadges.html","<div class=\"tags__item\" \n ng-class=\"{'tags__item--small':isSmall, \n 'tags__item--color':isColor, \n 'tags__item--cloud':!isClosable && !isColor,'active':applyActiveClass}\"\n ng-if=\"display\" \n ng-style=\"{borderColor: border_type_borderColor, background: isHighlight?'#bbb':undefined, color: isHighlight?'#444':undefined }\"\n"+' ng-mousedown="activeHighlight(true)" role="presentation" ng-mouseup="activeHighlight(false)">\n <i class="icon-filter tags__item--icon" ng-if="isIcon">&nbsp;</i>\n <i class="tags__item--color-icon" ng-if="isColor" ng-style="{backgroundColor: background_type_backgroundColor, borderColor: background_type_borderColor}"></i>\n <span class="tags__item--title" role="presentation" tabindex=0 ng-mousedown="activeHighlight(true)" ng-mouseup="activeHighlight(false)" ng-transclude></span>\n <a href="javascript:void(0)" title="Dismiss Link" class="tags__item--action" ng-click="closeMe();$event.preventDefault()" ng-if="isClosable"\n ng-style="{color: (isHighlight && \'#444\') || \'#888\' , borderLeft: (isHighlight && \'1px solid #444\')|| \'1px solid #888\' }">\n <i class="icon-erase">&nbsp;</i>\n </a>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/toggle/demoToggle.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/toggle/demoToggle.html",'<span ng-transclude></span>\n<div class="att-switch-content" hm-drag = "drag($event)" att-accessibility-click="13,32" ng-click="updateModel($event)" hm-dragstart="alert(\'hello\')" hm-dragend="drag($event)" ng-class="{\'large\' : directiveValue == \'large\'}" style="-webkit-user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">\n <div class="att-switch-onText" ng-style="" ng-class="{\'icon-included-checkmark ico\' : on === undefined,\'large\' : directiveValue == \'large\'}">{{on}}<span class="hidden-spoken">{{directiveValue}} when checked.</span></div>\n <div class="att-switch-thumb" tabindex="0" title="Toggle switch" role="checkbox" ng-class="{\'large\' : directiveValue == \'large\'}"></div>\n <div class="att-switch-offText" ng-class="{\'icon-erase ico\' : on === undefined,\'large\' : directiveValue == \'large\'}">{{off}}<span class="hidden-spoken">{{directiveValue}} when unchecked.</span></div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/typeAhead/typeAhead.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/typeAhead/typeAhead.html",'<div class="typeahead mainContainerOuter">\n <span class="message">To</span>\n <div class=\'maincontainer\' ng-click="setFocus()" ng-focus="inputActive=true" ng-class ="{\'typeahed_active\':inputActive || (lineItems.length && inputActive)}">\n <span tag-badges closable ng-repeat ="lineItem in lineItems track by $index" on-close="theMethodToBeCalled($index)" >{{lineItem}}</span>\n <input type="text" focus-me="clickFocus" ng-focus="inputActive=true" ng-model="model" ng-keydown="selected = false; selectionIndex($event)"/><br/> \n </div>\n <div ng-hide="!model.length || selected">\n <div class="filtercontainer list-scrollable" ng-show="( items | filter:model).length">\n <div class="item" ng-repeat="item in items| filter:model track by $index" ng-click="handleSelection(item[titleName],item[subtitle])" att-accessibility-click="13,32" ng-class="{active:isCurrent($index,item[titleName],item[subtitle],( items | filter:model).length)}"ng-mouseenter="setCurrent($index)">\n <span class="title" >{{item[titleName]}}</span>\n <span class="subtitle">{{item[subtitle]}}</span>\n </div> \n </div>\n </div>\n \n <div class="textAreaEmailContentDiv">\n <span class="message">Message</span>\n <textarea rows="4" cols="50" role="textarea" class="textAreaEmailContent" ng-model="emailMessage">To send \n a text, picture, or video message1 to an AT&T wireless device from your email:my message.</textarea>\n \n </div>\n \n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/verticalSteptracker/vertical-step-tracker.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/verticalSteptracker/vertical-step-tracker.html","<li>\n <i ng-class=\"{'icon-tickets-active' : type == 'actual' && id =='Active','icon-tickets-referred' : type == 'actual' && id =='Requested Closed','icon-ticket-regular' : type == 'progress' && id =='In Progress','icon-tickets-contested' : type == 'actual' && id =='Contested','icon-tickets-returned' : type == 'actual' && id =='Deferred','icon-tickets-closed' : type == 'actual' && id =='Ready to Close','icon-tickets-cleared' : type == 'actual' && id =='Cleared'}\"></i>\n <span ng-transclude></span>\n</li>\n \n")}]),angular.module("app/scripts/ng_js_att_tpls/videoControls/photoControls.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/videoControls/photoControls.html",'<div>\n <a title="{{links.prevLink}}" aria-label="Previous Link" ng-href="{{links.prevLink}}"><i alt="previous" class="icon-arrow-left">&nbsp;</i></a>\n <span ng-transclude></span>\n <a title="{{links.nextLink}}" aria-label="Next Link" ng-href="{{links.nextLink}}"><i alt="next" class="icon-arrow-right">&nbsp;</i></a>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/videoControls/videoControls.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/videoControls/videoControls.html",'<div class="video-player">\n <div class="video-player__control video-player__play-button">\n <a class="video-player__button gigant-play" data-toggle-buttons="icon-play, icon-pause" data-target="i"><i class="icon-play" alt="Play/Pause Button"></i></a>\n </div>\n <div class="video-player__control video-player__track">\n\n <div class="video-player__track--inner">\n <div class="video-player__track--loaded" style="width: 75%"></div>\n <div class="video-player__track--played" style="width: 40%">\n <div class="att-tooltip att-tooltip--on att-tooltip--dark att-tooltip--above video-player__track-tooltip" ng-transclude></div>\n <div class="video-player__track-handle"></div>\n </div>\n </div>\n </div>\n <a class="video-player__time" ng-transclude></a>\n <div class="video-player__control video-player__volume_icon">\n <a class="video-player__button" data-toggle-buttons="icon-volume-mute, icon-volume-up" data-target="i"><i class="icon-volume-up" alt="Volume Button"></i></a>\n </div>\n <ul class="video-player__control video-player__volume">\n <li class="video-player__volume-bar video-player__volume-bar--full">&nbsp;</li>\n <li class="video-player__volume-bar video-player__volume-bar--full">&nbsp;</li>\n <li class="video-player__volume-bar">&nbsp;</li>\n <li class="video-player__volume-bar">&nbsp;</li>\n <li class="video-player__volume-bar">&nbsp;</li>\n </ul>\n <div class="video-player__control video-player__toggle-fullscreen-button">\n <a class="video-player__button" data-toggle-buttons="icon-full-screen, icon-normal-screen" data-target="i"><i class="icon-full-screen" alt="Full Screen Button">&nbsp;</i></a>\n </div>\n</div>')}]),{}}(angular,window); \ No newline at end of file
+!function(angular,window){return angular.module("att.abs",["att.abs.tpls","att.abs.utilities","att.abs.position","att.abs.transition","att.abs.accordion","att.abs.alert","att.abs.boardStrip","att.abs.breadCrumbs","att.abs.buttons","att.abs.checkbox","att.abs.colorselector","att.abs.datepicker","att.abs.devNotes","att.abs.dividerLines","att.abs.dragdrop","att.abs.drawer","att.abs.message","att.abs.formField","att.abs.hourpicker","att.abs.iconButtons","att.abs.links","att.abs.loading","att.abs.modal","att.abs.pagination","att.abs.paneSelector","att.abs.tooltip","att.abs.popOvers","att.abs.profileCard","att.abs.progressBars","att.abs.radio","att.abs.scrollbar","att.abs.search","att.abs.select","att.abs.slider","att.abs.splitButtonDropdown","att.abs.splitIconButton","att.abs.stepSlider","att.abs.steptracker","att.abs.table","att.abs.tableMessages","att.abs.tabs","att.abs.tagBadges","att.abs.textOverflow","att.abs.toggle","att.abs.treeview","att.abs.typeAhead","att.abs.verticalSteptracker","att.abs.videoControls"]),angular.module("att.abs.tpls",["app/scripts/ng_js_att_tpls/accordion/accordion.html","app/scripts/ng_js_att_tpls/accordion/accordion_alt.html","app/scripts/ng_js_att_tpls/accordion/attAccord.html","app/scripts/ng_js_att_tpls/accordion/attAccordBody.html","app/scripts/ng_js_att_tpls/accordion/attAccordHeader.html","app/scripts/ng_js_att_tpls/alert/alert.html","app/scripts/ng_js_att_tpls/boardStrip/attAddBoard.html","app/scripts/ng_js_att_tpls/boardStrip/attBoard.html","app/scripts/ng_js_att_tpls/boardStrip/attBoardStrip.html","app/scripts/ng_js_att_tpls/buttons/buttonDropdown.html","app/scripts/ng_js_att_tpls/colorselector/colorselector.html","app/scripts/ng_js_att_tpls/datepicker/dateFilter.html","app/scripts/ng_js_att_tpls/datepicker/dateFilterList.html","app/scripts/ng_js_att_tpls/datepicker/datepicker.html","app/scripts/ng_js_att_tpls/datepicker/datepickerPopup.html","app/scripts/ng_js_att_tpls/dividerLines/dividerLines.html","app/scripts/ng_js_att_tpls/dragdrop/fileUpload.html","app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlert.html","app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlertPrv.html","app/scripts/ng_js_att_tpls/formField/creditCardImage.html","app/scripts/ng_js_att_tpls/formField/cvcSecurityImg.html","app/scripts/ng_js_att_tpls/hourpicker/hourpicker.html","app/scripts/ng_js_att_tpls/links/readMore.html","app/scripts/ng_js_att_tpls/loading/loading.html","app/scripts/ng_js_att_tpls/modal/backdrop.html","app/scripts/ng_js_att_tpls/modal/tabbedItem.html","app/scripts/ng_js_att_tpls/modal/tabbedOverlayItem.html","app/scripts/ng_js_att_tpls/modal/window.html","app/scripts/ng_js_att_tpls/pagination/pagination.html","app/scripts/ng_js_att_tpls/paneSelector/innerPane.html","app/scripts/ng_js_att_tpls/paneSelector/paneGroup.html","app/scripts/ng_js_att_tpls/paneSelector/sidePane.html","app/scripts/ng_js_att_tpls/tooltip/tooltip-popup.html","app/scripts/ng_js_att_tpls/popOvers/popOvers.html","app/scripts/ng_js_att_tpls/profileCard/addUser.html","app/scripts/ng_js_att_tpls/profileCard/profileCard.html","app/scripts/ng_js_att_tpls/progressBars/progressBars.html","app/scripts/ng_js_att_tpls/scrollbar/scrollbar.html","app/scripts/ng_js_att_tpls/search/search.html","app/scripts/ng_js_att_tpls/select/select.html","app/scripts/ng_js_att_tpls/select/textDropdown.html","app/scripts/ng_js_att_tpls/slider/maxContent.html","app/scripts/ng_js_att_tpls/slider/minContent.html","app/scripts/ng_js_att_tpls/slider/slider.html","app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdown.html","app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdownItem.html","app/scripts/ng_js_att_tpls/splitIconButton/splitIcon.html","app/scripts/ng_js_att_tpls/splitIconButton/splitIconButton.html","app/scripts/ng_js_att_tpls/splitIconButton/splitIconButtonGroup.html","app/scripts/ng_js_att_tpls/stepSlider/attStepSlider.html","app/scripts/ng_js_att_tpls/steptracker/step-tracker.html","app/scripts/ng_js_att_tpls/steptracker/step.html","app/scripts/ng_js_att_tpls/steptracker/timeline.html","app/scripts/ng_js_att_tpls/steptracker/timelineBar.html","app/scripts/ng_js_att_tpls/steptracker/timelineDot.html","app/scripts/ng_js_att_tpls/table/attTable.html","app/scripts/ng_js_att_tpls/table/attTableBody.html","app/scripts/ng_js_att_tpls/table/attTableHeader.html","app/scripts/ng_js_att_tpls/tableMessages/attTableMessage.html","app/scripts/ng_js_att_tpls/tableMessages/attUserMessage.html","app/scripts/ng_js_att_tpls/tabs/floatingTabs.html","app/scripts/ng_js_att_tpls/tabs/genericTabs.html","app/scripts/ng_js_att_tpls/tabs/menuTab.html","app/scripts/ng_js_att_tpls/tabs/parentmenuTab.html","app/scripts/ng_js_att_tpls/tabs/simplifiedTabs.html","app/scripts/ng_js_att_tpls/tabs/submenuTab.html","app/scripts/ng_js_att_tpls/tagBadges/tagBadges.html","app/scripts/ng_js_att_tpls/toggle/demoToggle.html","app/scripts/ng_js_att_tpls/typeAhead/typeAhead.html","app/scripts/ng_js_att_tpls/verticalSteptracker/vertical-step-tracker.html","app/scripts/ng_js_att_tpls/videoControls/photoControls.html","app/scripts/ng_js_att_tpls/videoControls/videoControls.html"]),angular.module("att.abs.utilities",[]).filter("unsafe",["$sce",function(e){return function(t){return e.trustAsHtml(t)}}]).filter("highlight",function(){function e(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}return function(t,n,i){return n&&t?t.replace(new RegExp(e(n),"gi"),'<span class="'+i+'">$&</span>'):t}}).filter("attLimitTo",function(){return function(e,t,n){var i=[],a=t,s=n;return isNaN(s)&&(s=0),i=e&&!isNaN(a)?e.slice(s,s+a):e}}).filter("startsWith",function(){return"function"!=typeof String.prototype.startsWith&&(String.prototype.startsWith=function(e){return 0===this.indexOf(e)}),function(e,t){if(void 0===t||""===t)return e;var n=[];return angular.forEach(e,function(e){e.title.toLowerCase().startsWith(t.toLowerCase())&&n.push(e)}),n}}).directive("attInputDeny",[function(){return{restrict:"A",require:"ngModel",link:function(e,t,n,i){var a=null;n.$observe("attInputDeny",function(e){e&&(a=new RegExp(e,"g"))}),t.bind("input",function(){var t=i.$viewValue&&i.$viewValue.replace(a,"");t!==i.$viewValue&&(i.$setViewValue(t),i.$render(),e.$apply())})}}}]).directive("attAccessibilityClick",[function(){return{restrict:"A",link:function(e,t,n){var i=[];n.$observe("attAccessibilityClick",function(e){e&&(i=e.split(","))}),t.bind("keydown",function(e){var n=function(){var t=!1;return e.keyCode||(e.which?e.keyCode=e.which:e.charCode&&(e.keyCode=e.charCode)),e.keyCode&&i.indexOf(e.keyCode.toString())>-1&&(t=!0),t};i.length>0&&n()&&(t[0].click(),e.preventDefault())})}}}]).directive("attElementFocus",[function(){return{restrict:"A",link:function(e,t,n){e.$watch(n.attElementFocus,function(e){e&&t[0].focus()})}}}]).directive("focusOn",["$timeout",function(e){var t=function(e){if(!e.focusOn&&""!==e.focusOn)throw"FocusOnCondition missing attribute to evaluate"};return{restrict:"A",link:function(n,i,a){t(a),n.$watch(a.focusOn,function(t){t&&e(function(){i[0].focus()})})}}}]).constant("whenScrollEndsConstants",{threshold:100,width:0,height:0}).directive("whenScrollEnds",function(e,t){return{restrict:"A",link:function(n,i,a){var s=parseInt(a.threshold,10)||e.threshold;return a.axis&&""!==a.axis?void("x"===a.axis?(visibleWidth=parseInt(a.width,10)||e.width,i.css("width")&&(visibleWidth=i.css("width").split("px")[0]),i[0].addEventListener("scroll",function(){var e=i.prop("scrollWidth");void 0===e&&(e=1);var t=e-visibleWidth;t-i[0].scrollLeft<=s&&n.$apply(a.whenScrollEnds)})):"y"===a.axis&&(visibleHeight=parseInt(a.height,10)||e.height,i.css("width")&&(visibleHeight=i.css("height").split("px")[0]),i[0].addEventListener("scroll",function(){var e=i.prop("scrollHeight");void 0===e&&(e=1);var t=e-visibleHeight;t-i[0].scrollTop<=s&&n.$apply(a.whenScrollEnds)}))):void t.warn("axis attribute must be defined for whenScrollEnds.")}}}).directive("validImei",function(){return{restrict:"A",require:"ngModel",link:function(e,t,n,i){i.$parsers.unshift(function(t){if(t){if(e.valid=!1,isNaN(t)||15!==t.length)e.valid=!1;else{for(var n=0,a=[],s=0;15>s;s++)a[s]=parseInt(t.substring(s,s+1),10),s%2!==0&&(a[s]=parseInt(2*a[s],10)),a[s]>9&&(a[s]=parseInt(a[s]%10,10)+parseInt(a[s]/10,10)),n+=parseInt(a[s],10);n%10===0?e.valid=!0:e.valid=!1}i.$setValidity("invalidImei",e.valid)}return e.valid?t:void 0})}}}).directive("togglePassword",function(){return{restrict:"A",transclude:!1,link:function(e,t,n,i){t.bind("click",function(){var e=n.togglePassword;t[0].innerHTML="Show"===t[0].innerHTML?"Hide":"Show";var i=angular.element(document.querySelector("#"+e))[0].type;angular.element(document.querySelector("#"+e))[0].type="password"===i?"text":"password"})}}}).factory("events",function(){var e=function(e){e.stopPropagation?e.stopPropagation():e.returnValue=!1},t=function(e){e.preventDefault?e.preventDefault():e.returnValue=!1};return{stopPropagation:e,preventDefault:t}}).factory("$documentBind",["$document","$timeout",function(e,t){var n=function(n,i,a){a.$watch(n,function(n){t(function(){n?e.bind("click",i):e.unbind("click",i)})})},i=function(n,i,a,s,r,o){r?(o||(o=0),s.$watch(i,function(i,s){i!==s&&t(function(){i?e.bind(n,a):e.unbind(n,a)},o)})):s.$watch(i,function(t,i){t!==i&&(t?e.bind(n,a):e.unbind(n,a))})};return{click:n,event:i}}]).factory("DOMHelper",function(){function e(e){var t=angular.element(e),n=parseInt(t.attr("tabindex"),10)>=0?!0:!1,i=t[0].tagName.toUpperCase();return n||"A"===i||"INPUT"===i||"TEXTAREA"===i?!(t[0].disabled||t[0].readOnly):!1}function t(e){return 1==e.nodeType&&"SCRIPT"!=e.nodeName&&"STYLE"!=e.nodeName}function n(i){var i=i||document.getElementsByTagName("body")[0];if(t(i)&&e(i))return i;if(!i.hasChildNodes())return void 0;for(var a=i.firstChild;a;){var s=n(a);if(s)return s;a=a.nextSibling}}var i=function(e){var t=e;return e.hasOwnProperty("length")&&(t=e[0]),n(t)};return{firstTabableElement:i}}).factory("keymap",function(){return{KEY:{TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,COMMAND:91},MAP:{91:"COMMAND",8:"BACKSPACE",9:"TAB",13:"ENTER",16:"SHIFT",17:"CTRL",18:"ALT",19:"PAUSEBREAK",20:"CAPSLOCK",27:"ESC",32:"SPACE",33:"PAGE_UP",34:"PAGE_DOWN",35:"END",36:"HOME",37:"LEFT",38:"UP",39:"RIGHT",40:"DOWN",43:"+",44:"PRINTSCREEN",45:"INSERT",46:"DELETE",48:"0",49:"1",50:"2",51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",59:";",61:"=",65:"A",66:"B",67:"C",68:"D",69:"E",70:"F",71:"G",72:"H",73:"I",74:"J",75:"K",76:"L",77:"M",78:"N",79:"O",80:"P",81:"Q",82:"R",83:"S",84:"T",85:"U",86:"V",87:"W",88:"X",89:"Y",90:"Z",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NUMLOCK",145:"SCROLLLOCK",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},isControl:function(e){var t=e.keyCode;switch(t){case this.KEY.COMMAND:case this.KEY.SHIFT:case this.KEY.CTRL:case this.KEY.ALT:return!0}return e.metaKey?!0:!1},isFunctionKey:function(e){return e=e.keyCode?e.keyCode:e,e>=112&&123>=e},isVerticalMovement:function(e){return~[this.KEY.UP,this.KEY.DOWN].indexOf(e)},isHorizontalMovement:function(e){return~[this.KEY.LEFT,this.KEY.RIGHT,this.KEY.BACKSPACE,this.KEY.DELETE].indexOf(e)},isAllowedKey:function(e){return~[this.KEY.SPACE,this.KEY.ESC,this.KEY.ENTER].indexOf(e)||this.isHorizontalMovement(e)||this.isVerticalMovement(e)}}}).factory("keyMapAc",function(){return{keys:{32:" ",33:"!",34:'"',35:"#",36:"$",37:"%",38:"&",39:"'",40:"(",41:")",42:"*",43:"+",44:",",45:"-",46:".",47:"/",58:":",59:";",60:"<",61:"=",62:">",63:"?",64:"@",91:"[",92:"\\",93:"]",94:"^",95:"_",96:"`",123:"{",124:"|",125:"}",126:"~"},keyRange:{startNum:"48",endNum:"57",startSmallLetters:"97",endSmallLetters:"122",startCapitalLetters:"65",endCapitalLetters:"90"},allowedKeys:{TAB:8,BACKSPACE:9,DELETE:16}}}).factory("$attElementDetach",function(){var e=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)};return e}).factory("$ieVersion",function(){var ie=null,loadIEVersion=function(){var isIE10=eval("/*@cc_on!@*/false")&&10===document.documentMode;if(isIE10)return 10;var v=3,div=document.createElement("div"),all=div.getElementsByTagName("i");do div.innerHTML="<!--[if gt IE "+ ++v+"]><i></i><![endif]-->";while(all[0]);return v>4?v:void 0};return function(){return null===ie&&(ie=loadIEVersion()),ie}}),function(){String.prototype.toSnakeCase=function(){return this.replace(/([A-Z])/g,function(e){return"-"+e.toLowerCase()})};var e=function(e,t){e=e||"",t=!isNaN(t)&&t||0;for(var n="",i=0;t>i;i++)n+=e;return n},t=function(t,n,i,a){return t=t||"",n=!isNaN(n)&&n||0,i=i||"",n>t.length?a?e(i,n-t.length)+t:t+e(i,n-t.length):t};String.prototype.lPad=function(e,n){return t(this,e,n,!0)},String.prototype.rPad=function(e,n){return t(this,e,n,!1)},Array.prototype.indexOf||(Array.prototype.indexOf=function(e){for(var t=0;t<this.length;t++)if(this[t]===e)return t;return-1})}(),angular.module("att.abs.position",[]).factory("$position",["$document","$window",function(e,t){function n(e,n){return e.currentStyle?e.currentStyle[n]:t.getComputedStyle?t.getComputedStyle(e)[n]:e.style[n]}function i(e){return"static"===(n(e,"position")||"static")}var a=function(t){for(var n=e[0],a=t.offsetParent||n;a&&a!==n&&i(a);)a=a.offsetParent;return a||n};return{position:function(t){var n=this.offset(t),i={top:0,left:0},s=a(t[0]);return s!==e[0]&&(i=this.offset(angular.element(s)),i.top+=s.clientTop-s.scrollTop,i.left+=s.clientLeft-s.scrollLeft),{width:t.prop("offsetWidth"),height:t.prop("offsetHeight"),top:n.top-i.top,left:n.left-i.left}},offset:function(n){var i=n[0].getBoundingClientRect();return{width:n.prop("offsetWidth"),height:n.prop("offsetHeight"),top:i.top+(t.pageYOffset||e[0].body.scrollTop||e[0].documentElement.scrollTop),left:i.left+(t.pageXOffset||e[0].body.scrollLeft||e[0].documentElement.scrollLeft)}}}}]).factory("$isElement",[function(){var e=function(t,n,i){return t[0]===n[0]?!0:t[0]===i[0]?!1:e(t.parent()[0]&&t.parent()||n,n,i)};return e}]).directive("attPosition",["$position",function(e){return{restrict:"A",link:function(t,n,i){t.$watchCollection(function(){return e.position(n)},function(e){t[i.attPosition]=e})}}}]),angular.module("att.abs.transition",[]).factory("$transition",["$q","$timeout","$rootScope",function(e,t,n){function i(e){for(var t in e)if(void 0!==s.style[t])return e[t]}var a=function(i,s,r){r=r||{};var o=e.defer(),l=a[r.animation?"animationEndEventName":"transitionEndEventName"],c=function(){n.$apply(function(){i.unbind(l,c),o.resolve(i)})};return l&&i.bind(l,c),t(function(){angular.isString(s)?i.addClass(s):angular.isFunction(s)?s(i):angular.isObject(s)&&i.css(s),l||o.resolve(i)},100),o.promise.cancel=function(){l&&i.unbind(l,c),o.reject("Transition cancelled")},o.promise},s=document.createElement("trans"),r={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"},o={WebkitTransition:"webkitAnimationEnd",MozTransition:"animationend",OTransition:"oAnimationEnd",transition:"animationend"};return a.transitionEndEventName=i(r),a.animationEndEventName=i(o),a}]).factory("$scrollTo",["$window",function(e){var t=function(t,n,i){TweenMax.to(e,i||1,{scrollTo:{y:n,x:t},ease:Power4.easeOut})};return t}]).factory("animation",function(){return TweenMax}).factory("$progressBar",function(){var e=function(e){var t=function(t,n){TweenMax.to({},n,{onUpdateParams:["{self}"],onUpdate:e,onComplete:t})};return function(){return t}()};return e}).factory("$height",function(){var e=function(e,t,n,i){TweenMax.to(e,t,{height:n,autoAlpha:i},0)};return e}),angular.module("att.abs.accordion",["att.abs.utilities","att.abs.position","att.abs.transition"]).constant("accordionConfig",{closeOthers:!1}).controller("AccordionController",["$scope","$attrs","accordionConfig","$log",function(e,t,n,i){this.groups=[],this.index=-1,this.scope=e,e.forceExpand=!1,this.closeOthers=function(i){var a=angular.isDefined(t.closeOthers)?e.$eval(t.closeOthers):n.closeOthers;a&&!e.forceExpand&&angular.forEach(this.groups,function(e){e!==i&&(e.isOpen=!1)}),this.groups.indexOf(i)===this.groups.length-1&&e.forceExpand&&(e.forceExpand=!1)},this.expandAll=function(){e.forceExpand=!0,angular.forEach(this.groups,function(e){e.isOpen=!0})},this.collapseAll=function(){angular.forEach(this.groups,function(e){e.isOpen=!1})},this.focus=function(e){var t=this;angular.forEach(this.groups,function(n,i){n!==e?n.focused=!1:(t.index=i,n.focused=!0)})},this.blur=function(e){e.focused=!1,this.index=-1,i.log("accordion.blur()",e)},this.cycle=function(t,n,i){if(n)if(this.index===this.groups.length-1){if(i)return this.index=0,t.focused=!1,void e.$apply();this.index=0}else this.index++;else this.index<=0&&!i?this.index=this.groups.length-1:this.index--;t.focused=!1,this.groups[this.index].setFocus=!0,this.groups[this.index].focused=!0,e.$apply()},this.addGroup=function(e){var t=this;e.index=this.groups.length,e.focused=!1,this.groups.push(e),this.groups.length>0&&(this.index=0),e.$on("$destroy",function(){t.removeGroup(e)})},this.removeGroup=function(e){var t=this.groups.indexOf(e);-1!==t&&this.groups.splice(this.groups.indexOf(e),1)}}]).directive("accordion",function(){return{restrict:"EA",controller:"AccordionController",transclude:!0,replace:!1,scope:{cClass:"@css",expandAll:"=?",collapseAll:"=?"},template:'<div class="{{cClass}}" ng-transclude></div>',link:function(e,t,n,i){e.$watch("expandAll",function(t){t&&(i.expandAll(),e.expandAll=!1)}),e.$watch("collapseAll",function(t){t&&(i.collapseAll(),e.collapseAll=!1)})}}}).directive("accordionGroup",[function(){return{require:["^accordion","accordionGroup"],restrict:"EA",transclude:!0,replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/accordion/accordion.html",scope:{heading:"@",isOpen:"=?"},controller:["$scope",function(e){e.showicon=!0,this.setHeading=function(t){this.heading=t,e.showicon=!1},this.isIsOpen=function(){return e.isOpen}}],link:function(e,t,n,i){var a=i[0],s=i[1],r={tab:9,enter:13,esc:27,space:32,pageup:33,pagedown:34,end:35,home:36,left:37,up:38,right:39,down:40},o=t.children().eq(0),l=n.parentLink;e.setFocus=!1,e.childLength=n.childLength,e.headingIconClass=n.imageSource;var c=function(t){var n=!0;switch(t.keyCode){case r.enter:t.preventDefault(),e.toggle(),e.$apply();break;case r.up:case r.left:t.preventDefault(),a.cycle(e,!1);break;case r.down:case r.right:t.preventDefault(),a.cycle(e,!0);break;default:n=!1}return t.stopPropagation(),n};angular.isUndefined(e.isOpen)&&(e.isOpen=!1),o.bind("keydown",c),a.addGroup(e),0===e.index&&(e.focused=!0),s.toggle=e.toggle=function(){return e.childLength>0?(e.isOpen=!e.isOpen,a.focus(e),e.isOpen):void(window.location.href=l)},e.$watch("isOpen",function(t){t&&a.closeOthers(e)}),e.$watch("focused",function(t){t?(o.attr("tabindex","0"),e.setFocus&&o[0].focus()):(e.setFocus=!1,o.attr("tabindex","-1"))})}}}]).directive("accordionToggle",function(){return{restrict:"EA",require:"^accordionGroup",scope:{expandIcon:"@",collapseIcon:"@"},link:function(e,t,n,i){var a=function(n){e.expandIcon&&e.collapseIcon&&(n?(t.removeClass(e.expandIcon),t.addClass(e.collapseIcon)):(t.removeClass(e.collapseIcon),t.addClass(e.expandIcon)))};t.bind("click",function(){i.toggle(),e.$apply()}),e.$watch(function(){return i.isIsOpen()},function(e){a(e)})}}}).directive("accordionHeading",function(){return{restrict:"EA",transclude:!0,template:"",require:"^accordionGroup",compile:function(e,t,n){var i=function(e,t,i,a){n(e,function(e){t.append(e),a.setHeading(t)})};return i}}}).directive("accordionTransclude",function(){return{require:"^accordionGroup",link:function(e,t,n,i){e.$watch(function(){return i[n.accordionTransclude]},function(e){e&&t.find("span").eq(0).prepend(e)})}}}).directive("attGoTop",["$scrollTo",function(e){return{restrict:"A",transclude:!1,link:function(t,n,i){n.bind("click",function(){e(0,i.attGoTop)})}}}]).directive("attGoTo",["$anchorScroll","$location",function(e,t){return{restrict:"A",transclude:!1,link:function(n,i,a){i.bind("click",function(){var n=a.attGoTo;t.hash()!==n?t.hash(a.attGoTo):e()})}}}]).directive("freeStanding",function(){return{restrict:"EA",transclude:!0,replace:!0,scope:!0,template:"<div><span class='att-accordion__freestanding' ng-show='showAccordion'></span>\n<div class='section-toggle'>\n<button class='section-toggle__button' ng-click='fsToggle()'>\n {{btnText}}<i style='font-size:0.875rem' ng-class='{\"icon-chevron-up\": showAccordion,\"icon-chevron-down\": !showAccordion, }'></i> \n</button>\n</div></div>",compile:function(e,t,n){var i=function(e,t,i){e.content="",n(e,function(e){t.find("span").append(e)}),e.showAccordion=!1,e.btnText=e.showAccordion?i.hideMsg:i.showMsg,e.fsToggle=function(){e.showAccordion=!e.showAccordion,e.btnText=e.showAccordion?i.hideMsg:i.showMsg}};return i}}}).directive("expanders",function(){return{restrict:"EA",replace:!0,transclude:!0,template:"<div ng-transclude></div>",controller:["$scope",function(e){var t=null;this.setScope=function(e){t=e},this.toggle=function(){return e.isOpen=t.isOpen=!t.isOpen,t.isOpen}}],link:function(e){e.isOpen=!1}}}).directive("expanderHeading",function(){return{require:"^expanders",restrict:"EA",replace:!0,transclude:!0,scope:!0,template:"<div style='padding:10px !important' ng-transclude></div>"}}).directive("expanderBody",function(){return{restrict:"EA",require:"^expanders",replace:!0,transclude:!0,scope:{},template:"<div collapse='!isOpen'><div ng-transclude></div></div>",link:function(e,t,n,i){e.isOpen=!1,i.setScope(e)}}}).directive("expanderToggle",function(){return{restrict:"EA",require:"^expanders",scope:{expandIcon:"@",collapseIcon:"@"},link:function(e,t,n,i){var a=!1,s=function(){e.expandIcon&&e.collapseIcon&&(a?(t.removeClass(e.expandIcon),t.addClass(e.collapseIcon)):(t.removeClass(e.collapseIcon),t.addClass(e.expandIcon)))};t.bind("keydown",function(t){13===t.keyCode&&e.toggleit()}),t.bind("click",function(){e.toggleit()}),e.toggleit=function(){a=i.toggle(),s(),e.$apply()},s()}}}).directive("collapse",["$transition",function(e){var t={open:{marginTop:null,marginBottom:null,paddingTop:null,paddingBottom:null,display:"block"},closed:{marginTop:0,marginBottom:0,paddingTop:0,paddingBottom:0,display:"none"}},n=function(e,n,i){n.removeClass("collapse"),n.css({height:i}),0===i?n.css(t.closed):n.css(t.open),n.addClass("collapse")};return{link:function(i,a,s){var r,o=!0;i.$watch(function(){return a[0].scrollHeight},function(){0===a[0].scrollHeight||r||(o?n(i,a,a[0].scrollHeight+"px"):n(i,a,"auto"))});var l,c=function(t){return l&&l.cancel(),l=e(a,t),l.then(function(){l=void 0},function(){l=void 0}),l},d=function(){i.postTransition=!0,o?(o=!1,r||n(i,a,"auto")):c(angular.extend({height:a[0].scrollHeight+"px"},t.open)).then(function(){r||n(i,a,"auto")}),r=!1},p=function(){r=!0,o?(o=!1,n(i,a,0)):(n(i,a,a[0].scrollHeight+"px"),c(angular.extend({height:0},t.closed)).then(function(){i.postTransition=!1}))};i.$watch(s.collapse,function(e){e?p():d()})}}}]).directive("attAccord",function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{},controller:"AttAccordCtrl",templateUrl:"app/scripts/ng_js_att_tpls/accordion/attAccordHeader.html"}}).controller("AttAccordCtrl",[function(){this.type="attAccord",this.headerCtrl,this.bodyCtrl;var e=!0;this.toggleBody=function(){e?this.expandBody():this.collapseBody(),e=!e},this.expandBody=function(){this.bodyCtrl.expand()},this.collapseBody=function(){this.bodyCtrl.collapse()}}]).controller("AttAccordHeaderCtrl",[function(){this.type="header"}]).directive("attAccordHeader",["keymap","events",function(e,t){return{restrict:"EA",transclude:!0,replace:!0,require:["^attAccord","attAccordHeader"],controller:"AttAccordHeaderCtrl",templateUrl:"app/scripts/ng_js_att_tpls/accordion/attAccordHeader.html",link:function(t,n,i,a){var s=a[0],r=a[1];s.headerCtrl=r;var o=n.children().eq(0);t.clickFunc=function(){s.toggleBody()};var l=function(n){var i=!0;switch(n.keyCode){case e.KEY.ENTER:n.preventDefault(),t.clickFunc(),t.$apply();break;default:i=!1}return n.stopPropagation(),i};angular.isUndefined(t.isOpen)&&(t.isOpen=!1),o.bind("keydown",l)}}}]).controller("AttAccordBodyCtrl",["$scope",function(e){this.type="body",this.expand=function(){e.expand()},this.collapse=function(){e.collapse()}}]).directive("attAccordBody",["$timeout","$height",function(e,t){return{restrict:"EA",transclude:!0,replace:!0,require:["^attAccord","attAccordBody"],controller:"AttAccordBodyCtrl",templateUrl:"app/scripts/ng_js_att_tpls/accordion/attAccordBody.html",link:function(n,i,a,s){var r=s[0],o=s[1];r.bodyCtrl=o;var l;e(function(){l=i[0].offsetHeight,t(i,0,0,0)}),n.expand=function(){t(i,.05,l,1)},n.collapse=function(){t(i,.25,0,0)}}}}]),angular.module("att.abs.alert",[]).directive("attAlert",[function(){return{restrict:"EA",replace:!0,transclude:!0,scope:{alertType:"@type",showTop:"@topPos",showAlert:"="},templateUrl:"app/scripts/ng_js_att_tpls/alert/alert.html",link:function(e){"true"===e.showTop?e.cssStyle={top:"50px"}:e.cssStyle={top:"0px"},e.close=function(){e.showAlert=!1}}}}]),angular.module("att.abs.boardStrip",["att.abs.utilities"]).constant("BoardStripConfig",{maxVisibleBoards:4,boardsToScroll:1,boardLength:140,boardMargin:15}).directive("attBoard",[function(){return{restrict:"AE",replace:!0,transclude:!0,require:"^attBoardStrip",scope:{boardIndex:"=",boardLabel:"="},templateUrl:"app/scripts/ng_js_att_tpls/boardStrip/attBoard.html",link:function(e,t,n,i){var a=i;e.getCurrentIndex=function(){return a.getCurrentIndex()},e.selectBoard=function(e){isNaN(e)||a.setCurrentIndex(e)},e.isInView=function(e){return a.isInView(e)}}}}]).directive("attBoardStrip",["BoardStripConfig","$timeout","$ieVersion",function(e,t,n){return{restrict:"AE",replace:!0,transclude:!0,scope:{currentIndex:"=selectedIndex",boardsMasterArray:"=",onAddBoard:"&?"},templateUrl:"app/scripts/ng_js_att_tpls/boardStrip/attBoardStrip.html",controller:function(t){if(angular.isDefined(t.boardsMasterArray)||(t.boardsMasterArray=[]),this.rectifyMaxVisibleBoards=function(){this.maxVisibleIndex>=t.boardsMasterArray.length&&(this.maxVisibleIndex=t.boardsMasterArray.length-1),this.maxVisibleIndex<0&&(this.maxVisibleIndex=0)},this.resetBoardStrip=function(){t.currentIndex=0,this.maxVisibleIndex=e.maxVisibleBoards-1,this.minVisibleIndex=0,this.rectifyMaxVisibleBoards()},t.currentIndex>0){var n=t.currentIndex;this.resetBoardStrip(),n>t.boardsMasterArray.length?t.currentIndex=t.boardsMasterArray.length-1:t.currentIndex=n}else this.resetBoardStrip();this.getCurrentIndex=function(){return t.currentIndex},this.setCurrentIndex=function(e){t.currentIndex=e},this.isInView=function(e){return e<=this.maxVisibleIndex&&e>=this.minVisibleIndex},this.getBoardsMasterArrayLength=function(){return t.boardsMasterArray.length}},link:function(i,a,s,r){var o,l=n(),c=1e3;l&&10>l&&(c=0);var d=function(t){return t*(e.boardLength+e.boardMargin)};a[0].querySelector(".board-viewport")&&angular.element(a[0].querySelector(".board-viewport")).css({width:d(e.maxVisibleBoards)+"px"});var p=function(t){return t*(e.boardLength+e.boardMargin)};a[0].querySelector(".boardstrip-container")&&(angular.element(a[0].querySelector(".boardstrip-container")).css({width:p(r.getBoardsMasterArrayLength())+"px"}),angular.element(a[0].querySelector(".boardstrip-container")).css({left:"0px"}));var u=function(){var t;return t=r.getBoardsMasterArrayLength()<=e.maxVisibleBoards?0:r.minVisibleIndex*(e.boardLength+e.boardMargin)*-1},h=function(e,t,n){for(var i=0;i<e.length;i++)angular.element(e[i]).attr("tabindex","-1");for(var i=t;n>=i;i++)angular.element(e[i]).attr("tabindex","0")};i.$watchCollection("boardsMasterArray",function(n,i){n!==i&&(n.length<i.length?(r.resetBoardStrip(),t(function(){var e=a[0].querySelectorAll("[att-board]");if(0!==e.length){var n=angular.element(a[0].querySelector(".boardstrip-container"))[0].style.left,i=u();n!==i+"px"?(angular.element(a[0].querySelector(".boardstrip-container")).css({left:i+"px"}),t.cancel(o),o=t(function(){e[0].focus()},c)):e[0].focus()}else a[0].querySelector("div.boardstrip-item--add").focus();angular.element(a[0].querySelector(".boardstrip-container")).css({width:p(r.getBoardsMasterArrayLength())+"px"})})):(r.maxVisibleIndex=r.getBoardsMasterArrayLength()-1,r.minVisibleIndex=Math.max(r.maxVisibleIndex-e.maxVisibleBoards+1,0),r.setCurrentIndex(r.maxVisibleIndex),t(function(){angular.element(a[0].querySelector(".boardstrip-container")).css({width:p(r.getBoardsMasterArrayLength())+"px"});var e=angular.element(a[0].querySelector(".boardstrip-container"))[0].style.left,n=u(),i=a[0].querySelectorAll("[att-board]");e!==n+"px"?(angular.element(a[0].querySelector(".boardstrip-container")).css({left:n+"px"}),t.cancel(o),o=t(function(){i[i.length-1].focus()},c)):i[i.length-1].focus(),h(i,r.minVisibleIndex,r.maxVisibleIndex)})))}),i.nextBoard=function(){r.maxVisibleIndex+=e.boardsToScroll,r.rectifyMaxVisibleBoards(),r.minVisibleIndex=r.maxVisibleIndex-(e.maxVisibleBoards-1),t.cancel(o),angular.element(a[0].querySelector(".boardstrip-container")).css({left:u()+"px"}),t(function(){var e=a[0].querySelectorAll("[att-board]");if(h(e,r.minVisibleIndex,r.maxVisibleIndex),!i.isNextBoard())try{e[e.length-1].focus()}catch(t){}},c)},i.prevBoard=function(){r.minVisibleIndex-=e.boardsToScroll,r.minVisibleIndex<0&&(r.minVisibleIndex=0),r.maxVisibleIndex=r.minVisibleIndex+e.maxVisibleBoards-1,r.rectifyMaxVisibleBoards(),t.cancel(o),angular.element(a[0].querySelector(".boardstrip-container")).css({left:u()+"px"}),t(function(){var e=a[0].querySelectorAll("[att-board]");if(h(e,r.minVisibleIndex,r.maxVisibleIndex),0===r.minVisibleIndex)try{a[0].querySelector("div.boardstrip-item--add").focus()}catch(t){}})},i.isPrevBoard=function(){return r.minVisibleIndex>0},i.isNextBoard=function(){return r.getBoardsMasterArrayLength()-1>r.maxVisibleIndex}}}}]).directive("attAddBoard",["BoardStripConfig","$parse","$timeout",function(e,t,n){return{restrict:"AE",replace:!0,require:"^attBoardStrip",scope:{onAddBoard:"&?"},templateUrl:"app/scripts/ng_js_att_tpls/boardStrip/attAddBoard.html",link:function(e,n,i,a){e.addBoard=function(){i.onAddBoard&&(e.onAddBoard=t(e.onAddBoard),e.onAddBoard())}}}}]).directive("attBoardNavigation",["keymap","events",function(e,t){return{restrict:"AE",link:function(n,i){var a=e.KEY.LEFT,s=e.KEY.RIGHT;i.bind("keydown",function(e){switch(e.keyCode||(e.keyCode=e.which),e.keyCode){case s:if(t.preventDefault(e),t.stopPropagation(e),i[0].nextElementSibling&&parseInt(angular.element(i[0].nextElementSibling).attr("tabindex"))>=0)angular.element(i[0])[0].nextElementSibling.focus();else{var n=angular.element(i[0])[0];do{if(!n.nextSibling)break;n=n.nextSibling}while(n&&"LI"!==n.tagName);n.tagName&&"LI"===n.tagName&&parseInt(angular.element(n).attr("tabindex"))>=0&&n.focus()}break;case a:if(t.preventDefault(e),t.stopPropagation(e),i[0].previousElementSibling&&parseInt(angular.element(i[0].previousElementSibling).attr("tabindex"))>=0)angular.element(i[0])[0].previousElementSibling.focus();else{var r=angular.element(i[0])[0];do{if(!r.previousSibling)break;r=r.previousSibling}while(r&&"LI"!==r.tagName);r.tagName&&"LI"===r.tagName&&parseInt(angular.element(n).attr("tabindex"))>=0&&r.focus()}}})}}}]),angular.module("att.abs.breadCrumbs",[]).constant("classConstant",{defaultClass:"breadcrumbs__link",activeClass:"breadcrumbs__link--active"}).directive("attCrumb",["classConstant",function(e){return{restrict:"A",link:function(t,n,i){n.addClass(e.defaultClass),"active"===i.attCrumb&&n.addClass(e.activeClass),n.hasClass("last")||n.after('<i class="breadcrumbs__item"></i>')}}}]),angular.module("att.abs.buttons",["att.abs.position","att.abs.utilities"]).constant("btnConfig",{btnClass:"button",btnPrimaryClass:"button--primary",btnSecondaryClass:"button--secondary",btnDisabledClass:"button--inactive",btnSmallClass:"button--small"
+}).directive("attButton",["btnConfig",function(e){return{restrict:"A",link:function(t,n,i){n.addClass(e.btnClass),"small"===i.size&&n.addClass(e.btnSmallClass),i.$observe("btnType",function(t){"primary"===t?(n.addClass(e.btnPrimaryClass),n.removeClass(e.btnSecondaryClass),n.removeClass(e.btnDisabledClass),n.removeAttr("disabled")):"secondary"===t?(n.addClass(e.btnSecondaryClass),n.removeClass(e.btnPrimaryClass),n.removeClass(e.btnDisabledClass),n.removeAttr("disabled")):"disabled"===t&&(n.addClass(e.btnDisabledClass),n.removeClass(e.btnPrimaryClass),n.removeClass(e.btnSecondaryClass),n.attr("disabled","disabled"))})}}}]).directive("attButtonLoader",[function(){return{restrict:"A",replace:!1,scope:{size:"@"},template:"<div ng-class=\"{'button--loading': size === 'large','button--loading__small': size === 'small'}\"><i></i><i class=\"second__loader\"></i><i></i></div>",link:function(e,t){t.addClass("button button--inactive")}}}]).directive("attButtonHero",[function(){return{restrict:"A",replace:!1,transclude:!0,scope:{icon:"@"},template:"<div class=\"button--hero__inner\"><span ng-transclude></span> <i ng-class=\"{'icon-arrow-right': icon === 'arrow-right','icon-cart': icon === 'cart'}\"></i></div>",link:function(e,t){t.addClass("button button--hero"),t.attr("tabindex","0")}}}]).directive("attBtnDropdown",["$document","$timeout","$isElement","$documentBind","keymap","events",function(e,t,n,i,a,s){return{restrict:"EA",scope:{type:"@dropdowntype"},replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/buttons/buttonDropdown.html",link:function(r,o){r.isOpen=!1;var l=-1,c=[],d=void 0;t(function(){c=o.find("li"),d=o.find("button")[0]},10);var p=r.toggle=function(e){angular.isUndefined(e)||""===e?r.isOpen=!r.isOpen:r.isOpen=e},u=function(){l+1<c.length&&(l++,c[l].focus())},h=function(){l-1>=0&&(l--,c[l].focus())};o.bind("keydown",function(e){var t=e.keyCode;if(a.isAllowedKey(t)||a.isControl(e)||a.isFunctionKey(e))switch(t){case a.KEY.ENTER:l>0&&(d.focus(),r.$apply());break;case a.KEY.ESC:p(!1),l=-1,d.focus(),r.$apply();break;case a.KEY.DOWN:u(),r.$apply(),s.preventDefault(e),s.stopPropagation(e);break;case a.KEY.UP:h(),r.$apply(),s.preventDefault(e),s.stopPropagation(e)}else t===a.KEY.TAB&&(p(!1),l=-1,r.$apply())});var g=function(t){var i=n(angular.element(t.target),o,e);if(!i){p(!1),l=-1;for(var a=0;a<c.length;a++)angular.element(c[a]).removeClass("selected");d.focus(),r.$apply()}};i.click("isOpen",g,r)}}}]),angular.module("att.abs.checkbox",[]).constant("attCheckboxConfig",{activeClass:"att-checkbox--on",disabledClass:"att-checkbox--disabled"}).directive("checkboxLimit",function(){return{scope:{checkboxLimit:"=",selectLimit:"@?",maxSelected:"&?"},restrict:"A",require:"checkboxLimit",controller:["$scope",function(e){e.limit=!0,this.getMaxLimits=function(){return e.limit},this.setMaxLimits=function(t){e.limit=t},this.maxCheckboxSelected=function(){e.maxSelected()}}],link:function(e,t,n,i){e.$watch("checkboxLimit",function(){var t=0;for(var n in e.checkboxLimit)e.checkboxLimit.hasOwnProperty(n)&&e.checkboxLimit[n]&&(t+=1);t>=parseInt(e.selectLimit)?i.setMaxLimits(!1):i.setMaxLimits(!0)},!0)}}}).directive("attCheckbox",["$compile","attCheckboxConfig",function(e,t){return{scope:{},restrict:"A",require:["ngModel","^?checkboxLimit"],link:function(n,i,a,s){var r=s[0],o=s[1],l=e('<div tabindex="0" role="checkbox" att-accessibility-click="13,32" aria-label="Checkbox" ng-click="updateModel($event)" class="att-checkbox"></div>')(n);i.css({display:"none"}),i.wrap(l),i.parent().append('<div class="att-checkbox__indicator"></div>'),i.parent().attr("title",a.title),i.parent().attr("aria-label",a.title),i.parent().attr("id",a.id),i.removeAttr("id"),r.$render=function(){var e=r.$modelValue?!0:!1;i.parent().toggleClass(t.activeClass,e),i.parent().attr("aria-checked",e)},n.updateModel=function(e){n.disabled||(r.$setViewValue(i.parent().hasClass(t.activeClass)?!1:!0),o&&!o.getMaxLimits()&&r.$modelValue?(o.maxCheckboxSelected(),r.$setViewValue(i.parent().hasClass(t.activeClass)?!0:!1)):r.$render()),e.preventDefault()},a.$observe("disabled",function(e){n.disabled=e||"disabled"===e||"true"===e,i.parent().toggleClass(t.disabledClass,n.disabled),i.parent().attr("tabindex",n.disabled?"-1":"0")})}}}]).directive("checkboxGroup",["$compile",function(e){return{scope:{checkboxGroup:"=",checkboxGroupValue:"=?"},restrict:"A",link:function(t,n,i){t.checkboxState="none",void 0===t.checkboxGroupValue&&(t.checkboxGroupValue="indeterminate"),n.css({display:"none"}),n.wrap(e('<div tabindex="0" role="checkbox" att-accessibility-click="13,32" ng-click="updateModel($event)" class="att-checkbox"></div>')(t)),n.parent().append('<div class="att-checkbox__indicator"></div>'),n.parent().attr("title",i.title),n.parent().attr("aria-label",i.title),t.$watch("checkboxState",function(e){"all"===e?(n.parent().addClass("att-checkbox--on"),n.parent().removeClass("att-checkbox--indeterminate"),n.parent().attr("aria-checked",!0)):"none"===e?(n.parent().removeClass("att-checkbox--on"),n.parent().removeClass("att-checkbox--indeterminate"),n.parent().attr("aria-checked",!1)):"indeterminate"===e&&(n.parent().removeClass("att-checkbox--on"),n.parent().addClass("att-checkbox--indeterminate"),n.parent().attr("aria-checked",!0))}),t.updateModel=function(e){if(n.parent().hasClass("att-checkbox--on")){n.parent().removeClass("att-checkbox--on");for(var i in t.checkboxGroup)t.checkboxGroup.hasOwnProperty(i)&&(t.checkboxGroup[i]=!1)}else{n.parent().addClass("att-checkbox--on");for(var a in t.checkboxGroup)t.checkboxGroup.hasOwnProperty(a)&&(t.checkboxGroup[a]=!0)}e.preventDefault()},t.$watch("checkboxGroupValue",function(e){if(e===!1){n.parent().removeClass("att-checkbox--on");for(var i in t.checkboxGroup)t.checkboxGroup.hasOwnProperty(i)&&(t.checkboxGroup[i]=!1)}else if(e===!0){n.parent().addClass("att-checkbox--on");for(var a in t.checkboxGroup)t.checkboxGroup.hasOwnProperty(a)&&(t.checkboxGroup[a]=!0)}}),t.$watch("checkboxGroup",function(){var e=0,n=0,i=0;for(var a in t.checkboxGroup)t.checkboxGroup.hasOwnProperty(a)&&(i+=1,t.checkboxGroup[a]?e+=1:t.checkboxGroup[a]||(n+=1));i===e?(t.checkboxState="all",t.checkboxGroupValue=!0):i===n?(t.checkboxState="none",t.checkboxGroupValue=!1):(t.checkboxState="indeterminate",t.checkboxGroupValue="indeterminate")},!0)}}}]),angular.module("att.abs.colorselector",[]).directive("colorSelectorWrapper",[function(){return{scope:{selected:"=",iconColor:"@"},restrict:"AE",transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/colorselector/colorselector.html",link:function(e){e.applycolor={"background-color":e.iconColor},e.selectedcolor=function(t){e.selected=t}}}}]).directive("colorSelector",["$compile",function(e){return{restrict:"A",scope:{colorSelector:"@",ngModel:"="},link:function(t,n,i){n.removeAttr("color-selector");var a=i.title,s=angular.element('<color-selector-wrapper selected="ngModel" title="'+a+'" icon-color="{{colorSelector}}">'+n.prop("outerHTML")+"</color-selector-wrapper>"),r=e(s)(t);n.replaceWith(r)}}}]),angular.module("att.abs.datepicker",["att.abs.position","att.abs.utilities"]).constant("datepickerConfig",{dateFormat:"MM/dd/yyyy",dayFormat:"d",monthFormat:"MMMM",yearFormat:"yyyy",dayHeaderFormat:"EEEE",dayTitleFormat:"MMMM yyyy",disableWeekend:!1,disableSunday:!1,startingDay:0,minDate:null,maxDate:null,mode:0,dateFilter:{defaultText:"Select from list"},datepickerEvalAttributes:["dateFormat","dayFormat","monthFormat","yearFormat","dayHeaderFormat","dayTitleFormat","disableWeekend","disableSunday","startingDay","mode"],datepickerWatchAttributes:["min","max"]}).factory("datepickerService",["datepickerConfig","dateFilter",function(e,t){var n=function(t,n){if(angular.isDefined(t)&&null!==t&&angular.isDefined(n)&&null!==n){var i=e.datepickerEvalAttributes.concat(e.datepickerWatchAttributes);for(var a in t){var s=t[a];-1!==i.indexOf(a)&&angular.isDefined(s)&&n.attr(a.toSnakeCase(),a)}}},i=function(t,n){if(angular.isDefined(t)&&null!==t&&angular.isDefined(n)&&null!==n){var i=function(e,t){n[e]=n.$parent.$eval(t)},a=function(e,t){n.$parent.$watch(t,function(t){n[e]=t}),n.$watch(e,function(e){n.$parent[t]=e})},s=e.datepickerEvalAttributes,r=e.datepickerWatchAttributes;for(var o in t){var l=t[o];-1!==s.indexOf(o)&&angular.isDefined(l)?i(o,l):-1!==r.indexOf(o)&&angular.isDefined(l)&&a(o,l)}}},a=function(e,n){if(e&&n){var i;-1!==n.indexOf("/")?i="/":-1!==n.indexOf("-")?i="-":-1!==n.indexOf(".")&&(i=".");var a=e.split(i),s=n.split(i);if(a.length!==s.length)return!1;for(var r=0;r<a.length;r++)a[r]=a[r].lPad(s[r].length,"0");var o=a.join(i),l=t(new Date(o),n);return o===l}};return{setAttributes:n,bindScope:i,validateDateString:a}}]).controller("DatepickerController",["$scope","$attrs","dateFilter","datepickerConfig",function(e,t,n,i){function a(t,n){return angular.isDefined(t)?e.$parent.$eval(t):n}function s(e,t){return new Date(e,t,0).getDate()}function r(e,t){for(var n=[],i=e,a=0;t>a;)n[a++]=new Date(i),i.setDate(i.getDate()+1);return n}function o(t){return t&&angular.isDate(e.currentDate)&&0===_(t,e.currentDate)?!0:!1}function l(t){return t&&angular.isDate(e.fromDate)&&0===_(t,e.fromDate)?!0:!1}function c(t){return t&&angular.isDate(e.fromDate)&&angular.isDate(e.currentDate)&&0===_(t,e.currentDate)?!0:!1}function d(t){return t&&angular.isDate(e.fromDate)&&angular.isDate(e.currentDate)&&_(t,e.fromDate)>=0&&_(t,e.currentDate)<=0?!0:!1}function p(e){return"Saturday"===n(e,b.dayHeader)||"Sunday"===n(e,b.dayHeader)?!0:!1}function u(t){return 0===_(t,e.resetTime(new Date))?!0:!1}function h(t){return t&&angular.isDate(e.focusedDate)&&0===_(t,e.focusedDate)?!0:!1}function g(t,n){return e.minDate&&e.minDate.getTime()>=t.getTime()&&e.minDate.getTime()<=n.getTime()}function f(t,n){return e.maxDate&&e.maxDate.getTime()>=t.getTime()&&e.maxDate.getTime()<=n.getTime()}function m(e){if(e){var t={pre:e.substr(0,3),post:e};return t}}function v(e){return{date:e.date,label:n(e.date,e.formatDay),header:n(e.date,e.formatHeader),focused:!!e.isFocused,selected:!!e.isSelected,from:!!e.isFromDate,to:!!e.isToDate,dateRange:!!e.isDateRange,oldMonth:!!e.oldMonth,nextMonth:!!e.newMonth,disabled:!!e.isDisabled,today:!!e.isToday,weekend:!!e.isWeakend}}var b={date:a(t.dateFormat,i.dateFormat),day:a(t.dayFormat,i.dayFormat),month:a(t.monthFormat,i.monthFormat),year:a(t.yearFormat,i.yearFormat),dayHeader:a(t.dayHeaderFormat,i.dayHeaderFormat),dayTitle:a(t.dayTitleFormat,i.dayTitleFormat),disableWeekend:a(t.disableWeekend,i.disableWeekend),disableSunday:a(t.disableSunday,i.disableSunday)},y=a(t.startingDay,i.startingDay);e.mode=a(t.mode,i.mode),e.minDate=i.minDate?e.resetTime(i.minDate):null,e.maxDate=i.maxDate?e.resetTime(i.maxDate):null;var _=this.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},w=this.isDisabled=function(t){return b.disableWeekend!==!0||"Saturday"!==n(t,b.dayHeader)&&"Sunday"!==n(t,b.dayHeader)?b.disableSunday===!0&&"Sunday"===n(t,b.dayHeader)?!0:e.minDate&&_(t,e.minDate)<0||e.maxDate&&_(t,e.maxDate)>0:!0};this.modes=[{name:"day",getVisibleDates:function(t,i){var a=t.getFullYear(),_=t.getMonth(),k=new Date(a,_,1),C=new Date(a,_+1,0),S=y-k.getDay(),D=S>0?7-S:-S,x=new Date(k),T=0;D>0&&(x.setDate(-D+1),T+=D),T+=s(a,_+1),T+=(7-T%7)%7;for(var $=r(x,T),E=[],A=0;T>A;A++){var I=new Date($[A]);$[A]=v({date:I,formatDay:b.day,formatHeader:b.dayHeader,isFocused:h(I),isSelected:o(I),isFromDate:l(I),isToDate:c(I),isDateRange:d(I),oldMonth:new Date(I.getFullYear(),I.getMonth(),1,0,0,0).getTime()<new Date(a,_,1,0,0,0).getTime(),newMonth:new Date(I.getFullYear(),I.getMonth(),1,0,0,0).getTime()>new Date(a,_,1,0,0,0).getTime(),isDisabled:w(I),isToday:u(I),isWeakend:p(I)})}for(var L=0;7>L;L++)E[L]=m(n($[L].date,b.dayHeader));return"top"===i?(e.disablePrevTop=g(k,C),e.disableNextTop=f(k,C)):"bottom"===i?(e.disablePrevBottom=g(k,C),e.disableNextBottom=f(k,C)):(e.disablePrevTop=e.disablePrevBottom=g(k,C),e.disableNextTop=e.disableNextBottom=f(k,C)),e.disablePrev=e.disablePrevTop||e.disablePrevBottom,e.disableNext=e.disableNextTop||e.disableNextBottom,{objects:$,title:n(t,b.dayTitle),labels:E}},split:7,step:{months:1}},{name:"month",getVisibleDates:function(e){for(var t=[],i=[],a=e.getFullYear(),s=0;12>s;s++){var r=new Date(a,s,1);t[s]=v({date:r,formatDay:b.month,formatHeader:b.month,isFocused:h(r),isSelected:o(r),isFromDate:l(r),isToDate:c(r),isDateRange:d(r),oldMonth:!1,newMonth:!1,isDisabled:w(r),isToday:u(r),isWeakend:!1})}return{objects:t,title:n(e,b.year),labels:i}},split:3,step:{years:1}}]}]).directive("datepicker",["$timeout",function(e){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/datepicker/datepicker.html",scope:{currentDate:"=?current",fromDate:"=?from"},require:"datepicker",controller:"DatepickerController",link:function(t,n,i,a){function s(e,t){for(var n=[];e.length>0;)n.push(e.splice(0,t));return n}function r(e){if(angular.isDate(e)&&!isNaN(e)?o=new Date(e):o||(o=new Date),o){var n;1===t.mode?(o=new Date,n=d(angular.copy(o),-1)):n=angular.copy(o);var i=l.modes[t.mode],a=i.getVisibleDates(n,"top");t.currentRows=s(a.objects,i.split),t.currentTitle=a.title,t.labels=a.labels||[];var r=i.getVisibleDates(d(angular.copy(n),1),"bottom");t.nextRows=s(r.objects,i.split),t.nextTitle=r.title}}var o,l=a,c=!1;t.focusedDate,t.resetTime=function(e){var n;return isNaN(new Date(e))?null:(n=new Date(e),n=1===t.mode?new Date(n.getFullYear(),n.getMonth()):new Date(n.getFullYear(),n.getMonth(),n.getDate()))},i.min&&t.$parent.$watch(i.min,function(e){t.minDate=e?t.resetTime(e):null,r()}),i.max&&t.$parent.$watch(i.max,function(e){t.maxDate=e?t.resetTime(e):null,r()});var d=function(e,n){var i=l.modes[t.mode].step;return e.setDate(1),e.setMonth(e.getMonth()+n*(i.months||0)),e.setFullYear(e.getFullYear()+n*(i.years||0)),e},p=function(e){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.currentDate=n},u=function(e){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate());t.fromDate=n};t.select=function(e){c=!0,i.from?angular.isDate(t.fromDate)&&angular.isDate(t.currentDate)||(angular.isDate(t.fromDate)?p(e):angular.isDate(t.fromDate)||u(e)):p(e),t.focusedDate=e};var h=function(n,i){u(i),e(function(){c=!0,t.focusedDate=i,p(n)})};t.move=function(e){o=d(angular.copy(o),e),r()},t.$watch("currentDate",function(e){return angular.isDate(e)&&!isNaN(e)&&l.isDisabled(e)?void(t.currentDate=null):i.from&&!isNaN(e)&&!isNaN(t.fromDate)&&l.compare(e,t.fromDate)<0?void h(t.fromDate,e):(c?(r(),c=!1):angular.isDefined(e)&&null!==e?r(e):r(),void(t.focusedDate=void 0))}),t.$watch("fromDate",function(e){if(angular.isDate(e)&&!isNaN(e)&&l.isDisabled(e))return void(t.fromDate=null);if(i.from){if(!isNaN(t.currentDate)&&!isNaN(e)&&l.compare(t.currentDate,e)<0)return void h(e,t.currentDate);c?(r(),c=!1):angular.isDefined(e)&&null!==e?r(e):r()}t.focusedDate=void 0})}}}]).directive("datepickerPopup",["$document","datepickerService","$isElement","$documentBind",function(e,t,n,i){var a=function(a,s,r){t.bindScope(r,a),a.isOpen=!1;var o=a.toggle=function(e){e===!0||e===!1?a.isOpen=e:a.isOpen=!a.isOpen};a.$watch("current",function(){o(!1)});var l=function(t){var i=n(angular.element(t.target),s,e);i||(o(!1),a.$apply())};i.click("isOpen",l,a)};return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/datepicker/datepickerPopup.html",scope:{current:"=current"},compile:function(e,n){var i=e.find("span").eq(1);return i.attr("current","current"),t.setAttributes(n,i),a}}}]).directive("attDatepicker",["$log",function(e){return{restrict:"A",require:"ngModel",scope:{},controller:["$scope","$element","$attrs","$compile","datepickerConfig","datepickerService",function(e,t,n,i,a,s){var r=angular.isDefined(n.dateFormat)?e.$parent.$eval(n.dateFormat):a.dateFormat,o='<div class="sr-focus hidden-spoken" tabindex="-1">the date you selected is {{$parent.current | date : \''+r+"'}}</div>";t.removeAttr("att-datepicker"),t.removeAttr("ng-model"),t.attr("ng-model","$parent.current"),t.attr("aria-describedby","datepicker"),t.attr("format-date",r),t.attr("att-input-deny","[^0-9/-]"),t.attr("maxlength",10),t.attr("readonly","readonly");var l=angular.element("<div></div>");l.attr("datepicker-popup",""),l.attr("current","current"),s.setAttributes(n,l),s.bindScope(n,e),l.html(""),l.append(t.prop("outerHTML")),null===navigator.userAgent.match(/MSIE 8/)&&l.append(o);var c=l.prop("outerHTML");c=i(c)(e),t.replaceWith(c)}],link:function(t,n,i,a){return a?(t.$watch("current",function(e){a.$setViewValue(e)}),void(a.$render=function(){t.current=a.$viewValue})):void e.error("ng-model is required.")}}}]).directive("formatDate",["dateFilter","datepickerService",function(e,t){return{restrict:"A",require:"ngModel",link:function(n,i,a,s){var r="";a.$observe("formatDate",function(e){r=e});var o=function(t){return t?(s.$setValidity("invalidDate",!0),e(t,r)):(s.$setValidity("invalidDate",!1),i.val())},l=function(e){return t.validateDateString(e,r)?(s.$setValidity("invalidDate",!0),new Date(e)):(s.$setValidity("invalidDate",!1),null)};s.$formatters.unshift(o),s.$parsers.unshift(l)}}}]).directive("attDateFilter",["$document","dateFilter","datepickerConfig","datepickerService","$isElement","$documentBind",function(e,t,n,i,a,s){var r=function(r,o,l,c){i.bindScope(l,r),r.selectedOption=n.dateFilter.defaultText,r.showDropdownList=!1,r.showCalendar=!1,r.applyButtonType="disabled",r.currentSelection="";var d=angular.isDefined(l.dateFormat)?r.$parent.$eval(l.dateFormat):n.dateFormat,p=!1,u=function(e){if(!p){var n=d.toUpperCase(),i=d.toUpperCase();isNaN(new Date(r.fromDate))||(n=t(r.fromDate,d)),isNaN(new Date(r.currentDate))||(i=t(r.currentDate,d)),"Custom Single Date"===e?(c.$setValidity("invalidDate",!0),r.maxLength=10,r.selectedOption=i):"Custom Range"===e&&(c.$setValidity("invalidDate",!0),c.$setValidity("invalidDateRange",!0),r.maxLength=21,r.selectedOption=n+"-"+i)}},h=r.clear=function(e){r.fromDate=void 0,r.currentDate=void 0,r.applyButtonType="disabled",e||(c.$setValidity("invalidDate",!0),c.$setValidity("invalidDateRange",!0),u(r.currentSelection))},g=function(){r.showCalendar=!0},f=function(){r.showCalendar=!1,"Custom Single Date"!==r.currentSelection&&"Custom Range"!==r.currentSelection&&h(!0)},m=r.showDropdown=function(e){e===!0||e===!1?r.showDropdownList=e:r.showDropdownList=!r.showDropdownList,r.showDropdownList?("Custom Single Date"===r.currentSelection||"Custom Range"===r.currentSelection)&&g():(r.focusInputButton=!0,f())};r.resetTime=function(e){var t;return isNaN(new Date(e))?null:(t=new Date(e),new Date(t.getFullYear(),t.getMonth(),t.getDate()))},r.getDropdownText=function(){p=!0;var e=r.selectedOption;if("Custom Single Date"===r.currentSelection)!isNaN(new Date(e))&&i.validateDateString(e,d)?(c.$setValidity("invalidDate",!0),r.fromDate=void 0,r.currentDate=new Date(e)):(c.$setValidity("invalidDate",!1),h(!0));else if("Custom Range"===r.currentSelection)if(-1===e.indexOf("-")||2!==e.split("-").length&&6!==e.split("-").length)c.$setValidity("invalidDateRange",!1),h(!0);else{c.$setValidity("invalidDateRange",!0);var t=e.split("-");if(2===t.length)t[0]=t[0].trim(),t[1]=t[1].trim();else if(6===t.length){var n=t[0].trim()+"-"+t[1].trim()+"-"+t[2].trim(),a=t[3].trim()+"-"+t[4].trim()+"-"+t[5].trim();t[0]=n,t[1]=a}if(!isNaN(new Date(t[0]))&&!isNaN(new Date(t[1]))&&i.validateDateString(t[0],d)&&i.validateDateString(t[1],d)){c.$setValidity("invalidDate",!0);var s=new Date(t[0]),o=new Date(t[1]);s.getTime()<o.getTime()?(c.$setValidity("invalidDateRange",!0),r.fromDate=s,r.currentDate=o):(c.$setValidity("invalidDateRange",!1),h(!0))}else c.$setValidity("invalidDate",!1),h(!0)}},r.untrackInputChange=function(){p=!1},r.selectAdvancedOption=function(e,t){r.currentSelection=e,t||(h(),g()),r.$watch("currentDate",function(t){isNaN(new Date(t))||(r.applyButtonType="primary",u(e),p||(r.focusApplyButton=!0))}),r.$watch("fromDate",function(t){isNaN(new Date(t))||u(e)}),"Custom Single Date"===e?r.focusSingleDateCalendar=!0:"Custom Range"===e&&(r.focusRangeCalendar=!0)},r.resetFocus=function(){r.focusSingleDateCalendar=!1,r.focusRangeCalendar=!1,r.focusApplyButton=!1},r.apply=function(){r.dateRange.selection=r.selectedOption,isNaN(new Date(r.fromDate))?(r.from=void 0,r.dateRange.from=void 0):(r.from=r.fromDate,r.dateRange.from=r.fromDate),isNaN(new Date(r.currentDate))?(r.current=void 0,r.dateRange.current=void 0):(r.current=r.currentDate,r.dateRange.current=r.currentDate),m()},r.$watchCollection(function(){return r.dateRange},function(e){if(c){var t=angular.copy(e);c.$setViewValue(t)}}),c.$render=function(){if(c.$viewValue){var e=c.$viewValue;r.selectedOption=e.selection,r.fromDate=e.from,r.currentDate=e.current,void 0!==r.fromDate&&void 0!==r.currentDate?(r.selectAdvancedOption("Custom Range",!0),r.dateRange.from=r.fromDate,r.dateRange.current=r.currentDate):void 0!==r.currentDate&&(r.selectAdvancedOption("Custom Single Date",!0),r.dateRange.from=void 0,r.dateRange.current=r.currentDate)}},r.cancel=function(){r.currentSelection="",r.selectedOption=n.dateFilter.defaultText,m()};var v=function(t){var n=a(angular.element(t.target),o,e);n||(r.cancel(),r.$apply())};s.click("showDropdownList",v,r)};return{restrict:"EA",scope:{from:"=?from",current:"=?current"},replace:!0,require:"?ngModel",transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/datepicker/dateFilter.html",controller:["$scope","$element","$attrs",function(e){e.dateRange={selection:void 0,from:void 0,current:void 0},this.selectOption=function(t,n,i){e.selectedOption=i,e.currentSelection=i,e.dateRange.selection=i,e.dateRange.current=e.resetTime(n),e.dateRange.from=e.resetTime(t),e.showDropdown()},e.checkCurrentSelection=this.checkCurrentSelection=function(t){return t===e.currentSelection?!0:!1}}],compile:function(e,t){var n=e.find("span").eq(4),a=e.find("span").eq(5);return a.attr("from","fromDate"),n.attr("current","currentDate"),a.attr("current","currentDate"),i.setAttributes(t,n),i.setAttributes(t,a),r}}}]).directive("attDateFilterList",function(){return{restrict:"EA",scope:{fromDate:"=fromDate",toDate:"=toDate",caption:"=caption",disabled:"=disabled"},require:"^attDateFilter",transclude:!0,replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/datepicker/dateFilterList.html",link:function(e,t,n,i){e.selectOption=function(e,t,n){i.selectOption(e,t,n)},e.checkCurrentSelection=i.checkCurrentSelection}}}),angular.module("att.abs.devNotes",[]).directive("attDevNotes",function(){return{restrict:"EA",transclude:!0,scope:{},controller:function(e){var t=e.panes=[];e.select=function(e){angular.forEach(t,function(e){e.selected=!1}),e.selected=!0},this.addPane=function(n){0===t.length&&e.select(n),t.push(n)}},template:'<div><ul class="tabs"><li ng-repeat="pane in panes" ng-class="{active:pane.selected}"><a href="javascript:void(0)" ng-click="select(pane)">{{pane.title}}</a></li></ul><div ng-transclude></div></div>',replace:!0}}).directive("pane",function(){return{require:"^attDevNotes",restrict:"EA",transclude:!0,scope:{title:"@"},link:function(e,t,n,i){i.addPane(e)},template:'<div class="tab-pane" ng-class="{active: selected}">'+"<pre ng-class=\"{'language-markup':title=='HTML','language-javascript':title=='JavaScript','language-json':title=='JSON'}\" class=\" line-numbers\"><code ng-transclude></code></pre></div>",replace:!0}}),angular.module("att.abs.dividerLines",[]).directive("attDividerLines",[function(){return{scope:{attDividerLines:"@"},restrict:"A",replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/dividerLines/dividerLines.html",link:function(e,t,n){e.lightContainer=n.attDividerLines}}}]),angular.module("att.abs.dragdrop",[]).directive("attFileDrop",["$parse",function(e){return{restrict:"A",scope:{fileModel:"=",onDrop:"&",attFileDrop:"&"},controller:["$scope","$attrs",function(e,t){""!==t.attFileDrop&&(e.onDrop=e.attFileDrop),this.onDrop=e.onDrop}],link:function(t,n){n.addClass("dragdrop"),n.bind("dragover",function(e){return e.originalEvent&&(e.dataTransfer=e.originalEvent.dataTransfer),e.dataTransfer.dropEffect="move",e.preventDefault&&e.preventDefault(),n.addClass("dragdrop-over"),!1}),n.bind("dragenter",function(e){return e.preventDefault&&e.preventDefault(),n.addClass("dragdrop-over"),!1}),n.bind("dragleave",function(){return n.removeClass("dragdrop-over"),!1}),n.bind("drop",function(i){return i.preventDefault&&i.preventDefault(),i.stopPropagation&&i.stopPropagation(),i.originalEvent&&(i.dataTransfer=i.originalEvent.dataTransfer),n.removeClass("dragdrop-over"),i.dataTransfer.files&&i.dataTransfer.files.length>0&&(t.fileModel=i.dataTransfer.files[0],t.$apply(),"function"==typeof t.onDrop&&(t.onDrop=e(t.onDrop),t.onDrop())),!1})}}}]).directive("attFileLink",[function(){return{restrict:"EA",require:"^?attFileDrop",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/dragdrop/fileUpload.html",scope:{fileModel:"=?",onFileSelect:"&",attFileLink:"&"},controller:["$scope","$parse",function(e,t){this.setFileModel=function(t){e.takeFileModelFromParent?(e.$parent.fileModel=t,e.$parent.$apply()):(e.fileModel=t,e.$apply())},this.callbackFunction=function(){"function"==typeof e.onFileSelect&&(e.onFileSelect=t(e.onFileSelect),e.onFileSelect())}}],link:function(e,t,n,i){e.takeFileModelFromParent=!1,!n.fileModel&&i&&(e.takeFileModelFromParent=!0),""!==n.attFileLink?e.onFileSelect=e.attFileLink:!n.onFileSelect&&i&&(e.onFileSelect=i.onDrop)}}}]).directive("attFileChange",["$log","$rootScope",function(e,t){return{restrict:"A",require:"^attFileLink",link:function(n,i,a,s){function r(n){if(n.target.files&&n.target.files.length>0)s.setFileModel(n.target.files[0]),s.callbackFunction();else{var i=n.target.value;try{var a=new ActiveXObject("Scripting.FileSystemObject");s.setFileModel(a.getFile(i)),s.callbackFunction()}catch(n){var r="Error: Please follow the guidelines of Drag and Drop component on Sandbox demo page.";e.error(r),t.$broadcast("att-file-link-failure",r)}}}i.bind("change",r)}}}]),angular.module("att.abs.drawer",["att.abs.utilities"]).directive("attDrawer",["$document","$timeout","DOMHelper",function(e,t,n){return{restrict:"EA",replace:!0,transclude:!0,scope:{drawerOpen:"=?",drawerAutoClose:"&?"},template:'<div><div class="att-drawer" ng-transclude></div><div ng-class="{\'drawer-backdrop\':drawerOpen}"></div></div>',link:function(e,i,a){function s(t,n){t&&0!==t.style.width&&0!==t.style.height&&(u.style.display="none","right"===n.side||"left"===n.side?t.style.width="0px":("top"===n.side||"bottom"===n.side)&&(t.style.height="0px")),e.drawerOpen=!1,angular.isDefined(d)&&null!=d&&d.focus()}function r(e,n){d=document.activeElement,0!==e.style.width&&0!==e.style.height&&("right"===n.side||"left"===n.side?e.style.width=n.size:("top"===n.side||"bottom"===n.side)&&(e.style.height=n.size),t(function(){u.style.display="block",angular.isDefined(c)&&null!=c&&c.focus()},1e3*n.speed))}function o(e){var t={};return e&&"[object Function]"===t.toString.call(e)}var l={},c=void 0,d=void 0;l.side=a.drawerSlide||"top",l.speed=a.drawerSpeed||"0.25",l.size=a.drawerSize||"300px",l.zindex=a.drawerZindex||1e3,l.className=a.drawerClass||"att-drawer";var p=i.eq(0).children()[0],u=angular.element(p).children()[0];p.className=l.className,p.style.transitionDuration=l.speed+"s",p.style.webkitTransitionDuration=l.speed+"s",p.style.zIndex=l.zindex,p.style.position="fixed",p.style.width=0,p.style.height=0,p.style.transitionProperty="width, height","right"===l.side?(p.style.height=a.drawerCustomHeight||"100%",p.style.top=a.drawerCustomTop||"0px",p.style.bottom=a.drawerCustomBottom||"0px",p.style.right=a.drawerCustomRight||"0px"):"left"===l.side?(p.style.height=a.drawerCustomHeight||"100%",p.style.top=a.drawerCustomTop||"0px",p.style.bottom=a.drawerCustomBottom||"0px",p.style.left=a.drawerCustomRight||"0px"):("top"===l.side||"bottom"===l.side)&&(p.style.width=a.drawerCustomWidth||"100%",p.style.left=a.drawerCustomLeft||"0px",p.style.top=a.drawerCustomTop||"0px",p.style.right=a.drawerCustomRight||"0px"),t(function(){c=n.firstTabableElement(i[0])},10,!1),a.drawerSize&&e.$watch(function(){return a.drawerSize},function(t){l.size=t,e.drawerOpen&&r(p,l)}),e.$watch("drawerOpen",function(e){e?r(p,l):s(p,l)}),e.drawerAutoClose()&&(e.$on("$locationChangeStart",function(){s(p,l),o(e.drawerAutoClose())&&e.drawerAutoClose()}),e.$on("$stateChangeStart",function(){s(p,l),o(e.drawerAutoClose)&&e.drawerAutoClose()}))}}}]),angular.module("att.abs.message",[]).directive("attMessages",[function(){return{restrict:"EA",scope:{messageType:"=?"},controller:["$scope","$element","$attrs",function(e,t,n){e.messageScope=[],this.registerScope=function(t){e.messageScope.push(t)},e.$parent.$watchCollection(n["for"],function(t){for(var n in t){if(t[n]){e.error=n;break}e.error=null}for(var i=0;i<e.messageScope.length;i++)e.messageScope[i].when===e.error?(e.messageScope[i].show(),e.setMessageType(e.messageScope[i].type)):e.messageScope[i].hide();null===e.error&&e.setMessageType(null)}),e.setMessageType=this.setMessageType=function(t){n.messageType&&(e.messageType=t)}}]}}]).directive("attMessage",[function(){return{restrict:"EA",scope:{},require:"^attMessages",link:function(e,t,n,i){i.registerScope(e),t.attr("role","alert"),e.when=n.when||n.attMessage,e.type=n.type,e.show=function(){t.css({display:"block"})},e.hide=function(){t.css({display:"none"})},e.hide()}}}]),angular.module("att.abs.formField",["att.abs.message","att.abs.utilities"]).directive("attFormField",[function(){return{priority:101,restrict:"A",controller:function(){},link:function(e,t,n){t.wrap('<div class="form-field"></div>'),t.parent().append('<label class="form-field__label">'+n.placeholder||n.attFormField+"</label>"),t.wrap('<div class="form-field-input-container"></div>'),t.bind("keyup",function(){""!==this.value?t.parent().parent().find("label").addClass("form-field__label--show").removeClass("form-field__label--hide"):t.parent().parent().find("label").addClass("form-field__label--hide").removeClass("form-field__label--show")}),t.bind("blur",function(){""===this.value&&t.parent().parent().find("label").removeClass("form-field__label--hide")})}}}]).directive("attFormFieldValidation",["$compile","$log",function(e,t){return{priority:102,scope:{},restrict:"A",require:["?ngModel","?attFormField"],link:function(n,i,a,s){var r=s[0],o=s[1];return n.valid="",r?o?(i.parent().append(e(angular.element('<i class="icon-info-alert error" ng-show="valid===false">&nbsp;</i>'))(n)),i.parent().append(e(angular.element('<i class="icon-info-success success" ng-show="valid===true">&nbsp;</i>'))(n)),n.$watch("valid",function(e){e?i.parent().parent().addClass("success"):e===!1?i.parent().parent().addClass("error"):i.parent().parent().removeClass("success").removeClass("error")}),void i.bind("keyup",function(){r.$valid?n.valid=!0:r.$invalid?n.valid=!1:n.valid="",n.$apply()})):void t.error("att-form-field-validation :: att-form-field directive is required."):void t.error("att-form-field-validation :: ng-model directive is required.")}}}]).directive("attFormFieldValidationAlert",["$timeout",function(e){return{scope:{messageType:"=?"},restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlert.html",link:function(t,n,i,a){t.showLabel=!1,t.hideLabel=!1,t.errorMessage=!1,t.warningMessage=!1;var s=function(){var e=t.messageType;"error"===e?(t.errorMessage=!0,t.warningMessage=!1):"warning"===e?(t.errorMessage=!1,t.warningMessage=!0):(t.errorMessage=!1,t.warningMessage=!1)},r=-1!==navigator.userAgent.toLowerCase().indexOf("msie 8.0");n.find("label").text(n.find("input").attr("placeholder")),n.find("input").bind("keyup",function(){""!==this.value?(t.showLabel=!0,t.hideLabel=!1,r&&n.find("label").css({top:"-20px"})):(t.showLabel=!1,t.hideLabel=!0,r&&n.find("label").css({top:"0px"})),s(),t.$apply()}),n.find("input").bind("blur",function(){""===this.value&&(t.showLabel=!1,t.hideLabel=!1),t.$apply()}),e(function(){s()},100)}}}]).constant("CoreFormsUiConfig",{phoneMask:"(___) ___-____"}).directive("attPhoneMask",["$parse","CoreFormsUiConfig",function(e,t){
+return{require:"ngModel",scope:{ngModel:"="},link:function(e,n,i,a){var s=navigator.userAgent.toLowerCase(),r=s.indexOf("android")>-1,o=(-1!==s.indexOf("msie 8.0"),""),l=!1;o=r?"__________":t.phoneMask,n.attr("maxlength",o.length);var c=function(e){var t=!1;return e&&(t=10===e.length),a.$setValidity("invalidPhoneNumber",l),a.$setValidity("mask",t),t},d=function(){var e,t=a.$modelValue;if(t.length){var n,i,s,r,l;for(r=[],s=o.split(""),l=s.length,n=t.substring(0,o.length),i=t.replace(/[^0-9]/g,"").split(""),e=0;l>e&&(r.push("_"===s[e]?i.shift():s[e]),0!==i.length);e++);return t=r.join(""),"("===t&&(t=""),a.$setViewValue(t),a.$render(),t}},p=function(t){t.which&&((t.which<48||t.which>57)&&(t.which<96||t.which>105)?8===t.which||9===t.which||46===t.which||13===t.which||37===t.which||39===t.which||t.ctrlKey===!0||"118"===t.which&&"86"===t.which||t.ctrlKey===!0||"99"===t.which&&"67"===t.which||t.ctrlKey===!0||"120"===t.which&&"88"===t.which||(t.preventDefault?t.preventDefault():t.returnValue=!1,n.attr("aria-label","Only numbers are allowed"),l=!1):(n.removeAttr("aria-label"),l=!0)),e.$apply()},u=function(e){var t=/^[A-Za-z]+$/,n=/^[0-9]+$/;e.match(t)&&(l=!1),e.match(n)&&(l=!0);var i="";return e&&e.length>0&&(i=e.replace(/[^0-9]/g,"")),c(i),i},h=function(e){var t="";return c(e),e&&(t=d()),t};a.$parsers.push(u),a.$formatters.push(h),n.bind("keyup",d),n.bind("keydown",p),n.bind("input",function(e){d(e),p(e)})}}}]).constant("validationTypeInt",{validationNum:{number:"1",text:"2",email:"3"}}).directive("attFormFieldPrv",["keyMapAc","validationTypeInt",function(e,t){return{priority:101,restrict:"AE",controller:["$scope",function(n){this.showHideErrorMessage=function(e){null!=n.$$prevSibling&&angular.isDefined(n.$$prevSibling)&&angular.isDefined(n.$$prevSibling.hideErrorMsg)&&(n.$$prevSibling.hideErrorMsg=e,n.$apply())},this.findAllowedCharactor=function(t){var i=e.keys;if(angular.isDefined(n.allowedSpecialCharacters)&&angular.isDefined(n.allowedSpecialCharacters.length)&&n.allowedSpecialCharacters.length>0){for(var a=n.allowedSpecialCharacters,s=!1,r=0;r<a.length;r++)if(a[r]===i[t]){s=!0;break}return s}return!1},this.validateText=function(e,t,n,i){if(angular.isDefined(t)&&0===t.length){var a=/^[a-zA-Z0-9]*$/i;return a.test(n)}var s="^[a-zA-Z0-9"+i+"]*$",r=new RegExp(s,"i");return r.test(n)},this.validateNumber=function(e,t,n,i){if(angular.isDefined(t)&&0===t.length){var a=/^[0-9\.]+$/;return a.test(n)}var s="^[0-9."+i+"]*$",r=new RegExp(s,"i");return r.test(n)},this.validateEmail=function(e,t,n,i){if(angular.isDefined(t)&&0===t.length){var a=/(([a-zA-Z0-9\-?\.?]+)@(([a-zA-Z0-9\-_]+\.)+)([a-z]{2,3}))+$/;return a.test(n)}var s="(([a-z"+i+"A-Z0-9-?.?]+)@(([a-z"+i+"A-Z0-9-_]+.)+)(["+i+"a-z]{2,3}))+$",r=new RegExp(s,"i");return r.test(n)},this.validateInput=function(e,n,i){var a="",s=!1;if(angular.isDefined(n)&&angular.isDefined(n.length)&&n.length>0)for(var r=0;r<n.length;r++)a+="\\"+n[r];switch(t.validationNum[e]){case t.validationNum.text:s=this.validateText(e,n,i,a);break;case t.validationNum.number:s=this.validateNumber(e,n,i,a);break;case t.validationNum.email:s=this.validateEmail(e,n,i,a)}return s}}],link:function(e,t,n){t.parent().prepend('<label class="form-field__label">'+n.placeholder+"</label>"),t.wrap('<div class="form-field-input-container"></div>'),t.parent().parent().find("label").addClass("form-field__label--show")}}}]).directive("attFormFieldValidationPrv",["keyMapAc","validationTypeInt",function(e,t){return{priority:202,scope:{validationType:"=",allowedChars:"="},restrict:"A",require:["?ngModel","^attFormFieldPrv"],link:function(n,i,a,s){var r=s[1];i.bind("keyup",function(){r.validateInput(n.validationType,n.allowedChars,i[0].value)?r.showHideErrorMessage(!1):r.showHideErrorMessage(!0)});var o=e.keyRange,l=e.allowedKeys,c=function(e,t){var n=t.which<o.startNum||t.which>o.endNum,i=t.which<o.startCapitalLetters||t.which>o.endCapitalLetters,a=t.which<o.startSmallLetters||t.which>o.endSmallLetters,s=n&&i&&a;return s&&!e},d=function(e,t){return(t.which<o.startNum||t.which>o.endNum)&&!e},p=function(e,t){var n="-"!==String.fromCharCode(t.which)&&"_"!==String.fromCharCode(t.which),i="@"!==String.fromCharCode(t.which)&&"."!==String.fromCharCode(t.which),a=n&&i,s=c(e,t);return!e&&a&&s},u=function(e,n,i){switch(e){case t.validationNum.text:if(c(n,i))return!0;break;case t.validationNum.number:if(d(n,i))return!0;break;case t.validationNum.email:if(p(n,i))return!0}return!1};i.bind("keypress",function(e){e.which||(e.keyCode?e.which=e.keyCode:e.charCode&&(e.which=e.charCode));var i=r.findAllowedCharactor(e.which),a=angular.isDefined(n.validationType)&&""!==n.validationType,s=e.which!==l.TAB&&e.which!==l.BACKSPACE&&e.which!==l.DELETE,o=a&&s;o&&u(t.validationNum[n.validationType],i,e)&&e.preventDefault()})}}}]).directive("attFormFieldValidationAlertPrv",[function(){return{restrict:"A",scope:{errorMessage:"="},transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlertPrv.html",link:function(e){e.errorMessage=e.errorMessage,angular.isDefined(e.$parent.hideErrorMsg)?e.hideErrorMsg=e.$parent.hideErrorMsg:e.hideErrorMsg=!0}}}]).factory("Cards",[function(){var e=/(\d{1,4})/g,t=/(?:^|\s)(\d{4})$/,n=[{type:"discover",pattern:/^(6011|65|64[4-9]|622)/,format:e,inputFormat:t,length:[16],cvcLength:[3],cvcSecurityImg:"visaI",zipLength:[5],luhn:!0},{type:"mc",pattern:/^5[1-5]/,format:e,inputFormat:t,length:[16],cvcLength:[3],cvcSecurityImg:"visaI",zipLength:[5],luhn:!0},{type:"amex",pattern:/^3[47]/,format:/(\d{1,4})(\d{1,6})?(\d{1,5})?/,inputFormat:/^(\d{4}|\d{4}\s\d{6})$/,length:[15],cvcLength:[4],cvcSecurityImg:"amexI",zipLength:[5],luhn:!0},{type:"visa",pattern:/^4/,format:e,inputFormat:t,length:[16],cvcLength:[3],cvcSecurityImg:"visaI",zipLength:[5],luhn:!0}],i=function(e){var t,i,a;for(e=(e+"").replace(/\D/g,""),i=0,a=n.length;a>i;i++)if(t=n[i],t.pattern.test(e))return t},a=function(e){var t,i,a;for(i=0,a=n.length;a>i;i++)if(t=n[i],t.type===e)return t};return{fromNumber:function(e){return i(e)},fromType:function(e){return a(e)},defaultFormat:function(){return e},defaultInputFormat:function(){return t}}}]).factory("_Validate",["Cards","$parse",function(e,t){var n=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1},i=function(e){var t,n,i,a,s,r;for(i=!0,a=0,n=(e+"").split("").reverse(),s=0,r=n.length;r>s;s++)t=n[s],t=parseInt(t,10),(i=!i)&&(t*=2),t>9&&(t-=9),a+=t;return a%10===0},a={};return a.cvc=function(i,a,s,r){var o,l;if(angular.isUndefined(i)||null===i||0===i.length)return!0;if(!/^\d+$/.test(i))return!1;var c;if(r.paymentsTypeModel){var d=t(r.paymentsTypeModel);c=d(s)}return c?(l=e.fromType(c),o=i.length,n.call(null!==l?l.cvcLength:void 0,o)>=0):i.length>=3&&i.length<=4},a.zip=function(i,a,s,r){var o,l;if(angular.isUndefined(i)||null===i||0===i.length)return!0;if(!/^\d+$/.test(i))return!1;var c;if(r.paymentsTypeModel){var d=t(r.paymentsTypeModel);c=d(s)}return c?(l=e.fromType(c),o=i.length,n.call(null!==l?l.zipLength:void 0,o)>=0):i.length<6},a.card=function(a,s,r,o){var l,c,d;o.paymentsTypeModel&&(d=t(o.paymentsTypeModel));var p=function(){d&&d.assign(r,null),s.$card=null};return angular.isUndefined(a)||null===a||0===a.length?(p(),!0):(a=(a+"").replace(/\s+|-/g,""),/^\d+$/.test(a)&&(l=e.fromNumber(a))?(s.$card=angular.copy(l),d&&d.assign(r,l.type),ret=(c=a.length,n.call(l.length,c)>=0&&(l.luhn===!1||i(a))),ret):(p(),!1))},function(e,t,n,i,s){if(!a[e])throw types=Object.keys(a),errstr='Unknown type for validation: "'+e+'". ',errstr+='Should be one of: "'+types.join('", "')+'"',errstr;return a[e](t,n,i,s)}}]).factory("_ValidateWatch",["_Validate",function(e){var t={};return t.cvc=function(t,n,i,a){a.paymentsTypeModel&&i.$watch(a.paymentsTypeModel,function(s,r){if(s!==r){var o=e(t,n.$modelValue,n,i,a);n.$setValidity(t,o)}})},t.zip=function(t,n,i,a){a.paymentsTypeModel&&i.$watch(a.paymentsTypeModel,function(s,r){if(s!==r){var o=e(t,n.$modelValue,n,i,a);n.$setValidity(t,o)}})},function(e,n,i,a){return t[e]?t[e](e,n,i,a):void 0}}]).directive("validateCard",["$window","_Validate","_ValidateWatch",function(e,t,n){return{restrict:"A",require:"ngModel",link:function(e,i,a,s){var r=a.validateCard;n(r,s,e,a);var o=function(n){var o=t(r,n,s,e,a);return s.$setValidity(r,o),"card"===r&&(null===s.$card?null==n||""===n||""===n?(e.invalidCardError="",e.invalidCard=""):n.length>=1&&(e.invalidCardError="error",e.invalidCard="The number entered is not a recognized credit card number."):o?(e.invalidCardError="",e.invalidCard=""):s.$card.length.indexOf(n.length)>=0?(e.invalidCardError="error",e.invalidCard="The number entered is not a recognized credit card number."):(e.invalidCardError="",e.invalidCard=""),i.bind("blur",function(){o&&null!==s.$card?(e.invalidCardError="",e.invalidCard=""):(e.invalidCardError="error",e.invalidCard="The number entered is not a recognized credit card number.")})),o?n:void 0};s.$formatters.push(o),s.$parsers.push(o)}}}]).directive("creditCardImage",function(){return{templateUrl:"app/scripts/ng_js_att_tpls/formField/creditCardImage.html",replace:!1,transclude:!1,link:function(e,t,n){e.$watch(n.creditCardImage,function(t,n){t!==n&&(e.cvc="",angular.isUndefined(t)||null===t||(e.newValCCI="show-"+t),null===t&&(e.newValCCI=""))})}}}).directive("securityCodeImage",["$document",function(e){return{templateUrl:"app/scripts/ng_js_att_tpls/formField/cvcSecurityImg.html",replace:!1,transclude:!1,link:function(t,n,i){t.$watch(i.securityCodeImage,function(e,n){e!==n&&(angular.isUndefined(e)||null===e||("amexI"===e?(t.newValI="ccv2-security-amex",t.newValIAlt="The 4 digit CVC security code is on the front of the card.",t.cvcPlaceholder="4 digits",t.cvcMaxlength=4):"visaI"===e&&(t.newValI="ccv2-security",t.newValIAlt="The CVC security code is on the back of your card right after the credit card number.",t.cvcPlaceholder="3 digits",t.cvcMaxlength=3)),null===e&&(t.newValI="ccv2-security",t.cvcPlaceholder="3 digits",t.cvcMaxlength=3,t.newValIAlt="The CVC security code is on the back of your card right after the credit card number."))}),n.bind("click",function(e){e.preventDefault(),n.find("button").hasClass("active")?n.find("button").removeClass("active"):n.find("button").addClass("active")});var a=angular.element(e);a.bind("click",function(e){var t=e.target.className;"btn btn-alt btn-tooltip active"!==t&&n.find("button").hasClass("active")&&n.find("button").removeClass("active")})}}}]),angular.module("att.abs.hourpicker",["att.abs.utilities"]).constant("hourpickerConfig",{days:["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],customOption:"Custom"}).controller("hourPickerController",["$scope",function(e){e.options=[],this.setOptions=function(t,n,i,a,s,r){e.options.push(t),void 0!==a&&(e.preselect=a);var o;if(void 0!==n){e.fromtime=n;for(o in e.days)e.days.hasOwnProperty(o)&&(e.FrtimeList[e.days[o]]={},void 0!==s?(e.FrtimeList[e.days[o]].value=s,e.selectedFromOption[e.days[o]]=s):(e.FrtimeList[e.days[o]].value=n[0].value,e.selectedFromOption[e.days[o]]=n[0].value))}if(void 0!==i){e.totime=i;for(o in e.days)e.days.hasOwnProperty(o)&&(e.TotimeList[e.days[o]]={},void 0!==r?(e.TotimeList[e.days[o]].value=r,e.selectedToOption[e.days[o]]=r):(e.TotimeList[e.days[o]].value=i[0].value,e.selectedToOption[e.days[o]]=i[0].value),e.showToTimeErrorDay[e.days[o]]=!1)}void 0!==s&&(e.uncheckedFromTime=s),void 0!==r&&(e.uncheckedToTime=r)},this.getSelectedOption=function(){return e.selectedOption},this.setToTimeErrorDay=function(t,n){e.showToTimeErrorDay[t]=n}}]).directive("attHourpickerOption",[function(){return{restrict:"EA",require:"^attHourpicker",scope:{option:"=option",fromtime:"=fromtime",totime:"=totime",preselect:"=preselect",uncheckedFromTime:"=",uncheckedToTime:"="},link:function(e,t,n,i){i.setOptions(e.option,e.fromtime,e.totime,e.preselect,e.uncheckedFromTime,e.uncheckedToTime)}}}]).directive("attHourpicker",["hourpickerConfig","$document","$log","$documentBind","$timeout",function(e,t,n,i,a){return{require:"ngModel",restrict:"EA",controller:"hourPickerController",transclude:!0,scope:{model:"=ngModel",resetFlag:"=?"},templateUrl:"app/scripts/ng_js_att_tpls/hourpicker/hourpicker.html",link:function(t,n,s,r){var o=!1;t.isFromDropDownOpen=!1,t.isToDropDownOpen=!1;var l="",c={};t.days=e.days,t.daysList={},t.FrtimeList={},t.FrtimeListDay={},t.TotimeListDay={},t.selectedFromOption={},t.selectedToOption={},t.TotimeList={},t.selectedIndex=0,t.selectedOption="Select from list",t.customTime=[],t.resetFlag=!1,t.showToTimeErrorDay={},t.validatedCustomPreselect=[],t.$watch("resetFlag",function(n,i){if(n!==i){if(n&&t.selectedOption===e.customOption){for(day in t.daysList)t.daysList.hasOwnProperty(day)&&(t.daysList[day]=!1,t.addSelectedValue(day));t.preselectUpdateFxn(t.preselect)}t.resetFlag=!1}}),t.$watch("selCategory",function(e){e&&r.$setViewValue(e)},!0),t.updateData=function(n){if(n.constructor===Array){t.showDaysSelector=!0,t.selectedOption=e.customOption;for(var i in n)if(n.hasOwnProperty(i)){var a=n[i].day;"boolean"==typeof n[i].preEnabled&&n[i].preEnabled?t.daysList[a]=!0:t.daysList[a]=!1;for(var s in t.fromtime)t.fromtime[s].value!==n[i].FromTime||t.uncheckedFromTime||(t.FrtimeList[a].value=t.fromtime[s].value,t.selectedFromOption[a]=t.FrtimeList[a].value);for(var r in t.totime)t.totime[r].value!==n[i].ToTime||t.uncheckedToTime||(t.TotimeList[a].value=t.totime[r].value,t.selectedToOption[a]=t.TotimeList[a].value);if(t.addSelectedValue(a,n[i].FromTime,n[i].ToTime),parseInt(i)+1===n.length)break}}else t.selectOption(n.day)},t.$watch("preselect",function(e){t.preselectUpdateFxn(e)}),t.preselectUpdateFxn=function(e){if(void 0!==e){if(t.options&&(e=t.validatePreselectData(e)),""===e)return;t.updateData(e)}},t.validatePreselectData=function(e){if(e.constructor===Array){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n].day,a=!1,s=!1,r=!1;for(var o in t.days)if(t.days[o]===i){a=!0;break}if(!a){e.splice(n,1);continue}for(var l in t.fromtime)if(t.fromtime[l].value===e[n].FromTime){s=!0;break}s||(e[n].FromTime=t.fromtime[0].value);for(var c in t.totime)if(t.totime[c].value===e[n].ToTime){r=!0;break}if(r||(e[n].ToTime=t.totime[0].value),"boolean"==typeof e[n].preEnabled&&e[n].preEnabled?e[n].preEnabled=!0:e[n].preEnabled=!1,t.validatedCustomPreselect[i]={},t.validatedCustomPreselect[i].FromTime=e[n].FromTime,t.validatedCustomPreselect[i].ToTime=e[n].ToTime,parseInt(n)+1===e.length)break}}else{var d=!1;for(var p in t.options)if(t.options[p]===e.day){d=!0;break}d||(e="")}return e},t.selectPrevNextValue=function(e,t,n){var i,a=0;if(38===e.keyCode)i=-1;else{if(40!==e.keyCode)return n;i=1}if(-1!==t.indexOf(n))a=t.indexOf(n)+i;else for(var s in t)if(t[s].value===n){a=parseInt(s)+i;break}return a===t.length?a-=1:-1===a&&(a+=1),e.preventDefault(),t[a].value?t[a].value:t[a]},t.showDropdown=function(){t.showlist=!t.showlist,o=!o},t.showfromDayDropdown=function(e){for(count in t.FrtimeListDay)count!==e&&t.FrtimeListDay[count]&&(t.FrtimeListDay[count]=!1);for(count in t.TotimeListDay)t.TotimeListDay[count]&&(t.TotimeListDay[count]=!1);t.FrtimeListDay[e]=!t.FrtimeListDay[e],o=!o,t.showlist=!1,t.FrtimeListDay[e]?(t.isFromDropDownOpen=!0,l=e):t.isFromDropDownOpen=!1,a(function(){if(t.FrtimeListDay[e]){var i=angular.element(n)[0].querySelector(".customdays-width"),a=angular.element(i.querySelector(".select2-container-active")).parent()[0].querySelector("ul"),s=angular.element(a.querySelector(".selectedItemInDropDown"))[0].offsetTop;angular.element(a)[0].scrollTop=s}})},t.showtoDayDropdown=function(e){for(count in t.TotimeListDay)count!==e&&t.TotimeListDay[count]&&(t.TotimeListDay[count]=!1);for(count in t.FrtimeListDay)t.FrtimeListDay[count]&&(t.FrtimeListDay[count]=!1);t.TotimeListDay[e]=!t.TotimeListDay[e],o=!o,t.showlist=!1,t.TotimeListDay[e]?(t.isToDropDownOpen=!0,l=e):t.isToDropDownOpen=!1,a(function(){if(t.TotimeListDay[e]){var i=angular.element(n)[0].querySelector(".customdays-width"),a=angular.element(i.querySelector(".select2-container-active")).parent()[0].querySelector("ul"),s=angular.element(a.querySelector(".selectedItemInDropDown"))[0].offsetTop;angular.element(a)[0].scrollTop=s}})},t.selectFromDayOption=function(e,n){t.selectedFromOption[e]=n,t.FrtimeList[e].value=n,t.FrtimeListDay[e]=!1,t.isFromDropDownOpen=!1},t.selectToDayOption=function(e,n){t.selectedToOption[e]=n,t.TotimeList[e].value=n,t.TotimeListDay[e]=!1,t.isToDropDownOpen=!1},t.addSelectedValue=function(e,n,i){var a,s;if(void 0===t.daysList[e]||t.daysList[e]){for(t.selectedFromOption[e]===t.uncheckedFromTime&&(angular.isDefined(t.validatedCustomPreselect[e])?(t.selectedFromOption[e]=t.validatedCustomPreselect[e].FromTime,n=t.validatedCustomPreselect[e].FromTime,t.FrtimeList[e].value=t.validatedCustomPreselect[e].FromTime):(t.selectedFromOption[e]=t.fromtime[0].value,n=t.fromtime[0].value,t.FrtimeList[e].value=t.fromtime[0].value)),t.selectedToOption[e]===t.uncheckedToTime&&(angular.isDefined(t.validatedCustomPreselect[e])?(t.selectedToOption[e]=t.validatedCustomPreselect[e].ToTime,i=t.validatedCustomPreselect[e].ToTime,t.TotimeList[e].value=t.validatedCustomPreselect[e].ToTime):(t.selectedToOption[e]=t.totime[0].value,i=t.totime[0].value,t.TotimeList[e].value=t.totime[0].value)),c.day=e,c.FromTime=t.FrtimeList[e].value,c.ToTime=t.TotimeList[e].value,a=0,s=t.customTime.length;s>a;a++)if(t.customTime[a].day===e){t.customTime[a].FromTime=c.FromTime,t.customTime[a].ToTime=c.ToTime;break}if(a===s){var r=angular.copy(c);t.customTime.push(r)}}else for(a=0,s=t.customTime.length;s>a;a++)if(t.customTime[a].day===e){t.uncheckedFromTime?t.selectedFromOption[t.customTime[a].day]=t.uncheckedFromTime:t.selectedFromOption[t.customTime[a].day]=t.FrtimeList[t.customTime[a].day].value,t.uncheckedToTime?t.selectedToOption[t.customTime[a].day]=t.uncheckedToTime:t.selectedToOption[t.customTime[a].day]=t.TotimeList[t.customTime[a].day].value,t.customTime.splice(a,1);break}t.selCategory=t.customTime};var d=function(){t.showlist&&t.$apply(function(){t.showlist=!1})};i.click("showlist",d,t);var p=function(){t.$apply(function(){t.isFromDropDownOpen&&(t.FrtimeListDay[l]=!1,t.isFromDropDownOpen=!1)})};i.click("isFromDropDownOpen",p,t);var u=function(){t.$apply(function(){t.isToDropDownOpen&&(t.TotimeListDay[l]=!1,t.isToDropDownOpen=!1)})};i.click("isToDropDownOpen",u,t),t.selectOption=function(n){if(n===e.customOption)t.showDaysSelector=!0,t.selCategory=t.customTime;else{t.showDaysSelector=!1;var i=/[0-9]\s?am/i.exec(n),a=/[0-9]\s?pm/i.exec(n);t.selCategory={day:n,FromTime:null===i?"NA":i[0],ToTime:null===a?"NA":a[0]}}t.showlist=!1,o=!1,t.selectedOption=n}}}}]).directive("attHourpickerValidator",["hourpickerConfig",function(e){return{restrict:"A",require:["attHourpicker","ngModel"],link:function(t,n,i,a){var s=a[0],r=a[1],o=function(e){var t=Number(e.match(/^(\d+)/)[1]),n=Number(e.match(/:(\d+)/)[1]),i=e.match(/\s(.*)$/)[1].toUpperCase();"PM"===i&&12>t&&(t+=12),"AM"===i&&12===t&&(t-=12);var a=t.toString(),s=n.toString();return 10>t&&(a="0"+a),10>n&&(s="0"+s),parseInt(a+s,10)},l=function(e,t){var n=o(e),i=o(t);return i-n},c=function(t){if(s.getSelectedOption()===e.customOption){var n=0;for(var i in t)t.hasOwnProperty(i)&&(l(t[i].FromTime,t[i].ToTime)<=0?(s.setToTimeErrorDay(t[i].day,!0),n++):s.setToTimeErrorDay(t[i].day,!1));return n>0?(r.$setValidity("validationStatus",!1),[]):(r.$setValidity("validationStatus",!0),t)}return r.$setValidity("validationStatus",!0),t};r.$parsers.unshift(c)}}}]),angular.module("att.abs.iconButtons",[]).constant("buttonConfig",{activeClass:"active--button",toggleEvent:"click"}).directive("attIconBtnRadio",["buttonConfig",function(e){var t=e.activeClass||"active--button",n=e.toggleEvent||"click";return{require:"ngModel",link:function(e,i,a,s){i.attr("tabindex","0"),i.append("<span class='hidden-spoken'>"+a.attIconBtnRadio+"</span>"),s.$render=function(){i.parent().toggleClass(t,angular.equals(s.$modelValue,a.attIconBtnRadio))},i.parent().bind(n,function(){i.parent().hasClass(t)||e.$apply(function(){s.$setViewValue(a.attIconBtnRadio),s.$render()})})}}}]).directive("attIconBtnCheckbox",["buttonConfig",function(e){var t=e.activeClass||"active--button",n=e.toggleEvent||"click";return{require:"ngModel",link:function(e,i,a,s){function r(){var t=e.$eval(a.btnCheckboxTrue);return angular.isDefined(t)?t:!0}function o(){var t=e.$eval(a.btnCheckboxFalse);return angular.isDefined(t)?t:!1}i.attr("tabindex","0"),i.append("<span class='hidden-spoken'>"+a.attIconBtnCheckbox+"</span>"),s.$render=function(){i.parent().toggleClass(t,angular.equals(s.$modelValue,r()))},i.parent().bind(n,function(){e.$apply(function(){s.$setViewValue(i.parent().hasClass(t)?o():r()),s.$render()})})}}}]),angular.module("att.abs.links",["ngSanitize"]).directive("attLink",[function(){return{restrict:"A",link:function(e,t){t.addClass("link"),t.attr("href")||t.attr("tabindex","0")}}}]).directive("attLinkVisited",[function(){return{restrict:"A",link:function(e,t){t.addClass("link--visited"),t.attr("href")||t.attr("tabindex","0")}}}]).directive("attReadmore",["$timeout",function(e){return{restrict:"A",scope:{lines:"@noOfLines",textModel:"=",isOpen:"="},templateUrl:"app/scripts/ng_js_att_tpls/links/readMore.html",link:function(t,n){var i=1;t.$watch("textModel",function(a){a?("function"!=typeof String.prototype.trim&&(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),t.textToDisplay=a.trim(),t.readFlag=!0,e(function(){var e=n[0].children[0].children[0];1===i&&(i=window.getComputedStyle?parseInt(t.lines)*parseFloat(window.getComputedStyle(e,null).getPropertyValue("height")):parseInt(t.lines)*parseFloat(e.currentStyle.height),t.elemHeight=i,t.readLinkStyle={height:t.elemHeight+"px"})}),t.readMoreLink=!0,t.readLessLink=!1):(t.textToDisplay="",t.readMoreLink=!1,t.readLessLink=!1,t.readFlag=!1)});var a=n.parent();a.hasClass("att-accordion__body")&&t.$watch("isOpen",function(e){e||(t.readMoreLink=!0,t.readLessLink=!1,t.readLinkStyle={height:t.elemHeight+"px"},t.readFlag=!0)}),t.readMore=function(){t.readMoreLink=!1,t.readLessLink=!0,t.readLinkStyle={height:"auto"},t.readFlag=!1;var i=angular.element(n).children().eq(1).find("a")[0];e(function(){i.focus()})},t.readLess=function(){t.readMoreLink=!0,t.readLessLink=!1,t.readLinkStyle={height:t.elemHeight+"px"},t.readFlag=!0;var i=angular.element(n).children().eq(0).find("a")[0];e(function(){i.focus()})}}}}]).directive("attLinksList",[function(){return{restrict:"A",controller:function(){},link:function(e,t){t.addClass("links-list")}}}]).directive("attLinksListItem",[function(){return{restrict:"A",require:"^attLinksList",link:function(e,t){t.addClass("links-list__item"),t.attr("href")||t.attr("tabindex","0")}}}]),angular.module("att.abs.loading",[]).directive("attLoading",["$window",function(e){return{restrict:"A",replace:!0,scope:{icon:"@attLoading",progressStatus:"=?",colorClass:"=?"},templateUrl:"app/scripts/ng_js_att_tpls/loading/loading.html",link:function(t,n){var i=t.progressStatus;if(t.progressStatus=Math.min(100,Math.max(0,i)),-1!==e.navigator.userAgent.indexOf("MSIE 8.")){var a=0,s=36*t.progressStatus;n.css({"background-position-x":a,"background-position-y":-s})}}}}]),angular.module("att.abs.modal",["att.abs.utilities"]).factory("$$stackedMap",function(){return{createNew:function(){var e=[];return{add:function(t,n){e.push({key:t,value:n})},get:function(t){for(var n=0;n<e.length;n++)if(t===e[n].key)return e[n]},keys:function(){for(var t=[],n=0;n<e.length;n++)t.push(e[n].key);return t},top:function(){return e[e.length-1]},remove:function(t){for(var n=-1,i=0;i<e.length;i++)if(t===e[i].key){n=i;break}return e.splice(n,1)[0]},removeTop:function(){return e.splice(e.length-1,1)[0]},length:function(){return e.length}}}}}).directive("modalBackdrop",["$timeout",function(e){return{restrict:"EA",replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/modal/backdrop.html",link:function(t){t.animate=!1,e(function(){t.animate=!0})}}}]).directive("modalWindow",["$modalStack","$timeout","$document",function(e,t,n){return{restrict:"EA",scope:{index:"@",modalTitle:"@?"},replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/modal/window.html",link:function(i,a,s){i.windowClass=s.windowClass||"",s.modalTitle&&""!==s.modalTitle&&(a[0].setAttribute("aria-label",s.modalTitle),a[0].removeAttribute("modal-title")),t(function(){i.focusModalFlag=!0,i.animate=!0}),n.on("focus keydown",function(e){9===e.which&&(String.prototype.contains=function(e){return-1!==this.indexOf(e)},a[0]===e.target||a[0].contains(e.target)||a[0].focus())}),i.close=function(t){var n=e.getTop();n&&n.value.backdrop&&"static"!=n.value.backdrop&&t.target===t.currentTarget&&(t.preventDefault?(t.preventDefault(),t.stopPropagation()):t.returnValue=!1,e.dismiss(n.key,"backdrop click"))}}}}]).factory("$modalStack",["$document","$compile","$rootScope","$$stackedMap","events","keymap",function(e,t,n,i,a,s){function r(){for(var e=-1,t=u.keys(),n=0;n<t.length;n++)u.get(t[n]).value.backdrop&&(e=n);return e}function o(t){var n=e.find("body").eq(0),i=e.find("html").eq(0),a=u.get(t).value;u.remove(t),a.modalDomEl.remove(),n.toggleClass(d,u.length()>0),i.css({overflow:"scroll"}),c&&-1==r()&&(c.remove(),c=void 0),a.modalScope.$destroy(),angular.isDefined(g)&&null!=g&&g.focus()}var l,c,d="modal-open",p=n.$new(!0),u=i.createNew(),h={},g=void 0;return n.$watch(r,function(e){p.index=e}),e.bind("keydown",function(e){var t;if(27===e.which)t=u.top(),t&&t.value.keyboard&&n.$apply(function(){h.dismiss(t.key)});else if(e.keyCode===s.KEY.BACKSPACE){var i,r=!1,o=e.srcElement||e.target;r=void 0===o.type?!0:"INPUT"===o.tagName.toUpperCase()&&("TEXT"===(i=o.type.toUpperCase())||"PASSWORD"===i||"FILE"===i||"SEARCH"===i||"EMAIL"===i||"NUMBER"===i||"DATE"===i||"TEL"===i||"URL"===i||"TIME"===i)||"TEXTAREA"===o.tagName.toUpperCase()?o.readOnly||o.disabled:!0,r&&a.preventDefault(e)}}),h.open=function(n,i){u.add(n,{deferred:i.deferred,modalScope:i.scope,backdrop:i.backdrop,keyboard:i.keyboard}),g=document.activeElement;var a=e.find("body").eq(0),s=e.find("html").eq(0);r()>=0&&!c&&(l=angular.element("<div modal-backdrop></div>"),c=t(l)(p),a.append(c));var o=angular.element("<div modal-window></div>");o.attr("window-class",i.windowClass),o.attr("index",u.length()-1),o.attr("modal-title",i.modalTitle),o.html(i.content);var h=t(o)(i.scope);u.top().value.modalDomEl=h,a.append(h),a.addClass(d),s.css({overflow:"hidden"})},h.close=function(e,t){var n=u.get(e);n&&(n.value.deferred.resolve(t),o(e))},h.dismiss=function(e,t){var n=u.get(e).value;n&&(n.deferred.reject(t),o(e))},h.getTop=function(){return u.top()},h}]).provider("$modal",function(){var e={options:{backdrop:!0,keyboard:!0},$get:["$injector","$rootScope","$q","$http","$templateCache","$controller","$modalStack",function(t,n,i,a,s,r,o){function l(e){return e.template?i.when(e.template):a.get(e.templateUrl,{cache:s}).then(function(e){return e.data})}function c(e){var n=[];return angular.forEach(e,function(e){(angular.isFunction(e)||angular.isArray(e))&&n.push(i.when(t.invoke(e)))}),n}var d={};return d.open=function(t){var a=i.defer(),s=i.defer(),d={result:a.promise,opened:s.promise,close:function(e){o.close(d,e)},dismiss:function(e){o.dismiss(d,e)}};if(t=angular.extend({},e.options,t),t.resolve=t.resolve||{},!t.template&&!t.templateUrl)throw new Error("One of template or templateUrl options is required.");var p=i.all([l(t)].concat(c(t.resolve)));return p.then(function(e){var i=(t.scope||n).$new();i.$close=d.close,i.$dismiss=d.dismiss;var s,l={},c=1;t.controller&&(l.$scope=i,l.$modalInstance=d,angular.forEach(t.resolve,function(t,n){l[n]=e[c++]}),s=r(t.controller,l)),o.open(d,{scope:i,deferred:a,content:e[0],backdrop:t.backdrop,keyboard:t.keyboard,windowClass:t.windowClass,modalTitle:t.modalTitle})},function(e){a.reject(e)}),p.then(function(){s.resolve(!0)},function(){s.reject(!1)}),d},d}]};return e}).directive("simpleModal",["$modal",function(e){return{restrict:"EA",scope:{simpleModal:"@",backdrop:"@",keyboard:"@",modalOk:"&",modalCancel:"&",windowClass:"@",controller:"@",modalTitle:"@?"},link:function(t,n){n.bind("click",function(i){i.preventDefault(),angular.isDefined(n.attr("href"))&&""!==n.attr("href")&&(t.simpleModal=n.attr("href")),"false"===t.backdrop?t.backdropclick="static":t.backdropclick=!0,"false"===t.keyboard?t.keyboardev=!1:t.keyboardev=!0,e.open({templateUrl:t.simpleModal,backdrop:t.backdropclick,keyboard:t.keyboardev,windowClass:t.windowClass,controller:t.controller,modalTitle:t.modalTitle}).result.then(t.modalOk,t.modalCancel)})}}}]).directive("tabbedItem",["$modal","$log",function(e,t){return{restrict:"AE",replace:!0,scope:{items:"=items",controller:"@",templateId:"@",modalTitle:"@?"},templateUrl:"app/scripts/ng_js_att_tpls/modal/tabbedItem.html",controller:["$scope","$rootScope","$attrs",function(n){n.clickTab=function(i){for(var a=0;a<n.items.length;a++)a===i?(n.items[a].isTabOpen=!0,n.items[a].showData=!0):(n.items[a].isTabOpen=!1,n.items[a].showData=!1);var s=e.open({templateUrl:n.templateId,controller:n.controller,windowClass:"tabbedOverlay_modal",modalTitle:n.modalTitle,resolve:{items:function(){return n.items}}});s.result.then(function(e){n.selected=e},function(){t.info("Modal dismissed at: "+new Date)})},n.isActiveTab=function(e){return n.items&&n.items[e]&&n.items[e].isTabOpen}}]}}]).directive("tabbedOverlay",[function(){return{restrict:"AE",replace:!0,scope:{items:"="},transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/modal/tabbedOverlayItem.html",controller:["$scope",function(e){e.clickTab=function(t){for(var n=0;n<e.items.length;n++)n===t?(e.items[n].isTabOpen=!0,e.items[n].showData=!0):(e.items[n].isTabOpen=!1,e.items[n].showData=!1)},e.isActiveTab=function(t){return e.items&&e.items[t]&&e.items[t].isTabOpen}}]}}]),angular.module("att.abs.pagination",["att.abs.utilities"]).directive("attPagination",[function(){return{restrict:"EA",scope:{totalPages:"=",currentPage:"=",showInput:"=",clickHandler:"=?"},replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/pagination/pagination.html",link:function(e){function t(t){angular.isDefined(t)&&null!==t&&((!t||1>t)&&(t=1),t>e.totalPages&&(t=e.totalPages),e.currentPage!==t&&(e.currentPage=t,n(e.currentPage)),e.totalPages>7&&(t<e.pages[0]&&t>3?e.pages=[t,t+1,t+2]:t>e.pages[2]&&t<e.totalPages-2?e.pages=[t-2,t-1,t]:3>=t?e.pages=[1,2,3]:t>=e.totalPages-2&&(e.pages=[e.totalPages-2,e.totalPages-1,e.totalPages])))}e.focusedPage,e.$watch("totalPages",function(n){if(angular.isDefined(n)&&null!==n){if(e.pages=[],1>n)return void(e.totalPages=1);if(7>=n)for(var i=1;n>=i;i++)e.pages.push(i);else if(n>7){var a=Math.ceil(n/2);e.pages=[a-1,a,a+1]}t(1)}}),e.$watch("currentPage",function(e){t(e)});var n=function(t){angular.isFunction(e.clickHandler)&&e.clickHandler(t)};e.next=function(t){t.preventDefault(),e.currentPage<e.totalPages&&(e.currentPage+=1,n(e.currentPage))},e.prev=function(t){t.preventDefault(),e.currentPage>1&&(e.currentPage-=1,n(e.currentPage))},e.selectPage=function(t,i){i.preventDefault(),e.currentPage=t,e.focusedPage=t,n(e.currentPage)},e.checkSelectedPage=function(t){return e.currentPage===t?!0:!1},e.isFocused=function(t){return e.focusedPage===t}}}}]),angular.module("att.abs.paneSelector",["att.abs.utilities"]).constant("paneGroupConstants",{SIDE_WIDTH_DEFAULT:"33%",INNER_PANE_DEFAULT:"67%",SIDE_PANE_ID:"sidePane",NO_DRILL_DOWN:"none"}).factory("animation",function(){return TweenLite}).directive("attPaneAccessibility",["keymap","$window",function(e,t){return{restrict:"A",require:["^?sidePane","^?innerPane"],link:function(t,n,i,a){var s=a[0],r=a[1],o=!1;t.ie=function(){for(var e,t=3,n=document.createElement("div"),i=n.getElementsByTagName("i");n.innerHTML="<!--[if gt IE "+ ++t+"]><i></i>< ![endif]-->",i[0];);return t>4?t:e}(),o=8===t.ie?!0:!1,n.bind("keydown",function(t){if(e.isAllowedKey(t.keyCode)||e.isControl(t)||e.isFunctionKey(t)){t.preventDefault(),t.stopPropagation();var i;switch(t.keyCode){case e.KEY.DOWN:if(i=angular.element(n[0])[0],i&&i.nextElementSibling&&i.nextElementSibling.focus(),o){do{if(!i||!i.nextSibling)break;i=i.nextSibling;
+}while(i&&"DIV"!==i.tagName);i.focus()}break;case e.KEY.UP:if(i=angular.element(n[0])[0],i&&i.previousElementSibling&&i.previousElementSibling.focus(),o){do{if(!i||!i.previousSibling)break;i=i.previousSibling}while(i&&"DIV"!==i.tagName);i.focus()}break;case e.KEY.RIGHT:angular.isDefined(s)&&(i=s.getElement()[0]),angular.isDefined(r)&&(i=r.getElement()[0]);do{if(!i||!i.nextElementSibling)break;i=i.nextElementSibling}while("none"===window.getComputedStyle(i,null).getPropertyValue("display"));if(o)do{if(!i||!i.nextSibling)break;i=i.nextSibling}while(i&&"DIV"==i.tagName&&"none"==i.currentStyle.display);i&&i.querySelector("[att-pane-accessibility]").focus();break;case e.KEY.LEFT:angular.isDefined(s)&&(i=s.getElement()[0]),angular.isDefined(r)&&(i=r.getElement()[0]);do{if(!i||!i.previousElementSibling)break;i=i.previousElementSibling}while("none"==window.getComputedStyle(i,null).getPropertyValue("display"));if(o)do{if(!i||!i.previousSibling)break;i=i.previousSibling}while(i&&"DIV"==i.tagName&&"none"==i.currentStyle.display);i&&i.querySelector("[att-pane-accessibility]").focus()}}})}}}]).directive("sideRow",[function(){return{restrict:"A",replace:!0,require:["^sidePane","^paneGroup"],link:function(e,t,n,i){var a=i[0],s=i[1];e.$first&&(a.sidePaneIds=[]);var r=n.paneId,o=n.drillDownTo;a.sidePaneRows.push({paneId:r,drillDownTo:o}),t.on("click",function(){a.currentSelectedRowPaneId=r,s.slideOutPane(r,!0)})}}}]).controller("SidePaneCtrl",["$scope","$element","animation","paneGroupConstants",function(e,t,n,i){this.getElement=function(){return t},this.sidePaneTracker={},this.currentWidth=i.SIDE_WIDTH_DEFAULT,this.paneId=i.SIDE_PANE_ID,this.currentSelectedRowPaneId,this.drillDownToMapper={},this.sidePaneRows=[],this.init=function(){var e=this.sidePaneRows;if(e)for(var t in e)if(e.hasOwnProperty(t)){var n=e[t].paneId,i=e[t].drillDownTo;this.drillDownToMapper[n]=i,0==t&&(this.currentSelectedRowPaneId=n,this.sidePaneTracker[n]=[])}},this.getSidePanesList=function(){return this.sidePaneTracker[this.currentSelectedRowPaneId]},this.addToSidePanesList=function(e){void 0===this.sidePaneTracker[this.currentSelectedRowPaneId]?this.sidePaneTracker[this.currentSelectedRowPaneId]=[]:e&&this.sidePaneTracker[this.currentSelectedRowPaneId].push(e)},this.setWidth=function(e){e&&(this.currentWidth=e),n.set(t,{width:this.currentWidth})},this.resizeWidth=function(e){e&&(this.currentWidth=e),n.to(t,.5,{width:e})}}]).directive("sidePane",["paneGroupConstants",function(e){return{restrict:"EA",transclude:!0,replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/paneSelector/sidePane.html",require:["^paneGroup","sidePane"],controller:"SidePaneCtrl",scope:{},link:function(t,n,i,a){var s=a[0],r=a[1];s.addPaneCtrl(e.SIDE_PANE_ID,r)}}}]).directive("drillDownRow",["$parse","paneGroupConstants",function(e,t){return{restrict:"A",replace:!0,require:["^innerPane","^paneGroup"],link:function(e,n,i,a){var s=a[0],r=a[1];n.on("click",function(){var e=s.drillDownTo;s.drillDownTo!==t.NO_DRILL_DOWN&&r.slideOutPane(e),n[0].focus()})}}}]).controller("InnerPaneCtrl",["$scope","$element","animation","paneGroupConstants",function(e,t,n,i){this.getElement=function(){return t},this.paneId=e.paneId,this.drillDownTo,this.currentWidth=i.INNER_PANE_DEFAULT,this.setWidth=function(e){e&&(this.currentWidth=e),n.set(t,{width:this.currentWidth})},this.resizeWidth=function(e,i){n.to(t,.25,{width:e,onComplete:i})},this.displayNone=function(){n.set(t,{display:"none"})},this.displayBlock=function(){n.set(t,{display:"block"}),this&&this.hideRightBorder()},this.floatLeft=function(){n.set(t,{"float":"left"})},this.hideLeftBorder=function(){n.set(t,{borderLeftWidth:"0px"})},this.showLeftBorder=function(){n.set(t,{borderLeftWidth:"1px"})},this.hideRightBorder=function(){n.set(t,{borderRightWidth:"0px"})},this.showRightBorder=function(){n.set(t,{borderRightWidth:"1px"})},this.slideFromRight=function(){n.set(t,{"float":"right"}),n.set(t,{width:this.currentWidth})},this.startOpen=function(){return e.startOpen}}]).directive("innerPane",function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/paneSelector/innerPane.html",require:["^paneGroup","innerPane"],controller:"InnerPaneCtrl",scope:{paneId:"@"},link:function(e,t,n,i){""===n.startOpen&&(e.startOpen=!0);var a=i[0],s=i[1];a.addPaneCtrl(e.paneId,s)}}}).controller("PaneGroupCtrl",["$scope","$element","paneGroupConstants",function(e,t,n){this.panes={},this.accountLevelPaneModel=[],this.title=e.title,this.init=function(){function e(e,t){var n,i=[];for(n in e.sidePaneRows)if(e.sidePaneRows.hasOwnProperty(n)){var a=e.sidePaneRows[n];n>0&&t[a.paneId].startOpen&&t[a.paneId].startOpen()&&(i.push(a),e.addToSidePanesList(a.paneId))}if(s)for(n in i)if(i.hasOwnProperty(n)){var r=i[n].paneId,o=t[r];o&&o.setWidth&&o.displayBlock&&(o.setWidth(s),o.displayBlock())}}var t=this.panes[n.SIDE_PANE_ID];if(t){t.init();var i,a=1;for(i in this.panes)this.panes[i].startOpen&&this.panes[i].startOpen()&&a++;var s;if(a>=3&&(s=100/a+"%"),this.panes[t.currentSelectedRowPaneId]){s?(t.setWidth(s),this.panes[t.currentSelectedRowPaneId].setWidth(s)):(t.setWidth(),this.panes[t.currentSelectedRowPaneId].setWidth()),this.panes[t.currentSelectedRowPaneId].displayBlock();for(i in this.panes)i!==n.SIDE_PANE_ID&&i!==t.currentSelectedRowPaneId&&this.panes[i].displayNone(),this.panes[i].drillDownTo=t.drillDownToMapper[i]}e(t,this.panes)}},this.resetPanes=function(){for(var e in this.panes)if(this.panes.hasOwnProperty(e)){var t=this.panes[e];t&&t.paneId!==n.SIDE_PANE_ID&&(t.floatLeft(),t.displayNone())}this.panes[n.SIDE_PANE_ID]&&this.panes[n.SIDE_PANE_ID].setWidth(n.SIDE_WIDTH_DEFAULT)},this.addPaneCtrl=function(e,t){this.panes[e]=t},this._slideOutPane=function(e,t){this.resetPanes();var i;if(t)if(this.panes[n.SIDE_PANE_ID]&&(i=this.panes[n.SIDE_PANE_ID].getSidePanesList()),i){if(this.panes&&this.panes[n.SIDE_PANE_ID])if(0===i.length&&this.panes[e])this.panes[n.SIDE_PANE_ID].setWidth(n.SIDE_WIDTH_DEFAULT),this.panes[e].displayBlock(),this.panes[e].setWidth(n.INNER_PANE_DEFAULT);else{var a=i.length+2,s=100/a+"%";this.panes[n.SIDE_PANE_ID].setWidth(s),this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId]&&(this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].displayBlock(),this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].setWidth(s));for(var r in i)this.panes[i[r]]&&(this.panes[i[r]].displayBlock(),this.panes[i[r]].setWidth(s))}}else this.panes&&this.panes[n.SIDE_PANE_ID]&&this.panes[e]&&(this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId=e,this.panes[n.SIDE_PANE_ID].addToSidePanesList(),this.panes[e].slideFromRight(),this.panes[e].displayBlock(),this.panes[e].setWidth(n.INNER_PANE_DEFAULT));else{var o,l=!1;this.panes[n.SIDE_PANE_ID]&&(o=this.panes[n.SIDE_PANE_ID].getSidePanesList());for(var c in o)if(o.hasOwnProperty(c)){var d=o[c];if(d===e){l=!0;break}}!l&&this.panes[n.SIDE_PANE_ID]&&this.panes[n.SIDE_PANE_ID].addToSidePanesList(e);var p;this.panes[n.SIDE_PANE_ID]&&(p=this.panes[n.SIDE_PANE_ID].getSidePanesList().length);var u=p+2,h=100/u+"%";this.panes[n.SIDE_PANE_ID]&&this.panes[n.SIDE_PANE_ID].setWidth(h);var g;this.panes[n.SIDE_PANE_ID]&&(g=this.panes[n.SIDE_PANE_ID].getSidePanesList()[p-1]);var f=this;f.panes[n.SIDE_PANE_ID]&&(i=f.panes[n.SIDE_PANE_ID].getSidePanesList());for(var m in i)if(i.hasOwnProperty(m)){var v=i[m],b=this.panes[v];v!==g&&b&&(b.setWidth(h),b.displayBlock(),b.floatLeft())}this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId]&&(this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].displayBlock(),this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].showRightBorder(),this.panes[this.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].resizeWidth(h,function(){f.panes[g]&&f.panes[f.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId]&&(f.panes[f.panes[n.SIDE_PANE_ID].currentSelectedRowPaneId].hideRightBorder(),f.panes[g].setWidth(h),f.panes[g].slideFromRight(),f.panes[g].displayBlock(),f.panes[g].floatLeft())}))}},this.slideOutPane=function(e,t){this._slideOutPane(e,t)}}]).directive("paneGroup",["$timeout",function(e){return{restrict:"EA",transclude:!0,replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/paneSelector/paneGroup.html",scope:{},controller:"PaneGroupCtrl",link:function(t,n,i,a){function s(){a.init()}e(s,100)}}}]),angular.module("att.abs.tooltip",["att.abs.position","att.abs.utilities","ngSanitize"]).constant("tooltipDefaultOptions",{placement:"above",animation:!1,popupDelay:0,stylett:"dark",appendToBody:!0}).provider("$tooltip",["tooltipDefaultOptions",function(e){function t(e){var t=/[A-Z]/g,n="-";return e.replace(t,function(e,t){return(t?n:"")+e.toLowerCase()})}var n={mouseenter:"mouseleave",click:"click",focus:"blur",mouseover:"mouseout"},i={};this.options=function(e){angular.extend(i,e)},this.setTriggers=function(e){angular.extend(n,e)},this.$get=["$window","$compile","$timeout","$parse","$document","$position","$interpolate","$attElementDetach",function(a,s,r,o,l,c,d,p){return function(a,u,h){function g(e){var t=e||f.trigger||h,i=n[t]||t;return{show:t,hide:i}}var f=angular.extend({},e,i),m=t(a),v=d.startSymbol(),b=d.endSymbol();return{restrict:"EA",scope:!0,link:function(e,t,n){function i(){e.tt_isOpen?h():d()}function d(){(!I||e.$eval(n[u+"Enable"]))&&(e.tt_popupDelay?S=r(y,e.tt_popupDelay):e.$apply(y))}function h(){e.$apply(function(){_()})}function y(){var n,i,a,s;if(e.tt_content){C&&r.cancel(C),T.css({top:0,left:0,display:"block","z-index":9999}),$?(D=D||l.find("body"),D.append(T)):t.after(T),n=$?c.offset(t):c.position(t),i=T.prop("offsetWidth"),a=T.prop("offsetHeight");var o=10;switch(e.tt_placement){case"right":s=$?{top:n.top+n.height/2-a/2,left:n.left+n.width+L}:{top:n.top+n.height/2-a/2,left:n.left+n.width+o+L};break;case"below":s=$?{top:n.top+n.height+L,left:n.left+n.width/2-i/2}:{top:n.top+n.height+o+L,left:n.left+n.width/2-i/2};break;case"left":s=$?{top:n.top+n.height/2-a/2,left:n.left-i-L}:{top:n.top+n.height/2-a/2,left:n.left-i-o-L};break;default:s=$?{top:n.top-a-L,left:n.left+n.width/2-i/2}:{top:n.top-a-o-L,left:n.left+n.width/2-i/2}}s.top+="px",s.left+="px",T.css(s),e.tt_isOpen=!0}}function _(){e.tt_isOpen=!1,r.cancel(S),angular.isDefined(e.tt_animation)&&e.tt_animation()?C=r(function(){p(T[0])},500):p(T[0])}function w(){t.removeAttr("title"),k||(P?t.attr("title",e.tooltipAriaLabel):t.attr("title",e.tt_content))}t.attr("tabindex")||t.attr("tabindex","0");var k=!1;t.bind("mouseenter",function(){k=!0,t.removeAttr("title")}),t.bind("mouseleave",function(){k=!1}),e.parentAttrs=n;var C,S,D,x="<div "+m+'-popup title="'+v+"tt_title"+b+'" content="'+v+"tt_content"+b+'" placement="'+v+"tt_placement"+b+'" animation="tt_animation()" is-open="tt_isOpen" stylett="'+v+"tt_style"+b+'" ></div>',T=s(x)(e),$=angular.isDefined(f.appendToBody)?f.appendToBody:!1,E=g(void 0),A=!1,I=angular.isDefined(n[u+"Enable"]),L=0,P=!1;e.tt_isOpen=!1,e.$watch("tt_isOpen",function(e,t){e===t||e||p(T[0])}),n.$observe(a,function(t){t?e.tt_content=t:e.tt_isOpen&&_()}),n.$observe(u+"Title",function(t){e.tt_title=t}),n.$observe(u+"Placement",function(t){e.tt_placement=angular.isDefined(t)?t:f.placement}),n.$observe(u+"Style",function(t){e.tt_style=angular.isDefined(t)?t:f.stylett}),n.$observe(u+"Animation",function(t){e.tt_animation=angular.isDefined(t)?o(t):function(){return f.animation}}),n.$observe(u+"PopupDelay",function(t){var n=parseInt(t,10);e.tt_popupDelay=isNaN(n)?f.popupDelay:n}),n.$observe(u+"Trigger",function(e){A&&(t.unbind(E.show,d),t.unbind(E.hide,h)),E=g(e),"focus"===E.show?(t.bind("focus",d),t.bind("blur",h),t.bind("click",function(e){e.stopPropagation()})):E.show===E.hide?t.bind(E.show,i):(t.bind(E.show,d),t.bind(E.hide,h)),A=!0}),n.$observe(u+"AppendToBody",function(t){$=angular.isDefined(t)?o(t)(e):$}),n.$observe(u+"Offset",function(e){L=angular.isDefined(e)?parseInt(e,10):0}),n.$observe(u+"AriaLabel",function(t){angular.isDefined(t)?(e.tooltipAriaLabel=t,P=!0):P=!1,w()}),$&&e.$on("$locationChangeSuccess",function(){e.tt_isOpen&&_()}),e.$on("$destroy",function(){e.tt_isOpen?_():T.remove()})}}}}]}]).directive("tooltipPopup",["$document","$documentBind",function(e,t){return{restrict:"EA",replace:!0,transclude:!0,scope:{content:"@",placement:"@",animation:"&",isOpen:"=",stylett:"@"},templateUrl:"app/scripts/ng_js_att_tpls/tooltip/tooltip-popup.html",link:function(e,n){e.$watch("isOpen",function(){e.isOpen}),n.bind("click",function(e){e.stopPropagation()});var i=function(){e.$apply(function(){e.isOpen=!1})};t.event("click","isOpen",i,e,!0,10)}}}]).directive("tooltip",["$tooltip",function(e){return e("tooltip","tooltip","mouseenter")}]).directive("tooltipCondition",["$timeout",function(e){return{restrict:"EA",replace:!0,scope:{tooltipCondition:"@?"},template:'<p><span tooltip="{{tooltipCondition}}" ng-if="showpop">{{tooltipCondition}}</span><span id="innerElement" ng-hide="showpop">{{tooltipCondition}}</span></p>',link:function(t,n,i){t.showpop=!1,"true"===i.height?e(function(){var e=n[0].offsetHeight,i=n.children(0)[0].offsetHeight;i>e&&(t.showpop=!0)}):t.tooltipCondition.length>=25&&(t.showpop=!0)}}}]),angular.module("att.abs.popOvers",["att.abs.tooltip","att.abs.utilities","ngSanitize"]).directive("popover",["$tooltip",function(e){return e("popover","popover","click")}]).directive("popoverPopup",["$document","$documentBind","$timeout","events","DOMHelper",function(e,t,n,i,a){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/popOvers/popOvers.html",scope:{content:"@",placement:"@",animation:"&",isOpen:"=",stylett:"@"},link:function(e,s,r,o){e.closeable=!1;try{e.closeable=""===e.$parent.parentAttrs.closeable?!0:!1}catch(l){}var c=void 0,d=void 0,p=function(t){e.$apply(function(){e.isOpen=!1})},u=function(t){(27===t.which||27===t.keyCode)&&(console.log("ESC was pressed!"),e.$apply(function(){e.isOpen=!1}))};n(function(){d=a.firstTabableElement(s)},10,!1),e.$watch("isOpen",function(t){if(e.isOpen){if(c=document.activeElement,angular.isDefined(d))try{d.focus()}catch(n){}}else if(angular.isDefined(c))try{c.focus()}catch(n){}}),e.$watch("stylett",function(t){e.popOverStyle=t}),e.$watch("placement",function(t){e.popOverPlacement=t}),e.closeMe=function(){e.isOpen=!1},s.bind("click",function(e){i.stopPropagation(e)}),t.event("click","isOpen",p,e,!0,10),t.event("keydown","isOpen",u,e,!0,10)}}}]),angular.module("att.abs.profileCard",[]).constant("profileStatus",{status:{ACTIVE:{status:"Active",color:"green"},DEACTIVATED:{status:"Deactivated",color:"red"},LOCKED:{status:"Locked",color:"red"},IDLE:{status:"Idle",color:"yellow"},PENDING:{status:"Pending",color:"blue"}},role:"COMPANY ADMINISTRATOR"}).directive("profileCard",["$http","$q","profileStatus",function(e,t,n){return{restrict:"EA",replace:"true",templateUrl:function(e,t){return t.addUser?"app/scripts/ng_js_att_tpls/profileCard/addUser.html":"app/scripts/ng_js_att_tpls/profileCard/profileCard.html"},scope:{profile:"="},link:function(e,i,a){function s(e){var n=t.defer(),i=new Image;return i.onerror=function(){n.reject(!1)},i.onload=function(){n.resolve(!0)},void 0!==e&&e.length>0?i.src=e:n.reject(!1),n.promise}if(e.image=!0,!a.addUser){e.image=!1,s(e.profile.img).then(function(t){e.image=t});var r=e.profile.name.split(" ");e.initials="";for(var o=0;o<r.length;o++)e.initials+=r[o][0];e.profile.role.toUpperCase()===n.role&&(e.badge=!0);var l=n.status[e.profile.state.toUpperCase()];l&&(e.profile.state=n.status[e.profile.state.toUpperCase()].status,e.colorIcon=n.status[e.profile.state.toUpperCase()].color,(e.profile.state.toUpperCase()===n.status.PENDING.status.toUpperCase()||e.profile.state.toUpperCase()===n.status.LOCKED.status.toUpperCase())&&(e.profile.lastLogin=e.profile.state));var c=(new Date).getTime(),d=new Date(e.profile.lastLogin).getTime(),p=(c-d)/864e5;1>=p?e.profile.lastLogin="Today":2>=p&&(e.profile.lastLogin="Yesterday")}}}}]),angular.module("att.abs.progressBars",[]).directive("attProgressBar",[function(){return{restrict:"A",replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/progressBars/progressBars.html"}}]),angular.module("att.abs.radio",[]).constant("attRadioConfig",{activeClass:"att-radio--on",disabledClass:"att-radio--disabled"}).directive("attRadio",["$compile","attRadioConfig",function(e,t){return{scope:{},restrict:"A",require:"ngModel",link:function(n,i,a,s){var r=s;n.radioVal="";var o=angular.element('<div att-accessibility-click="13,32" ng-click="updateModel($event)" class="att-radio"></div>');i.attr("value",a.attRadio),i.removeAttr("att-radio"),i.removeAttr("title"),i.attr("ng-model","radioVal"),o.append(i.prop("outerHTML")),o.append('<div class="att-radio__indicator"></div>'),o.attr("title",a.title);var l=o.prop("outerHTML");l=e(l)(n),i=i.replaceWith(l);var c=l.find("input");c.on("focus",function(){l.css("outline","2px solid #5E9ED6"),l.css("outline","-webkit-focus-ring-color auto 5px")}),c.on("blur",function(){l.css("outline","none")}),r.$render=function(){n.radioVal=r.$modelValue;var e=angular.equals(r.$modelValue,a.attRadio);l.toggleClass(t.activeClass,e)},n.updateModel=function(){c[0].focus();var e=l.hasClass(t.activeClass);e||n.disabled||(r.$setViewValue(e?null:a.attRadio),r.$render())},a.$observe("disabled",function(e){n.disabled=e||"disabled"===e||"true"===e,n.disabled?(l.addClass(t.disabledClass),l.attr("tabindex","-1")):(l.removeClass(t.disabledClass),l.attr("tabindex","0"))})}}}]),angular.module("att.abs.scrollbar",["att.abs.position"]).constant("attScrollbarConstant",{defaults:{axis:"y",navigation:!1,wheel:!0,wheelSpeed:40,wheelLock:!0,scrollInvert:!1,trackSize:!1,thumbSize:!1,alwaysVisible:!0}}).directive("attScrollbar",["$window","$timeout","$parse","$animate","attScrollbarConstant","$position",function(e,t,n,i,a,s){return{restrict:"A",scope:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/scrollbar/scrollbar.html",controller:["$scope","$element","$attrs",function(r,o,l){function c(){k.contentRatio<=1&&k.contentPosition>k.contentSize-k.viewportSize?k.contentPosition=k.contentSize-k.viewportSize:k.contentRatio>1&&k.contentPosition>0&&(k.contentPosition=0),k.contentPosition<=0?r.prevAvailable=!1:r.prevAvailable=!0,k.contentPosition>=k.contentSize-k.viewportSize?r.nextAvailable=!1:r.nextAvailable=!0}function d(){I?(D.on("touchstart",u),$.on("touchstart",u)):($.on("mousedown",h),T.on("mousedown",v)),angular.element(e).on("resize",p),k.options.wheel&&o.on(L,g)}function p(){k.update()}function u(e){1===e.touches.length&&(e.stopPropagation(),h(e.touches[0]))}function h(e){C.addClass("scroll-no-select"),o.addClass("scroll-no-select"),k.options.alwaysVisible||T.addClass("visible"),E=A?e.clientX:e.clientY,k.thumbPosition=parseInt($.css(M),10)||0,I?(N=!1,F=!1,D.on("touchmove",f),D.on("touchend",b),$.on("touchmove",m),$.on("touchend",b)):(S.on("mousemove",v),S.on("mouseup",b),$.on("mouseup",b))}function g(n){if(!(k.contentRatio>=1)){k.options.alwaysVisible||(w&&t.cancel(w),T.addClass("visible"),w=t(function(){T.removeClass("visible")},100));var i=n&&n.originalEvent||n||e.event,a=k.options.axis.toUpperCase(),s={X:i.deltaX||0,Y:i.deltaY||0},l=0===i.deltaMode?k.options.wheelSpeed:1;k.options.scrollInvert&&(l*=-1),"mousewheel"===L&&(s.Y=-1*i.wheelDelta/40,i.wheelDeltaX&&(s.X=-1*i.wheelDeltaX/40)),s.X*=-1/l,s.Y*=-1/l;var d=s[a];k.contentPosition-=d*k.options.wheelSpeed,k.contentPosition=Math.min(k.contentSize-k.viewportSize,Math.max(0,k.contentPosition)),fireEvent(o[0],"move"),c(),$.css(M,k.contentPosition/k.trackRatio+"px"),x.css(M,-k.contentPosition+"px"),(k.options.wheelLock||k.contentPosition!==k.contentSize-k.viewportSize&&0!==k.contentPosition)&&i.preventDefault(),r.$apply()}}function f(e){e.preventDefault(),N=!0,v(e.touches[0])}function m(e){e.preventDefault(),F=!0,v(e.touches[0])}function v(e){if(!(k.contentRatio>=1)){var t=A?e.clientX:e.clientY,n=t-E;(k.options.scrollInvert&&!I||I&&!k.options.scrollInvert)&&(n=E-t),N&&I&&(n=E-t),F&&I&&(n=t-E);var i=Math.min(k.trackSize-k.thumbSize,Math.max(0,k.thumbPosition+n));k.contentPosition=i*k.trackRatio,fireEvent(o[0],"move"),c(),$.css(M,i+"px"),x.css(M,-k.contentPosition+"px"),r.$apply()}}function b(){C.removeClass("scroll-no-select"),o.removeClass("scroll-no-select"),k.options.alwaysVisible||T.removeClass("visible"),S.off("mousemove",v),S.off("mouseup",b),$.off("mouseup",b),S.off("touchmove",f),S.off("ontouchend",b),$.off("touchmove",m),$.off("touchend",b)}var y={axis:l.attScrollbar||a.defaults.axis,navigation:l.navigation||a.defaults.navigation,wheel:a.defaults.wheel,wheelSpeed:a.defaults.wheelSpeed,wheelLock:a.defaults.wheelLock,scrollInvert:a.defaults.scrollInvert,trackSize:a.defaults.trackSize,thumbSize:a.defaults.thumbSize,alwaysVisible:a.defaults.alwaysVisible},_=l.scrollbar;_=_?n(_)(r):{},this.options=angular.extend({},y,_),this._defaults=y;var w,k=this,C=angular.element(document.querySelectorAll("body")[0]),S=angular.element(document),D=angular.element(o[0].querySelectorAll(".scroll-viewport")[0]),x=angular.element(o[0].querySelectorAll(".scroll-overview")[0]),T=angular.element(o[0].querySelectorAll(".scroll-bar")[0]),$=angular.element(o[0].querySelectorAll(".scroll-thumb")[0]),E=0,A="x"===this.options.axis,I=!1,L="onwheel"in document?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll",P=A?"width":"height",O=P.charAt(0).toUpperCase()+P.slice(1).toLowerCase(),M=A?"left":"top",F=!1,N=!1;("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)&&(I=!0),this.contentPosition=0,this.viewportSize=0,this.contentSize=0,this.contentRatio=0,this.trackSize=0,this.trackRatio=0,this.thumbSize=0,this.thumbPosition=0,this.initialize=function(){return this.options.alwaysVisible||T.css("opacity",0),k.update(),d(),k},this.setSizeData=function(){this.viewportSize=D.prop("offset"+O)||1,this.contentSize=x.prop("scroll"+O)||1,this.contentRatio=this.viewportSize/this.contentSize,this.trackSize=this.options.trackSize||this.viewportSize,this.thumbSize=Math.min(this.trackSize,Math.max(0,this.options.thumbSize||this.trackSize*this.contentRatio)),this.trackRatio=this.options.thumbSize?(this.contentSize-this.viewportSize)/(this.trackSize-this.thumbSize):this.contentSize/this.trackSize},this.update=function(e){return k.setSizeData(),E=T.prop("offsetTop"),T.toggleClass("disable",this.contentRatio>=1||isNaN(this.contentRatio)),!this.options.alwaysVisible&&this.contentRatio<1&&this.viewportSize>0&&i.addClass(T,"visible").then(function(){i.removeClass(T,"visible"),r.$digest()}),null!==e&&("bottom"===e?this.contentPosition=this.contentSize-this.viewportSize:this.contentPosition=parseInt(e,10)||0),c(),$.css(M,k.contentPosition/k.trackRatio+"px"),T.css(P,k.trackSize+"px"),$.css(P,k.thumbSize+"px"),x.css(M,-k.contentPosition+"px"),this},fireEvent=function(e,t){var n,i=e;document.createEvent?(n=document.createEvent("HTMLEvents"),n.initEvent(t,!0,!1),i.dispatchEvent(n)):document.createEventObject&&(n=document.createEventObject(),i.fireEvent("on"+t,n))},r.customScroll=function(e){if(!(k.contentRatio>=1)){var t,n=s.position(D);t=A?n.width:n.height,e?k.contentPosition+=t:k.contentPosition-=t,k.contentPosition=Math.min(k.contentSize-k.viewportSize,Math.max(0,k.contentPosition)),fireEvent(o[0],"move"),c(),$.css(M,k.contentPosition/k.trackRatio+"px"),x.css(M,-k.contentPosition+"px")}},this.cleanup=function(){D.off("touchstart",u),$.off("mousedown",h),T.off("mousedown",v),$.off("touchmove",m),$.off("touchend",b),angular.element(e).off("resize",p),o.off(L,g),k.options.alwaysVisible=!0,b()}}],link:function(e,n,i,a){e.navigation=a.options.navigation,e.viewportHeight=i.viewportHeight,e.viewportWidth=i.viewportWidth,e.scrollbarAxis=a.options.axis,"x"===e.scrollbarAxis?n.addClass("horizontal"):"y"===e.scrollbarAxis&&n.addClass("vertical");var s=n.css("position");"relative"!==s&&"absolute"!==s&&n.css("position","relative"),e.$watch(function(){t(r,100,!1)});var r=function(){var t=angular.element(n[0].querySelectorAll(".scroll-overview")[0]),i=t.prop("scrollHeight"),s=e.oldValue;i!==s&&(e.oldValue=i,a.update())};a.initialize(),n.on("$destroy",function(){a.cleanup()})}}}]),angular.module("att.abs.search",["att.abs.utilities","att.abs.position","att.abs.utilities"]).directive("attSearch",["$document","$filter","$isElement","$documentBind","$timeout","$log","keymap",function(e,t,n,i,a,s,r){return{restrict:"A",scope:{cName:"=attSearch"},transclude:!1,replace:!1,require:"ngModel",templateUrl:"app/scripts/ng_js_att_tpls/search/search.html",link:function(t,o,l,c){t.selectedIndex=-1,t.selectedOption=l.placeholder,t.isDisabled=!1,t.className="select2-match",t.showSearch=!1,t.showlist=!1;var d="",p=new Date,u=void 0,h=[];a(function(){h=o.find("li")},10),s.warn("attSearch is deprecated, please use attSelect instead. This component will be removed by version 2.7."),l.noFilter||"true"===l.noFilter?t.noFilter=!0:t.noFilter=!1,"false"===l.placeholderAsOption?t.selectedOption=l.placeholder:t.selectMsg=l.placeholder,(l.startsWithFilter||"true"===l.startsWithFilter)&&(t.startsWithFilter=!0),"true"===l.showInputFilter&&(t.showSearch=!1,s.warn("showInputFilter functionality has been removed from the library.")),l.disabled&&(t.isDisabled=!0),u=angular.element(o).children().eq(0).find("a")[0];var g=0,f=function(){if(t.noFilter){var e=d,n=0;for(n=g;n<t.cName.length;n++)if(t.cName[n].title.startsWith(e)&&n!==t.selectedIndex){t.selectOption(t.cName[n],n,t.showlist),g=n,d="";break}(n>=t.cName.length||!t.cName[n+1].title.startsWith(e))&&g>0&&(g=0)}};t.showDropdown=function(){l.disabled||(t.showlist=!t.showlist,t.setSelectTop())},o.bind("keydown",function(e){if(r.isAllowedKey(e.keyCode)||r.isControl(e)||r.isFunctionKey(e))switch(e.preventDefault(),e.stopPropagation(),e.keyCode){case r.KEY.DOWN:t.selectNext();break;case r.KEY.UP:t.selectPrev(),d="";break;case r.KEY.ENTER:t.selectCurrent(),d="";break;case r.KEY.BACKSPACE:t.title="",d="",t.$apply();break;case r.KEY.SPACE:t.noFilter||(t.title+=" "),t.$apply();break;case r.KEY.ESC:""===t.title||void 0===t.title?(t.showlist=!1,u.focus(),t.$apply()):(t.title="",t.$apply()),t.noFilter&&(d="",u.focus(),t.showlist=!1)}else if(9!==e.keyCode){if(t.noFilter){var n=new Date,i=Math.abs(p.getMilliseconds()-n.getMilliseconds());p=n,i>100&&(d=""),d=d?d+String.fromCharCode(e.keyCode):String.fromCharCode(e.keyCode),d.length>2&&(d=d.substring(0,2)),f()}else t.showlist=!0,t.title=t.title?t.title+String.fromCharCode(e.keyCode):String.fromCharCode(e.keyCode);t.$apply()}else 9===e.keyCode&&(t.showlist=!1,t.title="",t.$apply())}),t.selectOption=function(e,n,i){-1===n||"-1"===n?(t.selCategory="",t.selectedIndex=-1,c.$setViewValue(""),"false"!==l.placeholderAsOption&&(t.selectedOption=t.selectMsg)):(t.selCategory=t.cName[n],t.selectedIndex=n,c.$setViewValue(t.selCategory),t.selectedOption=t.selCategory.title,angular.isDefined(h[n])&&h[n].focus()),t.title="",i||(t.showlist=!1,u.focus()),t.$apply()},t.selectCurrent=function(){t.showlist?(t.selectOption(t.selectMsg,t.selectedIndex,!1),t.$apply()):(t.showlist=!0,t.setSelectTop(),t.$apply())},t.hoverIn=function(e){t.selectedIndex=e,t.focusme()},t.setSelectTop=function(){a(function(){if(t.showlist&&!t.noFilter){var e=angular.element(o)[0].querySelector(".select2-results");if(angular.element(e.querySelector(".select2-result-current"))[0])var n=angular.element(e.querySelector(".select2-result-current"))[0].offsetTop;angular.element(e)[0].scrollTop=n}})},t.setCurrentTop=function(){a(function(){if(t.showlist){var e=angular.element(o)[0].querySelector(".select2-results");if(angular.element(e.querySelector(".hovstyle"))[0])var n=angular.element(e.querySelector(".hovstyle"))[0].offsetTop;n<angular.element(e)[0].scrollTop?angular.element(e)[0].scrollTop-=30:n+30>angular.element(e)[0].clientHeight&&(angular.element(e)[0].scrollTop+=30)}})},t.selectNext=function(){t.selectedIndex+1<=t.cName.length-1&&(t.selectedIndex+=1,t.showlist||t.selectOption(t.selectMsg,t.selectedIndex,!1),t.focusme(),t.$apply()),t.setCurrentTop()},t.selectPrev=function(){t.selectedIndex-1>=0?(t.selectedIndex-=1,t.showlist||t.selectOption(t.selectMsg,t.selectedIndex,!1),t.focusme(),t.$apply()):t.selectedIndex-1<0&&(void 0===l.placeholderAsOption||"true"===l.placeholderAsOption?t.selectedIndex=-1:t.selectedIndex=0,t.showlist||t.selectOption(t.selectMsg,t.selectedIndex,!1),t.focusme(),t.$apply()),t.setCurrentTop()},t.updateSelection=function(e){t.selectedOption=e.title,t.title=""},t.focusme=function(){a(function(){var e=angular.element(o).find("ul").find("li"),n=t.selectedIndex+2;t.noFilter&&(n=t.selectedIndex),angular.isDefined(e[n])&&e[n].focus()})},t.$watch("selCategory",function(e){e&&t.updateSelection(e)}),c.$viewChangeListeners.push(function(){t.$eval(l.ngChange)}),c.$render=function(){t.selCategory=c.$viewValue};var m=function(i){var a=n(angular.element(i.target),o,e);a||(t.showlist=!1,u.focus(),t.$apply())};i.click("showlist",m,t)}}}]),angular.module("att.abs.select",["att.abs.utilities","att.abs.position","att.abs.utilities"]).directive("attSelect",["$document","$filter","$isElement","$documentBind","$timeout","keymap","$log",function(e,t,n,i,a,s,r){return{restrict:"A",scope:{cName:"=attSelect"},transclude:!1,replace:!1,require:"ngModel",templateUrl:"app/scripts/ng_js_att_tpls/select/select.html",link:function(o,l,c,d){o.selectedIndex=-1,o.selectedOption=c.placeholder,o.isDisabled=!1,o.className="select2-match",o.showSearch=!1,o.showlist=!1,o.titleName=c.titlename,o.$watch("ngModel",function(){});var p="",u=new Date,h=void 0,g=[];a(function(){g=l.find("li")},10),c.noFilter||"true"===c.noFilter?o.noFilter=!0:o.noFilter=!1,"false"===c.placeholderAsOption?o.selectedOption=c.placeholder:o.selectMsg=c.placeholder,(c.startsWithFilter||"true"===c.startsWithFilter)&&(o.startsWithFilter=!0),"true"===c.showInputFilter&&(o.showSearch=!1,r.warn("showInputFilter functionality has been removed from the library.")),c.disabled&&(o.isDisabled=!0);var f=function(){return o.startsWithFilter?"startsWith":"filter"};h=angular.element(l).children().eq(0).find("span")[0];var m=0,v=function(){if(o.noFilter){var e=p,t=0;for(t=m;t<o.cName.length;t++)if(o.cName[t].title.startsWith(e)&&t!==o.selectedIndex){o.selectOption(o.cName[t],t,o.showlist),m=t,p="";break}(t>=o.cName.length||!o.cName[t+1].title.startsWith(e))&&m>0&&(m=0)}};o.showDropdown=function(){c.disabled||(o.showlist=!o.showlist,o.setSelectTop(),o.focusme())},l.bind("keydown",function(e){if(s.isAllowedKey(e.keyCode)||s.isControl(e)||s.isFunctionKey(e))switch(e.preventDefault(),e.stopPropagation(),e.keyCode){case s.KEY.DOWN:o.selectNext();break;case s.KEY.UP:o.selectPrev(),p="";break;case s.KEY.ENTER:o.selectCurrent(),p="";break;case s.KEY.BACKSPACE:o.title="",p="",o.$apply();break;case s.KEY.SPACE:o.noFilter||(o.title+=" "),o.$apply();break;case s.KEY.ESC:""===o.title||void 0===o.title?(o.showlist=!1,h.focus(),o.$apply()):(o.title="",o.$apply()),o.noFilter&&(p="",h.focus(),o.showlist=!1)}else if(e.keyCode!==s.KEY.TAB){if(o.noFilter){var n=new Date,i=Math.abs(u.getMilliseconds()-n.getMilliseconds());u=n,i>100&&(p=""),p=p?p+String.fromCharCode(e.keyCode):String.fromCharCode(e.keyCode),p.length>2&&(p=p.substring(0,2)),v()}else if(o.showlist=!0,o.title=o.title?o.title+String.fromCharCode(e.keyCode):String.fromCharCode(e.keyCode),""!=o.title)for(var a=t(f())(o.cName,o.title),r=0;r<a.length;r++)for(var l=0;l<o.cName.length&&angular.isDefined(o.cName[o.selectedIndex]);l++)if(a[r].title===o.cName[o.selectedIndex].title){o.selectedIndex=r,o.focusme();break}o.$apply()}else e.keyCode===s.KEY.TAB&&(o.showlist=!1,o.title="",o.$apply())}),o.selectOption=function(e,n,i){if(-1===n||"-1"===n)o.selCategory="",o.selectedIndex=-1,d.$setViewValue(""),"false"!==c.placeholderAsOption&&(o.selectedOption=o.selectMsg);else{if(""!=o.title){var s=t(f())(o.cName,o.title);if(angular.isDefined(s)&&angular.isDefined(s[n]))for(var r=0;r<o.cName.length;r++)if(s[n].title===o.cName[r].title){n=r;break}}o.selCategory=o.cName[n],o.selectedIndex=n,d.$setViewValue(o.selCategory),o.selectedOption=o.selCategory.title,d.$render(),a(function(){if(angular.isDefined(g[n]))try{g[index].focus();
+}catch(e){}})}o.title="",i||(o.showlist=!1,h.focus())},o.selectCurrent=function(){o.showlist?o.selectOption(o.selectMsg,o.selectedIndex,!1):(o.showlist=!0,o.setSelectTop()),o.$apply()},o.hoverIn=function(e){o.selectedIndex=e,o.focusme()},o.setSelectTop=function(){a(function(){if(o.showlist&&!o.noFilter){var e=angular.element(l)[0].querySelector(".select2-results");if(angular.element(e.querySelector(".select2-result-current"))[0])var t=angular.element(e.querySelector(".select2-result-current"))[0].offsetTop;angular.element(e)[0].scrollTop=t}})},o.setCurrentTop=function(){a(function(){if(o.showlist){var e=angular.element(l)[0].querySelector(".select2-results");if(angular.element(e.querySelector(".hovstyle"))[0])var t=angular.element(e.querySelector(".hovstyle"))[0].offsetTop;t<angular.element(e)[0].scrollTop?angular.element(e)[0].scrollTop-=30:t+30>angular.element(e)[0].clientHeight&&(angular.element(e)[0].scrollTop+=30)}})},o.selectNext=function(){o.cName.length;if(o.selectedIndex+1<=o.cName.length-1){o.selectedIndex+=1;var e=o.cName[o.selectedIndex].disabled;e&&(o.selectedIndex+=1),o.showlist||o.selectOption(o.selectMsg,o.selectedIndex,!1),o.focusme(),o.$apply()}o.setCurrentTop()},o.selectPrev=function(){if(o.selectedIndex-1>=0){o.selectedIndex-=1;var e=o.cName[o.selectedIndex].disabled;e&&(o.selectedIndex-=1),o.showlist||o.selectOption(o.selectMsg,o.selectedIndex,!1),o.focusme(),o.$apply()}else o.selectedIndex-1<0&&(void 0===c.placeholderAsOption||"true"===c.placeholderAsOption?void 0===c.placeholder?o.selectedIndex=0:o.selectedIndex=-1:o.selectedIndex=0,o.showlist||o.selectOption(o.selectMsg,o.selectedIndex,!1),o.focusme(),o.$apply());o.setCurrentTop()},o.updateSelection=function(e){o.selectedOption=e.title,o.title="",e.index<0&&o.selectOption(o.selectMsg,e.index,o.showlist)},o.focusme=function(){a(function(){var e=angular.element(l).find("ul").find("li"),t=o.selectedIndex+2;if(o.noFilter&&(t=o.selectedIndex),angular.isDefined(e[t]))try{e[t].focus()}catch(n){}})},o.$watch("selCategory",function(e){e&&o.updateSelection(e)}),d.$viewChangeListeners.push(function(){o.$eval(c.ngChange)}),d.$render=function(){o.selCategory=d.$viewValue};var b=function(t){var i=n(angular.element(t.target),l,e);i||(o.showlist=!1,h.focus(),o.$apply())};i.click("showlist",b,o)}}}]).directive("textDropdown",["$document","$isElement","$documentBind","keymap",function(e,t,n,i){return{restrict:"EA",replace:!0,scope:{actions:"=actions",defaultAction:"=defaultAction",onActionClicked:"=?"},templateUrl:"app/scripts/ng_js_att_tpls/select/textDropdown.html",link:function(a,s,r){a.selectedIndex=0,a.selectedOption=r.placeholder,a.isDisabled=!1,a.isActionsShown=!1;var o=void 0;if(r.disabled&&(a.isDisabled=!0),o=s.find("div")[0],angular.isDefined(a.defaultAction))if(angular.isDefined(a.defaultAction)||""!==a.defaultAction){for(var l in a.actions)if(a.actions[l]===a.defaultAction){a.currentAction=a.actions[l],a.selectedIndex=a.actions.indexOf(l),a.isActionsShown=!1;break}}else a.currentAction=a.actions[0];else a.currentAction=a.actions[0],a.selectedIndex=0;a.toggle=function(){a.isActionsShown=!a.isActionsShown},a.chooseAction=function(e,t,n){null!=e?(a.currentAction=t,a.selectedIndex=n):a.currentAction=a.actions[a.selectedIndex],angular.isFunction(a.onActionClicked)&&a.onActionClicked(a.currentAction),a.toggle()},a.isCurrentAction=function(e){return e===a.currentAction},s.bind("keydown",function(e){if(i.isAllowedKey(e.keyCode)||i.isControl(e)||i.isFunctionKey(e)){switch(e.preventDefault(),e.stopPropagation(),e.keyCode){case i.KEY.DOWN:a.selectNext();break;case i.KEY.UP:a.selectPrev();break;case i.KEY.ENTER:a.selectCurrent();break;case i.KEY.ESC:a.isActionsShown=!1,o.focus(),a.$apply()}return void a.$apply()}e.keyCode===i.KEY.TAB&&(a.isActionsShown=!1,a.$apply())}),a.selectCurrent=function(){a.selectedIndex<0&&(a.selectedIndex=0),a.isActionsShown?a.chooseAction(null,a.currentAction):a.toggle()},a.selectNext=function(){a.isActionsShown&&(a.selectedIndex+1<a.actions.length?a.selectedIndex+=1:a.selectedIndex=a.actions.length-1,a.$apply())},a.selectPrev=function(){a.isActionsShown&&(a.selectedIndex-1>=0?a.selectedIndex-=1:a.selectedIndex-1<0&&(a.selectedIndex=0),a.$apply())},a.hoverIn=function(e){a.selectedIndex=e};var c=function(n){var i=t(angular.element(n.target),s,e);i||(a.toggle(),a.$apply())};n.click("isActionsShown",c,a)}}}]),angular.module("att.abs.slider",["att.abs.position"]).constant("sliderDefaultOptions",{width:300,step:1,precision:0,disabledWidth:116}).directive("attSlider",["sliderDefaultOptions","$position","$document",function(e,t,n){return{restrict:"EA",replace:!0,transclude:!0,scope:{floor:"=",ceiling:"=",step:"@",precision:"@",width:"@",textDisplay:"=",value:"=",ngModelSingle:"=?",ngModelLow:"=?",ngModelHigh:"=?",ngModelDisabled:"=?"},templateUrl:"app/scripts/ng_js_att_tpls/slider/slider.html",link:function(i,a,s){var r,o,l,c,d,p,u,h,g,f,m,v,b,y,_,w,k,C,S=0,D=!1;i.minPtrOffset=0,i.maxPtrOffset=0;var x=e.disabledWidth,T=a.children();h=T[0].children,h=angular.element(h[0]),C=T[1].children,k=angular.element(C[0]),w=angular.element(C[1]),_=angular.element(C[2]),g=null==s.ngModelSingle&&null==s.ngModelLow&&null==s.ngModelHigh&&null!=s.ngModelDisabled,v=null==s.ngModelSingle&&null!=s.ngModelLow&&null!=s.ngModelHigh,b="ngModelLow",y="ngModelHigh",v?k.remove():(w.remove(),_.remove()),g?(i.disabledStyle={width:x+"px",zIndex:1},i.handleStyle={left:x+"px"}):h.remove(),f=parseFloat(i.floor),m=parseFloat(i.ceiling),u=m-f,r=0,o=void 0!==s.width?s.width:0!==a[0].clientWidth?a[0].clientWidth:e.width,p=o-r,i.keyDown=function(n){if(39===n.keyCode){var s=t.position(a).left;if(l)"ngModelLow"===i.ref?(c=e.step+c,l=c):"ngModelHigh"===i.ref?(d=e.step+d,l=d):l=e.step+l;else{if(v&&"ngModelLow"===i.ref)return;l=e.step+s,c=d=l}}else if(37===n.keyCode){var r=t.position(k).left;l?0>=l||("ngModelLow"===i.ref?(c-=e.step,l=c):"ngModelHigh"===i.ref?(d-=e.step,l=d):(l-=e.step,c=d=l)):l=r-e.step}l>=0&&i.ptrOffset(l)},i.mouseDown=function(e,t){i.ref=t,D=!0,S=v?i.ref===b?e.clientX-i.minPtrOffset:e.clientX-i.maxPtrOffset:l?e.clientX-l:e.clientX,g&&(i.ref="ngModelDisabled",i.disabledStyle={width:x+"px",zIndex:1})},i.moveElem=function(e){if(D){var t;t=e.clientX,l=t-S,i.ptrOffset(l)}},i.focus=function(e,t){console.log(t),i.ref=t},i.mouseUp=function(e){D=!1,w.removeClass("dragging"),_.removeClass("dragging"),k.removeClass("dragging"),n.off("mousemove")},i.keyUp=function(e){D=!1,w.removeClass("dragging"),_.removeClass("dragging"),k.removeClass("dragging"),n.off("mousemove")},i.calStep=function(e,t,n,i){var a,s,r,o;return null===i&&(i=0),null===n&&(n=1/Math.pow(10,t)),s=(e-i)%n,o=s>n/2?e+n-s:e-s,a=Math.pow(10,t),r=o*a/a,r.toFixed(t)},i.percentOffset=function(e){return(e-r)/p*100},i.ptrOffset=function(t){var n,a;if(t=Math.max(Math.min(t,o),r),n=i.percentOffset(t),a=f+u*n/100,v){var s;i.ref===b?(i.minHandleStyle={left:t+"px"},i.minNewVal=a,i.minPtrOffset=t,w.addClass("dragging"),a>i.maxNewVal&&(i.ref=y,_[0].focus(),i.maxNewVal=a,i.maxPtrOffset=t,_.addClass("dragging"),w.removeClass("dragging"),i.maxHandleStyle={left:t+"px"})):(i.maxHandleStyle={left:t+"px"},i.maxNewVal=a,i.maxPtrOffset=t,_.addClass("dragging"),a<i.minNewVal&&(i.ref=b,w[0].focus(),i.minVal=a,i.minPtrOffset=t,w.addClass("dragging"),_.removeClass("dragging"),i.minHandleStyle={left:t+"px"})),s=parseInt(i.maxPtrOffset)-parseInt(i.minPtrOffset),i.rangeStyle={width:s+"px",left:i.minPtrOffset+"px"}}else g&&t>x?i.rangeStyle={width:t+"px",zIndex:0}:(k.addClass("dragging"),i.rangeStyle={width:t+"px"}),i.handleStyle={left:t+"px"};(void 0===i.precision||void 0===i.step)&&(i.precision=e.precision,i.step=e.step),a=i.calStep(a,parseInt(i.precision),parseFloat(i.step),parseFloat(i.floor)),i[i.ref]=a}}}}]).directive("attSliderMin",[function(){return{require:"^attSlider",restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/slider/minContent.html"}}]).directive("attSliderMax",[function(){return{require:"^attSlider",restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/slider/maxContent.html"}}]),angular.module("att.abs.splitButtonDropdown",["att.abs.utilities","att.abs.position"]).directive("attButtonDropdown",["$document","$parse","$documentBind","$timeout","$isElement",function(e,t,n,i,a){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdown.html",scope:{btnText:"@",btnType:"@",btnLink:"@",btnClick:"&",toggleTitle:"@"},controller:["$scope","$element",function(e,t){this.cSelected=0,this.closeAndFocusDropdown=function(){e.isDropDownOpen&&e.$apply(function(){e.isDropDownOpen=!1,angular.element(t[0].querySelector("a.dropdown-toggle"))[0].focus()})},this.focusNext=function(){this.cSelected=this.cSelected+1>=this.childScopes.length?e.cycleSelection===!0?0:this.childScopes.length-1:this.cSelected+1,this.childScopes[this.cSelected].sFlag=!0,this.resetFlag(this.cSelected)},this.focusPrev=function(){this.cSelected=this.cSelected-1<0?e.cycleSelection===!0?this.childScopes.length-1:0:this.cSelected-1,this.childScopes[this.cSelected].sFlag=!0,this.resetFlag(this.cSelected)},this.childScopes=[],this.registerScope=function(e){this.childScopes.push(e)},this.resetFlag=function(e){for(var t=0;t<this.childScopes.length;t++)t!==e&&(this.childScopes[t].sFlag=!1)}}],link:function(s,r,o){s.isSmall=""===o.small?!0:!1,s.multiselect=""===o.multiselect?!0:!1,s.cycleSelection=""===o.cycleSelection?!0:!1,s.isDropDownOpen=!1,s.isActionDropdown=!1,s.btnText||(s.isActionDropdown=!0),s.clickFxn=function(){"function"!=typeof s.btnClick||s.btnLink||(s.btnClick=t(s.btnClick),s.btnClick()),s.multiselect===!0&&(s.isDropDownOpen=!1)},s.toggleDropdown=function(){"disabled"!==s.btnType&&(s.isDropDownOpen=!s.isDropDownOpen,s.isDropDownOpen&&i(function(){angular.element(r[0].querySelector("li"))[0].focus()}))},s.btnTypeSelector=function(e,t){""!==e?s.btnTypeFinal=e:s.btnTypeFinal=t};var l=function(t){var n=a(angular.element(t.target),r.find("ul").eq(0),e);n||(s.isDropDownOpen=!1,s.$apply())};n.click("isDropDownOpen",l,s),o.$observe("btnType",function(e){s.btnType=e}),o.$observe("attButtonDropdown",function(e){o.attButtonDropdown=e,s.btnTypeSelector(o.attButtonDropdown,s.btnType)})}}}]).directive("attButtonDropdownItem",["$location","keymap",function(e,t){return{restrict:"EA",require:["^attButtonDropdown","?ngModel"],replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdownItem.html",scope:{itemLink:"@"},link:function(e,n,i,a){angular.element(n[0].querySelector("a"));e.sFlag=!1,a[0].registerScope(e);a[1]?e.isSelected=a[1].$viewValue:e.isSelected=!1,n.bind("keydown",function(n){if(t.isAllowedKey(n.keyCode)||t.isControl(n)||t.isFunctionKey(n))switch(n.preventDefault(),n.stopPropagation(),n.keyCode){case t.KEY.DOWN:a[0].focusNext();break;case t.KEY.UP:a[0].focusPrev();break;case t.KEY.ENTER:e.selectItem();break;case t.KEY.ESC:a[0].closeAndFocusDropdown()}e.$apply()}),e.selectItem=function(){a[1]&&e.$evalAsync(function(){a[1].$setViewValue(!a[1].$viewValue)})}}}}]),angular.module("att.abs.splitIconButton",["att.abs.utilities"]).constant("iconStateConstants",{MIDDLE:"middle",LEFT:"left",RIGHT:"right",NEXT_TO_DROPDOWN:"next-to-dropdown",LEFT_NEXT_TO_DROPDOWN:"left-next-to-dropdown",DIR_TYPE:{LEFT:"left",RIGHT:"right",BUTTON:"button"},SPLIT_ICON_BTN_EVENT_EMITTER_KEY:"splitIconButtonTap"}).directive("expandableLine",[function(){return{restrict:"EA",replace:!0,priority:300,require:["^attSplitIconButton","expandableLine"],controller:["$scope",function(e){e.isActive=!1,this.setActiveState=function(t){e.isActive=t},this.isActive=e.isActive,this.dirType=e.dirType}],template:"<div ng-class=\"{'expand-line-container': !isActive, 'expand-line-container-active': isActive}\"> <div ng-class=\"{'hovered-line':isActive, 'vertical-line':!isActive}\"> </div></div>",scope:{dirType:"@"},link:function(e,t,n,i){var a=i[0],s=i[1];a.addSubCtrl(s)}}}]).controller("AttSplitIconCtrl",["$scope",function(e){this.setType=function(t){e.type=t},this.isDropdown=function(t){e.isDropdown=t},this.dropDownClicked=function(){e.dropDownClicked&&e.dropDownClicked()},this.dirType=e.dirType}]).directive("attSplitIcon",["$document","$timeout","iconStateConstants","$documentBind","events","keymap",function(e,t,n,i,a,s){return{restrict:"EA",replace:!0,priority:200,transclude:!0,require:["^attSplitIconButton","attSplitIcon"],templateUrl:"app/scripts/ng_js_att_tpls/splitIconButton/splitIcon.html",scope:{icon:"@",iconTitle:"@title",hoverWatch:"=",dropDownWatch:"=",dirType:"@"},controller:"AttSplitIconCtrl",link:function(e,t,r,o){var l=o[0],c=o[1];l.addSubCtrl(c),e.iconStateConstants=n;var d,p=0,u=!1;e.isDropdown=!1,e.isDropdownOpen=!1;var h=function(t){e.isDropdown&&(u?(u=!1,e.toggleDropdown()):e.toggleDropdown(!1),e.$apply())};r.dropDownId&&""!==r.dropDownId&&(e.dropDownId=r.dropDownId,e.isDropdown=!0),e.$on(n.SPLIT_ICON_BTN_EVENT_EMITTER_KEY,function(n,i){function r(t){switch(t.which){case s.KEY.TAB:e.toggleDropdown(!1),e.$digest();break;case s.KEY.ESC:h();break;case s.KEY.ENTER:e.isDropDownOpen&&o();break;case s.KEY.UP:t.preventDefault(),a.stopPropagation(t),e.isDropDownOpen&&e.previousItemInDropdown();break;case s.KEY.DOWN:t.preventDefault(),a.stopPropagation(t),e.isDropDownOpen?e.nextItemInDropdown():(u=!0,h(),o())}}function o(){if(void 0===d){d=[];for(var e=t.find("li"),n=0;n<e.length;n++)d.push(e.eq(n));d[p].children().eq(0).addClass("selected-item")}}if("boolean"==typeof i&&i)e.dropDownClicked(),e.isDropDownOpen&&d[p].eq(0).find("a")[0].click();else{var l=i;e.isDropdown&&r(l)}}),e.nextItemInDropdown=function(){d&&p<d.length-1&&(p++,d[p-1].children().eq(0).removeClass("selected-item"),d[p].children().eq(0).addClass("selected-item"))},e.previousItemInDropdown=function(){p>0&&(p--,d[p].children().eq(0).addClass("selected-item"),p+1<d.length&&d[p+1].children().eq(0).removeClass("selected-item"))},e.$watch("isIconHovered",function(t){e.hoverWatch=t}),e.$watch("type",function(t){function n(t,n,i,a,s){e.isMiddle=t,e.isNextToDropDown=n,e.isRight=i,e.isLeft=a,e.isLeftNextDropdown=s}switch(t){case e.iconStateConstants.MIDDLE:n(!0,!1,!1,!0,!1);break;case e.iconStateConstants.LEFT:n(!1,!1,!1,!0,!1);break;case e.iconStateConstants.RIGHT:n(!1,!1,!0,!1,!1);break;case e.iconStateConstants.NEXT_TO_DROPDOWN:n(!1,!0,!0,!0,!1);break;case e.iconStateConstants.LEFT_NEXT_TO_DROPDOWN:n(!1,!1,!1,!0,!0)}}),e.dropDownClicked=function(){u=!0},e.toggleDropdown=function(t){void 0!==t?e.isDropDownOpen=t:e.isDropDownOpen=!e.isDropDownOpen,e.dropDownWatch=e.isDropDownOpen},i.click("isDropdown",h,e)}}}]).controller("AttSplitIconButtonCtrl",["$scope","iconStateConstants",function(e,t){function n(e){var t=-1;for(var n in i.subCtrls){var a=i.subCtrls[n];if(a.dirType===e){t=n;break}}return t}this.subCtrls=[],e.isLeftLineShown=!0,e.isRightLineShown=!0,e.childrenScopes=[];var i=this;this.addSubCtrl=function(e){this.subCtrls.push(e)},this.isLeftLineShown=function(t){return void 0===t?e.isLeftLineShown:void(e.isLeftLineShown=t)},this.isRightLineShown=function(t){return void 0===t?e.isRightLineShown:void(e.isRightLineShown=t)},this.setLeftLineHover=function(i){var a=n(t.DIR_TYPE.LEFT);e.isLeftLineShown&&this.subCtrls[a]&&this.subCtrls[a].setActiveState&&this.subCtrls[a].setActiveState(i)},this.setRightLineHover=function(i){var a=n(t.DIR_TYPE.RIGHT);e.isRightLineShown&&this.subCtrls[a]&&this.subCtrls[a].setActiveState&&this.subCtrls[a].setActiveState(i)},this.toggleLines=function(i,a,s,r){function o(){for(var e=0;c>e;e++)if(l[e]===s){c-1>=e+1&&l[e+1].isLeftLineShown()&&l[e+1].subCtrls[d]&&l[e+1].subCtrls[d].setActiveState&&l[e+1].subCtrls[d].setActiveState(i),e-1>=0&&l[e-1].isRightLineShown()&&l[e-1].subCtrls[p]&&l[e-1].subCtrls[p].setActiveState&&l[e-1].subCtrls[p].setActiveState(i);break}}var l=a.subIconButtons,c=l.length,d=n(t.DIR_TYPE.LEFT),p=n(t.DIR_TYPE.RIGHT);r?l[c-2]==s?l[c-2].isLeftLineShown()?l[c-2].subCtrls[d].setActiveState(i):c-3>=0&&l[c-3].isRightLineShown()&&l[c-3].subCtrls[p].setActiveState(i):(o(),e.isLeftLineShown&&this.subCtrls[d].setActiveState(i),e.isRightLineShown&&this.subCtrls[p].setActiveState(i)):(e.isLeftLineShown||e.isRightLineShown||o(),e.isLeftLineShown&&this.subCtrls[d].setActiveState&&this.subCtrls[d].setActiveState(i),e.isRightLineShown&&this.subCtrls[p].setActiveState&&this.subCtrls[p].setActiveState(i))},this.setButtonType=function(e){var i=n(t.DIR_TYPE.BUTTON);this.subCtrls[i]&&this.subCtrls[i].setType&&this.subCtrls[i].setType(e)}}]).directive("attSplitIconButton",["$document","iconStateConstants","keymap",function(e,t,n){return{restrict:"EA",replace:!0,priority:100,transclude:!0,require:["^attSplitIconButtonGroup","attSplitIconButton"],controller:"AttSplitIconButtonCtrl",templateUrl:"app/scripts/ng_js_att_tpls/splitIconButton/splitIconButton.html",scope:{icon:"@",title:"@",dropDownId:"@"},link:function(e,i,a,s){e.title||(e.title=e.icon);var r=s[0],o=s[1];r.addIconButton(o),i.bind("keydown",function(i){(i.which===n.KEY.ESC||i.which===n.KEY.DOWN||i.which===n.KEY.ENTER||i.which===n.KEY.UP||i.which===n.KEY.TAB)&&(e.clickHandler(),e.$broadcast(t.SPLIT_ICON_BTN_EVENT_EMITTER_KEY,i))}),e.dropDownWatch=!1,e.iconStateConstants=t,e.clickHandler=function(){r.hideLeftLineRightButton(o)},e.$watch("isHovered",function(e){e?o.toggleLines(e,r,o,r.isDropDownOpen):o.toggleLines(e,r,o,r.isDropDownOpen)}),e.$watch("dropDownWatch",function(e){r.isDropDownOpen=e,r.toggleDropdownState(e)})}}}]).controller("AttSplitIconButtonGroupCtrl",["$scope","iconStateConstants",function(e,t){this.subIconButtons=[],this.addIconButton=function(e){this.subIconButtons.push(e)},this.isDropDownOpen=!1,this.hideLeftLineRightButton=function(e){var t=this.subIconButtons.length,n=this.subIconButtons[t-2],i=this.subIconButtons[t-1];e!=n&&e!=i&&i.setLeftLineHover(!1)},this.toggleDropdownState=function(e){var n=this.subIconButtons.length;n>2?e?(this.subIconButtons[n-2].isRightLineShown()?this.subIconButtons[n-2].setRightLineHover(!0):this.subIconButtons[n-1].setLeftLineHover(!0),this.subIconButtons[n-2].setButtonType(t.NEXT_TO_DROPDOWN)):(this.subIconButtons[n-1].setLeftLineHover(!1),this.subIconButtons[n-2].setButtonType(t.MIDDLE)):e?(this.subIconButtons[0].setRightLineHover(!0),this.subIconButtons[0].setButtonType(t.LEFT_NEXT_TO_DROPDOWN)):this.subIconButtons[0].setButtonType(t.LEFT)}}]).directive("attSplitIconButtonGroup",["$document","$timeout","iconStateConstants",function(e,t,n){return{restrict:"EA",replace:!0,priority:50,transclude:!0,require:"attSplitIconButtonGroup",controller:"AttSplitIconButtonGroupCtrl",templateUrl:"app/scripts/ng_js_att_tpls/splitIconButton/splitIconButtonGroup.html",scope:{},link:function(e,i,a,s){function r(){var e=s.subIconButtons,t=0,a=e.length-1;if(e[t].setButtonType(n.LEFT),e[t].isLeftLineShown(!1),e[t].isRightLineShown(!0),e[a].setButtonType(n.RIGHT),e[a].isRightLineShown(!1),e[a].isLeftLineShown(!1),a>=2){for(var r=1;a>r;)e[r].setButtonType(n.MIDDLE),e[r].isRightLineShown(!1),e[r].isLeftLineShown(!1),r++;for(var o=2;a>=o;)o==a?e[o].isLeftLineShown(!0):(e[o].isRightLineShown(!0),e[o].isLeftLineShown(!0)),o+=2}var l=i.find("ul");if(l.length>0){var c=a+1;if(c>2){var d=34*c-70+c/1.5+.5,p=d+"px";angular.element(l).css("left",p),angular.element(l).css("border-top-left-radius","0px")}else angular.element(l).css("left","0px")}}t(r,100)}}}]),angular.module("att.abs.stepSlider",["att.abs.position"]).constant("sliderConstants",{SLIDER:{settings:{from:1,to:40,step:1,smooth:!0,limits:!0,value:"3",dimension:"",vertical:!1},className:"jslider",selector:".jslider-"},EVENTS:{},COLORS:{GREEN:"green",BLUE_HIGHLIGHT:"blue",MAGENTA:"magenta",GOLD:"gold",PURPLE:"purple",DARK_BLUE:"dark-blue",REGULAR:"regular",WHITE:"white"}}).factory("utils",function(){return{offset:function(e){var t=e[0],n=0,i=0,a=document.documentElement||document.body,s=window.pageXOffset||a.scrollLeft,r=window.pageYOffset||a.scrollTop;return n=t.getBoundingClientRect().left+s,i=t.getBoundingClientRect().top+r,{left:n,top:i}},roundUpToScale:function(e,t,n,i){function a(e,t){var n=.1;return Math.abs(t-e)<=n?!0:!1}for(var s,r,o,l,c=1;c<t.length;c++){if(s=t[c-1],r=t[c],l=.5*(r-s)+s,0===s&&l>=e||a(s,e)){o=s;break}if(e>s&&(r>e||a(e,r))){o=r;break}}return n&&n>o?t[i]:o},valueForDifferentScale:function(e,t,n,i){var a=n/100;return 0===a?e:i[n]},convertToMbpsGbps:function(e,t,n){function i(e,t){var n=Math.pow(10,t);return~~(e*n)/n}var a=3;return n&&(a=n),e>1024&&1e6>e&&angular.equals(t,"Kbps")?(e=i(e/1e3,a),t="Mbps"):e>1024&&1e6>e&&angular.equals(t,"Mbps")?(e=i(e/1e3,a),t="Mbps"):t=(1024>=e&&angular.equals(t,"Mbps"),"Kbps"),e>=1e6&&angular.equals(t,"Kbps")&&(e=i(e/1e6,a),t="Gbps"),{unitValue:e,unitLabel:t}},getConversionFactorValue:function(e,t,n){if(e<=t[0].startVal)return{scaledVal:e,scaledDimension:n};var i=0;for(var a in t){var s=t[a];e>s.startVal&&(i=a)}var r=t[i].scaleFactor,o=e/r,l=t[i].dimension;return{scaledVal:o,scaledDimension:l}}}}).factory("sliderDraggable",["utils",function(e){function t(){this._init.apply(this,arguments)}return t.prototype.oninit=function(){},t.prototype.events=function(){},t.prototype.onmousedown=function(){this.ptr.css({position:"absolute"})},t.prototype.onmousemove=function(e,t,n){this.ptr.css({left:t,top:n})},t.prototype.onmouseup=function(){},t.prototype.isDefault={drag:!1,clicked:!1,toclick:!0,mouseup:!1},t.prototype._init=function(){if(arguments.length>0){if(this.ptr=arguments[0],this.parent=arguments[2],!this.ptr)return;this.is={},angular.extend(this.is,this.isDefault);var t=e.offset(this.ptr);this.d={left:t.left,top:t.top,width:this.ptr[0].clientWidth,height:this.ptr[0].clientHeight},this.oninit.apply(this,arguments),this._events()}},t.prototype._getPageCoords=function(e){var t={};return t=e.targetTouches&&e.targetTouches[0]?{x:e.targetTouches[0].pageX,y:e.targetTouches[0].pageY}:{x:e.pageX,y:e.pageY}},t.prototype._bindEvent=function(e,t,n){this.supportTouches_?e[0].attachEvent(this.events_[t],n):e.bind&&e.bind(this.events_[t],n)},t.prototype._events=function(){var e=this;this.supportTouches_="ontouchend"in document,this.events_={click:this.supportTouches_?"touchstart":"click",down:this.supportTouches_?"touchstart":"mousedown",move:this.supportTouches_?"touchmove":"mousemove",up:this.supportTouches_?"touchend":"mouseup",mousedown:(this.supportTouches_,"mousedown")};var t=angular.element(window.document);this._bindEvent(t,"move",function(t){e.is.drag&&(t.stopPropagation(),t.preventDefault(),e.parent.disabled||e._mousemove(t))}),this._bindEvent(t,"down",function(t){e.is.drag&&(t.stopPropagation(),t.preventDefault())}),this._bindEvent(t,"up",function(t){e._mouseup(t)}),this._bindEvent(this.ptr,"down",function(t){return e._mousedown(t),!1}),this._bindEvent(this.ptr,"up",function(t){e._mouseup(t)}),this.events()},t.prototype._mousedown=function(e){this.is.drag=!0,this.is.clicked=!1,this.is.mouseup=!1;var t=this._getPageCoords(e);this.cx=t.x-this.ptr[0].offsetLeft,this.cy=t.y-this.ptr[0].offsetTop,angular.extend(this.d,{left:this.ptr[0].offsetLeft,top:this.ptr[0].offsetTop,width:this.ptr[0].clientWidth,height:this.ptr[0].clientHeight}),this.outer&&this.outer.get(0)&&this.outer.css({height:Math.max(this.outer.height(),$(document.body).height()),overflow:"hidden"}),this.onmousedown(e)},t.prototype._mousemove=function(e){if(0!==this.uid){this.is.toclick=!1;var t=this._getPageCoords(e);this.onmousemove(e,t.x-this.cx,t.y-this.cy)}},t.prototype._mouseup=function(e){this.is.drag&&(this.is.drag=!1,this.outer&&this.outer.get(0)&&($.browser.mozilla?this.outer.css({overflow:"hidden"}):this.outer.css({overflow:"visible"}),$.browser.msie&&"6.0"===$.browser.version?this.outer.css({height:"100%"}):this.outer.css({height:"auto"})),this.onmouseup(e))},t}]).factory("sliderPointer",["sliderDraggable","utils",function(e,t){function n(){e.apply(this,arguments)}return n.prototype=new e,n.prototype.oninit=function(e,t,n){this.uid=t,this.parent=n,this.value={},this.settings=angular.copy(n.settings)},n.prototype.onmousedown=function(e){var n=t.offset(this.parent.domNode),i={left:n.left,top:n.top,width:this.parent.domNode[0].clientWidth,height:this.parent.domNode[0].clientHeight};this._parent={offset:i,width:i.width,height:i.height},this.ptr.addClass("jslider-pointer-hover"),this.setIndexOver()},n.prototype.onmousemove=function(e,n,i){var a=this._getPageCoords(e),s=this.calc(a.x);this.parent.settings.smooth||(s=t.roundUpToScale(s,this.parent.settings.scale,this.parent.settings.cutOffWidth,this.parent.settings.cutOffIndex));var r=this.parent.settings.cutOffWidth;r&&r>s&&(s=r),this._set(s)},n.prototype.onmouseup=function(e){if(this.settings.callback&&angular.isFunction(this.settings.callback)){var t=this.parent.getValue();this.settings.callback.call(this.parent,t)}this.ptr.removeClass("jslider-pointer-hover")},n.prototype.setIndexOver=function(){this.parent.setPointersIndex(1),this.index(2)},n.prototype.index=function(e){},n.prototype.limits=function(e){return this.parent.limits(e,this)},n.prototype.calc=function(e){var t=e-this._parent.offset.left,n=this.limits(100*t/this._parent.width);return n},n.prototype.set=function(e,t){this.value.origin=this.parent.round(e),this._set(this.parent.valueToPrc(e,this),t)},n.prototype._set=function(e,t){t||(this.value.origin=this.parent.prcToValue(e)),this.value.prc=e,this.ptr.css({left:e+"%"}),this.parent.redraw(this)},n}]).factory("slider",["sliderPointer","sliderConstants","utils",function(e,t,n){function i(){return this.init.apply(this,arguments)}function a(e){s.css("width",e)}var s;return i.prototype.changeCutOffWidth=a,i.prototype.init=function(e,n,i){this.settings=t.SLIDER.settings,angular.extend(this.settings,angular.copy(i)),this.inputNode=e,this.inputNode.addClass("ng-hide"),this.settings.interval=this.settings.to-this.settings.from,this.settings.calculate&&$.isFunction(this.settings.calculate)&&(this.nice=this.settings.calculate),this.settings.onstatechange&&$.isFunction(this.settings.onstatechange)&&(this.onstatechange=this.settings.onstatechange),this.is={init:!1},this.o={},this.create(n)},i.prototype.create=function(t){var i=this;this.domNode=t;var a=n.offset(this.domNode),r={left:a.left,top:a.top,width:this.domNode[0].clientWidth,height:this.domNode[0].clientHeight};this.sizes={domWidth:this.domNode[0].clientWidth,domOffset:r},angular.extend(this.o,{pointers:{},labels:{0:{o:angular.element(this.domNode.find("div")[5])},1:{o:angular.element(this.domNode.find("div")[6])}},limits:{0:angular.element(this.domNode.find("div")[3]),1:angular.element(this.domNode.find("div")[5])}}),angular.extend(this.o.labels[0],{value:this.o.labels[0].o.find("span")}),angular.extend(this.o.labels[1],{value:this.o.labels[1].o.find("span")}),i.settings.value.split(";")[1]||(this.settings.single=!0);var o=this.domNode.find("div");s=angular.element(o[8]),s&&s.css&&s.css("width","0%");var l=[angular.element(o[1]),angular.element(o[2])];angular.forEach(l,function(t,n){i.settings=angular.copy(i.settings);var a=i.settings.value.split(";")[n];if(a){i.o.pointers[n]=new e(t,n,i);var s=i.settings.value.split(";")[n-1];s&&parseInt(a,10)<parseInt(s,10)&&(a=s);var r=a<i.settings.from?i.settings.from:a;r=a>i.settings.to?i.settings.to:a,i.o.pointers[n].set(r,!0),0===n&&i.domNode.bind("mousedown",i.clickHandler.apply(i))}}),this.o.value=angular.element(this.domNode.find("i")[2]),this.is.init=!0,angular.forEach(this.o.pointers,function(e){i.redraw(e)})},i.prototype.clickHandler=function(){var e=this;return function(t){if(!e.disabled){var i=t.target.className,a=0;i.indexOf("jslider-pointer-to")>0&&(a=1);var s=n.offset(e.domNode),r={left:s.left,top:s.top,width:e.domNode[0].clientWidth,height:e.domNode[0].clientHeight};a=1;var o=e.o.pointers[a];return o._parent={offset:r,width:r.width,height:r.height},o._mousemove(t),o.onmouseup(),!1}}},i.prototype.disable=function(e){this.disabled=e},i.prototype.nice=function(e){return e},i.prototype.onstatechange=function(){},i.prototype.limits=function(e,t){if(!this.settings.smooth){var n=100*this.settings.step/this.settings.interval;e=Math.round(e/n)*n}var i=this.o.pointers[1-t.uid];i&&t.uid&&e<i.value.prc&&(e=i.value.prc),i&&!t.uid&&e>i.value.prc&&(e=i.value.prc),0>e&&(e=0),e>100&&(e=100);var a=Math.round(10*e)/10;return a},i.prototype.setPointersIndex=function(e){angular.forEach(this.getPointers(),function(e,t){e.index(t)})},i.prototype.getPointers=function(){return this.o.pointers},i.prototype.onresize=function(){var e=this;this.sizes={domWidth:this.domNode[0].clientWidth,domHeight:this.domNode[0].clientHeight,domOffset:{left:this.domNode[0].offsetLeft,top:this.domNode[0].offsetTop,width:this.domNode[0].clientWidth,height:this.domNode[0].clientHeight}},angular.forEach(this.o.pointers,function(t,n){e.redraw(t)})},i.prototype.update=function(){this.onresize(),this.drawScale()},i.prototype.drawScale=function(){},i.prototype.redraw=function(e){if(!this.settings.smooth){var t=n.roundUpToScale(e.value.prc,this.settings.scale,this.settings.cutOffWidth,this.settings.cutOffIndex);e.value.origin=t,e.value.prc=t}if(!this.is.init)return!1;this.setValue();var i=this.o.pointers[1].value.prc,a={left:"0%",width:i+"%"};this.o.value.css(a);var s=this.nice(e.value.origin),r=this.settings.firstDimension;if(this.settings.stepWithDifferentScale&&!this.settings.smooth&&(s=n.valueForDifferentScale(this.settings.from,this.settings.to,s,this.settings.prcToValueMapper)),this.settings.realtimeCallback&&angular.isFunction(this.settings.realtimeCallback)&&void 0!==this.settings.cutOffVal&&1===e.uid&&this.settings.realtimeCallback(s),this.settings.conversion){var o=n.getConversionFactorValue(parseInt(s),this.settings.conversion,this.settings.firstDimension);s=o.scaledVal,r=o.scaledDimension}s=parseFloat(s);var l=n.convertToMbpsGbps(s,r,this.settings.decimalPlaces);this.o.labels[e.uid].value.html(l.unitValue+" "+l.unitLabel),this.redrawLabels(e)},i.prototype.redrawLabels=function(e){function t(e,t,i){t.margin=-t.label/2;var a=n.sizes.domWidth,s=t.border+t.margin;return 0>s&&(t.margin-=s),t.border+t.label/2>a?(t.margin=0,t.right=!0):t.right=!1,t.margin=-(e.o[0].clientWidth/2-e.o[0].clientWidth/20),e.o.css({left:i+"%",marginLeft:t.margin,right:"auto"}),t.right&&e.o.css({left:"auto",right:0}),t}var n=this,i=this.o.labels[e.uid],a=e.value.prc,s={label:i.o[0].offsetWidth,right:!1,border:a*l/100},r=null,o=null;if(!this.settings.single)switch(o=this.o.pointers[1-e.uid],r=this.o.labels[o.uid],e.uid){case 0:s.border+s.label/2>r.o[0].offsetLeft-this.sizes.domOffset.left?(r.o.css({visibility:"hidden"}),r.value.html(this.nice(o.value.origin)),i.o.css({visibility:"hidden"}),a=(o.value.prc-a)/2+a,o.value.prc!==e.value.prc&&(i.value.html(this.nice(e.value.origin)+"&nbsp;&ndash;&nbsp;"+this.nice(o.value.origin)),s.label=i.o[0].clientWidth,s.border=a*l/100)):r.o.css({visibility:"visible"});break;case 1:s.border-s.label/2<r.o[0].offsetLeft-this.sizes.domOffset.left+r.o[0].clientWidth?(r.o.css({visibility:"hidden"}),r.value.html(this.nice(o.value.origin)),i.o.css({visibility:"visible"}),a=(a-o.value.prc)/2+o.value.prc,o.value.prc!==e.value.prc&&(i.value.html(this.nice(o.value.origin)+"&nbsp;&ndash;&nbsp;"+this.nice(e.value.origin)),s.label=i.o[0].clientWidth,s.border=a*l/100)):r.o.css({visibility:"visible"})}s=t(i,s,a);var l=n.sizes.domWidth;r&&(s={label:r.o[0].clientWidth,right:!1,border:o.value.prc*this.sizes.domWidth/100},s=t(r,s,o.value.prc))},i.prototype.redrawLimits=function(){if(this.settings.limits){var e=[!0,!0];for(var t in this.o.pointers)if(!this.settings.single||0===t){var n=this.o.pointers[t],i=this.o.labels[n.uid],a=i.o[0].offsetLeft-this.sizes.domOffset.left,s=this.o.limits[0];a<s[0].clientWidth&&(e[0]=!1),s=this.o.limits[1],a+i.o[0].clientWidth>this.sizes.domWidth-s[0].clientWidth&&(e[1]=!1)}for(var r=0;r<e.length;r++)e[r]?angular.element(this.o.limits[r]).addClass("animate-show"):angular.element(this.o.limits[r]).addClass("animate-hidde")}},i.prototype.setValue=function(){var e=this.getValue();this.inputNode.attr("value",e),this.onstatechange.call(this,e,this.inputNode)},i.prototype.getValue=function(){
+if(!this.is.init)return!1;var e=this,t="";return angular.forEach(this.o.pointers,function(i,a){if(void 0!==i.value.prc&&!isNaN(i.value.prc)){var s=i.value.prc,r=e.prcToValue(s);if(!e.settings.smooth)var r=n.valueForDifferentScale(e.settings.from,e.settings.to,s,e.settings.prcToValueMapper);t+=(a>0?";":"")+r}}),t},i.prototype.getPrcValue=function(){if(!this.is.init)return!1;var e="";return $.each(this.o.pointers,function(t){void 0===this.value.prc||isNaN(this.value.prc)||(e+=(t>0?";":"")+this.value.prc)}),e},i.prototype.prcToValue=function(e){var t;if(this.settings.heterogeneity&&this.settings.heterogeneity.length>0)for(var n=this.settings.heterogeneity,i=0,a=this.settings.from,s=0;s<=n.length;s++){var r;r=n[s]?n[s].split("/"):[100,this.settings.to],e>=i&&e<=r[0]&&(t=a+(e-i)*(r[1]-a)/(r[0]-i)),i=r[0],a=r[1]}else t=this.settings.from+e*this.settings.interval/100;var o=this.round(t);return o},i.prototype.valueToPrc=function(e,t){var n;if(this.settings.heterogeneity&&this.settings.heterogeneity.length>0)for(var i=this.settings.heterogeneity,a=0,s=this.settings.from,r=0;r<=i.length;r++){var o;o=i[r]?i[r].split("/"):[100,this.settings.to],e>=s&&e<=o[1]&&(n=t.limits(a+(e-s)*(o[0]-a)/(o[1]-s))),a=o[0],s=o[1]}else n=t.limits(100*(e-this.settings.from)/this.settings.interval);return n},i.prototype.round=function(e){return e=Math.round(e/this.settings.step)*this.settings.step,e=this.settings.round?Math.round(e*Math.pow(10,this.settings.round))/Math.pow(10,this.settings.round):Math.round(e)},i}]).directive("attStepSlider",["$compile","$templateCache","$timeout","$window","slider","sliderConstants","utils",function(e,t,n,i,a,s,r){var o="app/scripts/ng_js_att_tpls/stepSlider/attStepSlider.html";return{restrict:"AE",require:"?ngModel",scope:{options:"=",cutOff:"="},priority:1,templateUrl:o,link:function(l,c,d,p){function u(){angular.element(i).bind("resize",function(e){l.slider.onresize()})}if(p){l.mainSliderClass="step-slider",c.after(e(t.get(o))(l,function(e,t){t.tmplElt=e})),p.$render=function(){if(p.$viewValue.split&&1===p.$viewValue.split(";").length?p.$viewValue="0;"+p.$viewValue:"number"==typeof p.$viewValue&&(p.$viewValue="0;"+p.$viewValue),(p.$viewValue||0===p.$viewValue)&&("number"==typeof p.$viewValue&&(p.$viewValue=""+p.$viewValue),l.slider)){var e="0";if(l.slider.getPointers()[0].set(e,!0),p.$viewValue.split(";")[1]){var t=p.$viewValue.split(";")[1];t.length>=4&&(t=t.substring(0,2)),l.options.realtime||l.options.callback(parseFloat(p.$viewValue.split(";")[1])),l.slider.getPointers()[1].set(p.$viewValue.split(";")[1],!0)}}};var h=function(){function e(){0!==i[0]&&i.splice(0,0,0),100!==i[i.length-1]&&i.splice(i.length,0,100)}function t(){if(i[i.length-1]!==l.options.to&&i.splice(i.length,0,l.options.to),l.options.displayScaledvalues){for(var e in i)o.push(Math.log2(i[e]));var t=o[o.length-1]}for(var e in i){var n,a=i[e]/l.options.from,s=i[e]/l.options.to;n=l.options.displayScaledvalues?o[e]/t*100:(i[e]-l.options.from)/(l.options.to-l.options.from)*100;var r=i[e];1===s?n=100:1===a&&(n=0),i[e]=n,d[""+n]=r}}l.from=""+l.options.from,l.to=""+l.options.to,l.options.calculate&&"function"==typeof l.options.calculate&&(l.from=l.options.calculate(l.from),l.to=l.options.calculate(l.to)),l.showDividers=l.options.showDividers,l.COLORS=s.COLORS,l.sliderColor=l.options.sliderColor,l.sliderColor||(l.sliderColor=s.COLORS.REGULAR);var i=l.options.scale,a=[],o=[],d={};for(var h in i){var f=i[h];a.push(f)}0===l.options.from&&100===l.options.to||!l.options.smooth?0===l.options.from&&100===l.options.to||l.options.smooth?(t(),e()):(l.options.stepWithDifferentScale=!0,t(),e()):(e(),l.options.stepWithDifferentScale=!0);var m=0;if(l.options.decimalPlaces&&(m=l.options.decimalPlaces),l.endDimension=l.options.dimension,l.options.conversion){var v=l.options.conversion.length-1,b=l.options.conversion[v].dimension,y=l.options.conversion[v].scaleFactor;l.endDimension=" "+b;var _=(l.to/y).toFixed(m);l.toStr=_}else l.toStr=l.options.to;var w=r.convertToMbpsGbps(l.toStr,l.endDimension,l.options.decimalPlaces);l.toStr=w.unitValue,l.endDimension=" "+w.unitLabel;var k={from:l.options.from,to:l.options.to,step:l.options.step,smooth:l.options.smooth,limits:!0,stepWithDifferentScale:l.options.stepWithDifferentScale,round:l.options.round||!1,value:p.$viewValue,scale:l.options.scale,nonPercentScaleArray:a,prcToValueMapper:d,firstDimension:l.options.dimension,decimalPlaces:m,conversion:l.options.conversion,realtimeCallback:l.options.callback};angular.isFunction(l.options.realtime)?k.realtimeCallback=function(e){p.$setViewValue(e),l.options.callback(e)}:k.callback=g,k.calculate=l.options.calculate||void 0,k.onstatechange=l.options.onstatechange||void 0,n(function(){var e=l.tmplElt.find("div")[7];k.conversion||(l.tmplElt.find("div").eq(6).find("span").eq(0).css("padding-left","10px"),l.tmplElt.find("div").eq(6).find("span").eq(0).css("padding-right","15px")),l.slider=angular.element.slider(c,l.tmplElt,k),angular.element(e).html(l.generateScale()),l.drawScale(e),u(),l.$watch("options.disable",function(e){l.slider&&(l.tmplElt.toggleClass("disabled",e),l.slider.disable(e))}),l.$watch("cutOff",function(e){if(e&&e>0){var t=(e-l.slider.settings.from)/(l.slider.settings.to-l.slider.settings.from);if(t=100*t,l.isCutOffSlider=!0,l.slider.settings.cutOffWidth=t,l.cutOffVal=e,l.options.conversion){var n=r.getConversionFactorValue(e,l.options.conversion,l.options.dimension);n.scaledVal=parseFloat(n.scaledVal).toFixed(l.options.decimalPlaces),l.cutOffVal=n.scaledVal+" "+n.scaledDimension}l.slider.settings.cutOffVal=e,l.slider.changeCutOffWidth(t+"%");var i=l.slider.settings.nonPercentScaleArray;for(var a in i)if(a>=1){var s=i[a-1],o=i[a];e>s&&o>=e&&(l.slider.settings.cutOffIndex=a)}}else l.slider.settings.cutOffVal=0})})};l.generateScale=function(){if(l.options.scale&&l.options.scale.length>0){for(var e="",t=l.options.scale,n="left",i=0;i<t.length;i++)if(0!==i&&i!==t.length-1){var a=(t[i]-l.from)/(l.to-l.from)*100;l.options.stepWithDifferentScale&&!l.options.smooth&&(a=t[i]),e+='<span style="'+n+": "+a+'%"></span>'}return e}return""},l.drawScale=function(e){angular.forEach(angular.element(e).find("ins"),function(e,t){e.style.marginLeft=-e.clientWidth/2})};var g=function(e){var t=e.split(";")[1];l.$apply(function(){p.$setViewValue(parseInt(t))}),l.options.callback&&l.options.callback(parseInt(t))};l.$watch("options",function(e){h()}),angular.element.slider=function(e,t,n){t.data("jslider")||t.data("jslider",new a(e,t,n));var i=t.data("jslider");return i}}}}}]),angular.module("att.abs.steptracker",["att.abs.transition"]).directive("steptracker",["$timeout",function(e){return{priority:100,scope:{sdata:"=sdata",cstep:"=currentStep",clickHandler:"=?",disableClick:"=?"},restrict:"EA",replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/steptracker/step-tracker.html",link:function(t,n){void 0===t.disableClick&&(t.disableClick=!1),e(function(){function e(e){return angular.element(r[e-1])}function i(){if(t.cstep>0&&t.cstep<=t.sdata.length-1&&c>0){var n=c/d*100+"%";p=e(t.cstep),p.css("width",n)}}function a(){t.cstep<=t.sdata.length&&(c=t.sdata[t.cstep-1].currentPage,d=t.sdata[t.cstep-1].totalPages)}t.cstep<1?t.cstep=1:t.cstep>t.sdata.length&&(t.cstep=t.sdata.length);var s=n.find("div"),r=[];for(var o in s)if(s.eq(o)[0]){var l=s.eq(o)[0].className;l.indexOf("track ng-scope")>-1&&r.push(s.eq(o))}var c,d,p=e(t.cstep);t.set_width=function(e){var n=100/(t.sdata.length-1)+"%";return t.sdata.length-1>e?{width:n}:void 0},t.$watch("sdata",function(){a();var e=t.cstep;if(1>c&&(c=1,1!==t.cstep&&(t.cstep--,a())),c>d){if(t.cstep>t.sdata.length-1)return void t.cstep++;c=d,i(),t.cstep++,a(),i()}1>c&&e===t.cstep&&(c=1,t.cstep>1&&(t.cstep--,t.sdata[t.cstep-1].currentPage=t.sdata[t.cstep-1].totalPages,t.sdata[t.cstep].currentPage=1)),i()},!0),t.activestep=function(e){return e===t.cstep-1},t.donesteps=function(e){return e<t.cstep-1},t.laststep=function(e){return e===t.sdata.length-1},t.isIncomplete=function(e){if(e===t.cstep-1)return!1;if(e>=0&&e<t.sdata.length-1){var n=t.sdata[e];return n.currentPage<=n.totalPages}},t.stepclick=function(e,n){if(n<t.cstep){for(var s=t.cstep-1;s>n;s--)t.sdata[s].currentPage=1;t.sdata[n].currentPage--}angular.isFunction(t.clickHandler)&&t.clickHandler(e,n),t.cstep=n+1,t.cstep<=t.sdata.length&&t.sdata[t.cstep].currentPage<1&&(t.sdata[t.cstep].currentPage=1),a(),i()}},100)}}}]).constant("timelineConstants",{STEP_TYPE:{ALERT:"alert",COMPLETED:"completed",CANCELLED:"cancelled"}}).controller("AttTimelineCtrl",["$scope","$timeout",function(e,t){function n(){function t(e,t){return e.order<t.order?-1:e.order>t.order?1:0}s.sort(t),a.sort(t),e.$parent.animate&&i(),e.$watch("trigger",function(t){t?e.resetTimeline():e.$parent.animate=!1})}function i(){function n(){for(var e in s){var t=s[e];if(e%2===0?t.unhoveredStateForBelow(.25):t.unhoveredStateForAbove(.25),t.isStop())break}}function i(e,o){return 0===e?function(){s[e+1].isStop()&&s[e+1].isCancelled()&&a[e].isCancelled(!0),a[e].animate(i(e+1,o),o)}:e===a.length-1?function(){s[0].isCurrentStep()&&s[0].isCurrentStep(!1),s[e].isStop()?(s[e-1].shrinkAnimate(r),s[e].isCurrentStep(!0)):(s[e-1].shrinkAnimate(r),a[e].animate(i(e+1,o),o)),s[e].expandedAnimate(r),t(function(){n()},500)}:e===a.length?function(){s[0].isCurrentStep()&&s[0].isCurrentStep(!1),s[e-1].shrinkAnimate(r),s[e].expandedAnimate(r),s[e].isCurrentStep(!0),t(function(){n()},500)}:function(){s[0].isCurrentStep()&&s[0].isCurrentStep(!1),s[e].isStop()?(s[e-1].shrinkAnimate(r),s[e].expandedAnimate(r),s[e].isCurrentStep(!0),t(function(){n()},500)):(s[e+1].isStop()&&s[e+1].isCancelled()&&a[e].isCancelled(!0),s[e-1].shrinkAnimate(r),a[e].animate(i(e+1,o),o),s[e].expandedAnimate(r))}}var r=.25,o=.25;"number"==typeof e.barAnimateDuration&&(o=e.barAnimateDuration);var l=i(0,o);l()}var a=[],s=[];this.numSteps=0,this.isAlternate=function(){return e.alternate},this.addTimelineBarCtrls=function(e){a.push(e)},this.addTimelineDotCtrls=function(e){s.push(e)},t(n,200)}]).directive("attTimeline",["$timeout","$compile",function(e,t){return{restrict:"EA",replace:!0,scope:{steps:"=",trigger:"=",alternate:"=",barAnimateDuration:"="},templateUrl:"app/scripts/ng_js_att_tpls/steptracker/timeline.html",controller:"AttTimelineCtrl",link:function(e,n,i,a){var s=function(){for(var t=e.steps,n=[],i=1;i<t.length;i++){var s=t[i];n.push(s)}e.middleSteps=n,a.numSteps=t.length-1};s(),e.resetTimeline=function(){e.animate=!0,t(n)(e)}}}}]).controller("TimelineBarCtrl",["$scope",function(e){this.type="timelinebar",this.order=parseInt(e.order),this.animate=function(t,n){e.loadingAnimation(t,n)},this.isCancelled=function(t){e.isCancelled=t}}]).directive("timelineBar",["animation","$progressBar",function(e,t){return{restrict:"EA",replace:!0,templateUrl:"app/scripts/ng_js_att_tpls/steptracker/timelineBar.html",scope:{order:"@"},require:["^attTimeline","timelineBar"],controller:"TimelineBarCtrl",link:function(n,i,a,s){var r=s[0],o=s[1];r.addTimelineBarCtrls(o),n.isCompleted=!0;var l=100/r.numSteps-3;i.css("width",l+"%");var c=i.find("div").eq(0);e.set(c,{opacity:0});var d=function(t){e.set(c,{opacity:1}),e.set(c,{scaleX:t.progress(),transformOrigin:"left"})};n.loadingAnimation=t(d)}}}]).controller("TimelineDotCtrl",["$scope","$timeout","timelineConstants",function(e,t,n){this.type="dot",this.order=parseInt(e.order);var i=this;t(function(){0!==i.order&&(i.order%2!==0?e.initializeAboveForAnimation():e.initializeBelowForAnimation())}),this.expandedAnimate=function(t){e.setColor(),e.expandedAnimate(t),0===i.order||e.isStepsLessThanFive()||(i.order%2!==0?e.expandContentForAbove(t):e.expandContentForBelow(t))},this.unhoveredStateForAbove=function(t){e.unhoveredStateForAbove(t)},this.unhoveredStateForBelow=function(t){e.unhoveredStateForBelow(t)},this.shrinkAnimate=function(t){e.shrinkAnimate(t)},this.setExpanded=function(){e.setSize(3)},this.isStop=function(){return e.isStop},this.isCancelled=function(){return e.type===n.STEP_TYPE.CANCELLED},this.isAlert=function(){return e.type===n.STEP_TYPE.ALERT},this.isCurrentStep=function(t){return void 0!==t&&(e.isCurrentStep=t),e.isCurrentStep}}]).directive("timelineDot",["animation","timelineConstants",function(e,t){return{restrict:"EA",replace:!0,scope:{order:"@",title:"@",description:"@",by:"@",date:"@",type:"@"},templateUrl:"app/scripts/ng_js_att_tpls/steptracker/timelineDot.html",require:["^attTimeline","timelineDot"],controller:"TimelineDotCtrl",link:function(n,i,a,s){function r(){return n.description||n.by||n.date?!1:!0}var o=s[0],l=s[1];o.addTimelineDotCtrls(l),n.numSteps=o.numSteps+1,n.isCurrentStep=!1,n.isCompleted=!1,n.isStop=!1,(n.type===t.STEP_TYPE.ALERT||n.type===t.STEP_TYPE.CANCELLED)&&(n.isStop=!0),n.isInactive=!0;var c=i.find("div"),d=c.eq(0),p=c.eq(2),u=c.eq(3),h=c.eq(5),g=c.eq(6),f=c.eq(9);n.isStepsLessThanFive=function(){return n.numSteps<5?!0:!1},n.titleMouseover=function(e){n.isStepsLessThanFive()||r()||(1===e&&n.order%2===0&&n.expandContentForBelow(.25),2===e&&n.order%2!==0&&n.expandContentForAbove(.25))},n.titleMouseleave=function(){n.order%2===0?n.unhoveredStateForBelow(.25):n.unhoveredStateForAbove(.25)},n.initializeAboveForAnimation=function(){if(!n.isStepsLessThanFive()&&o.isAlternate()&&(e.set(g,{opacity:0}),e.set(f,{opacity:0}),!r())){var t=g[0].offsetHeight+f[0].offsetHeight;e.set(h,{top:t})}},n.expandContentForAbove=function(t){!n.isStepsLessThanFive()&&o.isAlternate()&&(e.to(h,t,{top:0}),e.to(g,t,{opacity:1}),e.to(f,t,{opacity:1}))},n.unhoveredStateForAbove=function(t){if(!n.isStepsLessThanFive()&&o.isAlternate()){e.set(g,{opacity:0}),e.set(f,{opacity:1});var i=g[0].offsetHeight;e.to(h,t,{top:i})}},n.initializeBelowForAnimation=function(){!n.isStepsLessThanFive()&&o.isAlternate()&&(e.set(g,{height:"0%",opacity:0,top:"-20px"}),e.set(f,{opacity:0}))},n.expandContentForBelow=function(t){!n.isStepsLessThanFive()&&o.isAlternate()&&(e.set(f,{opacity:1}),e.to(g,t,{height:"auto",opacity:1,top:"0px"}))},n.unhoveredStateForBelow=function(t){!n.isStepsLessThanFive()&&o.isAlternate()&&(e.to(g,t,{height:"0%",opacity:0,top:"-20px",position:"relative"}),e.set(f,{opacity:1}))},r()&&n.order%2!==0&&o.isAlternate()&&u.css("top","-47px"),n.order%2!==0&&o.isAlternate()?n.isBelowInfoBoxShown=!1:n.isBelowInfoBoxShown=!0,n.isStepsLessThanFive()&&!o.isAlternate()&&e.set(f,{marginTop:10}),e.set(d,{opacity:".5"}),e.set(p,{opacity:"0.0"}),e.set(p,{scale:.1}),0===n.order&&(e.set(p,{opacity:"1.0"}),e.set(p,{scale:1}),e.set(d,{scale:3}),n.isCurrentStep=!0,n.isInactive=!1,n.isCompleted=!0),n.setColor=function(){n.isInactive=!1,n.type===t.STEP_TYPE.CANCELLED?n.isCancelled=!0:n.type===t.STEP_TYPE.ALERT?n.isAlert=!0:n.isCompleted=!0,n.$phase||n.$apply()},n.setSize=function(t){e.set(biggerCircle,{scale:t})},n.setExpandedCircle=function(){e.set(p,{opacity:"1.0"}),e.set(p,{scale:1})},n.expandedAnimate=function(t){e.to(d,t,{scale:3}),e.set(p,{opacity:"1.0"}),e.to(p,t,{scale:1})},n.shrinkAnimate=function(t){e.to(d,t,{scale:1})}}}}]),angular.module("att.abs.table",["att.abs.utilities"]).constant("tableConfig",{defaultSortPattern:!1,highlightSearchStringClass:"tablesorter-search-highlight"}).directive("attTable",["$filter",function(e){return{restrict:"EA",replace:!0,transclude:!0,scope:{tableData:"=",viewPerPage:"=",currentPage:"=",totalPage:"=",searchCategory:"=",searchString:"="},require:"attTable",templateUrl:"app/scripts/ng_js_att_tpls/table/attTable.html",controller:["$scope",function(e){this.headers=[],this.currentSortIndex=null,this.setIndex=function(e){this.headers.push(e)},this.getIndex=function(e){for(var t=0;t<this.headers.length;t++)if(this.headers[t].headerName===e)return this.headers[t].index;return null},this.sortData=function(t,n){e.$parent.columnIndex=t,e.$parent.reverse=n,this.currentSortIndex=t,e.currentPage=1,this.resetSortPattern()},this.getSearchString=function(){return e.searchString},this.resetSortPattern=function(){for(var e=0;e<this.headers.length;e++){var t=this.headers[e];t.index!==this.currentSortIndex&&t.resetSortPattern()}}}],link:function(t,n,i,a){t.searchCriteria={},t.$watchCollection("tableData",function(e){e&&!isNaN(e.length)&&(t.totalRows=e.length)}),t.$watch("currentPage",function(e){t.$parent.currentPage=e}),t.$watch("viewPerPage",function(e){t.$parent.viewPerPage=e}),t.$watch(function(){return t.totalRows/t.viewPerPage},function(e){isNaN(e)||(t.totalPage=Math.ceil(e),t.currentPage=1)});var s=function(e){return angular.isDefined(e)&&null!==e&&""!==e?!0:void 0},r=function(e,n){if(s(e)&&s(n)){var i=a.getIndex(n);t.searchCriteria={},null!==i&&(t.searchCriteria[i]=e)}else!s(e)||angular.isDefined(n)&&null!==n&&""!==n?t.searchCriteria={}:t.searchCriteria={$:e}};t.$watch("searchCategory",function(e,n){e!==n&&r(t.searchString,e)}),t.$watch("searchString",function(e,n){e!==n&&r(e,t.searchCategory)}),t.$watchCollection("searchCriteria",function(n){t.$parent.searchCriteria=n,t.totalRows=t.tableData&&e("filter")(t.tableData,n,!1).length||0,t.currentPage=1})}}}]).directive("attTableRow",[function(){return{restrict:"EA",compile:function(e,t){if("header"===t.type)e.find("tr").eq(0).addClass("tablesorter-headerRow");else if("body"===t.type){var n=e.children();t.rowRepeat&&(t.trackBy?n.attr("ng-repeat",t.rowRepeat.concat(" | orderBy : columnIndex : reverse | filter : searchCriteria : false | attLimitTo : viewPerPage : viewPerPage*(currentPage-1) track by "+t.trackBy)):n.attr("ng-repeat",t.rowRepeat.concat(" | orderBy : columnIndex : reverse | filter : searchCriteria : false | attLimitTo : viewPerPage : viewPerPage*(currentPage-1) track by $index"))),n.attr("ng-class","{'alt-row': $even,'normal-row': $odd}"),e.append(n)}}}}]).directive("attTableHeader",["tableConfig",function(e){return{restrict:"EA",replace:!0,transclude:!0,scope:{sortable:"@",defaultSort:"@",index:"@key"},require:"^attTable",templateUrl:"app/scripts/ng_js_att_tpls/table/attTableHeader.html",link:function(t,n,i,a){var s=e.defaultSortPattern;t.headerName=n.text(),t.sortPattern=null,a.setIndex(t),t.$watch(function(){return n.text()},function(e){t.headerName=e}),t.sort=function(e){"boolean"==typeof e&&(s=e),a.sortData(t.index,s),t.sortPattern=s?"descending":"ascending",s=!s},t.$watch(function(){return a.currentSortIndex},function(e){e!==t.index&&(t.sortPattern=null)}),void 0===t.sortable||"true"===t.sortable||t.sortable===!0?t.sortable="true":(t.sortable===!1||"false"===t.sortable)&&(t.sortable="false"),"false"!==t.sortable&&("A"===t.defaultSort||"a"===t.defaultSort?t.sort(!1):("D"===t.defaultSort||"d"===t.defaultSort)&&t.sort(!0)),t.resetSortPattern=function(){s=e.defaultSortPattern}}}}]).directive("attTableBody",["$filter","$timeout","tableConfig",function(e,t,n){return{restrict:"EA",require:"^attTable",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/table/attTableBody.html",link:function(i,a,s,r){var o=n.highlightSearchStringClass,l="",c=function(t){var n=t.text();t.html(e("highlight")(n,l,o))},d=function(e){var t=e.children();if(!(t.length>0))return void c(e);for(var n=0;n<t.length;n++)d(t.eq(n))},p=function(e){for(var t=e.find("*"),n=0;n<t.length;n++)if(t.eq(n).attr("class")&&-1!==t.eq(n).attr("class").indexOf(o)){var i=t.eq(n).text();t.eq(n).replaceWith(i)}};t(function(){var e=a.children();i.$watch(function(){return r.getSearchString()},function(t){l=t,p(a),e.length>0?d(a):c(a)})},50)}}}]),angular.module("att.abs.tableMessages",["att.abs.utilities"]).constant("messageConstants",{TABLE_MESSAGE_TYPES:{noMatching:1,errorLoading:2,magnifySearch:3,isLoading:4},USER_MESSAGE_TYPES:{success:1,error:0}}).directive("attTableMessage",["messageConstants",function(e){return{restrict:"AE",replace:!0,transclude:!0,scope:{msgType:"=",onRefreshClick:"&"},templateUrl:"app/scripts/ng_js_att_tpls/tableMessages/attTableMessage.html",link:function(t){t.messageConstants=e,t.refreshAction=function(e){t.onRefreshClick(e)}}}}]).directive("attUserMessage",["messageConstants","$timeout","DOMHelper",function(e,t,n){return{restrict:"AE",replace:!0,transclude:!0,scope:{thetitle:"=",type:"=",message:"=",trigger:"="},templateUrl:"app/scripts/ng_js_att_tpls/tableMessages/attUserMessage.html",link:function(i,a){var s=void 0,r=void 0;i.messageConstants=e,t(function(){r=n.firstTabableElement(a[0])},10),i.$watch("trigger",function(){i.trigger?(s=document.activeElement,angular.isDefined(r)&&r.focus()):angular.isDefined(s)&&s.focus()})}}}]),angular.module("att.abs.tabs",["att.abs.utilities"]).directive("attTabs",function(){return{restrict:"EA",transclude:!1,replace:!0,scope:{tabs:"=title"},controller:["$scope",function(e){this.getData=function(){return e.tabs},this.onClickTab=function(t){return e.currentTab=t.url,e.currentTab},this.isActiveTab=function(t){return t===e.currentTab}}],link:function(e){for(var t=0;t<e.tabs.length;t++)e.tabs[t].selected&&e.tabs[t].url&&(e.currentTab=e.tabs[t].url)}}}).directive("floatingTabs",function(){return{require:"^attTabs",restrict:"EA",transclude:!1,replace:!0,scope:{size:"@"},templateUrl:"app/scripts/ng_js_att_tpls/tabs/floatingTabs.html",link:function(e,t,n,i){e.tabs=i.getData(),e.onClickTab=i.onClickTab,e.isActiveTab=i.isActiveTab}}}).directive("simplifiedTabs",function(){return{require:"^attTabs",restrict:"EA",transclude:!1,replace:!0,scope:{ctab:"=ngModel"},templateUrl:"app/scripts/ng_js_att_tpls/tabs/simplifiedTabs.html",link:function(e,t,n,i){e.tabs=i.getData(),e.clickTab=function(t){return e.ctab=t.id,e.ctab},e.isActive=function(t){return t===e.ctab}}}}).directive("genericTabs",function(){return{require:"^attTabs",restrict:"EA",transclude:!1,replace:!0,scope:{ctab:"=ngModel"},templateUrl:"app/scripts/ng_js_att_tpls/tabs/genericTabs.html",link:function(e,t,n,i){e.tabs=i.getData(),e.clickTab=function(t){return e.ctab=t.id,e.ctab},e.isActive=function(t){return t===e.ctab}}}}).directive("skipNavigation",function(){return{link:function(e,t,n){t.bind("click",function(){var e=angular.element(t.parent().parent().parent().parent())[0].querySelector("a.skiptoBody");angular.element(e).attr("tabindex",-1),e.focus()})}}}).directive("parentTab",[function(){return{restrict:"EA",scope:{menuItems:"=",activeSubMenu:"=",activeMenu:"="},controller:["$scope",function(e){e.megaMenu=e.menuItems,e.megaMenuTab,e.megaMenuHoverTab,this.setMenu=function(){e.menuItems=e.megaMenu,e.activeSubMenu.scroll=!1;for(var t=0;t<e.menuItems.length;t++)e.menuItems[t].active&&(e.activeMenu=e.menuItems[t]);this.setSubMenuStatus(!1),e.$apply()},this.setActiveMenu=function(){if(void 0!==e.megaMenuTab&&null!==e.megaMenuTab)e.menuItems=[e.megaMenuTab],e.megaMenuTab.scroll=!0,e.activeMenu={},e.activeSubMenu=e.megaMenuTab,this.setSubMenuStatus(!0);else{for(var t=0;t<e.menuItems.length;t++)if(e.menuItems[t].active=!1,e.menuItems[t].subItems)for(var n=0;n<e.menuItems[t].subItems.length;n++)e.menuItems[t].subItems[n].active=!1;e.menuItems=e.megaMenu}e.$apply()};var t=!1;this.setSubMenuStatus=function(e){t=e},this.getSubMenuStatus=function(){return t},this.setActiveMenuTab=function(t){e.megaMenuTab=t},this.setActiveMenuHoverTab=function(t){e.megaMenuHoverTab=t},this.setActiveSubMenuTab=function(){e.megaMenuTab=e.megaMenuHoverTab},this.resetMenuTab=function(){e.megaMenuTab=void 0},this.clearSubMenu=function(){e.$evalAsync(function(){e.megaMenuTab=void 0,e.megaMenuHoverTab=void 0})}}]}}]).directive("parentmenuTabs",[function(){return{restrict:"EA",transclude:!0,replace:!0,scope:{megaMenu:"@",menuItems:"="},controller:["$scope",function(e){this.getMenu=function(){return e.menuItems},this.setMenu=function(t){e.menuItems=t}}],templateUrl:"app/scripts/ng_js_att_tpls/tabs/parentmenuTab.html"}}]).directive("menuTabs",["$window","$document","events","keymap",function(e,t,n,i){return{restrict:"EA",transclude:!0,replace:!0,require:["^?parentTab","^?parentmenuTabs"],scope:{activeMenu:"=",menuItem:"=",subMenu:"@",subItemActive:"@",tabName:"=?",tabUrl:"=?"},templateUrl:function(e,t){return t.megaMenu?"app/scripts/ng_js_att_tpls/tabs/menuTab.html":"app/scripts/ng_js_att_tpls/tabs/submenuTab.html"},link:function(e,a,s,r){var o=r[0],l=r[1];e.clickInactive=!0,e.showHoverChild=function(t){e.clickInactive=!1,e.hoverChild=r[0].getSubMenuStatus(),"mouseover"===t.type&&r[0].getSubMenuStatus()},e.showChildren=function(t){e.parentMenuItems=l.getMenu();for(var n=0;n<e.parentMenuItems.length;n++){if(e.parentMenuItems[n].active=!1,e.parentMenuItems[n].subItems)for(var i=0;i<e.parentMenuItems[n].subItems.length;i++)e.parentMenuItems[n].subItems[i].active=!1;e.clickInactive=!0}e.menuItem.active=!0,e.activeMenu=e.menuItem,t.stopPropagation()},e.$watch("subItemActive",function(t){"true"===t&&"true"===e.subMenu&&o.setActiveMenuHoverTab(e.menuItem)}),e.showMenuClick=function(t){o.setActiveMenuTab(e.menuItem),t.stopPropagation()},e.showSubMenuClick=function(e){o.setActiveSubMenuTab(),e.stopPropagation()},e.resetMenu=function(e){o.resetMenuTab(),e.stopPropagation()},t.bind("scroll",function(){}),a.bind("keydown",function(t){switch(t.keyCode||(t.keyCode=t.which),t.keyCode!==i.KEY.TAB&&(n.preventDefault(t),n.stopPropagation(t)),t.keyCode){case i.KEY.ESC:var s;a.attr("mega-menu")?"item"===a.attr("menu-item")&&(s=angular.element(a.parent().parent().parent().parent())[0].querySelector("a.skiptoBody"),angular.element(s).attr("tabindex",-1),s.focus()):"true"===a.attr("sub-menu")?(s=angular.element(a.parent().parent().parent().parent().parent().parent().parent())[0].querySelector("a.skiptoBody"),angular.element(s).attr("tabindex",-1),s.focus()):void 0===a.attr("sub-menu")&&(s=angular.element(a.parent().parent().parent().parent().parent().parent().parent().parent().parent().parent())[0].querySelector("a.skiptoBody"),angular.element(s).attr("tabindex",-1),s.focus());break;case i.KEY.RIGHT:if(a.attr("mega-menu")){if("item"===a.attr("menu-item")){var r=angular.element(a)[0];if(r.nextElementSibling)null==r.nextElementSibling.querySelector("span")||r.nextElementSibling.querySelector("span").focus();else{do{if(!r||!r.nextSibling)break;r=r.nextSibling}while(r&&"LI"!==r.tagName);r&&(null===r.querySelector("span")||r.querySelector("span").focus()),n.preventDefault(t),n.stopPropagation(t)}}}else{var r=angular.element(a)[0];if("true"===a.attr("sub-menu")){if(null===r.nextElementSibling)break;if(r.nextElementSibling)r.nextElementSibling.querySelector("a").focus();else{do{if(!r||!r.nextSibling)break;r=r.nextSibling}while(r&&"LI"!==r.tagName);r&&(null==r.querySelector("a")||r.querySelector("a").focus()),n.preventDefault(t),n.stopPropagation(t)}}else if(void 0===a.attr("sub-menu")){if(null===r.nextElementSibling)break;if(r.nextElementSibling)r.nextElementSibling.querySelector("a").focus();else{do{if(!r||!r.nextSibling)break;r=r.nextSibling}while(r&&"LI"!==r.tagName);r&&(null==r.querySelector("a")||r.querySelector("a").focus())}}}break;case i.KEY.DOWN:if(a.attr("mega-menu"))angular.element(a)[0].querySelectorAll(".megamenu__items")[0].querySelector("a").focus();else if(void 0===a.attr("sub-menu")){var r=document.activeElement;if(null===r.nextElementSibling)break;if(r.nextElementSibling)r.nextElementSibling.focus();else{do{if(!r||!r.nextSibling)break;r=r.nextSibling}while(r&&"A"!==r.tagName);null!==r.attributes&&r.focus(),n.stopPropagation(t)}}else if("true"===a.attr("sub-menu")){var l=angular.element(a)[0].querySelector("span").querySelector("a");if(null===l)break;l.focus()}break;case i.KEY.LEFT:if(a.attr("mega-menu")){if("item"===a.attr("menu-item")){var r=angular.element(a)[0];if(r.previousElementSibling)null===r.previousElementSibling.querySelector("span")||r.previousElementSibling.querySelector("span").focus();else{do{if(!r||!r.previousSibling)break;r=r.previousSibling}while(r&&"LI"!==r.tagName);r&&(null===r.querySelector("span")||r.querySelector("span").focus()),n.preventDefault(t),n.stopPropagation(t)}}}else{var r=angular.element(a)[0];if("true"===a.attr("sub-menu")){if(null===r.previousElementSibling)break;if(r.previousElementSibling)r.previousElementSibling.querySelector("a").focus();else{do{if(!r||!r.previousSibling)break;r=r.previousSibling}while(r&&"LI"!==r.tagName);r&&(null==r.querySelector("a")||r.querySelector("a").focus()),n.preventDefault(t),n.stopPropagation(t)}}else if(void 0===a.attr("sub-menu")){if(null===r.previousElementSibling)break;if(r.previousElementSibling)r.previousElementSibling.querySelector("a").focus();else{do{if(!r||!r.previousSibling)break;r=r.previousSibling}while(r&&"LI"!==r.tagName);r&&(null==r.querySelector("a")||r.querySelector("a").focus())}}}break;case i.KEY.UP:if("true"===a.attr("sub-menu")){var r=document.activeElement,c=angular.element(a.parent().parent().parent().parent())[0].querySelector("span");c.focus(),o.clearSubMenu(),e.menuItem.active=!1;break}if(void 0===a.attr("sub-menu")){var r=document.activeElement,c=angular.element(a.parent().parent().parent().parent())[0].querySelector("a");if(document.activeElement===angular.element(r).parent().parent()[0].querySelectorAll("a")[0]){c.focus();break}if(r.previousElementSibling){r.previousElementSibling;null!=r.previousElementSibling?r.previousElementSibling.focus():c.focus()}else{do{if(!r||!r.previousSibling)break;r=r.previousSibling}while(r&&"A"!==r.tagName);r&&3!==r.nodeType&&r.focus(),n.preventDefault(t),n.stopPropagation(t)}break}}})}}}]),angular.module("att.abs.tagBadges",[]).directive("tagBadges",["$parse","$timeout",function(e,t){return{restrict:"EA",replace:!1,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/tagBadges/tagBadges.html",scope:{styleType:"@",onClose:"&"},link:function(n,i,a){n.isSmall=!1,n.isIcon=!1,n.isColor=!1,n.display=!0,n.isClosable=!1,n.isHighlight=!1,n.customColor=!1,""===a.small&&(n.isSmall=!0),"icon"===n.styleType?n.isIcon=!0:"color"===n.styleType&&(n.isColor=!0,void 0!==a.color&&""!==a.color&&(n.customColor=!0,a.$observe("color",function(e){n.border_type_borderColor=e,n.background_type_backgroundColor=e,n.background_type_borderColor=e}))),n.activeHighlight=function(e){n.customColor&&(e?n.isHighlight=!0:n.isHighlight=!1)},""===a.closable&&(n.isClosable=!0,n.closeMe=function(){n.display=!1,t(function(){i.attr("tabindex","0"),i[0].focus(),i.bind("blur",function(){i.remove()})}),a.onClose&&(n.onClose=e(n.onClose),n.onClose())})}}}]),angular.module("att.abs.textOverflow",[]).constant("textDefaultOptions",{width:"50%"}).directive("attTextOverflow",["textDefaultOptions","$compile",function(e,t){return{restrict:"A",link:function(n,i,a){var s=i.text();if(i.addClass("text-ellipsis"),a.$observe("attTextOverflow",function(t){t?i.css({width:t}):i.css({width:e.width})}),!i.attr("tooltip")){i.attr("tooltip",s),i.attr("tooltip-placement","above");var r=angular.element(i);t(r)(n)}}}}]),angular.module("att.abs.toggle",["angular-gestures","att.abs.position"]).directive("attToggleTemplate",["$compile","$log","$position",function(e,t,n){return{restrict:"A",require:"ngModel",transclude:!0,scope:{modelVal:"=ngModel"},templateUrl:"app/scripts/ng_js_att_tpls/toggle/demoToggle.html",link:function(e,t,i){e.initialDragPosition=0;var a=0,s=n.offset(t.children().eq(1).children().eq(0)).width-1,r=function(){e.attrValue===i.ngTrueValue||e.attrValue?e.modelVal=!1:e.modelVal=!0};e.updateModel=function(e){1!==a&&(r(),a=0),e.preventDefault()},e.drag=function(i){if(a=1,"dragstart"===i.type)e.initialDragPosition=n.position(t.children().eq(1)).left,t.children().eq(1).addClass("dragging");else if("drag"===i.type){var o=Math.min(0,Math.max(e.initialDragPosition+i.gesture.deltaX,-s));t.children().eq(1).css({left:o+"px"})}else if("dragend"===i.type){var l=n.position(t.children().eq(1)).left>-1*s/2;t.children().eq(1).removeClass("dragging"),TweenMax.to(t.children().eq(1),.1,{left:l?0:-1*s,ease:Power4.easeOut,onComplete:function(){t.children().eq(1).css({left:""})}}),(l||!l&&"left"===i.gesture.direction)&&r(),a=0}return!1},e.directiveValue=i.attToggleTemplate,e.on=i.trueValue,e.off=i.falseValue;var o=-1*s+"px";e.$watch("modelVal",function(n){if(e.attrValue=n,n===i.ngTrueValue||n){t.children().eq(1).css({left:"0px"}),t.addClass("att-checkbox--on");var s=t.find("div").find("div").eq(1);s.attr("aria-checked",!0),a=0}else{t.children().eq(1).css({left:o}),t.removeClass("att-checkbox--on");
+var s=t.find("div").find("div").eq(1);s.attr("aria-checked",!1),a=0}t.children().eq(1).css({left:""})})}}}]).directive("attToggleMain",["$compile",function(e){return{restrict:"A",require:"ngModel",transclude:!0,replace:!0,scope:{modelValue:"=ngModel",trueValue:"=ngTrueValue",falseValue:"=ngFalseValue"},link:function(t,n,i){var a="",s="";n.removeAttr("att-toggle-main"),t.on=i.ngTrueValue,t.off=i.ngFalseValue,t.largeValue=i.attToggleMain,angular.isDefined(i.ngTrueValue)&&(a+=' true-value="{{on}}" false-value="{{off}}"'),void 0!==t.largeValue&&(s+=' ="{{largeValue}}"'),n.css({display:"none"});var r=angular.element('<div class="att-switch att-switch-alt" ng-class="{\'large\' : largeValue == \'large\'}" ng-model="modelValue"'+a+" att-toggle-template"+s+">"+n.prop("outerHTML")+"</div>");r=e(r)(t),n.replaceWith(r)}}}]),angular.module("att.abs.treeview",[]).directive("treeView",function(){return{restrict:"A",link:function(e,t){function n(){s.reversed()?s.play():s.reverse()}function i(e){e.stopPropagation(),void 0!==angular.element(e.target).attr("tree-view")&&(t.hasClass("minus")?t.removeClass("minus"):t.addClass("minus"),n())}var a=t.children("ul li"),s=TweenMax.from(a,.2,{display:"none",paused:!0,reversed:!0});t.attr("tabindex","0"),t.on("click",function(e){i(e)}),t.on("keypress",function(e){var t=e.keyCode?e.keyCode:e.charCode,n=[13,32];n.length>0&&t&&n.indexOf(t)>-1&&(i(e),e.preventDefault())})}}}),angular.module("att.abs.typeAhead",["att.abs.tagBadges"]).directive("focusMe",["$timeout","$parse",function(e,t){return{link:function(n,i,a){var s=t(a.focusMe);n.$watch(s,function(t){t&&e(function(){i[0].focus(),n.inputActive=!0})}),i.bind("blur",function(){s.assign(n,!1),n.inputActive=!1,n.$digest()})}}}]).directive("typeAhead",["$timeout","$log",function(e,t){return{restrict:"EA",templateUrl:"app/scripts/ng_js_att_tpls/typeAhead/typeAhead.html",replace:!0,scope:{items:"=",title:"@?",titleName:"@",subtitle:"@",model:"=",emailIdList:"=",emailMessage:"="},link:function(n,i){!angular.isDefined(n.titleName)&&angular.isDefined(n.title)&&e(function(){n.titleName=n.title,t.warn("title attribute is deprecated and title-name attribute is used instead as it is conflicting with html title attribute")}),n.lineItems=[],n.filteredListLength=-1,n.filteredList=[],n.setFocus=function(){n.clickFocus=!0},n.setFocus(),n.handleSelection=function(e,t){n.lineItems.push(e),n.emailIdList.push(t),n.model="",n.current=0,n.selected=!0,n.clickFocus=!0},n.theMethodToBeCalled=function(t){var i=n.lineItems.slice();n.emailIdList.splice(t,1),i.splice(t,1),e(function(){n.lineItems=[],n.$apply(),n.lineItems=n.lineItems.concat(i)})},n.current=0,n.selected=!0,n.isCurrent=function(e,t,i,a){return n.current===e&&(n.itemName=t,n.itemEmail=i),n.dropdownLength=a,n.current===e},n.setCurrent=function(e){n.current=e},n.selectionIndex=function(e){38===e.keyCode&&n.current>0?(e.preventDefault(),n.current=n.current-1,n.isCurrent(n.current)):9===e.keyCode?n.selected=!0:13===e.keyCode&&n.dropdownLength!==n.items.length?n.handleSelection(n.itemName,n.itemEmail):8===e.keyCode&&0===n.model.length||46===e.keyCode?n.theMethodToBeCalled(n.lineItems.length-1):40===e.keyCode&&n.current<n.dropdownLength-1&&(e.preventDefault(),n.current=n.current+1,n.isCurrent(n.current)),i[0].querySelector(".list-scrollable").scrollTop=35*(n.current-1)}}}}]),angular.module("att.abs.verticalSteptracker",["ngSanitize"]).directive("verticalSteptracker",[function(){return{restrict:"EA",transclude:!0,replace:!1,scope:{},template:'<div class="vertical-nav"><ul ng-transclude arial-label="step list" role="presentation" class="tickets-list-height"></ul></div>',link:function(){}}}]).directive("verticalSteptrackerStep",[function(){return{restrict:"EA",transclude:!0,replace:!1,scope:{type:"=type",id:"=id"},templateUrl:"app/scripts/ng_js_att_tpls/verticalSteptracker/vertical-step-tracker.html",link:function(){}}}]).directive("attAbsLink",[function(){return{restrict:"EA",transclude:!0,replace:!1,template:'<span ng-transclude class="view-log"></span>'}}]),angular.module("att.abs.videoControls",[]).config(["$compileProvider",function(e){e.aHrefSanitizationWhitelist(/^\s*(https?|javascript):/)}]).directive("videoControls",[function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/videoControls/videoControls.html"}}]).directive("photoControls",[function(){return{restrict:"EA",replace:!0,transclude:!0,templateUrl:"app/scripts/ng_js_att_tpls/videoControls/photoControls.html",scope:{prevLink:"@",nextLink:"@"},link:function(e,t,n){n.prevLink||(e.prevLink="javascript:void(0)"),n.nextLink||(e.nextLink="javascript:void(0)"),e.links={prevLink:e.prevLink,nextLink:e.nextLink}}}}]),angular.module("app/scripts/ng_js_att_tpls/accordion/accordion.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/accordion/accordion.html",'<div class="att-accordion__group tabpanel" ng-class="{\'att-accordion__group att-accordion__group--open\':isOpen,\'att-accordion__group\':!isOpen }">\n <a ng-show="showicon" \n class="toggle-header att-accordion__heading att-accordion__toggle noafter" \n aria-selected="{{focused}}" \n aria-controls="panel{{index}}" \n aria-expanded="{{isOpen}}" \n ng-class="{focus: focused, selected: focused}" \n role="tab" \n ng-click="toggle()" \n accordion-transclude="heading" \n style="cursor:pointer; text-decoration:none">\n <span href="#"><i class={{headingIconClass}}></i>&nbsp;&nbsp;{{heading}}</span>\n <i i ng-show = \'childLength > 0\' ng-class="{\'icon-chevron-down\':!isOpen,\'icon-chevron-up\':isOpen }" class="pull-right"></i>\n </a>\n <div ng-show="!showicon" \n ng-class="{focus: focused, selected: focused}" \n style="text-decoration:none" \n accordion-transclude="heading" \n role="tab" \n aria-expanded="{{isOpen}}"\n aria-selected="{{focused}}" \n aria-controls="panel{{index}}" \n class="toggle-header att-accordion__heading att-accordion__toggle noafter">\n <span>{{heading}}</span>\n </div> \n <div aria-label="{{heading}}" \n aria-hidden="{{!isOpen}}" \n role="tabpanel" \n collapse="!isOpen" \n class="att-accordion__body" \n id="panel{{index}}" \n ng-transclude>\n </div>\n <div class="att-accordion__bottom--border"></div> \n</div> ')}]),angular.module("app/scripts/ng_js_att_tpls/accordion/accordion_alt.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/accordion/accordion_alt.html",'<div class="att-accordion__group tabpanel" ng-class="{\'att-accordion__group att-accordion__group--open\':isOpen,\'att-accordion__group\':!isOpen }">\n <a class="toggle-header att-accordion__heading att-accordion__toggle" \n aria-selected="{{focused}}" \n aria-controls="panel{{index}}" \n ng-class="{focus: focused, selected: focused}" \n aria-expanded="{{isOpen}}" \n role="tab" \n ng-click="toggle()" \n accordion-transclude="heading"> \n </a>\n <span>{{heading}}</span>\n <div aria-label="{{heading}}" \n aria-hidden="{{!isOpen}}" \n role="tabpanel" \n collapse="!isOpen" \n class="att-accordion__body" \n id="panel{{index}}" \n ng-transclude>\n </div>\n</div> ')}]),angular.module("app/scripts/ng_js_att_tpls/accordion/attAccord.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/accordion/attAccord.html","<div ng-transclude></div>")}]),angular.module("app/scripts/ng_js_att_tpls/accordion/attAccordBody.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/accordion/attAccordBody.html","<div ng-transclude></div>")}]),angular.module("app/scripts/ng_js_att_tpls/accordion/attAccordHeader.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/accordion/attAccordHeader.html",'<div ng-click="clickFunc()">\n <div ng-transclude>\n <i class="icon-chevron-down"></i>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/alert/alert.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/alert/alert.html","<div class=\"alert\" ng-class=\"{'alert-success': alertType === 'success', 'alert-warning': alertType === 'warning', 'alert-error': alertType === 'error', 'alert-info': alertType === 'info', 'alert-inplace': showTop !== 'true'}\" ng-show=\"showAlert\" ng-style=\"cssStyle\">\n <div class=\"container\">\n"+' <a href="javascript:void(0)" alt="close" class="close-role" ng-click="close()" tabindex="0" att-accessibility-click="32,13">Dismiss <i class="icon-circle-action-close"></i></a>\n <span ng-transclude> </span>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/boardStrip/attAddBoard.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/boardStrip/attAddBoard.html",'<div tabindex="0" att-accessibility-click="13,32" ng-click="addBoard()" aria-label="Add Board" class="boardstrip-item--add">\n <i aria-hidden="true" class="icon-add centered"></i>\n <br/>\n <div class="centered">Add board</div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/boardStrip/attBoard.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/boardStrip/attBoard.html",'<li att-board-navigation tabindex="0" aria-label="{{boardLabel}}" att-accessibility-click="13,32" ng-click="selectBoard(boardIndex)" class="board-item" ng-class="{\'selected\': getCurrentIndex()===boardIndex}">\n <div ng-transclude></div>\n <div class="board-caret" ng-if="getCurrentIndex()===boardIndex">\n <div class="board-caret-indicator"></div>\n <div class="board-caret-arrow-up"></div>\n </div>\n</li>')}]),angular.module("app/scripts/ng_js_att_tpls/boardStrip/attBoardStrip.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/boardStrip/attBoardStrip.html",'<div class="att-boardstrip">\n <div class="boardstrip-reel">\n <div class="prev-items" ng-if="isPrevBoard()">\n <i tabindex="0" aria-label="Scroll Boardstrip Left" att-accessibility-click="13,32" ng-click="prevBoard()" class="arrow icon-arrow-left-circle"></i>\n </div>\n <div att-add-board on-add-board="onAddBoard()"></div>\n <div class="board-viewport"><ul role="presentation" class="boardstrip-container" ng-transclude></ul></div>\n <div class="next-items" ng-if="isNextBoard()">\n <i tabindex="0" aria-label="Scroll Boardstrip Right" att-accessibility-click="13,32" ng-click="nextBoard()" class="arrow icon-arrow-right-circle"></i>\n </div>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/buttons/buttonDropdown.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/buttons/buttonDropdown.html",'<div class="att-btn-dropdown">\n <div class="buttons-dropdown--small btn-group" ng-class="{\'open\': isOpen}" att-accessibility-click="13,32" ng-click="toggle()">\n \n <button role="menu" class="button button--secondary button--small buttons-dropdown__drop dropdown-toggle" ng-if="type===\'dots\'" alt="Click for Options" >\n \n <div class="circle"></div>\n <div class="circle"></div>\n <div class="circle"></div>\n </button>\n <button role="menu" class="button button--secondary button--small buttons-dropdown__drop dropdown-toggle ng-isolate-scope actions-title" ng-if="type === \'actions\'" alt="Actions dropdown Buttons">Actions</button>\n \n\n'+" <ul ng-class=\"{'dropdown-menu dots-dropdwn': type==='dots', 'dropdown-menu actions-dropdwn': type === 'actions'}\" ng-transclude></ul>\n </div>\n \n</div>\n")}]),angular.module("app/scripts/ng_js_att_tpls/colorselector/colorselector.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/colorselector/colorselector.html",'<div class="att-radio att-color-selector__item" \n ng-class="{\'att-radio--on\': (iconColor === selected)}">\n <div class="att-radio__indicator" tabindex="0" att-accessibility-click="32,13" ng-click="selectedcolor(iconColor)" \n ng-style="applycolor" ng-transclude></div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/datepicker/dateFilter.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/datepicker/dateFilter.html",'<div class="calendar" ng-class="{\'monthpicker\':mode === 1}">\n <div class="select2-container" ng-class="{\'select2-container-active select2-dropdown-open\': showDropdownList}" style="width: 100%; z-index:0">\n <a tabindex="0" id="select2-choice" class="select2-choice" href="javascript:void(0)" att-element-focus="focusInputButton" ng-show="!showCalendar" att-accessibility-click="13,32" ng-click="showDropdown()" ng-blur="focusInputButton=false">\n <span class="select2-chosen" ng-show="!showCalendar">{{selectedOption}}</span>\n <input type="text" ng-show="showCalendar" ng-blur="untrackInputChange($event)" att-input-deny="[^0-9\\/-]" maxlength="{{maxLength}}" ng-model="selectedOption" aria-labelledby="select2-choice" ng-change="getDropdownText()" />\n <abbr class="select2-search-choice-close"></abbr>\n <span ng-class="{\'select2-arrow\': mode !== 1, \'calendar-icon\': mode === 1}"><b></b></span>\n </a>\n <a id="select2-chosen" class="select2-choice" href="javascript:void(0)" ng-show="showCalendar">\n <span class="select2-chosen" ng-show="!showCalendar">{{selectedOption}}</span>\n <input type="text" ng-show="showCalendar" ng-blur="untrackInputChange($event)" att-input-deny="[^0-9\\/-]" maxlength="{{maxLength}}" ng-model="selectedOption" aria-labelledby="select2-chosen" ng-change="getDropdownText()" />\n <abbr class="select2-search-choice-close"></abbr>\n <span tabindex="0" ng-class="{\'select2-arrow\': mode !== 1, \'calendar-icon\': mode === 1}" att-accessibility-click="13,32" ng-click="showDropdown()"><b></b></span>\n </a>\n </div>\n <div class="select2-drop select2-drop-active select2-display-none" ng-style="{display: (showDropdownList && \'block\') || \'none\', \'border-radius\': showCalendar && \'0 0 0 6px\'}" style="width: 100%">\n <div id="dateFilterList" att-scrollbar ><ul class="select2-results options" ng-transclude></ul></div>\n <ul class="select2-results sttings" style="margin-top:0px">\n <li tabindex="0" class="select2-result select2-highlighted greyBorder" ng-class="{\'select2-result-current\': checkCurrentSelection(\'Custom Single Date\')}" att-accessibility-click="13,32" ng-click="selectAdvancedOption(\'Custom Single Date\')">\n <div class="select2-result-label" ng-if="mode !== 1">Custom Single Date...</div>\n <div class="select2-result-label" ng-if="mode === 1">Custom single month...</div>\n </li>\n <li tabindex="0" class="select2-result select2-highlighted" ng-class="{\'select2-result-current\': checkCurrentSelection(\'Custom Range\')}" att-accessibility-click="13,32" ng-click="selectAdvancedOption(\'Custom Range\')">\n <div class="select2-result-label" ng-if="mode !== 1">Custom Range...</div>\n <div class="select2-result-label" ng-if="mode === 1">Custom month range...</div>\n </li>\n <li class="select2-result select2-highlighted btnContainer" ng-style="{display: (showCalendar && \'block\') || \'none\'}">\n <button tabindex="0" ng-blur="resetFocus($event)" att-element-focus="focusApplyButton" att-button="" btn-type="{{applyButtonType}}" size="small" att-accessibility-click="13,32" ng-click="apply()">Apply</button>\n <button tabindex="0" att-button="" btn-type="secondary" size="small" att-accessibility-click="13,32" ng-click="cancel()">Cancel</button>\n <div>\n <a tabindex="0" href="javascript:void(0)" ng-if="mode !== 1" style="text-decoration:underline;" att-accessibility-click="13,32" ng-click="clear()">Clear Dates</a>\n <a tabindex="0" href="javascript:void(0)" ng-if="mode === 1" style="text-decoration:underline;" att-accessibility-click="13,32" ng-click="clear()">Clear Months</a>\n </div>\n </li>\n </ul>\n </div>\n <div class="datepicker-wrapper show-right" ng-style="{display: (showCalendar && \'block\') || \'none\'}">\n <span datepicker ng-blur="resetFocus($event)" att-element-focus="focusSingleDateCalendar" ng-show="checkCurrentSelection(\'Custom Single Date\')"></span>\n <span datepicker ng-blur="resetFocus($event)" att-element-focus="focusRangeCalendar" ng-show="checkCurrentSelection(\'Custom Range\')"></span>\n </div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/datepicker/dateFilterList.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/datepicker/dateFilterList.html",'<li ng-click="!disabled && selectOption(fromDate,toDate,caption)" att-accessibility-click="13,32" ng-class="{\'select2-result-current\': checkCurrentSelection(caption)}" class="select2-result select2-highlighted ng-scope" tabindex="{{!disabled?\'0\':\'-1\'}}">\n <div class="select2-result-label" ng-class="{\'disabled\':disabled}" ng-transclude></div>\n</li>')}]),angular.module("app/scripts/ng_js_att_tpls/datepicker/datepicker.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/datepicker/datepicker.html",'<div id="datepicker" class="datepicker" ng-class="{\'monthpicker\': mode === 1}" aria-hidden="false" role="dialog" tabindex="-1" aria-labelledby="datepicker">\n <div class="datepicker-days" style="display: block;">\n <table class="table-condensed">\n <thead>\n <tr>\n <th id="month" tabindex="0" class="datepicker-switch" colspan="{{(mode !== 1) && (currentRows[0].length - 2) || (currentRows[0].length)}}" style="text-align:left">{{currentTitle}}</th>\n <th ng-if="mode !== 1" id="prev" aria-hidden="{{!disablePrev && \'false\'|| \'true\'}}" tabindex="{{!disablePrev && \'0\'|| \'-1\'}}" att-accessibility-click="13,32" ng-click="!disablePrev && move(-1)">\n <div class="icons-list" data-size="medium"><i class="icon-arrow-left-circle" ng-class="{\'disabled\': disablePrev}" alt="Left Arrow"></i>\n </div><span class="hidden-spoken">Previous Month</span>\n </th>\n <th ng-if="mode !== 1" id="next" aria-hidden="{{!disableNext && \'false\'|| \'true\'}}" tabindex="{{!disableNext && \'0\'|| \'-1\'}}" att-accessibility-click="13,32" ng-click="!disableNext && move(1)">\n <div class="icons-list" data-size="medium"><i class="icon-arrow-right-circle" ng-class="{\'disabled\': disableNext}" alt="Right Arrow"></i>\n </div><span class="hidden-spoken">Next Month</span>\n </th>\n </tr>\n <tr ng-if="labels.length > 0">\n <th tabindex="-1" class="dow weekday" ng-repeat="label in labels"><span>{{label.pre}}</span></th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <td id="datepickerBody" att-scrollbar colspan="{{currentRows[0].length}}" style="padding: 0px;" headers="">\n <table ng-class="{\'table-condensed\': mode === 0, \'monthtable-condensed\': mode === 1}" style="padding: 0px;">\n <thead class="hidden-spoken">\n <tr ng-show="labels.length > 0">\n <th id="{{label.post}}" tabindex="-1" class="dow weekday" ng-repeat="label in labels"></th>\n </tr>\n </thead>\n <tbody>\n <tr ng-repeat="row in currentRows">\n <td headers="{{(mode === 0) && dt.header || \'month\'}}" att-element-focus="dt.focused" aria-hidden="{{(!dt.oldMonth && !dt.nextMonth && !dt.disabled && \'false\') || \'true\'}}" tabindex="{{(!dt.oldMonth && !dt.nextMonth && !dt.disabled && \'0\') || \'-1\'}}" ng-repeat="dt in row" class="days" ng-class="{\'active\': dt.selected || dt.from || dt.to, \'from\': dt.from, \'to\': dt.to, \'range\': dt.dateRange, \'prev-month \': dt.oldMonth, \'next-month\': dt.nextMonth, \'disabled\': dt.disabled, \'today\': dt.today, \'weekend\': dt.weekend}" ng-click="!dt.selected && !dt.from && !dt.to && !dt.disabled && !dt.oldMonth && !dt.nextMonth && select(dt.date)" att-accessibility-click="13,32" aria-label="{{dt.date | date : \'EEEE, MMMM d\'}}"><span class="day">{{dt.label}}</span></td>\n </tr>\n <tr ng-if="mode === 1" class="divider"><td colspan="{{nextRows[0].length}}"><hr></td></tr>\n <tr>\n <th id="month" tabindex="0" class="datepicker-switch internal" colspan="{{nextRows[0].length}}" style="text-align:left">{{nextTitle}}</th>\n </tr>\n <tr ng-repeat="row in nextRows">\n'+" <td headers=\"{{(mode === 0) && dt.header || 'month'}}\" att-element-focus=\"dt.focused\" aria-hidden=\"{{(!dt.oldMonth && !dt.nextMonth && !dt.disabled && 'false') || 'true'}}\" tabindex=\"{{(!dt.oldMonth && !dt.nextMonth && !dt.disabled && '0') || '-1'}}\" ng-repeat=\"dt in row\" class=\"days\" ng-class=\"{'active': dt.selected || dt.from || dt.to, 'from': dt.from, 'to': dt.to, 'range': dt.dateRange, 'prev-month ': dt.oldMonth, 'next-month': dt.nextMonth, 'disabled': dt.disabled, 'today': dt.today, 'weekend': dt.weekend}\" ng-click=\"!dt.selected && !dt.from && !dt.to && !dt.disabled && !dt.oldMonth && !dt.nextMonth && select(dt.date)\" att-accessibility-click=\"13,32\" aria-label=\"{{dt.date | date : 'EEEE, MMMM d'}}\"><span class=\"day\">{{dt.label}}</span></td>\n </tr>\n </tbody>\n </table>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n</div>\n")}]),angular.module("app/scripts/ng_js_att_tpls/datepicker/datepickerPopup.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/datepicker/datepickerPopup.html",'<div class="calendar">\n <div class="box" ng-class="{\'active\': isOpen}">\n <span ng-transclude></span>\n <i class="calendar-icon" tabindex="0" att-accessibility-click="13,32" ng-click="toggle()" alt="Calendar Icon"></i>\n </div>\n <div class="datepicker-wrapper datepicker-wrapper-display-none" ng-style="{display: (isOpen && \'block\') || \'none\'}" aria-hidden="false" role="dialog" tabindex="-1">\n <span datepicker></span>\n </div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/dividerLines/dividerLines.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/dividerLines/dividerLines.html",'<div class="divider-container" ng-class="{\'divider-container-light\': lightContainer}">\n <hr ng-class="{\'divider-light\': lightContainer}">\n</div>\n\n')}]),angular.module("app/scripts/ng_js_att_tpls/dragdrop/fileUpload.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/dragdrop/fileUpload.html",'<label class="fileContainer"><span ng-transclude></span><input type="file" att-file-change></label>')}]),angular.module("app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlert.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlert.html",'<div class="form-field" ng-class="{\'error\': errorMessage, \'warning\': warningMessage}">\n <label class="form-field__label" ng-class="{\'form-field__label--show\': showLabel, \'form-field__label--hide\': hideLabel}"></label>\n <div class="form-field-input-container" ng-transclude></div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlertPrv.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/formField/attFormFieldValidationAlertPrv.html",'<div class="form-field" ng-class="{\'error\':hideErrorMsg}">\n <div class="form-field-input-container" ng-transclude></div>\n <div class="form-field__message error" type="error" ng-show="hideErrorMsg" >\n <i class="icon-info-alert"></i>{{errorMessage}}\n </div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/formField/creditCardImage.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/formField/creditCardImage.html",'<span class="css-sprite pull-right">\n<span class="hidden-spoken">We accept</span>\n<ul class="{{newValCCI}}">\n <li class="css-sprite-mc"><span class="hidden-spoken">MasterCard</span></li>\n <li class="css-sprite-visa"><span class="hidden-spoken">Visa</span></li>\n <li class="css-sprite-amex"><span class="hidden-spoken">American Express</span></li>\n <li class="css-sprite-discover"><span class="hidden-spoken">Discover</span></li> \n</ul>\n</span>\n<label for="ccForm.card" class="pull-left">Card number</label>')}]),angular.module("app/scripts/ng_js_att_tpls/formField/cvcSecurityImg.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/formField/cvcSecurityImg.html",'<div>\n<button type="button" class="btn btn-alt btn-tooltip" style="padding-top:16px" title="Help"><i class="hidden-spoken">Help</i></button>\n<div class="helpertext" role="tooltip">\n<div class="popover-title"></div>\n<div class="popover-content">\n <p class="text-legal cvc-cc">\n <img ng-src="images/{{newValI}}.png" alt="{{newValIAlt}}">\n </p>\n</div>\n</div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/hourpicker/hourpicker.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/hourpicker/hourpicker.html",'<div class="hourpicker">\n <div class="dropdown-width">\n <div ng-model="showlist" class="select2-container topDropDownWidth" ng-class="{\'select2-dropdown-open select2-container-active\': showlist}" >\n <a class="select2-choice" href="javascript:void(0)" id="customSelect" ng-keydown="selectOption(selectPrevNextValue($event,options,selectedOption))" att-accessibility-click="13" ng-click="showDropdown()">\n <span class="select2-chosen">{{selectedOption}}</span>\n <span class="select2-arrow"><b></b></span>\n </a>\n </div> \n <div class="select2-display-none select2-with-searchbox select2-drop-active show-search resultTopWidth" ng-show="showlist"> \n <ul class="select2-results resultTopMargin" > \n <li ng-model="ListType" ng-repeat="option in options" att-accessibility-click="13" ng-click="selectOption(option,$index)" class="select2-results-dept-0 select2-result select2-result-selectable"><div class="select2-result-label"><span >{{option}}</span></div></li> \n </ul>\n </div>\n </div>\n <div ng-show="showDaysSelector" class="customdays-width">\n <div att-divider-lines class="divider-margin-f"></div> \n <div class="col-md-3 fromto-margin">\n <div>From</div> <br>\n <div>To</div>\n </div>\n <div ng-repeat="day in days">\n <div class="col-md-3 col-md-days">\n <div class="col-md-1 daysselect-margin">\n <input type="checkbox" ng-model="daysList[day]" title="Day selection {{$index}}" att-checkbox ng-change="addSelectedValue(day)"> \n </div>\n <span>{{day}}</span><br>\n \n <div class="dropDownMarginBottom">\n <div class="select2-container topDropDownWidth" ng-class="{\'select2-dropdown-open select2-container-active\': FrtimeListDay[day]}" >\n <a class="select2-choice selectDropDown" href="javascript:void(0)" tabindex="{{daysList[day] ? \'0\' : \'-1\'}}" att-accessibility-click="13" ng-click="daysList[day] && showfromDayDropdown(day)" ng-class="{\'select2-chosen-disabled\':!daysList[day]}" ng-keydown="daysList[day] && selectFromDayOption(day , selectPrevNextValue($event,fromtime,selectedFromOption[day]));daysList[day] && addSelectedValue(day);">\n <span class="select2-chosen dropDownMarginRight" >{{selectedFromOption[day]}} <i ng-if="daysList[day]" ng-class="FrtimeListDay[day] ? \'icon-dropdown-up\' : \'icon-dropdown-down\'"></i></span>\n </a>\n </div> \n \n <div class="select2-display-none select2-with-searchbox select2-drop-active show-search resultFromDropDown" ng-show="FrtimeListDay[day]"> \n <ul class="select2-results resultTopMargin" > \n <li ng-click="selectFromDayOption(day,time.value);addSelectedValue(day);" ng-repeat="time in fromtime" class="select2-results-dept-0 select2-result select2-result-selectable"><div class="select2-result-label" ng-class="{\'selectedItemInDropDown\': (time.value==selectedFromOption[day])}"><span >{{time.value}}</span></div></li> \n </ul>\n </div>\n </div>\n \n <div class="dropDownMarginBottom">\n <div class="select2-container topDropDownWidth" ng-class="{\'select2-dropdown-open select2-container-active\': TotimeListDay[day]}" >\n <a class="select2-choice selectDropDown" href="javascript:void(0)" tabindex="{{daysList[day] ? \'0\' : \'-1\'}}" att-accessibility-click="13" ng-click="daysList[day] && showtoDayDropdown(day)" ng-class="{\'select2-chosen-disabled\':!daysList[day], \'selectDropDown-error\':daysList[day] && showToTimeErrorDay[day]}" ng-keydown="daysList[day] && selectToDayOption(day , selectPrevNextValue($event,totime,selectedToOption[day]));daysList[day] && addSelectedValue(day);">\n <span class="select2-chosen dropDownMarginRight">{{selectedToOption[day]}} <i ng-if="daysList[day]" ng-class="TotimeListDay[day] ? \'icon-dropdown-up\' : \'icon-dropdown-down\'" ></i></span>\n </a>\n </div>\n \n <div class="select2-display-none select2-with-searchbox select2-drop-active show-search resultToDropDown" ng-show="TotimeListDay[day]"> \n <ul class="select2-results resultTopMargin" > \n <li ng-click="selectToDayOption(day,time.value);addSelectedValue(day);" ng-repeat="time in totime" class="select2-results-dept-0 select2-result select2-result-selectable"><div class="select2-result-label" ng-class="{\'selectedItemInDropDown\': (time.value==selectedToOption[day])}"><span >{{time.value}}</span></div></li> \n </ul>\n </div>\n </div>\n </div> \n </div> \n <div att-divider-lines class="divider-margin-s"></div>\n </div>\n <div ng-transclude></div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/links/readMore.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/links/readMore.html",'<div>\n <div ng-bind-html="textToDisplay" ng-class="{\'att--readMore\': readFlag, \'att--readLess\': !readFlag}" ng-style="readLinkStyle"></div>\n <span class="att--readmore__link" ng-show="readMoreLink">… <a href="javascript:void(0);" ng-click="readMore()" att-accessbility-click="32,13">Read More</a>\n </span>\n</div>\n<span class="att--readless__link" ng-show="readLessLink">\n <a href="javascript:void(0);" ng-click="readLess()" att-accessbility-click="32,13">Read Less</a>\n</span>');
+}]),angular.module("app/scripts/ng_js_att_tpls/loading/loading.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/loading/loading.html",'<div data-progress="{{progressStatus}}" class="{{colorClass}}" ng-class="{\'att-loading-count\':icon == \'count\',\'loading--small\':icon == \'small\',\'loading\': icon != \'count\'}" alt="Loading">\n <div class="att-loading-circle" ng-if="icon == \'count\'">\n <div class="att-loading-circle__mask att-loading-circle__full">\n <div class="att-loading-circle__fill"></div>\n </div>\n <div class="att-loading-circle__mask att-loading-circle__half">\n <div class="att-loading-circle__fill"></div>\n <div class="att-loading-circle__fill att-loading-circle__fix"></div>\n </div>\n </div>\n <div ng-class="{\'att-loading-inset\':icon == \'count\',\'loading__inside\':icon != \'count\'}"><div class="att-loading-inset__percentage" ng-if="icon == \'count\'" alt="Loading with Count"></div></div>\n</div>\n\n')}]),angular.module("app/scripts/ng_js_att_tpls/modal/backdrop.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/modal/backdrop.html",'<div class="overlayed" ng-class="{show: animate}" \n'+" ng-style=\"{'z-index': 2000 + index*10,'overflow':'scroll'}\"> \n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/modal/tabbedItem.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/modal/tabbedItem.html",'<div>\n <ul class="tabs_overlay">\n <li ng-repeat="item in items" class="tabs_overlay__item two__item" ng-class="{\'active\':isActiveTab($index)}" ng-click="clickTab($index)">\n <i class="{{item.iconClass}}"></i>\n {{item.title}} ({{item.number}})\n <a class="viewLink" att-link>Show</a>\n </li>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/modal/tabbedOverlayItem.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/modal/tabbedOverlayItem.html",'<div>\n <ul class="tabs_overlay">\n <li ng-repeat="item in items" class="tabs_overlay__item two__item" ng-class="{\'active\':isActiveTab($index)}" ng-click="clickTab($index)">\n <i class="{{item.iconClass}}"></i>\n {{item.title}} ({{item.number}})\n <a class="viewLink" att-link>Show</a>\n </li>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/modal/window.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/modal/window.html",'<div tabindex="-1" role="dialog" att-element-focus="focusModalFlag" class="modals {{ windowClass }}" ng-class="{show: animate}" \n ng-style="{\'z-index\': 2010 + index*10}" ng-click="close($event)" ng-transclude> \n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/pagination/pagination.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/pagination/pagination.html",'<div class="pager">\n <a tabindex="0" href="javascript:void(0)" class="pager__item--prev" att-accessibility-click="13,32" ng-click="prev($event)" ng-if="currentPage > 1"><i class="icon-arrow-left"></i> Previous</a>\n <a tabindex="0" href="javascript:void(0)" class="pager__item pager__item--link" ng-if="totalPages > 7 && currentPage > 3" att-accessibility-click="13,32" ng-click="selectPage(1, $event)">1</a>\n <span class="pager__item" ng-if="totalPages > 7 && currentPage > 3">...</span>\n <a tabindex="0" href="javascript:void(0)" class="pager__item pager__item--link" att-element-focus="isFocused(page)" ng-repeat="page in pages" ng-class="{\'pager__item--active\': checkSelectedPage(page)}" att-accessibility-click="13,32" ng-click="selectPage(page, $event)">{{page}}</a>\n <span class="pager__item" ng-if="totalPages > 7 && currentPage < totalPages - 2 && showInput !== true">...</span>\n <span ng-show="totalPages > 7 && showInput === true"><input class="pager__item--input" type="text" placeholder="..." maxlength="2" ng-model="currentPage" aria-label="Current page count"/></span>\n <a tabindex="0" href="javascript:void(0)" class="pager__item pager__item--link" ng-if="totalPages > 7 && currentPage < totalPages - 2" att-accessibility-click="13,32" ng-click="selectPage(totalPages, $event)">{{totalPages}}</a>\n <a tabindex="0" href="javascript:void(0)" class="pager__item--next" att-accessibility-click="13,32" ng-click="next($event)" ng-if="currentPage < totalPages">Next <i class="icon-arrow-right"></i></a>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/paneSelector/innerPane.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/paneSelector/innerPane.html","<div class='inner-pane' ng-transclude></div>")}]),angular.module("app/scripts/ng_js_att_tpls/paneSelector/paneGroup.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/paneSelector/paneGroup.html","<div class='pane-group' ng-transclude></div>")}]),angular.module("app/scripts/ng_js_att_tpls/paneSelector/sidePane.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/paneSelector/sidePane.html","<div class='side-pane' ng-transclude></div>")}]),angular.module("app/scripts/ng_js_att_tpls/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tooltip/tooltip-popup.html","<div class=\"att-tooltip \" \n ng-class=\"{ 'att-tooltip--on': isOpen, \n 'att-tooltip--dark att-tooltip--dark--hover':stylett=='dark', \n 'att-tooltip--light att-tooltip--light--hover':stylett=='light',\n 'att-tooltip--left':placement=='left', \n 'att-tooltip--above':placement=='above', \n 'att-tooltip--right':placement=='right', \n 'att-tooltip--below':placement=='below'}\" \n ng-bind-html=\"content | unsafe\" ></div>")}]),angular.module("app/scripts/ng_js_att_tpls/popOvers/popOvers.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/popOvers/popOvers.html","<div class=\"att-popover popover-demo\" ng-style=\"{backgroundColor:popOverStyle}\"\n ng-class=\"{'att-tooltip--dark':popOverStyle==='grey',\n 'att-pop-over--left':popOverPlacement==='left', \n 'att-pop-over--above':popOverPlacement==='above', \n 'att-pop-over--right':popOverPlacement==='right'}\" \n style='position: absolute; max-width: 490px;'>\n <div class=\"pop-over-caret\"\n ng-class=\"{'pop-over-caret-border--left':popOverPlacement==='left', \n 'pop-over-caret-border--above':popOverPlacement==='above', \n 'pop-over-caret-border--right':popOverPlacement==='right', \n 'pop-over-caret-border--below':popOverPlacement==='below'}\">\n </div>\n <div class=\"pop-over-caret\" ng-style=\"popOverPlacement=='below' && {borderBottom:'6px solid ' +popOverStyle}||popOverPlacement=='left' && {borderLeft:'6px solid ' +popOverStyle}||popOverPlacement=='right' && {borderRight:'6px solid ' +popOverStyle}||popOverPlacement=='above' && {borderTop:'6px solid ' +popOverStyle}\"\n ng-class=\"{'pop-over-caret--left':popOverPlacement==='left', \n 'pop-over-caret--above':popOverPlacement==='above', \n 'pop-over-caret--right':popOverPlacement==='right', \n 'pop-over-caret--below':popOverPlacement==='below'}\"></div>\n \n <div class=\"att-popover-content\">\n"+' <a ng-if="closeable" href="javascript:void(0)" class="icon-close att-popover__close" ng-click="closeMe();$event.preventDefault()"></a>\n <div class="popover-packages__container" ng-include="content"></div>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/profileCard/addUser.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/profileCard/addUser.html",'<div class="col-md-9 profile-card add-user">\n <div class="atcenter">\n <div><i class="icon-add"></i></div>\n <span>add User</span>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/profileCard/profileCard.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/profileCard/profileCard.html",'<div class="col-md-9 profile-card">\n <div class="top-block">\n <div class="profile-image">\n <img ng-if="image" profile-name="{{profile.name}}" ng-src="{{profile.img}}" alt="{{profile.name}}">\n <span ng-hide="image" class="default-img">{{initials}}</span>\n <p class="name" tooltip-condition="{{profile.name}}" height="true"></p>\n <p class="status">\n <span class="status-icon" ng-class="{\'icon-green\':colorIcon===\'green\',\'icon-red\':colorIcon===\'red\',\'icon-blue\':colorIcon===\'blue\',\'icon-yellow\':colorIcon===\'yellow\'}"> \n </span>\n <span>{{profile.state}}<span ng-if="badge" class="status-badge">Admin</span></span>\n </p>\n </div>\n </div>\n <div class="bottom-block">\n <div class="profile-details">\n <label>Username</label>\n <p att-text-overflow="92%" tooltip-condition="{{profile.userName}}">{{profile.userName}}</p>\n <label>Email</label>\n <p att-text-overflow="92%" tooltip-condition="{{profile.email}}">{{profile.email}}</p>\n <label>Role</label>\n <p att-text-overflow="92%" tooltip-condition="{{profile.role}}">{{profile.role}}</p>\n <label>Last Login</label>\n <p att-text-overflow="92%" tooltip-condition="{{profile.lastLogin}}">{{profile.lastLogin}}</p>\n </div>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/progressBars/progressBars.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/progressBars/progressBars.html",'<div class="att-progress">\n <div class="att-progress-value">&nbsp;</div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/scrollbar/scrollbar.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/scrollbar/scrollbar.html",'<div class="scroll-bar" style="position: absolute">\n <div class="scroll-thumb" style="position: absolute; overflow: hidden"></div>\n</div>\n<div class="prev icons-list" data-size="medium" ng-show="navigation && prevAvailable" ng-style="{height: scrollbarAxis === \'x\' && position.height + \'px\'}">\n <a href="javascript:void(0);" ng-click="customScroll(false)" aria-label="Scroll" aria-hidden="true">\n <i ng-class="{\'icon-chevron-up\': (scrollbarAxis === \'y\'), \'icon-chevron-left\': (scrollbarAxis === \'x\')}"></i>\n </a>\n</div>\n<div class="scroll-viewport" ng-style="{height: (scrollbarAxis === \'x\' && position.height + \'px\') || viewportHeight, width: viewportWidth}" style="position: relative; overflow: hidden">\n <div class="scroll-overview" style="position: absolute; display: table; width: 100%" att-position="position" ng-transclude></div>\n</div>\n<div class=\'next icons-list\' data-size="medium" ng-show="navigation && nextAvailable" ng-style="{height: scrollbarAxis === \'x\' && position.height + \'px\'}">\n <a href="javascript:void(0);" ng-click="customScroll(true)" aria-label="Scroll" aria-hidden="true">\n'+" <i ng-class=\"{'icon-chevron-down': (scrollbarAxis === 'y'), 'icon-chevron-right': (scrollbarAxis === 'x')}\"></i>\n </a>\n</div>\n")}]),angular.module("app/scripts/ng_js_att_tpls/search/search.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/search/search.html",'<div class="select2-container show-search" ng-class="{\'select2-dropdown-open\': (showlist && !isDisabled),\'select2-container-disabled\':isDisabled, \'select2-container-active\': isact}" ng-init="isact=false;" style="width: 100%;">\n <a href="javascript:void(0)" class="select2-choice needsclick" tabindex="0" ng-click="showDropdown()" ng-class="{\'select2-chosen-disabled\':isDisabled}" role="combobox" aria-expanded="{{showlist}}" aria-owns="inList" aria-label="{{selectedOption}} selected" ng-focus="isact=true;" ng-blur="isact=false;">\n <span class="select2-chosen needsclick" aria-hidden = "true">{{selectedOption}}</span>\n <abbr class="select2-search-choice-close needsclick"></abbr>\n <span class="select2-arrow needsclick" role="presentation">\n <b role="presentation" class="needsclick"></b>\n </span>\n </a> \n <input class="select2-focusser select2-offscreen" \n tabindex="-1" \n type="text" \n aria-hidden="true" \n title="hidden" \n aria-haspopup="true" \n role="button"> \n</div>\n\n<div class="select2-drop select2-with-searchbox select2-drop-auto-width select2-drop-active" ng-class="{\'select2-display-none\':(!showlist || isDisabled)}" style="width:100%;z-index: 10">\n <div class="select2-search">\n <label ng-if="!noFilter" class="select2-offscreen" aria-label="Inline Search Field" aria-hidden="true">Inline Search Field</label>\n <input ng-if="!noFilter" ng-model="title" aria-label="title" typeahead="c.title for c in cName | filter:$viewValue:startsWith" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" aria-autocomplete="list" placeholder="">\n </div>\n <ul id="inList" class="select2-results" role="listbox">\n <li ng-show="filteredName.length === 0" class="select2-no-results" tabindex="-1">No matches found</li>\n <li class="select2-results-dept-0 select2-result select2-result-selectable" role="presentation" ng-model="ListType" ng-show="selectMsg && filteredName.length > 0" ng-click="selectOption(selectMsg, \'-1\')" ng-class="{\'select2-result-current\': selectedOption === selectMsg, \'hovstyle\': selectedIndex === -1}" ng-mouseover="hoverIn(-1)" aria-label="{{selectMsg}}" tabindex="-1">\n <div ng-if="startsWithFilter" class="select2-result-label" ng-bind-html="selectMsg | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n <div ng-if="!startsWithFilter" class="select2-result-label" ng-bind-html="selectMsg | highlight:title:className | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n\n <li role="menuitem" ng-if="startsWithFilter" class="select2-results-dept-0 select2-result select2-result-selectable" role="presentation" ng-model="ListType" ng-repeat="(fIndex, item) in filteredName = (cName | startsWith:title:item)" ng-class="{\'select2-result-current\': selectedOption === item.title,\'hovstyle\': selectedIndex === item.index,\'disable\': item.disabled}" ng-click="item.disabled || selectOption(item.title,item.index)" ng-mouseover="hoverIn(item.index)" aria-label="{{item.title}}" tabindex="-1">\n <div class="select2-result-label" ng-bind-html="item.title | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n\n <li role="menuitem" ng-if="!startsWithFilter" class="select2-results-dept-0 select2-result select2-result-selectable" role="presentation" ng-model="ListType" ng-repeat="(fIndex, item) in filteredName = (cName | filter:title)" ng-class="{\'select2-result-current\': selectedOption === item.title,\'hovstyle\': selectedIndex === item.index,\'disable\': item.disabled}" ng-click="item.disabled || selectOption(item.title,item.index)" ng-mouseover="hoverIn(item.index)" aria-label="{{item.title}}" tabindex="-1">\n <div class="select2-result-label" ng-bind-html="item.title | highlight:title:className | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/select/select.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/select/select.html",'<div class="select2-container show-search" ng-class="{\'select2-dropdown-open\': (showlist && !isDisabled),\'select2-container-disabled\': isDisabled, \'select2-container-active\': isact}" ng-init="isact=false;">\n <span class="select2-choice needsclick" tabindex="{{isDisabled ? -1 : 0}}" ng-click="showDropdown()" ng-class="{\'select2-chosen-disabled\':isDisabled}" role="combobox" aria-expanded="{{showlist}}" aria-owns="inList" aria-label="{{titleName}} dropdown {{selectedOption}} selected" ng-focus="isact=true;" ng-blur="isact=false;">\n <span class="select2-chosen needsclick" aria-hidden="true" ng-bind-html="selectedOption | unsafe">{{selectedOption}}</span>\n <abbr class="select2-search-choice-close needsclick"></abbr>\n <span class="select2-arrow needsclick" role="presentation">\n <b role="presentation" class="needsclick"></b>\n </span>\n </span> \n <input class="select2-focusser select2-offscreen" \n tabindex="-1" \n type="text" \n aria-hidden="true" \n title="hidden" \n aria-haspopup="true" \n role="button"> \n</div>\n\n<div class="select2-drop select2-with-searchbox select2-drop-auto-width select2-drop-active" ng-class="{\'select2-display-none\':(!showlist || isDisabled)}" style="width:100%;z-index: 10">\n <div class="select2-search">\n <label ng-if="!noFilter" class="select2-offscreen" aria-label="Inline Search Field" aria-hidden="true">Inline Search Field</label>\n <input ng-if="!noFilter" ng-model="title" aria-label="title" typeahead="c.title for c in cName | filter:$viewValue:startsWith" type="text" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" class="select2-input" aria-autocomplete="list" placeholder="">\n </div>\n <ul id="inList" class="select2-results" role="listbox">\n <li ng-if="!noFilter" ng-show="filteredName.length === 0" class="select2-no-results" tabindex="-1">No matches found</li>\n <li ng-if="!noFilter" class="select2-results-dept-0 select2-result select2-result-selectable" role="presentation" ng-model="ListType" ng-show="selectMsg && filteredName.length > 0" ng-click="selectOption(selectMsg, \'-1\')" ng-class="{\'select2-result-current\': selectedOption === selectMsg, \'hovstyle\': selectedIndex === -1}" ng-mouseover="hoverIn(-1)" aria-label="{{selectMsg}}" tabindex="-1">\n <div ng-if="startsWithFilter" class="select2-result-label" ng-bind-html="selectMsg | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n <div ng-if="!startsWithFilter" class="select2-result-label" ng-bind-html="selectMsg | highlight:title:className | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n\n <li role="menuitem" ng-if="startsWithFilter" class="select2-results-dept-0 select2-result select2-result-selectable" ng-model="ListType" ng-repeat="(fIndex, item) in filteredName = (cName | startsWith:title:item)" ng-class="{\'select2-result-current\': selectedOption === item.title,\'hovstyle\': selectedIndex === item.index,\'disable\': item.disabled}" ng-click="item.disabled || selectOption(item.title,item.index)" ng-mouseover="hoverIn(item.index)" tabindex="-1">\n <div class="select2-result-label" ng-bind-html="item.title | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n\n <li role="menuitem" ng-if="!startsWithFilter" class="select2-results-dept-0 select2-result select2-result-selectable" ng-model="ListType" ng-repeat="(fIndex, item) in filteredName = (cName | filter:title)" ng-class="{\'select2-result-current\': selectedOption === item.title,\'hovstyle\': selectedIndex === item.index,\'disable\': item.disabled}" ng-click="item.disabled || selectOption(item.title,item.index)" ng-mouseover="hoverIn(item.index)" tabindex="-1">\n <div class="select2-result-label" ng-bind-html="item.title | highlight:title:className | unsafe" role="option">\n <span class="select2-match"></span>\n </div>\n </li>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/select/textDropdown.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/select/textDropdown.html",'<div tabindex="0" class="text-dropdown">\n <div class="dropdown" ng-class="{\'not-visible\': isActionsShown}" ng-click="toggle()">\n <span class="action--selected" ng-bind="currentAction"></span>\n <i ng-class="isActionsShown ? \'icon-dropdown-up\' : \'icon-dropdown-down\'"></i>\n </div>\n <ul ng-class="isActionsShown ? \'actionsOpened\' : \'actionsClosed\'" ng-show="isActionsShown">\n <li ng-class="{\'highlight\': selectedIndex==$index}" ng-repeat="action in actions track by $index" ng-click="chooseAction($event, action, $index)" ng-mouseover="hoverIn($index)">{{action}}<i ng-class="{\'icon-included-checkmark\': isCurrentAction(action)}" att-accessibility-click="13,32"></i></li>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/slider/maxContent.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/slider/maxContent.html",'<div class="att-slider__label att-slider__label--max att-slider__label--below" ng-transclude></div>')}]),angular.module("app/scripts/ng_js_att_tpls/slider/minContent.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/slider/minContent.html",'<div class="att-slider__label att-slider__label--min att-slider__label--below" ng-transclude></div>')}]),angular.module("app/scripts/ng_js_att_tpls/slider/slider.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/slider/slider.html",'<div class="att-slider" ng-mousemove="moveElem($event)" ng-mouseup="mouseUp($event)">\n <div class="att-slider__track">\n <div class="att-slider__range att-slider__range--disabled" ng-style="disabledStyle"></div>\n <div class="att-slider__range" ng-style="rangeStyle"></div>\n </div>\n <div class="att-slider__handles-container">\n <div role="menuitem" aria-label="{{ngModelSingle}}" class="att-slider__handle" ng-style="handleStyle" ng-mousedown="mouseDown($event,\'ngModelSingle\')" ng-mousemove="moveElem($event)" ng-mouseup="mouseUp($event)" tabindex="0" ng-keydown="keyDown($event,\'ngModelSingle\')"></div>\n <div role="menuitem" aria-label="Minimum Value- {{ngModelLow}}" class="att-slider__handle" ng-style="minHandleStyle" ng-mousedown="mouseDown($event,\'ngModelLow\')" ng-focus="focus($event,\'ngModelLow\')" ng-mousemove="moveElem($event)" ng-mouseup="mouseUp($event)" tabindex="0" ng-keyup="keyUp($event,\'ngModelLow\')" ng-keydown="keyDown($event,\'ngModelLow\')"></div>\n <div role="menuitem" aria-label="Maximum Value- {{ngModelHigh}}" class="att-slider__handle" ng-style="maxHandleStyle" ng-mousedown="mouseDown($event,\'ngModelHigh\')" ng-focus="focus($event,\'ngModelHigh\')" ng-mousemove="moveElem($event)" ng-mouseup="mouseUp($event)" tabindex="0" ng-keyup="keyUp($event,\'ngModelHigh\')" ng-keydown="keyDown($event,\'ngModelHigh\')"></div>\n </div>\n <div ng-transclude></div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdown.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdown.html",'<div class=" btn-group" \n ng-class="{\'buttons-dropdown--large\':!isSmall, \n \'buttons-dropdown--small\':isSmall, \n \'action-dropdown\':(isActionDropdown), \n \'open\':isDropDownOpen}">\n <a tabindex="0" href="javascript:void(0)" class="button btn buttons-dropdown__split" \n ng-class="{\'button--primary\':(btnType==undefined || btnType==\'primary\'), \n \'button--secondary\':btnType==\'secondary\', \n \'button--disabled\':btnType==\'disabled\', \n \'button--small\':isSmall}" \n ng-if="!isActionDropdown"\n ng-click="btnType===\'disabled\'?undefined:clickFxn()" att-accessibility-click="13,32">{{btnText}}</a>\n <a tabindex="0" href="javascript:void(0)" role="button" aria-label="Toggle Dropdown" aria-haspopup="true" class="button buttons-dropdown__drop dropdown-toggle" \n ng-class="{\'button--primary\':(btnType==undefined || btnType==\'primary\'), \n \'button--secondary\':btnType==\'secondary\', \n \'button--disabled\':btnType==\'disabled\', \n \'button--small\':isSmall}" ng-click="toggleDropdown()" att-accessibility-click="13,32">{{toggleTitle}} </a>\n <ul class="dropdown-menu" ng-class="{\'align-right\':multiselect ===true}" aria-expanded="{{isDropDownOpen}}" ng-click="hideDropdown()" role="menu" ng-transclude></ul>\n</div> ')}]),angular.module("app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdownItem.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/splitButtonDropdown/splitButtonDropdownItem.html",'<li role="menuitem" att-element-focus="sFlag" tabindex="0" ng-transclude></li>')}]),angular.module("app/scripts/ng_js_att_tpls/splitIconButton/splitIcon.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/splitIconButton/splitIcon.html","<div class='split-icon-button-container'>\n\n <div class='split-icon-button' ng-class=\"{'icon-with-chevron': isRight && !isMiddle && !isLeftNextDropdown && !isNextToDropDown, 'split-icon-button-middle':isMiddle, 'split-icon-button-right':isRight, 'split-icon-button-left':isLeft, 'split-icon-button-left-dropdown': isLeftNextDropdown ,'split-icon-button-next-dropdown': isNextToDropDown,'split-icon-button-dropdown': isDropDownOpen,'split-icon-button-hover':isIconHovered || isDropDownOpen}\" ng-mouseover='isIconHovered = true;' ng-mouseleave='isIconHovered = false;' tabindex=\"-1\" att-accessibility-click=\"13,32\" ng-click='dropDownClicked();'>\n <a class='{{icon}}' title='{{iconTitle}}' tabindex=\"0\"></a>\n <i ng-if=\"isRight && !isMiddle && !isLeftNextDropdown && !isNextToDropDown\" \n ng-class=\"isDropDownOpen ? 'icon-dropdown-up' : 'icon-dropdown-down'\"> </i>\n </div> \n\n <ul ng-if='isDropdown' class='dropdown-menu {{dropDownId}}' ng-show='\n isDropDownOpen' ng-click='toggleDropdown(false)' role=\"presentation\" ng-transclude>\n </ul>\n\n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/splitIconButton/splitIconButton.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/splitIconButton/splitIconButton.html","<div>\n <div ng-if='isLeftLineShown' dir-type='{{iconStateConstants.DIR_TYPE.LEFT}}' expandable-line></div>\n <div ng-click='clickHandler()' att-split-icon icon='{{icon}}' title='{{title}}' dir-type='{{iconStateConstants.DIR_TYPE.BUTTON}}' hover-watch='isHovered' drop-down-watch='dropDownWatch' drop-down-id='{{dropDownId}}'>\n <div ng-transclude>\n </div>\n </div>\n <div ng-if='isRightLineShown' dir-type='{{iconStateConstants.DIR_TYPE.RIGHT}}' expandable-line></div>\n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/splitIconButton/splitIconButtonGroup.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/splitIconButton/splitIconButtonGroup.html","<div ng-transclude>\n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/stepSlider/attStepSlider.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/stepSlider/attStepSlider.html",'<span ng-class="mainSliderClass">\n <table>\n <tr>\n <td>\n <div class="jslider-bg">\n <i class="l"></i>\n <i class="r"></i>\n <i class="v" ng-class="{\'step-slider-green\':sliderColor == COLORS.GREEN, \'step-slider-blue\': sliderColor == COLORS.BLUE_HIGHLIGHT, \'step-slider-magenta\': sliderColor == COLORS.MAGENTA, \'step-slider-gold\': sliderColor == COLORS.GOLD, \'step-slider-purple\': sliderColor == COLORS.PURPLE, \'step-slider-dark-blue\': sliderColor == COLORS.DARK_BLUE, \'step-slider-regular\': sliderColor == COLORS.REGULAR, \'step-slider-white\': sliderColor == COLORS.WHITE, \'cutoff-slider\': isCutOffSlider}"></i>\n </div>\n <div class="jslider-pointer" id="left-pointer"></div>\n <div class="jslider-pointer jslider-pointer-to" ng-class="{\'step-slider-green\':sliderColor == COLORS.GREEN, \'step-slider-blue\': sliderColor == COLORS.BLUE_HIGHLIGHT, \'step-slider-magenta\': sliderColor == COLORS.MAGENTA, \'step-slider-gold\': sliderColor == COLORS.GOLD, \'step-slider-purple\': sliderColor == COLORS.PURPLE, \'step-slider-dark-blue\': sliderColor == COLORS.DARK_BLUE, \'step-slider-regular\': sliderColor == COLORS.REGULAR, \'step-slider-white\':sliderColor == COLORS.WHITE ,\'cutoff-slider\': isCutOffSlider}"></div>\n <div class="jslider-label"><span ng-bind="from"></span><span ng-bind="options.dimension"></span></div>\n <div class="jslider-label jslider-label-to"><span ng-bind="toStr"></span><span ng-bind="endDimension"></span></div>\n <div class="jslider-value" id="jslider-value-left"><span></span>{{options.dimension}}</div>\n <div class="jslider-value jslider-value-to"><span></span>{{toolTipDimension}}</div>\n <div class="jslider-scale" ng-class="{\'show-dividers\': showDividers, \'cutoff-slider-dividers\':isCutOffSlider}">\n </div>\n <div class="jslider-cutoff">\n <div class="jslider-label jslider-label-cutoff">\n <span ng-bind="cutOffVal"></span>\n </div>\n </div>\n </td>\n </tr>\n </table>\n</span>\n')}]),angular.module("app/scripts/ng_js_att_tpls/steptracker/step-tracker.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/steptracker/step-tracker.html",'<div class="steptracker1">\n <div class="steptracker-bg">\n <div tabindex="0" ng-click="stepclick($event, $index);" att-accessibility-click="13,23" class="steptracker-track size-onethird" ng-repeat="step in sdata"\n ng-style="set_width($index)"\n ng-class="{\'last\':laststep($index),\'done\':donesteps($index),\'active\':activestep($index), \'incomplete\': isIncomplete($index), \'disabled\': disableClick}">\n <div class="circle">{{($index) + 1}}<span>{{step.title}}</span></div>\n <div ng-if="!laststep($index)" class="track"></div>\n </div>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/steptracker/step.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/steptracker/step.html",'<div class="steptracker1">\n <div class="steptracker-bg">\n <div class="steptracker-track size-onethird" \n ng-class="{\'last\':laststep($index),\'done\':donesteps($index),\'active\':activestep($index)}">\n <div class="circle" tabindex="0" \n ng-click="stepclick($event, $index);" \n att-accessibility-click="13,23">{{($index) + 1}}<span>{{step.title}}</span></div>\n <div ng-if="!laststep($index)" class="track"></div>\n </div>\n </div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/steptracker/timeline.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/steptracker/timeline.html","<div class='att-timeline'>\n <div timeline-dot order='0' title='{{steps[0].title}}' description='{{steps[0].description}}' by='{{steps[0].by}}' date='{{steps[0].date}}' type='{{steps[0].type}}'></div>\n\n <div ng-repeat=\"m in middleSteps track by $index\">\n <div timeline-bar order='{{$index}}'></div>\n <div timeline-dot order='{{$index + 1}}' title='{{m.title}}' description='{{m.description}}' by='{{m.by}}' date='{{m.date}}' type='{{m.type}}'>\n </div>\n </div>\n\n</div>");
+}]),angular.module("app/scripts/ng_js_att_tpls/steptracker/timelineBar.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/steptracker/timelineBar.html","<div class='timeline-bar'>\n <div class='progress-bar' ng-class=\"{'completed-color':isCompleted,'cancelled-color':isCancelled,'alert-color':isAlert}\">\n </div>\n <hr></hr>\n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/steptracker/timelineDot.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/steptracker/timelineDot.html","<div class='timeline-dot'>\n\n <div class='bigger-circle' ng-class=\"{'completed-color':isCompleted,'cancelled-color':isCancelled,'alert-color':isAlert}\">\n </div>\n\n <div class='inactive-circle'>\n </div>\n\n <div class='expandable-circle' ng-class=\"{'completed-color':isCompleted,'cancelled-color':isCancelled,'alert-color':isAlert}\">\n </div>\n\n <div ng-class=\"{'below-info-box':isBelowInfoBoxShown, 'above-info-box': !isBelowInfoBoxShown}\" tabindex=\"0\">\n \n <div ng-if='isBelowInfoBoxShown' class='vertical-line'>\n </div>\n\n <div class='info-container' ng-init='isContentShown=false'>\n <div ng-class=\"{'current-step-title':isCurrentStep, 'title':!isCurrentStep,'completed-color-text':isCompleted,'cancelled-color-text':isCancelled,'alert-color-text':isAlert, 'inactive-color-text':isInactive}\" ng-mouseover='titleMouseover(1)' ng-mouseleave='titleMouseleave()' ng-bind='title' ></div>\n <div class='content'>\n <div class='description' ng-bind='description'></div>\n <div class='submitter' ng-bind='by'></div>\n </div>\n <div class='date' ng-mouseover='titleMouseover(2)' ng-mouseleave='titleMouseleave()' ng-bind='date'></div>\n </div>\n\n <div ng-if='!isBelowInfoBoxShown' class='vertical-line'>\n </div>\n </div>\n\n</div>")}]),angular.module("app/scripts/ng_js_att_tpls/table/attTable.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/table/attTable.html",'<table class="tablesorter tablesorter-default" ng-transclude></table>\n')}]),angular.module("app/scripts/ng_js_att_tpls/table/attTableBody.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/table/attTableBody.html","<td ng-transclude></td>\n")}]),angular.module("app/scripts/ng_js_att_tpls/table/attTableHeader.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/table/attTableHeader.html","<th role=\"columnheader\" scope=\"col\" aria-live=\"polite\" aria-sort=\"{{sortPattern !== 'null' && '' || sortPattern}}\" aria-label=\"{{headerName}} {{sortable !== 'false' && ': activate to sort' || ' '}} {{sortPattern !== 'null' && '' || sortPattern}}\" tabindex=\"{{sortable !== 'false' && '0' || '-1'}}\" class=\"tablesorter-header\" ng-class=\"{'tablesorter-headerAsc': sortPattern === 'ascending', 'tablesorter-headerDesc': sortPattern === 'descending', 'tablesort-sortable': sortable !== 'false', 'sorter-false': sortable === 'false'}\" att-accessibility-click=\"13,32\" ng-click=\"(sortable !== 'false') && sort();\"><div class=\"tablesorter-header-inner\" ng-transclude></div></th>")}]),angular.module("app/scripts/ng_js_att_tpls/tableMessages/attTableMessage.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tableMessages/attTableMessage.html",'<div class="att-table-message">\n <div class="message" ng-if="msgType==messageConstants.TABLE_MESSAGE_TYPES.noMatching">\n <div class="img-magnify-glass"></div> \n <div>\n <div ng-transclude></div>\n </div>\n </div>\n <div class="message" ng-if="msgType==messageConstants.TABLE_MESSAGE_TYPES.errorLoading">\n <div class="img-oops-exclamation" tabindex="0" aria-label="Oops! The information could not load at this time. Please click link to refresh the page."></div> \n <div>Oops!</div>\n <div>The information could not load at this time.</div>\n <div>Please <a href="javascript:void(0)" ng-click="refreshAction($event)">refresh the page</a>\n </div>\n </div>\n <div class="message" ng-if="msgType==messageConstants.TABLE_MESSAGE_TYPES.magnifySearch">\n <div class="img-magnify-glass"></div>\n <div>\n <p class="title" tabindex="0">Please input values to <br/> begin your search.</p>\n </div>\n </div>\n <div class="message loading-message" ng-if="msgType==messageConstants.TABLE_MESSAGE_TYPES.isLoading">\n <div class="img-loading-dots"></div>\n <div ng-transclude></div>\n </div>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/tableMessages/attUserMessage.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tableMessages/attUserMessage.html",'<div class="att-user-message">\n <div ng-class="type==messageConstants.USER_MESSAGE_TYPES.error && trigger ? \'message-wrapper-error\' : \'hidden\'">\n <div class="message-icon-error"> <i class="icon-info-alert"></i> </div>\n\n <div class="message-body-wrapper">\n <div class="message-title-error" ng-if="thetitle && thetitle.length > 0"> <span ng-bind="thetitle" tabindex="0" aria-label="{{thetitle}}"></span> </div>\n <div class="message-msg" ng-bind="message" ng-if="message && message.length > 0" tabindex="0"></div>\n <div class="message-bottom">\n <div ng-transclude></div>\n </div>\n </div>\n\n </div>\n <div ng-class="type==messageConstants.USER_MESSAGE_TYPES.success && trigger ? \'message-wrapper-success\' : \'hidden\'">\n <div class="message-icon-success"> <i class="icon-included-checkmark"></i></div>\n\n <div class="message-body-wrapper">\n <div class="message-title-success" ng-if="thetitle && thetitle.length > 0" >\n <span ng-bind="thetitle" tabindex="0" aria-label="{{thetitle}}"></span>\n </div>\n <div class="message-msg" ng-bind="message" ng-if="message && message.length > 0" tabindex="0"></div>\n <div class="message-bottom">\n <div ng-transclude></div>\n </div>\n </div>\n\n </div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/tabs/floatingTabs.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/floatingTabs.html","<ul ng-class=\"{'tabsbid': size === 'large', 'tabsbid--small': size === 'small'}\">\n <li ng-repeat=\"tab in tabs\" ng-class=\"{'tabsbid__item tabsbid__item--active': isActiveTab(tab.url), 'tabsbid__item': !isActiveTab(tab.url)}\" ng-click=\"onClickTab(tab)\">\n"+' <a class="tabsbid__item-link" href="{{tab.url}}" tabindex="0" att-accessibility-click="32,13">{{tab.title}}</a>\n </li>\n</ul>')}]),angular.module("app/scripts/ng_js_att_tpls/tabs/genericTabs.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/genericTabs.html","<ul ng-class=\"{'tabsbid': size === 'large', 'tabsbid--small': size === 'small'}\">\n <li ng-repeat=\"tab in tabs\" ng-class=\"{'tabsbid__item tabsbid__item--active': isActive(tab.id), 'tabsbid__item': !isActive(tab.id),'tabs__item--active': isActive(tab.id)}\" ng-click=\"clickTab(tab)\">\n"+' <a class="tabsbid__item-link" href="{{tab.url}}" tabindex="0" att-accessibility-click="32,13">{{tab.title}}</a>\n </li>\n</ul>\n')}]),angular.module("app/scripts/ng_js_att_tpls/tabs/menuTab.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/menuTab.html",'<li class="megamenu__item" ng-mouseover="showHoverChild($event)" ng-class="{\'tabs__item--active\': menuItem.active==true && !hoverChild==true}">\n <span role="menuitem" att-accessibility-click="13,32" tabindex="0" ng-click="showChildren($event);!clickInactive||resetMenu($event)">{{tabName}}</span>\n <div ng-transclude></div>\n</li>\n')}]),angular.module("app/scripts/ng_js_att_tpls/tabs/parentmenuTab.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/parentmenuTab.html",'<div ng-class="{\'megamenu-tabs\': megaMenu,\'submenu-tabs\': !megaMenu}">\n <ul class="megamenu__items" role="presentation" ng-transclude>\n </ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/tabs/simplifiedTabs.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/simplifiedTabs.html",'<div class="simplified-tabs">\n<ul class="simplified-tabs__items" role="tablist">\n <li ng-repeat="tab in tabs" role="tab" class="simplified-tabs__item" ng-class="{\'tabs__item--active\': isActive(tab.id)}" ng-click="clickTab(tab)" tabindex="0" att-accessibility-click="32,13">{{tab.title}}</li>\n <li class="tabs__pointer"></li>\n</ul>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/tabs/submenuTab.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tabs/submenuTab.html",'<li class="tabsbid__item megamenu__item" ng-class="{\'subMenuHover\': menuItem.active==true}">\n<a ng-href="{{tabUrl}}" role="menuitem" ng-if="subMenu === true" ng-mouseover="!subMenu || showChildren($event)" ng-focus="!subMenu ||showChildren($event)" tabindex="{{subMenu==\'true\'?0:-1}}" ng-click="!subMenu ||showMenuClick($event) ; subMenu ||showSubMenuClick($event)" att-accessibility-click="13,32">{{tabName}}</a>\n<a ng-href="{{tabUrl}}" role="menuitem" ng-if="!menuItem.leafNode && subMenu !== true" ng-mouseover="!subMenu || showChildren($event)" ng-focus="!subMenu ||showChildren($event)" tabindex="{{subMenu==\'true\'?0:-1}}" ng-click="!subMenu ||showMenuClick($event) ; subMenu ||showSubMenuClick($event)" att-accessibility-click="13,32">{{tabName}}</a>\n<span ng-transclude></span>\n</li>\n')}]),angular.module("app/scripts/ng_js_att_tpls/tagBadges/tagBadges.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/tagBadges/tagBadges.html","<div class=\"tags__item\" \n ng-class=\"{'tags__item--small':isSmall, \n 'tags__item--color':isColor, \n 'tags__item--cloud':!isClosable && !isColor,'active':applyActiveClass}\"\n ng-if=\"display\" \n ng-style=\"{borderColor: border_type_borderColor, background: isHighlight?'#bbb':undefined, color: isHighlight?'#444':undefined }\"\n"+' ng-mousedown="activeHighlight(true)" role="presentation" ng-mouseup="activeHighlight(false)">\n <i class="icon-filter tags__item--icon" ng-if="isIcon">&nbsp;</i>\n <i class="tags__item--color-icon" ng-if="isColor" ng-style="{backgroundColor: background_type_backgroundColor, borderColor: background_type_borderColor}"></i>\n <span class="tags__item--title" role="presentation" tabindex=0 ng-mousedown="activeHighlight(true)" ng-mouseup="activeHighlight(false)" ng-transclude></span>\n <a href="javascript:void(0)" title="Dismiss Link" class="tags__item--action" ng-click="closeMe();$event.preventDefault()" ng-if="isClosable"\n ng-style="{color: (isHighlight && \'#444\') || \'#888\' , borderLeft: (isHighlight && \'1px solid #444\')|| \'1px solid #888\' }">\n <i class="icon-erase">&nbsp;</i>\n </a>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/toggle/demoToggle.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/toggle/demoToggle.html",'<span ng-transclude></span>\n<div class="att-switch-content" hm-drag = "drag($event)" att-accessibility-click="13,32" ng-click="updateModel($event)" hm-dragstart="alert(\'hello\')" hm-dragend="drag($event)" ng-class="{\'large\' : directiveValue == \'large\'}" style="-webkit-user-select: none; -webkit-user-drag: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0);">\n <div class="att-switch-onText" ng-style="" ng-class="{\'icon-included-checkmark ico\' : on === undefined,\'large\' : directiveValue == \'large\'}">{{on}}<span class="hidden-spoken">{{directiveValue}} when checked.</span></div>\n <div class="att-switch-thumb" tabindex="0" title="Toggle switch" role="checkbox" ng-class="{\'large\' : directiveValue == \'large\'}"></div>\n <div class="att-switch-offText" ng-class="{\'icon-erase ico\' : on === undefined,\'large\' : directiveValue == \'large\'}">{{off}}<span class="hidden-spoken">{{directiveValue}} when unchecked.</span></div>\n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/typeAhead/typeAhead.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/typeAhead/typeAhead.html",'<div class="typeahead mainContainerOuter">\n <span class="message">To</span>\n <div class=\'maincontainer\' ng-click="setFocus()" ng-focus="inputActive=true" ng-class ="{\'typeahed_active\':inputActive || (lineItems.length && inputActive)}">\n <span tag-badges closable ng-repeat ="lineItem in lineItems track by $index" on-close="theMethodToBeCalled($index)" >{{lineItem}}</span>\n <input type="text" focus-me="clickFocus" ng-focus="inputActive=true" ng-model="model" ng-keydown="selected = false; selectionIndex($event)"/><br/> \n </div>\n <div ng-hide="!model.length || selected">\n <div class="filtercontainer list-scrollable" ng-show="( items | filter:model).length">\n <div class="item" ng-repeat="item in items| filter:model track by $index" ng-click="handleSelection(item[titleName],item[subtitle])" att-accessibility-click="13,32" ng-class="{active:isCurrent($index,item[titleName],item[subtitle],( items | filter:model).length)}"ng-mouseenter="setCurrent($index)">\n <span class="title" >{{item[titleName]}}</span>\n <span class="subtitle">{{item[subtitle]}}</span>\n </div> \n </div>\n </div>\n \n <div class="textAreaEmailContentDiv">\n <span class="message">Message</span>\n <textarea rows="4" cols="50" role="textarea" class="textAreaEmailContent" ng-model="emailMessage">To send \n a text, picture, or video message1 to an AT&T wireless device from your email:my message.</textarea>\n \n </div>\n \n</div>\n')}]),angular.module("app/scripts/ng_js_att_tpls/verticalSteptracker/vertical-step-tracker.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/verticalSteptracker/vertical-step-tracker.html","<li>\n <i ng-class=\"{'icon-tickets-active' : type == 'actual' && id =='Active','icon-tickets-referred' : type == 'actual' && id =='Requested Closed','icon-ticket-regular' : type == 'progress' && id =='In Progress','icon-tickets-contested' : type == 'actual' && id =='Contested','icon-tickets-returned' : type == 'actual' && id =='Deferred','icon-tickets-closed' : type == 'actual' && id =='Ready to Close','icon-tickets-cleared' : type == 'actual' && id =='Cleared'}\"></i>\n <span ng-transclude></span>\n</li>\n \n")}]),angular.module("app/scripts/ng_js_att_tpls/videoControls/photoControls.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/videoControls/photoControls.html",'<div>\n <a title="{{links.prevLink}}" aria-label="Previous Link" ng-href="{{links.prevLink}}"><i alt="previous" class="icon-arrow-left">&nbsp;</i></a>\n <span ng-transclude></span>\n <a title="{{links.nextLink}}" aria-label="Next Link" ng-href="{{links.nextLink}}"><i alt="next" class="icon-arrow-right">&nbsp;</i></a>\n</div>')}]),angular.module("app/scripts/ng_js_att_tpls/videoControls/videoControls.html",[]).run(["$templateCache",function(e){e.put("app/scripts/ng_js_att_tpls/videoControls/videoControls.html",'<div class="video-player">\n <div class="video-player__control video-player__play-button">\n <a class="video-player__button gigant-play" data-toggle-buttons="icon-play, icon-pause" data-target="i"><i class="icon-play" alt="Play/Pause Button"></i></a>\n </div>\n <div class="video-player__control video-player__track">\n\n <div class="video-player__track--inner">\n <div class="video-player__track--loaded" style="width: 75%"></div>\n <div class="video-player__track--played" style="width: 40%">\n <div class="att-tooltip att-tooltip--on att-tooltip--dark att-tooltip--above video-player__track-tooltip" ng-transclude></div>\n <div class="video-player__track-handle"></div>\n </div>\n </div>\n </div>\n <a class="video-player__time" ng-transclude></a>\n <div class="video-player__control video-player__volume_icon">\n <a class="video-player__button" data-toggle-buttons="icon-volume-mute, icon-volume-up" data-target="i"><i class="icon-volume-up" alt="Volume Button"></i></a>\n </div>\n <ul class="video-player__control video-player__volume">\n <li class="video-player__volume-bar video-player__volume-bar--full">&nbsp;</li>\n <li class="video-player__volume-bar video-player__volume-bar--full">&nbsp;</li>\n <li class="video-player__volume-bar">&nbsp;</li>\n <li class="video-player__volume-bar">&nbsp;</li>\n <li class="video-player__volume-bar">&nbsp;</li>\n </ul>\n <div class="video-player__control video-player__toggle-fullscreen-button">\n <a class="video-player__button" data-toggle-buttons="icon-full-screen, icon-normal-screen" data-target="i"><i class="icon-full-screen" alt="Full Screen Button">&nbsp;</i></a>\n </div>\n</div>')}]),{}}(angular,window); \ No newline at end of file