text: !function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=e.length,n=Z.type(e);return"function"===n||Z.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e}function r(e,t,n){if(Z.isFunction(t))return Z.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return Z.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(se.test(t))return Z.filter(t,e,n);t=Z.filter(t,e)}return Z.grep(e,function(e){return z.call(t,e)>=0!==n})}function i(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function o(e){var t=he[e]={};return Z.each(e.match(de)||[],function(e,n){t[n]=!0}),t}function a(){K.removeEventListener("DOMContentLoaded",a,!1),e.removeEventListener("load",a,!1),Z.ready()}function s(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=Z.expando+Math.random()}function u(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(be,"-$1").toLowerCase(),n=e.getAttribute(r),"string"==typeof n){try{n="true"===n?!0:"false"===n?!1:"null"===n?null:+n+""===n?+n:ye.test(n)?Z.parseJSON(n):n}catch(i){}$e.set(e,t,n)}else n=void 0;return n}function c(){return!0}function l(){return!1}function f(){try{return K.activeElement}catch(e){}}function p(e,t){return Z.nodeName(e,"table")&&Z.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function d(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function h(e){var t=Pe.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function m(e,t){for(var n=0,r=e.length;r>n;n++)ge.set(e[n],"globalEval",!t||ge.get(t[n],"globalEval"))}function v(e,t){var n,r,i,o,a,s,u,c;if(1===t.nodeType){if(ge.hasData(e)&&(o=ge.access(e),a=ge.set(t,o),c=o.events)){delete a.handle,a.events={};for(i in c)for(n=0,r=c[i].length;r>n;n++)Z.event.add(t,i,c[i][n])}$e.hasData(e)&&(s=$e.access(e),u=Z.extend({},s),$e.set(t,u))}}function g(e,t){var n=e.getElementsByTagName?e.getElementsByTagName(t||"*"):e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&Z.nodeName(e,t)?Z.merge([e],n):n}function $(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ee.test(e.type)?t.checked=e.checked:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}function y(t,n){var r,i=Z(n.createElement(t)).appendTo(n.body),o=e.getDefaultComputedStyle&&(r=e.getDefaultComputedStyle(i[0]))?r.display:Z.css(i[0],"display");return i.detach(),o}function b(e){var t=K,n=Ie[e];return n||(n=y(e,t),"none"!==n&&n||(Ve=(Ve||Z("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=Ve[0].contentDocument,t.write(),t.close(),n=y(e,t),Ve.detach()),Ie[e]=n),n}function x(e,t,n){var r,i,o,a,s=e.style;return n=n||Be(e),n&&(a=n.getPropertyValue(t)||n[t]),n&&(""!==a||Z.contains(e.ownerDocument,e)||(a=Z.style(e,t)),He.test(a)&&_e.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function w(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function S(e,t){if(t in e)return t;for(var n=t[0].toUpperCase()+t.slice(1),r=t,i=Je.length;i--;)if(t=Je[i]+n,t in e)return t;return r}function E(e,t,n){var r=We.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function C(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;4>o;o+=2)"margin"===n&&(a+=Z.css(e,n+we[o],!0,i)),r?("content"===n&&(a-=Z.css(e,"padding"+we[o],!0,i)),"margin"!==n&&(a-=Z.css(e,"border"+we[o]+"Width",!0,i))):(a+=Z.css(e,"padding"+we[o],!0,i),"padding"!==n&&(a+=Z.css(e,"border"+we[o]+"Width",!0,i)));return a}function k(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Be(e),a="border-box"===Z.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=x(e,t,o),(0>i||null==i)&&(i=e.style[t]),He.test(i))return i;r=a&&(Y.boxSizingReliable()||i===e.style[t]),i=parseFloat(i)||0}return i+C(e,t,n||(a?"border":"content"),r,o)+"px"}function T(e,t){for(var n,r,i,o=[],a=0,s=e.length;s>a;a++)r=e[a],r.style&&(o[a]=ge.get(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Se(r)&&(o[a]=ge.access(r,"olddisplay",b(r.nodeName)))):(i=Se(r),"none"===n&&i||ge.set(r,"olddisplay",i?n:Z.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function A(e,t,n,r,i){return new A.prototype.init(e,t,n,r,i)}function N(){return setTimeout(function(){Ye=void 0}),Ye=Z.now()}function O(e,t){var n,r=0,i={height:e};for(t=t?1:0;4>r;r+=2-t)n=we[r],i["margin"+n]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function j(e,t,n){for(var r,i=(nt[t]||[]).concat(nt["*"]),o=0,a=i.length;a>o;o++)if(r=i[o].call(n,t,e))return r}function D(e,t,n){var r,i,o,a,s,u,c,l,f=this,p={},d=e.style,h=e.nodeType&&Se(e),m=ge.get(e,"fxshow");n.queue||(s=Z._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,Z.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],c=Z.css(e,"display"),l="none"===c?ge.get(e,"olddisplay")||b(e.nodeName):c,"inline"===l&&"none"===Z.css(e,"float")&&(d.display="inline-block")),n.overflow&&(d.overflow="hidden",f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],Qe.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;h=!0}p[r]=m&&m[r]||Z.style(e,r)}else c=void 0;if(Z.isEmptyObject(p))"inline"===("none"===c?b(e.nodeName):c)&&(d.display=c);else{m?"hidden"in m&&(h=m.hidden):m=ge.access(e,"fxshow",{}),o&&(m.hidden=!h),h?Z(e).show():f.done(function(){Z(e).hide()}),f.done(function(){var t;ge.remove(e,"fxshow");for(t in p)Z.style(e,t,p[t])});for(r in p)a=j(h?m[r]:0,r,f),r in m||(m[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function M(e,t){var n,r,i,o,a;for(n in e)if(r=Z.camelCase(n),i=t[r],o=e[n],Z.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=Z.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function F(e,t,n){var r,i,o=0,a=tt.length,s=Z.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=Ye||N(),n=Math.max(0,c.startTime+c.duration-t),r=n/c.duration||0,o=1-r,a=0,u=c.tweens.length;u>a;a++)c.tweens[a].run(o);return s.notifyWith(e,[c,o,n]),1>o&&u?n:(s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:Z.extend({},t),opts:Z.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Ye||N(),duration:n.duration,tweens:[],createTween:function(t,n){var r=Z.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(r),r},stop:function(t){var n=0,r=t?c.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)c.tweens[n].run(1);return t?s.resolveWith(e,[c,t]):s.rejectWith(e,[c,t]),this}}),l=c.props;for(M(l,c.opts.specialEasing);a>o;o++)if(r=tt[o].call(c,e,l,c.opts))return r;return Z.map(l,j,c),Z.isFunction(c.opts.start)&&c.opts.start.call(e,c),Z.fx.timer(Z.extend(u,{elem:e,anim:c,queue:c.opts.queue})),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always)}function R(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(de)||[];if(Z.isFunction(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function P(e,t,n,r){function i(s){var u;return o[s]=!0,Z.each(e[s]||[],function(e,s){var c=s(t,n,r);return"string"!=typeof c||a||o[c]?a?!(u=c):void 0:(t.dataTypes.unshift(c),i(c),!1)}),u}var o={},a=e===xt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function q(e,t){var n,r,i=Z.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&Z.extend(!0,e,r),e}function L(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}function V(e,t,n,r){var i,o,a,s,u,c={},l=e.dataTypes.slice();if(l[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(o=l.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=l.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=c[u+" "+o]||c["* "+o],!a)for(i in c)if(s=i.split(" "),s[1]===o&&(a=c[u+" "+s[0]]||c["* "+s[0]])){a===!0?a=c[i]:c[i]!==!0&&(o=s[0],l.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function I(e,t,n,r){var i;if(Z.isArray(t))Z.each(t,function(t,i){n||Ct.test(e)?r(e,i):I(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==Z.type(t))r(e,t);else for(i in t)I(e+"["+i+"]",t[i],n,r)}function _(e){return Z.isWindow(e)?e:9===e.nodeType&&e.defaultView}var H=[],B=H.slice,U=H.concat,W=H.push,z=H.indexOf,G={},X=G.toString,J=G.hasOwnProperty,Y={},K=e.document,Q="2.1.1",Z=function(e,t){return new Z.fn.init(e,t)},ee=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,te=/^-ms-/,ne=/-([\da-z])/gi,re=function(e,t){return t.toUpperCase()};Z.fn=Z.prototype={jquery:Q,constructor:Z,selector:"",length:0,toArray:function(){return B.call(this)},get:function(e){return null!=e?0>e?this[e+this.length]:this[e]:B.call(this)},pushStack:function(e){var t=Z.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return Z.each(this,e,t)},map:function(e){return this.pushStack(Z.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(B.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:W,sort:H.sort,splice:H.splice},Z.extend=Z.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,c=!1;for("boolean"==typeof a&&(c=a,a=arguments[s]||{},s++),"object"==typeof a||Z.isFunction(a)||(a={}),s===u&&(a=this,s--);u>s;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],r=e[t],a!==r&&(c&&r&&(Z.isPlainObject(r)||(i=Z.isArray(r)))?(i?(i=!1,o=n&&Z.isArray(n)?n:[]):o=n&&Z.isPlainObject(n)?n:{},a[t]=Z.extend(c,o,r)):void 0!==r&&(a[t]=r));return a},Z.extend({expando:"jQuery"+(Q+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===Z.type(e)},isArray:Array.isArray,isWindow:function(e){return null!=e&&e===e.window},isNumeric:function(e){return!Z.isArray(e)&&e-parseFloat(e)>=0},isPlainObject:function(e){return"object"!==Z.type(e)||e.nodeType||Z.isWindow(e)?!1:e.constructor&&!J.call(e.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?G[X.call(e)]||"object":typeof e},globalEval:function(e){var t,n=eval;e=Z.trim(e),e&&(1===e.indexOf("use strict")?(t=K.createElement("script"),t.text=e,K.head.appendChild(t).parentNode.removeChild(t)):n(e))},camelCase:function(e){return e.replace(te,"ms-").replace(ne,re)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,r){var i,o=0,a=e.length,s=n(e);if(r){if(s)for(;a>o&&(i=t.apply(e[o],r),i!==!1);o++);else for(o in e)if(i=t.apply(e[o],r),i===!1)break}else if(s)for(;a>o&&(i=t.call(e[o],o,e[o]),i!==!1);o++);else for(o in e)if(i=t.call(e[o],o,e[o]),i===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(ee,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?Z.merge(r,"string"==typeof e?[e]:e):W.call(r,e)),r},inArray:function(e,t,n){return null==t?-1:z.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;n>r;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;a>o;o++)r=!t(e[o],o),r!==s&&i.push(e[o]);return i},map:function(e,t,r){var i,o=0,a=e.length,s=n(e),u=[];if(s)for(;a>o;o++)i=t(e[o],o,r),null!=i&&u.push(i);else for(o in e)i=t(e[o],o,r),null!=i&&u.push(i);return U.apply([],u)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(n=e[t],t=e,e=n),Z.isFunction(e)?(r=B.call(arguments,2),i=function(){return e.apply(t||this,r.concat(B.call(arguments)))},i.guid=e.guid=e.guid||Z.guid++,i):void 0},now:Date.now,support:Y}),Z.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){G["[object "+t+"]"]=t.toLowerCase()});var ie=function(e){function t(e,t,n,r){var i,o,a,s,u,c,f,d,h,m;if((t?t.ownerDocument||t:I)!==D&&j(t),t=t||D,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(F&&!r){if(i=$e.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&L(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return Z.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&x.getElementsByClassName&&t.getElementsByClassName)return Z.apply(n,t.getElementsByClassName(a)),n}if(x.qsa&&(!R||!R.test(e))){if(d=f=V,h=t,m=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(c=C(e),(f=t.getAttribute("id"))?d=f.replace(be,"\\$&"):t.setAttribute("id",d),d="[id='"+d+"'] ",u=c.length;u--;)c[u]=d+p(c[u]);h=ye.test(e)&&l(t.parentNode)||t,m=c.join(",")}if(m)try{return Z.apply(n,h.querySelectorAll(m)),n}catch(v){}finally{f||t.removeAttribute("id")}}}return T(e.replace(ue,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[V]=!0,e}function i(e){var t=D.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=e.length;r--;)w.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||X)-(~e.sourceIndex||X);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function c(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function l(e){return e&&typeof e.getElementsByTagName!==G&&e}function f(){}function p(e){for(var t=0,n=e.length,r="";n>t;t++)r+=e[t].value;return r}function d(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=H++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,u,c=[_,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(u=t[V]||(t[V]={}),(s=u[r])&&s[0]===_&&s[1]===o)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function m(e,n,r){for(var i=0,o=n.length;o>i;i++)t(e,n[i],r);return r}function v(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,c=null!=t;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),c&&t.push(s));return a}function g(e,t,n,i,o,a){return i&&!i[V]&&(i=g(i)),o&&!o[V]&&(o=g(o,a)),r(function(r,a,s,u){var c,l,f,p=[],d=[],h=a.length,g=r||m(t||"*",s.nodeType?[s]:s,[]),$=!e||!r&&t?g:v(g,p,e,s,u),y=n?o||(r?e:h||i)?[]:a:$;if(n&&n($,y,s,u),i)for(c=v(y,d),i(c,[],s,u),l=c.length;l--;)(f=c[l])&&(y[d[l]]=!($[d[l]]=f));if(r){if(o||e){if(o){for(c=[],l=y.length;l--;)(f=y[l])&&c.push($[l]=f);o(null,y=[],c,u)}for(l=y.length;l--;)(f=y[l])&&(c=o?te.call(r,f):p[l])>-1&&(r[c]=!(a[c]=f))}}else y=v(y===a?y.splice(h,y.length):y),o?o(null,a,y,u):Z.apply(a,y)})}function $(e){for(var t,n,r,i=e.length,o=w.relative[e[0].type],a=o||w.relative[" "],s=o?1:0,u=d(function(e){return e===t},a,!0),c=d(function(e){return te.call(t,e)>-1},a,!0),l=[function(e,n,r){return!o&&(r||n!==A)||((t=n).nodeType?u(e,n,r):c(e,n,r))}];i>s;s++)if(n=w.relative[e[s].type])l=[d(h(l),n)];else{if(n=w.filter[e[s].type].apply(null,e[s].matches),n[V]){for(r=++s;i>r&&!w.relative[e[r].type];r++);return g(s>1&&h(l),s>1&&p(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(ue,"$1"),n,r>s&&$(e.slice(s,r)),i>r&&$(e=e.slice(r)),i>r&&p(e))}l.push(n)}return h(l)}function y(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,c){var l,f,p,d=0,h="0",m=r&&[],g=[],$=A,y=r||o&&w.find.TAG("*",c),b=_+=null==$?1:Math.random()||.1,x=y.length;for(c&&(A=a!==D&&a);h!==x&&null!=(l=y[h]);h++){if(o&&l){for(f=0;p=e[f++];)if(p(l,a,s)){u.push(l);break}c&&(_=b)}i&&((l=!p&&l)&&d--,r&&m.push(l))}if(d+=h,i&&h!==d){for(f=0;p=n[f++];)p(m,g,a,s);if(r){if(d>0)for(;h--;)m[h]||g[h]||(g[h]=K.call(u));g=v(g)}Z.apply(u,g),c&&!r&&g.length>0&&d+n.length>1&&t.uniqueSort(u)}return c&&(_=b,A=$),m};return i?r(a):a}var b,x,w,S,E,C,k,T,A,N,O,j,D,M,F,R,P,q,L,V="sizzle"+-new Date,I=e.document,_=0,H=0,B=n(),U=n(),W=n(),z=function(e,t){return e===t&&(O=!0),0},G="undefined",X=1<<31,J={}.hasOwnProperty,Y=[],K=Y.pop,Q=Y.push,Z=Y.push,ee=Y.slice,te=Y.indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(this[t]===e)return t;return-1},ne="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",re="[\\x20\\t\\r\\n\\f]",ie="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",oe=ie.replace("w","w#"),ae="\\["+re+"*("+ie+")(?:"+re+"*([*^$|!~]?=)"+re+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+oe+"))|)"+re+"*\\]",se=":("+ie+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ae+")*)|.*)\\)|)",ue=new RegExp("^"+re+"+|((?:^|[^\\\\])(?:\\\\.)*)"+re+"+$","g"),ce=new RegExp("^"+re+"*,"+re+"*"),le=new RegExp("^"+re+"*([>+~]|"+re+")"+re+"*"),fe=new RegExp("="+re+"*([^\\]'\"]*?)"+re+"*\\]","g"),pe=new RegExp(se),de=new RegExp("^"+oe+"$"),he={ID:new RegExp("^#("+ie+")"),CLASS:new RegExp("^\\.("+ie+")"),TAG:new RegExp("^("+ie.replace("w","w*")+")"),ATTR:new RegExp("^"+ae),PSEUDO:new RegExp("^"+se),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+re+"*(even|odd|(([+-]|)(\\d*)n|)"+re+"*(?:([+-]|)"+re+"*(\\d+)|))"+re+"*\\)|)","i"),bool:new RegExp("^(?:"+ne+")$","i"),needsContext:new RegExp("^"+re+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+re+"*((?:-\\d)?\\d*)"+re+"*\\)|)(?=[^-]|$)","i")},me=/^(?:input|select|textarea|button)$/i,ve=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,$e=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ye=/[+~]/,be=/'|\\/g,xe=new RegExp("\\\\([\\da-f]{1,6}"+re+"?|("+re+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:0>r?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{Z.apply(Y=ee.call(I.childNodes),I.childNodes),Y[I.childNodes.length].nodeType}catch(Se){Z={apply:Y.length?function(e,t){Q.apply(e,ee.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},j=t.setDocument=function(e){var t,n=e?e.ownerDocument||e:I,r=n.defaultView;return n!==D&&9===n.nodeType&&n.documentElement?(D=n,M=n.documentElement,F=!E(n),r&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",function(){j()},!1):r.attachEvent&&r.attachEvent("onunload",function(){j()})),x.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=i(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=ge.test(n.getElementsByClassName)&&i(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),x.getById=i(function(e){return M.appendChild(e).id=V,!n.getElementsByName||!n.getElementsByName(V).length}),x.getById?(w.find.ID=function(e,t){if(typeof t.getElementById!==G&&F){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},w.filter.ID=function(e){var t=e.replace(xe,we);return function(e){return e.getAttribute("id")===t}}):(delete w.find.ID,w.filter.ID=function(e){var t=e.replace(xe,we);return function(e){var n=typeof e.getAttributeNode!==G&&e.getAttributeNode("id");return n&&n.value===t}}),w.find.TAG=x.getElementsByTagName?function(e,t){return typeof t.getElementsByTagName!==G?t.getElementsByTagName(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},w.find.CLASS=x.getElementsByClassName&&function(e,t){return typeof t.getElementsByClassName!==G&&F?t.getElementsByClassName(e):void 0},P=[],R=[],(x.qsa=ge.test(n.querySelectorAll))&&(i(function(e){e.innerHTML="<select msallowclip=''><option selected=''></option></select>",e.querySelectorAll("[msallowclip^='']").length&&R.push("[*^$]="+re+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||R.push("\\["+re+"*(?:value|"+ne+")"),e.querySelectorAll(":checked").length||R.push(":checked")}),i(function(e){var t=n.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&R.push("name"+re+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||R.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),R.push(",.*:")})),(x.matchesSelector=ge.test(q=M.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&i(function(e){x.disconnectedMatch=q.call(e,"div"),q.call(e,"[s!='']:x"),P.push("!=",se)}),R=R.length&&new RegExp(R.join("|")),P=P.length&&new RegExp(P.join("|")),t=ge.test(M.compareDocumentPosition),L=t||ge.test(M.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},z=t?function(e,t){if(e===t)return O=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&r||!x.sortDetached&&t.compareDocumentPosition(e)===r?e===n||e.ownerDocument===I&&L(I,e)?-1:t===n||t.ownerDocument===I&&L(I,t)?1:N?te.call(N,e)-te.call(N,t):0:4&r?-1:1)}:function(e,t){if(e===t)return O=!0,0;var r,i=0,o=e.parentNode,s=t.parentNode,u=[e],c=[t];if(!o||!s)return e===n?-1:t===n?1:o?-1:s?1:N?te.call(N,e)-te.call(N,t):0;if(o===s)return a(e,t);for(r=e;r=r.parentNode;)u.unshift(r);for(r=t;r=r.parentNode;)c.unshift(r);for(;u[i]===c[i];)i++;return i?a(u[i],c[i]):u[i]===I?-1:c[i]===I?1:0},n):D},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==D&&j(e),n=n.replace(fe,"='$1']"),x.matchesSelector&&F&&(!P||!P.test(n))&&(!R||!R.test(n)))try{var r=q.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return t(n,D,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==D&&j(e),L(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==D&&j(e);var n=w.attrHandle[t.toLowerCase()],r=n&&J.call(w.attrHandle,t.toLowerCase())?n(e,t,!F):void 0;return void 0!==r?r:x.attributes||!F?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(O=!x.detectDuplicates,N=!x.sortStable&&e.slice(0),e.sort(z),O){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return N=null,e},S=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=S(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=S(t);return n},w=t.selectors={cacheLength:50,createPseudo:r,match:he,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(xe,we),e[3]=(e[3]||e[4]||e[5]||"").replace(xe,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return he.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&pe.test(n)&&(t=C(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(xe,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=B[e+" "];return t||(t=new RegExp("(^|"+re+")"+e+"("+re+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==G&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:n?(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o+" ").indexOf(r)>-1:"|="===n?o===r||o.slice(0,r.length+1)===r+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var c,l,f,p,d,h,m=o!==a?"nextSibling":"previousSibling",v=t.parentNode,g=s&&t.nodeName.toLowerCase(),$=!u&&!s;if(v){if(o){for(;m;){for(f=t;f=f[m];)if(s?f.nodeName.toLowerCase()===g:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?v.firstChild:v.lastChild],a&&$){for(l=v[V]||(v[V]={}),c=l[e]||[],d=c[0]===_&&c[1],p=c[0]===_&&c[2],f=d&&v.childNodes[d];f=++d&&f&&f[m]||(p=d=0)||h.pop();)if(1===f.nodeType&&++p&&f===t){l[e]=[_,d,p];break}}else if($&&(c=(t[V]||(t[V]={}))[e])&&c[0]===_)p=c[1];else for(;(f=++d&&f&&f[m]||(p=d=0)||h.pop())&&((s?f.nodeName.toLowerCase()!==g:1!==f.nodeType)||!++p||($&&((f[V]||(f[V]={}))[e]=[_,p]),f!==t)););return p-=i,p===r||p%r===0&&p/r>=0}}},PSEUDO:function(e,n){var i,o=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[V]?o(n):o.length>1?(i=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=te.call(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(ue,"$1"));return i[V]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return function(t){return(t.textContent||t.innerText||S(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(xe,we).toLowerCase(),function(t){var n;do if(n=F?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===M},focus:function(e){return e===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return ve.test(e.nodeName)},input:function(e){return me.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:c(function(){return[0]}),last:c(function(e,t){return[t-1]}),eq:c(function(e,t,n){return[0>n?n+t:n]}),even:c(function(e,t){for(var n=0;t>n;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;t>n;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=0>n?n+t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=0>n?n+t:n;++r<t;)e.push(r);return e})}},w.pseudos.nth=w.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})w.pseudos[b]=u(b);return f.prototype=w.filters=w.pseudos,w.setFilters=new f,C=t.tokenize=function(e,n){var r,i,o,a,s,u,c,l=U[e+" "];if(l)return n?0:l.slice(0);for(s=e,u=[],c=w.preFilter;s;){(!r||(i=ce.exec(s)))&&(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=le.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(ue," ")}),s=s.slice(r.length));for(a in w.filter)!(i=he[a].exec(s))||c[a]&&!(i=c[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):U(e,u).slice(0)},k=t.compile=function(e,t){var n,r=[],i=[],o=W[e+" "];if(!o){for(t||(t=C(e)),n=t.length;n--;)o=$(t[n]),o[V]?r.push(o):i.push(o);o=W(e,y(i,r)),o.selector=e}return o},T=t.select=function(e,t,n,r){var i,o,a,s,u,c="function"==typeof e&&e,f=!r&&C(e=c.selector||e);if(n=n||[],1===f.length){if(o=f[0]=f[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&x.getById&&9===t.nodeType&&F&&w.relative[o[1].type]){if(t=(w.find.ID(a.matches[0].replace(xe,we),t)||[])[0],!t)return n;c&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=he.needsContext.test(e)?0:o.length;i--&&(a=o[i],!w.relative[s=a.type]);)if((u=w.find[s])&&(r=u(a.matches[0].replace(xe,we),ye.test(o[0].type)&&l(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&p(o),!e)return Z.apply(n,r),n;break}}return(c||k(e,f))(r,t,!F,n,ye.test(e)&&l(t.parentNode)||t),n},x.sortStable=V.split("").sort(z).join("")===V,x.detectDuplicates=!!O,j(),x.sortDetached=i(function(e){return 1&e.compareDocumentPosition(D.createElement("div"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){return n?void 0:e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){return n||"input"!==e.nodeName.toLowerCase()?void 0:e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(ne,function(e,t,n){var r;return n?void 0:e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);Z.find=ie,Z.expr=ie.selectors,Z.expr[":"]=Z.expr.pseudos,Z.unique=ie.uniqueSort,Z.text=ie.getText,Z.isXMLDoc=ie.isXML,Z.contains=ie.contains;var oe=Z.expr.match.needsContext,ae=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,se=/^.[^:#\[\.,]*$/;Z.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Z.find.matchesSelector(r,e)?[r]:[]:Z.find.matches(e,Z.grep(t,function(e){return 1===e.nodeType}))},Z.fn.extend({find:function(e){var t,n=this.length,r=[],i=this;if("string"!=typeof e)return this.pushStack(Z(e).filter(function(){
  for(t=0;n>t;t++)if(Z.contains(i[t],this))return!0}));for(t=0;n>t;t++)Z.find(e,i[t],r);return r=this.pushStack(n>1?Z.unique(r):r),r.selector=this.selector?this.selector+" "+e:e,r},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&oe.test(e)?Z(e):e||[],!1).length}});var ue,ce=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,le=Z.fn.init=function(e,t){var n,r;if(!e)return this;if("string"==typeof e){if(n="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:ce.exec(e),!n||!n[1]&&t)return!t||t.jquery?(t||ue).find(e):this.constructor(t).find(e);if(n[1]){if(t=t instanceof Z?t[0]:t,Z.merge(this,Z.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:K,!0)),ae.test(n[1])&&Z.isPlainObject(t))for(n in t)Z.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}return r=K.getElementById(n[2]),r&&r.parentNode&&(this.length=1,this[0]=r),this.context=K,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):Z.isFunction(e)?"undefined"!=typeof ue.ready?ue.ready(e):e(Z):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),Z.makeArray(e,this))};le.prototype=Z.fn,ue=Z(K);var fe=/^(?:parents|prev(?:Until|All))/,pe={children:!0,contents:!0,next:!0,prev:!0};Z.extend({dir:function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&Z(e).is(n))break;r.push(e)}return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}}),Z.fn.extend({has:function(e){var t=Z(e,this),n=t.length;return this.filter(function(){for(var e=0;n>e;e++)if(Z.contains(this,t[e]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=oe.test(e)||"string"!=typeof e?Z(e,t||this.context):0;i>r;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&Z.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?Z.unique(o):o)},index:function(e){return e?"string"==typeof e?z.call(Z(e),this[0]):z.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(Z.unique(Z.merge(this.get(),Z(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Z.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Z.dir(e,"parentNode")},parentsUntil:function(e,t,n){return Z.dir(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return Z.dir(e,"nextSibling")},prevAll:function(e){return Z.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Z.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Z.dir(e,"previousSibling",n)},siblings:function(e){return Z.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Z.sibling(e.firstChild)},contents:function(e){return e.contentDocument||Z.merge([],e.childNodes)}},function(e,t){Z.fn[e]=function(n,r){var i=Z.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=Z.filter(r,i)),this.length>1&&(pe[e]||Z.unique(i),fe.test(e)&&i.reverse()),this.pushStack(i)}});var de=/\S+/g,he={};Z.Callbacks=function(e){e="string"==typeof e?he[e]||o(e):Z.extend({},e);var t,n,r,i,a,s,u=[],c=!e.once&&[],l=function(o){for(t=e.memory&&o,n=!0,s=i||0,i=0,a=u.length,r=!0;u&&a>s;s++)if(u[s].apply(o[0],o[1])===!1&&e.stopOnFalse){t=!1;break}r=!1,u&&(c?c.length&&l(c.shift()):t?u=[]:f.disable())},f={add:function(){if(u){var n=u.length;!function o(t){Z.each(t,function(t,n){var r=Z.type(n);"function"===r?e.unique&&f.has(n)||u.push(n):n&&n.length&&"string"!==r&&o(n)})}(arguments),r?a=u.length:t&&(i=n,l(t))}return this},remove:function(){return u&&Z.each(arguments,function(e,t){for(var n;(n=Z.inArray(t,u,n))>-1;)u.splice(n,1),r&&(a>=n&&a--,s>=n&&s--)}),this},has:function(e){return e?Z.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],a=0,this},disable:function(){return u=c=t=void 0,this},disabled:function(){return!u},lock:function(){return c=void 0,t||f.disable(),this},locked:function(){return!c},fireWith:function(e,t){return!u||n&&!c||(t=t||[],t=[e,t.slice?t.slice():t],r?c.push(t):l(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!n}};return f},Z.extend({Deferred:function(e){var t=[["resolve","done",Z.Callbacks("once memory"),"resolved"],["reject","fail",Z.Callbacks("once memory"),"rejected"],["notify","progress",Z.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return Z.Deferred(function(n){Z.each(t,function(t,o){var a=Z.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&Z.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?Z.extend(e,r):r}},i={};return r.pipe=r.then,Z.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=B.call(arguments),a=o.length,s=1!==a||e&&Z.isFunction(e.promise)?a:0,u=1===s?e:Z.Deferred(),c=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?B.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);a>i;i++)o[i]&&Z.isFunction(o[i].promise)?o[i].promise().done(c(i,r,o)).fail(u.reject).progress(c(i,n,t)):--s;return s||u.resolveWith(r,o),u.promise()}});var me;Z.fn.ready=function(e){return Z.ready.promise().done(e),this},Z.extend({isReady:!1,readyWait:1,holdReady:function(e){e?Z.readyWait++:Z.ready(!0)},ready:function(e){(e===!0?--Z.readyWait:Z.isReady)||(Z.isReady=!0,e!==!0&&--Z.readyWait>0||(me.resolveWith(K,[Z]),Z.fn.triggerHandler&&(Z(K).triggerHandler("ready"),Z(K).off("ready"))))}}),Z.ready.promise=function(t){return me||(me=Z.Deferred(),"complete"===K.readyState?setTimeout(Z.ready):(K.addEventListener("DOMContentLoaded",a,!1),e.addEventListener("load",a,!1))),me.promise(t)},Z.ready.promise();var ve=Z.access=function(e,t,n,r,i,o,a){var s=0,u=e.length,c=null==n;if("object"===Z.type(n)){i=!0;for(s in n)Z.access(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,Z.isFunction(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(Z(e),n)})),t))for(;u>s;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:c?t.call(e):u?t(e[0],n):o};Z.acceptData=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType},s.uid=1,s.accepts=Z.acceptData,s.prototype={key:function(e){if(!s.accepts(e))return 0;var t={},n=e[this.expando];if(!n){n=s.uid++;try{t[this.expando]={value:n},Object.defineProperties(e,t)}catch(r){t[this.expando]=n,Z.extend(e,t)}}return this.cache[n]||(this.cache[n]={}),n},set:function(e,t,n){var r,i=this.key(e),o=this.cache[i];if("string"==typeof t)o[t]=n;else if(Z.isEmptyObject(o))Z.extend(this.cache[i],t);else for(r in t)o[r]=t[r];return o},get:function(e,t){var n=this.cache[this.key(e)];return void 0===t?n:n[t]},access:function(e,t,n){var r;return void 0===t||t&&"string"==typeof t&&void 0===n?(r=this.get(e,t),void 0!==r?r:this.get(e,Z.camelCase(t))):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r,i,o=this.key(e),a=this.cache[o];if(void 0===t)this.cache[o]={};else{Z.isArray(t)?r=t.concat(t.map(Z.camelCase)):(i=Z.camelCase(t),t in a?r=[t,i]:(r=i,r=r in a?[r]:r.match(de)||[])),n=r.length;for(;n--;)delete a[r[n]]}},hasData:function(e){return!Z.isEmptyObject(this.cache[e[this.expando]]||{})},discard:function(e){e[this.expando]&&delete this.cache[e[this.expando]]}};var ge=new s,$e=new s,ye=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,be=/([A-Z])/g;Z.extend({hasData:function(e){return $e.hasData(e)||ge.hasData(e)},data:function(e,t,n){return $e.access(e,t,n)},removeData:function(e,t){$e.remove(e,t)},_data:function(e,t,n){return ge.access(e,t,n)},_removeData:function(e,t){ge.remove(e,t)}}),Z.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=$e.get(o),1===o.nodeType&&!ge.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=Z.camelCase(r.slice(5)),u(o,r,i[r])));ge.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){$e.set(this,e)}):ve(this,function(t){var n,r=Z.camelCase(e);if(o&&void 0===t){if(n=$e.get(o,e),void 0!==n)return n;if(n=$e.get(o,r),void 0!==n)return n;if(n=u(o,r,void 0),void 0!==n)return n}else this.each(function(){var n=$e.get(this,r);$e.set(this,r,t),-1!==e.indexOf("-")&&void 0!==n&&$e.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){$e.remove(this,e)})}}),Z.extend({queue:function(e,t,n){var r;return e?(t=(t||"fx")+"queue",r=ge.get(e,t),n&&(!r||Z.isArray(n)?r=ge.access(e,t,Z.makeArray(n)):r.push(n)),r||[]):void 0},dequeue:function(e,t){t=t||"fx";var n=Z.queue(e,t),r=n.length,i=n.shift(),o=Z._queueHooks(e,t),a=function(){Z.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return ge.get(e,n)||ge.access(e,n,{empty:Z.Callbacks("once memory").add(function(){ge.remove(e,[t+"queue",n])})})}}),Z.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?Z.queue(this[0],e):void 0===t?this:this.each(function(){var n=Z.queue(this,e,t);Z._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&Z.dequeue(this,e)})},dequeue:function(e){return this.each(function(){Z.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Z.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=ge.get(o[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var xe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,we=["Top","Right","Bottom","Left"],Se=function(e,t){return e=t||e,"none"===Z.css(e,"display")||!Z.contains(e.ownerDocument,e)},Ee=/^(?:checkbox|radio)$/i;!function(){var e=K.createDocumentFragment(),t=e.appendChild(K.createElement("div")),n=K.createElement("input");n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),t.appendChild(n),Y.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",Y.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue}();var Ce="undefined";Y.focusinBubbles="onfocusin"in e;var ke=/^key/,Te=/^(?:mouse|pointer|contextmenu)|click/,Ae=/^(?:focusinfocus|focusoutblur)$/,Ne=/^([^.]*)(?:\.(.+)|)$/;Z.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,c,l,f,p,d,h,m,v=ge.get(e);if(v)for(n.handler&&(o=n,n=o.handler,i=o.selector),n.guid||(n.guid=Z.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(t){return typeof Z!==Ce&&Z.event.triggered!==t.type?Z.event.dispatch.apply(e,arguments):void 0}),t=(t||"").match(de)||[""],c=t.length;c--;)s=Ne.exec(t[c])||[],d=m=s[1],h=(s[2]||"").split(".").sort(),d&&(f=Z.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=Z.event.special[d]||{},l=Z.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Z.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||(p=u[d]=[],p.delegateCount=0,f.setup&&f.setup.call(e,r,h,a)!==!1||e.addEventListener&&e.addEventListener(d,a,!1)),f.add&&(f.add.call(e,l),l.handler.guid||(l.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,l):p.push(l),Z.event.global[d]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,c,l,f,p,d,h,m,v=ge.hasData(e)&&ge.get(e);if(v&&(u=v.events)){for(t=(t||"").match(de)||[""],c=t.length;c--;)if(s=Ne.exec(t[c])||[],d=m=s[1],h=(s[2]||"").split(".").sort(),d){for(f=Z.event.special[d]||{},d=(r?f.delegateType:f.bindType)||d,p=u[d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;o--;)l=p[o],!i&&m!==l.origType||n&&n.guid!==l.guid||s&&!s.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(p.splice(o,1),l.selector&&p.delegateCount--,f.remove&&f.remove.call(e,l));a&&!p.length&&(f.teardown&&f.teardown.call(e,h,v.handle)!==!1||Z.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)Z.event.remove(e,d+t[c],n,r,!0);Z.isEmptyObject(u)&&(delete v.handle,ge.remove(e,"events"))}},trigger:function(t,n,r,i){var o,a,s,u,c,l,f,p=[r||K],d=J.call(t,"type")?t.type:t,h=J.call(t,"namespace")?t.namespace.split("."):[];if(a=s=r=r||K,3!==r.nodeType&&8!==r.nodeType&&!Ae.test(d+Z.event.triggered)&&(d.indexOf(".")>=0&&(h=d.split("."),d=h.shift(),h.sort()),c=d.indexOf(":")<0&&"on"+d,t=t[Z.expando]?t:new Z.Event(d,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=h.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:Z.makeArray(n,[t]),f=Z.event.special[d]||{},i||!f.trigger||f.trigger.apply(r,n)!==!1)){if(!i&&!f.noBubble&&!Z.isWindow(r)){for(u=f.delegateType||d,Ae.test(u+d)||(a=a.parentNode);a;a=a.parentNode)p.push(a),s=a;s===(r.ownerDocument||K)&&p.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=p[o++])&&!t.isPropagationStopped();)t.type=o>1?u:f.bindType||d,l=(ge.get(a,"events")||{})[t.type]&&ge.get(a,"handle"),l&&l.apply(a,n),l=c&&a[c],l&&l.apply&&Z.acceptData(a)&&(t.result=l.apply(a,n),t.result===!1&&t.preventDefault());return t.type=d,i||t.isDefaultPrevented()||f._default&&f._default.apply(p.pop(),n)!==!1||!Z.acceptData(r)||c&&Z.isFunction(r[d])&&!Z.isWindow(r)&&(s=r[c],s&&(r[c]=null),Z.event.triggered=d,r[d](),Z.event.triggered=void 0,s&&(r[c]=s)),t.result}},dispatch:function(e){e=Z.event.fix(e);var t,n,r,i,o,a=[],s=B.call(arguments),u=(ge.get(this,"events")||{})[e.type]||[],c=Z.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){for(a=Z.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)(!e.namespace_re||e.namespace_re.test(o.namespace))&&(e.handleObj=o,e.data=o.data,r=((Z.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&(!e.button||"click"!==e.type))for(;u!==this;u=u.parentNode||this)if(u.disabled!==!0||"click"!==e.type){for(r=[],n=0;s>n;n++)o=t[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?Z(i,this).index(u)>=0:Z.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button;return null==e.pageX&&null!=t.clientX&&(n=e.target.ownerDocument||K,r=n.documentElement,i=n.body,e.pageX=t.clientX+(r&&r.scrollLeft||i&&i.scrollLeft||0)-(r&&r.clientLeft||i&&i.clientLeft||0),e.pageY=t.clientY+(r&&r.scrollTop||i&&i.scrollTop||0)-(r&&r.clientTop||i&&i.clientTop||0)),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},fix:function(e){if(e[Z.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Te.test(i)?this.mouseHooks:ke.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new Z.Event(o),t=r.length;t--;)n=r[t],e[n]=o[n];return e.target||(e.target=K),3===e.target.nodeType&&(e.target=e.target.parentNode),a.filter?a.filter(e,o):e},special:{load:{noBubble:!0},focus:{trigger:function(){return this!==f()&&this.focus?(this.focus(),!1):void 0},delegateType:"focusin"},blur:{trigger:function(){return this===f()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return"checkbox"===this.type&&this.click&&Z.nodeName(this,"input")?(this.click(),!1):void 0},_default:function(e){return Z.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=Z.extend(new Z.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Z.event.trigger(i,null,t):Z.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},Z.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)},Z.Event=function(e,t){return this instanceof Z.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?c:l):this.type=e,t&&Z.extend(this,t),this.timeStamp=e&&e.timeStamp||Z.now(),void(this[Z.expando]=!0)):new Z.Event(e,t)},Z.Event.prototype={isDefaultPrevented:l,isPropagationStopped:l,isImmediatePropagationStopped:l,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=c,e&&e.preventDefault&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=c,e&&e.stopPropagation&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=c,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},Z.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){Z.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return(!i||i!==r&&!Z.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),Y.focusinBubbles||Z.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){Z.event.simulate(t,e.target,Z.event.fix(e),!0)};Z.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=ge.access(r,t);i||r.addEventListener(e,n,!0),ge.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=ge.access(r,t)-1;i?ge.access(r,t,i):(r.removeEventListener(e,n,!0),ge.remove(r,t))}}}),Z.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){"string"!=typeof t&&(n=n||t,t=void 0);for(a in e)this.on(a,t,n,e[a],i);return this}if(null==n&&null==r?(r=t,n=t=void 0):null==r&&("string"==typeof t?(r=n,n=void 0):(r=n,n=t,t=void 0)),r===!1)r=l;else if(!r)return this;return 1===i&&(o=r,r=function(e){return Z().off(e),o.apply(this,arguments)},r.guid=o.guid||(o.guid=Z.guid++)),this.each(function(){Z.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Z(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return(t===!1||"function"==typeof t)&&(n=t,t=void 0),n===!1&&(n=l),this.each(function(){Z.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){Z.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];return n?Z.event.trigger(e,t,n,!0):void 0}});var Oe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,je=/<([\w:]+)/,De=/<|&#?\w+;/,Me=/<(?:script|style|link)/i,Fe=/checked\s*(?:[^=]|=\s*.checked.)/i,Re=/^$|\/(?:java|ecma)script/i,Pe=/^true\/(.*)/,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,Le={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Le.optgroup=Le.option,Le.tbody=Le.tfoot=Le.colgroup=Le.caption=Le.thead,Le.th=Le.td,Z.extend({clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=Z.contains(e.ownerDocument,e);if(!(Y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Z.isXMLDoc(e)))for(a=g(s),o=g(e),r=0,i=o.length;i>r;r++)$(o[r],a[r]);if(t)if(n)for(o=o||g(e),a=a||g(s),r=0,i=o.length;i>r;r++)v(o[r],a[r]);else v(e,s);return a=g(s,"script"),a.length>0&&m(a,!u&&g(e,"script")),s},buildFragment:function(e,t,n,r){for(var i,o,a,s,u,c,l=t.createDocumentFragment(),f=[],p=0,d=e.length;d>p;p++)if(i=e[p],i||0===i)if("object"===Z.type(i))Z.merge(f,i.nodeType?[i]:i);else if(De.test(i)){for(o=o||l.appendChild(t.createElement("div")),a=(je.exec(i)||["",""])[1].toLowerCase(),s=Le[a]||Le._default,o.innerHTML=s[1]+i.replace(Oe,"<$1></$2>")+s[2],c=s[0];c--;)o=o.lastChild;Z.merge(f,o.childNodes),o=l.firstChild,o.textContent=""}else f.push(t.createTextNode(i));for(l.textContent="",p=0;i=f[p++];)if((!r||-1===Z.inArray(i,r))&&(u=Z.contains(i.ownerDocument,i),o=g(l.appendChild(i),"script"),u&&m(o),n))for(c=0;i=o[c++];)Re.test(i.type||"")&&n.push(i);return l},cleanData:function(e){for(var t,n,r,i,o=Z.event.special,a=0;void 0!==(n=e[a]);a++){if(Z.acceptData(n)&&(i=n[ge.expando],i&&(t=ge.cache[i]))){if(t.events)for(r in t.events)o[r]?Z.event.remove(n,r):Z.removeEvent(n,r,t.handle);ge.cache[i]&&delete ge.cache[i]}delete $e.cache[n[$e.expando]]}}}),Z.fn.extend({text:function(e){return ve(this,function(e){return void 0===e?Z.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=e)})},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=p(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=p(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?Z.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||Z.cleanData(g(n)),n.parentNode&&(t&&Z.contains(n.ownerDocument,n)&&m(g(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(Z.cleanData(g(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return Z.clone(this,e,t)})},html:function(e){return ve(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Me.test(e)&&!Le[(je.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Oe,"<$1></$2>");try{for(;r>n;n++)t=this[n]||{},1===t.nodeType&&(Z.cleanData(g(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=arguments[0];return this.domManip(arguments,function(t){e=this.parentNode,Z.cleanData(g(this)),e&&e.replaceChild(t,this)}),e&&(e.length||e.nodeType)?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(e,t){e=U.apply([],e);var n,r,i,o,a,s,u=0,c=this.length,l=this,f=c-1,p=e[0],m=Z.isFunction(p);if(m||c>1&&"string"==typeof p&&!Y.checkClone&&Fe.test(p))return this.each(function(n){var r=l.eq(n);m&&(e[0]=p.call(this,n,r.html())),r.domManip(e,t)});if(c&&(n=Z.buildFragment(e,this[0].ownerDocument,!1,this),r=n.firstChild,1===n.childNodes.length&&(n=r),r)){for(i=Z.map(g(n,"script"),d),o=i.length;c>u;u++)a=n,u!==f&&(a=Z.clone(a,!0,!0),o&&Z.merge(i,g(a,"script"))),t.call(this[u],a,u);if(o)for(s=i[i.length-1].ownerDocument,Z.map(i,h),u=0;o>u;u++)a=i[u],Re.test(a.type||"")&&!ge.access(a,"globalEval")&&Z.contains(s,a)&&(a.src?Z._evalUrl&&Z._evalUrl(a.src):Z.globalEval(a.textContent.replace(qe,"")))}return this}}),Z.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){Z.fn[e]=function(e){for(var n,r=[],i=Z(e),o=i.length-1,a=0;o>=a;a++)n=a===o?this:this.clone(!0),Z(i[a])[t](n),W.apply(r,n.get());return this.pushStack(r)}});var Ve,Ie={},_e=/^margin/,He=new RegExp("^("+xe+")(?!px)[a-z%]+$","i"),Be=function(e){return e.ownerDocument.defaultView.getComputedStyle(e,null)};!function(){function t(){a.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",a.innerHTML="",i.appendChild(o);var t=e.getComputedStyle(a,null);n="1%"!==t.top,r="4px"===t.width,i.removeChild(o)}var n,r,i=K.documentElement,o=K.createElement("div"),a=K.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",Y.clearCloneStyle="content-box"===a.style.backgroundClip,o.style.cssText="border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute",o.appendChild(a),e.getComputedStyle&&Z.extend(Y,{pixelPosition:function(){return t(),n},boxSizingReliable:function(){return null==r&&t(),r},reliableMarginRight:function(){var t,n=a.appendChild(K.createElement("div"));return n.style.cssText=a.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",a.style.width="1px",i.appendChild(o),t=!parseFloat(e.getComputedStyle(n,null).marginRight),i.removeChild(o),t}}))}(),Z.swap=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};var Ue=/^(none|table(?!-c[ea]).+)/,We=new RegExp("^("+xe+")(.*)$","i"),ze=new RegExp("^([+-])=("+xe+")","i"),Ge={position:"absolute",visibility:"hidden",display:"block"},Xe={letterSpacing:"0",fontWeight:"400"},Je=["Webkit","O","Moz","ms"];Z.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=x(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Z.camelCase(t),u=e.style;return t=Z.cssProps[s]||(Z.cssProps[s]=S(u,s)),a=Z.cssHooks[t]||Z.cssHooks[s],void 0===n?a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t]:(o=typeof n,"string"===o&&(i=ze.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(Z.css(e,t)),o="number"),null!=n&&n===n&&("number"!==o||Z.cssNumber[s]||(n+="px"),Y.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u[t]=n)),void 0)}},css:function(e,t,n,r){var i,o,a,s=Z.camelCase(t);return t=Z.cssProps[s]||(Z.cssProps[s]=S(e.style,s)),a=Z.cssHooks[t]||Z.cssHooks[s],a&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=x(e,t,r)),"normal"===i&&t in Xe&&(i=Xe[t]),""===n||n?(o=parseFloat(i),n===!0||Z.isNumeric(o)?o||0:i):i}}),Z.each(["height","width"],function(e,t){Z.cssHooks[t]={get:function(e,n,r){return n?Ue.test(Z.css(e,"display"))&&0===e.offsetWidth?Z.swap(e,Ge,function(){return k(e,t,r)}):k(e,t,r):void 0},set:function(e,n,r){var i=r&&Be(e);return E(e,n,r?C(e,t,r,"border-box"===Z.css(e,"boxSizing",!1,i),i):0)}}}),Z.cssHooks.marginRight=w(Y.reliableMarginRight,function(e,t){return t?Z.swap(e,{display:"inline-block"},x,[e,"marginRight"]):void 0}),Z.each({margin:"",padding:"",border:"Width"},function(e,t){Z.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];4>r;r++)i[e+we[r]+t]=o[r]||o[r-2]||o[0];return i}},_e.test(e)||(Z.cssHooks[e+t].set=E)}),Z.fn.extend({css:function(e,t){return ve(this,function(e,t,n){var r,i,o={},a=0;if(Z.isArray(t)){for(r=Be(e),i=t.length;i>a;a++)o[t[a]]=Z.css(e,t[a],!1,r);return o}return void 0!==n?Z.style(e,t,n):Z.css(e,t)},e,t,arguments.length>1)},show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Se(this)?Z(this).show():Z(this).hide()})}}),Z.Tween=A,A.prototype={constructor:A,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(Z.cssNumber[n]?"":"px")},cur:function(){var e=A.propHooks[this.prop];return e&&e.get?e.get(this):A.propHooks._default.get(this)},run:function(e){var t,n=A.propHooks[this.prop];return this.options.duration?this.pos=t=Z.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):A.propHooks._default.set(this),this}},A.prototype.init.prototype=A.prototype,A.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=Z.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){Z.fx.step[e.prop]?Z.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[Z.cssProps[e.prop]]||Z.cssHooks[e.prop])?Z.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},A.propHooks.scrollTop=A.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Z.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Z.fx=A.prototype.init,Z.fx.step={};var Ye,Ke,Qe=/^(?:toggle|show|hide)$/,Ze=new RegExp("^(?:([+-])=|)("+xe+")([a-z%]*)$","i"),et=/queueHooks$/,tt=[D],nt={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Ze.exec(t),o=i&&i[3]||(Z.cssNumber[e]?"":"px"),a=(Z.cssNumber[e]||"px"!==o&&+r)&&Ze.exec(Z.css(n.elem,e)),s=1,u=20;if(a&&a[3]!==o){o=o||a[3],i=i||[],a=+r||1;do s=s||".5",a/=s,Z.style(n.elem,e,a+o);while(s!==(s=n.cur()/r)&&1!==s&&--u)}return i&&(a=n.start=+a||+r||0,n.unit=o,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};Z.Animation=Z.extend(F,{tweener:function(e,t){Z.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],nt[n]=nt[n]||[],nt[n].unshift(t)},prefilter:function(e,t){t?tt.unshift(e):tt.push(e)}}),Z.speed=function(e,t,n){var r=e&&"object"==typeof e?Z.extend({},e):{complete:n||!n&&t||Z.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Z.isFunction(t)&&t};return r.duration=Z.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in Z.fx.speeds?Z.fx.speeds[r.duration]:Z.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){Z.isFunction(r.old)&&r.old.call(this),r.queue&&Z.dequeue(this,r.queue)},r},Z.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Se).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=Z.isEmptyObject(e),o=Z.speed(t,n,r),a=function(){var t=F(this,Z.extend({},e),o);(i||ge.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=Z.timers,a=ge.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&et.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));(t||!n)&&Z.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=ge.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=Z.timers,a=r?r.length:0;for(n.finish=!0,Z.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);
  delete n.finish})}}),Z.each(["toggle","show","hide"],function(e,t){var n=Z.fn[t];Z.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(O(t,!0),e,r,i)}}),Z.each({slideDown:O("show"),slideUp:O("hide"),slideToggle:O("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){Z.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),Z.timers=[],Z.fx.tick=function(){var e,t=0,n=Z.timers;for(Ye=Z.now();t<n.length;t++)e=n[t],e()||n[t]!==e||n.splice(t--,1);n.length||Z.fx.stop(),Ye=void 0},Z.fx.timer=function(e){Z.timers.push(e),e()?Z.fx.start():Z.timers.pop()},Z.fx.interval=13,Z.fx.start=function(){Ke||(Ke=setInterval(Z.fx.tick,Z.fx.interval))},Z.fx.stop=function(){clearInterval(Ke),Ke=null},Z.fx.speeds={slow:600,fast:200,_default:400},Z.fn.delay=function(e,t){return e=Z.fx?Z.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},function(){var e=K.createElement("input"),t=K.createElement("select"),n=t.appendChild(K.createElement("option"));e.type="checkbox",Y.checkOn=""!==e.value,Y.optSelected=n.selected,t.disabled=!0,Y.optDisabled=!n.disabled,e=K.createElement("input"),e.value="t",e.type="radio",Y.radioValue="t"===e.value}();var rt,it,ot=Z.expr.attrHandle;Z.fn.extend({attr:function(e,t){return ve(this,Z.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){Z.removeAttr(this,e)})}}),Z.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===Ce?Z.prop(e,t,n):(1===o&&Z.isXMLDoc(e)||(t=t.toLowerCase(),r=Z.attrHooks[t]||(Z.expr.match.bool.test(t)?it:rt)),void 0===n?r&&"get"in r&&null!==(i=r.get(e,t))?i:(i=Z.find.attr(e,t),null==i?void 0:i):null!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):void Z.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(de);if(o&&1===e.nodeType)for(;n=o[i++];)r=Z.propFix[n]||n,Z.expr.match.bool.test(n)&&(e[r]=!1),e.removeAttribute(n)},attrHooks:{type:{set:function(e,t){if(!Y.radioValue&&"radio"===t&&Z.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),it={set:function(e,t,n){return t===!1?Z.removeAttr(e,n):e.setAttribute(n,n),n}},Z.each(Z.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ot[t]||Z.find.attr;ot[t]=function(e,t,r){var i,o;return r||(o=ot[t],ot[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,ot[t]=o),i}});var at=/^(?:input|select|textarea|button)$/i;Z.fn.extend({prop:function(e,t){return ve(this,Z.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[Z.propFix[e]||e]})}}),Z.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o,a=e.nodeType;if(e&&3!==a&&8!==a&&2!==a)return o=1!==a||!Z.isXMLDoc(e),o&&(t=Z.propFix[t]||t,i=Z.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){return e.hasAttribute("tabindex")||at.test(e.nodeName)||e.href?e.tabIndex:-1}}}}),Y.optSelected||(Z.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null}}),Z.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Z.propFix[this.toLowerCase()]=this});var st=/[\t\r\n\f]/g;Z.fn.extend({addClass:function(e){var t,n,r,i,o,a,s="string"==typeof e&&e,u=0,c=this.length;if(Z.isFunction(e))return this.each(function(t){Z(this).addClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(de)||[];c>u;u++)if(n=this[u],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(st," "):" ")){for(o=0;i=t[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");a=Z.trim(r),n.className!==a&&(n.className=a)}return this},removeClass:function(e){var t,n,r,i,o,a,s=0===arguments.length||"string"==typeof e&&e,u=0,c=this.length;if(Z.isFunction(e))return this.each(function(t){Z(this).removeClass(e.call(this,t,this.className))});if(s)for(t=(e||"").match(de)||[];c>u;u++)if(n=this[u],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(st," "):"")){for(o=0;i=t[o++];)for(;r.indexOf(" "+i+" ")>=0;)r=r.replace(" "+i+" "," ");a=e?Z.trim(r):"",n.className!==a&&(n.className=a)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):Z.isFunction(e)?this.each(function(n){Z(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n)for(var t,r=0,i=Z(this),o=e.match(de)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else(n===Ce||"boolean"===n)&&(this.className&&ge.set(this,"__className__",this.className),this.className=this.className||e===!1?"":ge.get(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(st," ").indexOf(t)>=0)return!0;return!1}});var ut=/\r/g;Z.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=Z.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,Z(this).val()):e,null==i?i="":"number"==typeof i?i+="":Z.isArray(i)&&(i=Z.map(i,function(e){return null==e?"":e+""})),t=Z.valHooks[this.type]||Z.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=Z.valHooks[i.type]||Z.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(ut,""):null==n?"":n)}}}),Z.extend({valHooks:{option:{get:function(e){var t=Z.find.attr(e,"value");return null!=t?t:Z.trim(Z.text(e))}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;s>u;u++)if(n=r[u],(n.selected||u===i)&&(Y.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!Z.nodeName(n.parentNode,"optgroup"))){if(t=Z(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=Z.makeArray(t),a=i.length;a--;)r=i[a],(r.selected=Z.inArray(r.value,o)>=0)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),Z.each(["radio","checkbox"],function(){Z.valHooks[this]={set:function(e,t){return Z.isArray(t)?e.checked=Z.inArray(Z(e).val(),t)>=0:void 0}},Y.checkOn||(Z.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),Z.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){Z.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),Z.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var ct=Z.now(),lt=/\?/;Z.parseJSON=function(e){return JSON.parse(e+"")},Z.parseXML=function(e){var t,n;if(!e||"string"!=typeof e)return null;try{n=new DOMParser,t=n.parseFromString(e,"text/xml")}catch(r){t=void 0}return(!t||t.getElementsByTagName("parsererror").length)&&Z.error("Invalid XML: "+e),t};var ft,pt,dt=/#.*$/,ht=/([?&])_=[^&]*/,mt=/^(.*?):[ \t]*([^\r\n]*)$/gm,vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,gt=/^(?:GET|HEAD)$/,$t=/^\/\//,yt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,bt={},xt={},wt="*/".concat("*");try{pt=location.href}catch(St){pt=K.createElement("a"),pt.href="",pt=pt.href}ft=yt.exec(pt.toLowerCase())||[],Z.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:pt,type:"GET",isLocal:vt.test(ft[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":wt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":Z.parseJSON,"text xml":Z.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?q(q(e,Z.ajaxSettings),t):q(Z.ajaxSettings,e)},ajaxPrefilter:R(bt),ajaxTransport:R(xt),ajax:function(e,t){function n(e,t,n,a){var u,l,g,$,b,w=t;2!==y&&(y=2,s&&clearTimeout(s),r=void 0,o=a||"",x.readyState=e>0?4:0,u=e>=200&&300>e||304===e,n&&($=L(f,x,n)),$=V(f,$,x,u),u?(f.ifModified&&(b=x.getResponseHeader("Last-Modified"),b&&(Z.lastModified[i]=b),b=x.getResponseHeader("etag"),b&&(Z.etag[i]=b)),204===e||"HEAD"===f.type?w="nocontent":304===e?w="notmodified":(w=$.state,l=$.data,g=$.error,u=!g)):(g=w,(e||!w)&&(w="error",0>e&&(e=0))),x.status=e,x.statusText=(t||w)+"",u?h.resolveWith(p,[l,w,x]):h.rejectWith(p,[x,w,g]),x.statusCode(v),v=void 0,c&&d.trigger(u?"ajaxSuccess":"ajaxError",[x,f,u?l:g]),m.fireWith(p,[x,w]),c&&(d.trigger("ajaxComplete",[x,f]),--Z.active||Z.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,u,c,l,f=Z.ajaxSetup({},t),p=f.context||f,d=f.context&&(p.nodeType||p.jquery)?Z(p):Z.event,h=Z.Deferred(),m=Z.Callbacks("once memory"),v=f.statusCode||{},g={},$={},y=0,b="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(2===y){if(!a)for(a={};t=mt.exec(o);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===y?o:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return y||(e=$[n]=$[n]||e,g[e]=t),this},overrideMimeType:function(e){return y||(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>y)for(t in e)v[t]=[v[t],e[t]];else x.always(e[x.status]);return this},abort:function(e){var t=e||b;return r&&r.abort(t),n(0,t),this}};if(h.promise(x).complete=m.add,x.success=x.done,x.error=x.fail,f.url=((e||f.url||pt)+"").replace(dt,"").replace($t,ft[1]+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=Z.trim(f.dataType||"*").toLowerCase().match(de)||[""],null==f.crossDomain&&(u=yt.exec(f.url.toLowerCase()),f.crossDomain=!(!u||u[1]===ft[1]&&u[2]===ft[2]&&(u[3]||("http:"===u[1]?"80":"443"))===(ft[3]||("http:"===ft[1]?"80":"443")))),f.data&&f.processData&&"string"!=typeof f.data&&(f.data=Z.param(f.data,f.traditional)),P(bt,f,t,x),2===y)return x;c=f.global,c&&0===Z.active++&&Z.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!gt.test(f.type),i=f.url,f.hasContent||(f.data&&(i=f.url+=(lt.test(i)?"&":"?")+f.data,delete f.data),f.cache===!1&&(f.url=ht.test(i)?i.replace(ht,"$1_="+ct++):i+(lt.test(i)?"&":"?")+"_="+ct++)),f.ifModified&&(Z.lastModified[i]&&x.setRequestHeader("If-Modified-Since",Z.lastModified[i]),Z.etag[i]&&x.setRequestHeader("If-None-Match",Z.etag[i])),(f.data&&f.hasContent&&f.contentType!==!1||t.contentType)&&x.setRequestHeader("Content-Type",f.contentType),x.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+wt+"; q=0.01":""):f.accepts["*"]);for(l in f.headers)x.setRequestHeader(l,f.headers[l]);if(f.beforeSend&&(f.beforeSend.call(p,x,f)===!1||2===y))return x.abort();b="abort";for(l in{success:1,error:1,complete:1})x[l](f[l]);if(r=P(xt,f,t,x)){x.readyState=1,c&&d.trigger("ajaxSend",[x,f]),f.async&&f.timeout>0&&(s=setTimeout(function(){x.abort("timeout")},f.timeout));try{y=1,r.send(g,n)}catch(w){if(!(2>y))throw w;n(-1,w)}}else n(-1,"No Transport");return x},getJSON:function(e,t,n){return Z.get(e,t,n,"json")},getScript:function(e,t){return Z.get(e,void 0,t,"script")}}),Z.each(["get","post"],function(e,t){Z[t]=function(e,n,r,i){return Z.isFunction(n)&&(i=i||r,r=n,n=void 0),Z.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),Z.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Z.fn[t]=function(e){return this.on(t,e)}}),Z._evalUrl=function(e){return Z.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},Z.fn.extend({wrapAll:function(e){var t;return Z.isFunction(e)?this.each(function(t){Z(this).wrapAll(e.call(this,t))}):(this[0]&&(t=Z(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this)},wrapInner:function(e){return Z.isFunction(e)?this.each(function(t){Z(this).wrapInner(e.call(this,t))}):this.each(function(){var t=Z(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=Z.isFunction(e);return this.each(function(n){Z(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){Z.nodeName(this,"body")||Z(this).replaceWith(this.childNodes)}).end()}}),Z.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0},Z.expr.filters.visible=function(e){return!Z.expr.filters.hidden(e)};var Et=/%20/g,Ct=/\[\]$/,kt=/\r?\n/g,Tt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;Z.param=function(e,t){var n,r=[],i=function(e,t){t=Z.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=Z.ajaxSettings&&Z.ajaxSettings.traditional),Z.isArray(e)||e.jquery&&!Z.isPlainObject(e))Z.each(e,function(){i(this.name,this.value)});else for(n in e)I(n,e[n],t,i);return r.join("&").replace(Et,"+")},Z.fn.extend({serialize:function(){return Z.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Z.prop(this,"elements");return e?Z.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Z(this).is(":disabled")&&At.test(this.nodeName)&&!Tt.test(e)&&(this.checked||!Ee.test(e))}).map(function(e,t){var n=Z(this).val();return null==n?null:Z.isArray(n)?Z.map(n,function(e){return{name:t.name,value:e.replace(kt,"\r\n")}}):{name:t.name,value:n.replace(kt,"\r\n")}}).get()}}),Z.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(e){}};var Nt=0,Ot={},jt={0:200,1223:204},Dt=Z.ajaxSettings.xhr();e.ActiveXObject&&Z(e).on("unload",function(){for(var e in Ot)Ot[e]()}),Y.cors=!!Dt&&"withCredentials"in Dt,Y.ajax=Dt=!!Dt,Z.ajaxTransport(function(e){var t;return Y.cors||Dt&&!e.crossDomain?{send:function(n,r){var i,o=e.xhr(),a=++Nt;if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(i in e.xhrFields)o[i]=e.xhrFields[i];e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest");for(i in n)o.setRequestHeader(i,n[i]);t=function(e){return function(){t&&(delete Ot[a],t=o.onload=o.onerror=null,"abort"===e?o.abort():"error"===e?r(o.status,o.statusText):r(jt[o.status]||o.status,o.statusText,"string"==typeof o.responseText?{text:o.responseText}:void 0,o.getAllResponseHeaders()))}},o.onload=t(),o.onerror=t("error"),t=Ot[a]=t("abort");try{o.send(e.hasContent&&e.data||null)}catch(s){if(t)throw s}},abort:function(){t&&t()}}:void 0}),Z.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return Z.globalEval(e),e}}}),Z.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),Z.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=Z("<script>").prop({async:!0,charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&i("error"===e.type?404:200,e.type)}),K.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Mt=[],Ft=/(=)\?(?=&|$)|\?\?/;Z.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mt.pop()||Z.expando+"_"+ct++;return this[e]=!0,e}}),Z.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=t.jsonp!==!1&&(Ft.test(t.url)?"url":"string"==typeof t.data&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ft.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(i=t.jsonpCallback=Z.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Ft,"$1"+i):t.jsonp!==!1&&(t.url+=(lt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||Z.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Mt.push(i)),a&&Z.isFunction(o)&&o(a[0]),a=o=void 0}),"script"):void 0}),Z.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||K;var r=ae.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=Z.buildFragment([e],t,i),i&&i.length&&Z(i).remove(),Z.merge([],r.childNodes))};var Rt=Z.fn.load;Z.fn.load=function(e,t,n){if("string"!=typeof e&&Rt)return Rt.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>=0&&(r=Z.trim(e.slice(s)),e=e.slice(0,s)),Z.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&Z.ajax({url:e,type:i,dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?Z("<div>").append(Z.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,o||[e.responseText,t,e])}),this},Z.expr.filters.animated=function(e){return Z.grep(Z.timers,function(t){return e===t.elem}).length};var Pt=e.document.documentElement;Z.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,c,l=Z.css(e,"position"),f=Z(e),p={};"static"===l&&(e.style.position="relative"),s=f.offset(),o=Z.css(e,"top"),u=Z.css(e,"left"),c=("absolute"===l||"fixed"===l)&&(o+u).indexOf("auto")>-1,c?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),Z.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},Z.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){Z.offset.setOffset(this,e,t)});var t,n,r=this[0],i={top:0,left:0},o=r&&r.ownerDocument;if(o)return t=o.documentElement,Z.contains(t,r)?(typeof r.getBoundingClientRect!==Ce&&(i=r.getBoundingClientRect()),n=_(o),{top:i.top+n.pageYOffset-t.clientTop,left:i.left+n.pageXOffset-t.clientLeft}):i},position:function(){if(this[0]){var e,t,n=this[0],r={top:0,left:0};return"fixed"===Z.css(n,"position")?t=n.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),Z.nodeName(e[0],"html")||(r=e.offset()),r.top+=Z.css(e[0],"borderTopWidth",!0),r.left+=Z.css(e[0],"borderLeftWidth",!0)),{top:t.top-r.top-Z.css(n,"marginTop",!0),left:t.left-r.left-Z.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Pt;e&&!Z.nodeName(e,"html")&&"static"===Z.css(e,"position");)e=e.offsetParent;return e||Pt})}}),Z.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,n){var r="pageYOffset"===n;Z.fn[t]=function(i){return ve(this,function(t,i,o){var a=_(t);return void 0===o?a?a[n]:t[i]:void(a?a.scrollTo(r?e.pageXOffset:o,r?o:e.pageYOffset):t[i]=o)},t,i,arguments.length,null)}}),Z.each(["top","left"],function(e,t){Z.cssHooks[t]=w(Y.pixelPosition,function(e,n){return n?(n=x(e,t),He.test(n)?Z(e).position()[t]+"px":n):void 0})}),Z.each({Height:"height",Width:"width"},function(e,t){Z.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){Z.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return ve(this,function(t,n,r){var i;return Z.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?Z.css(t,n,a):Z.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),Z.fn.size=function(){return this.length},Z.fn.andSelf=Z.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Z});var qt=e.jQuery,Lt=e.$;return Z.noConflict=function(t){return e.$===Z&&(e.$=Lt),t&&e.jQuery===Z&&(e.jQuery=qt),Z},typeof t===Ce&&(e.jQuery=e.$=Z),Z}),function(e,t){function n(e,t){return t=t||Error,function(){var n,r,i=2,o=arguments,a=o[0],s="["+(e?e+":":"")+a+"] ",u=o[1];for(s+=u.replace(/\{\d+\}/g,function(e){var t=+e.slice(1,-1),n=t+i;return n<o.length?$e(o[n]):e}),s+="\nhttp://errors.angularjs.org/1.4.1/"+(e?e+"/":"")+a,r=i,n="?";r<o.length;r++,n="&")s+=n+"p"+(r-i)+"="+encodeURIComponent($e(o[r]));return new t(s)}}function r(e){if(null==e||k(e))return!1;var t="length"in Object(e)&&e.length;return e.nodeType===Qr&&t?!0:x(e)||Br(e)||0===t||"number"==typeof t&&t>0&&t-1 in e}function i(e,t,n){var o,a;if(e)if(E(e))for(o in e)"prototype"==o||"length"==o||"name"==o||e.hasOwnProperty&&!e.hasOwnProperty(o)||t.call(n,e[o],o,e);else if(Br(e)||r(e)){var s="object"!=typeof e;for(o=0,a=e.length;a>o;o++)(s||o in e)&&t.call(n,e[o],o,e)}else if(e.forEach&&e.forEach!==i)e.forEach(t,n,e);else if(b(e))for(o in e)t.call(n,e[o],o,e);else if("function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&t.call(n,e[o],o,e);else for(o in e)kr.call(e,o)&&t.call(n,e[o],o,e);return e}function o(e,t,n){for(var r=Object.keys(e).sort(),i=0;i<r.length;i++)t.call(n,e[r[i]],r[i]);return r}function a(e){return function(t,n){e(n,t)}}function s(){return++_r}function u(e,t){t?e.$$hashKey=t:delete e.$$hashKey}function c(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;o>i;++i){var a=t[i];if(y(a)||E(a))for(var s=Object.keys(a),l=0,f=s.length;f>l;l++){var p=s[l],d=a[p];n&&y(d)?(y(e[p])||(e[p]=Br(d)?[]:{}),c(e[p],[d],!0)):e[p]=d}}return u(e,r),e}function l(e){return c(e,Fr.call(arguments,1),!1)}function f(e){return c(e,Fr.call(arguments,1),!0)}function p(e){return parseInt(e,10)}function d(e,t){return l(Object.create(e),t)}function h(){}function m(e){return e}function v(e){return function(){return e}}function g(e){return"undefined"==typeof e}function $(e){return"undefined"!=typeof e}function y(e){return null!==e&&"object"==typeof e}function b(e){return null!==e&&"object"==typeof e&&!Lr(e)}function x(e){return"string"==typeof e}function w(e){return"number"==typeof e}function S(e){return"[object Date]"===qr.call(e)}function E(e){return"function"==typeof e}function C(e){return"[object RegExp]"===qr.call(e)}function k(e){return e&&e.window===e}function T(e){return e&&e.$evalAsync&&e.$watch}function A(e){return"[object File]"===qr.call(e)}function N(e){return"[object FormData]"===qr.call(e)}function O(e){return"[object Blob]"===qr.call(e)}function j(e){return"boolean"==typeof e}function D(e){return e&&E(e.then)}function M(e){return Ur.test(qr.call(e))}function F(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function R(e){var t,n={},r=e.split(",");for(t=0;t<r.length;t++)n[r[t]]=!0;return n}function P(e){return Cr(e.nodeName||e[0]&&e[0].nodeName)}function q(e,t){return-1!=Array.prototype.indexOf.call(e,t)}function L(e,t){var n=e.indexOf(t);return n>=0&&e.splice(n,1),n}function V(e,t,n,r){if(k(e)||T(e))throw Vr("cpws","Can't copy! Making copies of Window or Scope instances is not supported.");if(M(t))throw Vr("cpta","Can't copy! TypedArray destination cannot be mutated.");if(t){if(e===t)throw Vr("cpi","Can't copy! Source and destination are identical.");n=n||[],r=r||[],y(e)&&(n.push(e),r.push(t));var o;if(Br(e)){t.length=0;for(var a=0;a<e.length;a++)t.push(V(e[a],null,n,r))}else{var s=t.$$hashKey;if(Br(t)?t.length=0:i(t,function(e,n){delete t[n]}),b(e))for(o in e)t[o]=V(e[o],null,n,r);else if(e&&"function"==typeof e.hasOwnProperty)for(o in e)e.hasOwnProperty(o)&&(t[o]=V(e[o],null,n,r));else for(o in e)kr.call(e,o)&&(t[o]=V(e[o],null,n,r));u(t,s)}}else if(t=e,y(e)){var c;if(n&&-1!==(c=n.indexOf(e)))return r[c];if(Br(e))return V(e,[],n,r);if(M(e))t=new e.constructor(e);else if(S(e))t=new Date(e.getTime());else{if(!C(e)){var l=Object.create(Lr(e));return V(e,l,n,r)}t=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]),t.lastIndex=e.lastIndex}r&&(n.push(e),r.push(t))}return t}function I(e,t){if(Br(e)){t=t||[];for(var n=0,r=e.length;r>n;n++)t[n]=e[n]}else if(y(e)){t=t||{};for(var i in e)("$"!==i.charAt(0)||"$"!==i.charAt(1))&&(t[i]=e[i])}return t||e}function _(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r,i,o=typeof e,a=typeof t;if(o==a&&"object"==o){if(!Br(e)){if(S(e))return S(t)?_(e.getTime(),t.getTime()):!1;if(C(e))return C(t)?e.toString()==t.toString():!1;if(T(e)||T(t)||k(e)||k(t)||Br(t)||S(t)||C(t))return!1;i=me();for(r in e)if("$"!==r.charAt(0)&&!E(e[r])){if(!_(e[r],t[r]))return!1;i[r]=!0}for(r in t)if(!(r in i||"$"===r.charAt(0)||void 0===t[r]||E(t[r])))return!1;return!0}if(!Br(t))return!1;if((n=e.length)==t.length){for(r=0;n>r;r++)if(!_(e[r],t[r]))return!1;return!0}}return!1}function H(e,t,n){return e.concat(Fr.call(t,n))}function B(e,t){return Fr.call(e,t||0)}function U(e,t){var n=arguments.length>2?B(arguments,2):[];return!E(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,H(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function W(e,n){var r=n;return"string"==typeof e&&"$"===e.charAt(0)&&"$"===e.charAt(1)?r=void 0:k(n)?r="$WINDOW":n&&t===n?r="$DOCUMENT":T(n)&&(r="$SCOPE"),r}function z(e,t){return"undefined"!=typeof e?(w(t)||(t=t?2:null),JSON.stringify(e,W,t)):void 0}function G(e){return x(e)?JSON.parse(e):e}function X(e,t){var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function J(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function Y(e,t,n){n=n?-1:1;var r=X(t,e.getTimezoneOffset());return J(e,n*(r-e.getTimezoneOffset()))}function K(e){e=jr(e).clone();try{e.empty()}catch(t){}var n=jr("<div>").append(e).html();try{return e[0].nodeType===ei?Cr(n):n.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(e,t){return"<"+Cr(t)})}catch(t){return Cr(n)}}function Q(e){try{return decodeURIComponent(e)}catch(t){}}function Z(e){var t,n,r={};return i((e||"").split("&"),function(e){if(e&&(t=e.replace(/\+/g,"%20").split("="),n=Q(t[0]),$(n))){var i=$(t[1])?Q(t[1]):!0;kr.call(r,n)?Br(r[n])?r[n].push(i):r[n]=[r[n],i]:r[n]=i}}),r}function ee(e){var t=[];return i(e,function(e,n){Br(e)?i(e,function(e){t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}):t.push(ne(n,!0)+(e===!0?"":"="+ne(e,!0)))}),t.length?t.join("&"):""}function te(e){return ne(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function ne(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function re(e,t){var n,r,i=Jr.length;for(r=0;i>r;++r)if(n=Jr[r]+t,x(n=e.getAttribute(n)))return n;return null}function ie(e,t){var n,r,o={};i(Jr,function(t){var i=t+"app";!n&&e.hasAttribute&&e.hasAttribute(i)&&(n=e,r=e.getAttribute(i))}),i(Jr,function(t){var i,o=t+"app";!n&&(i=e.querySelector("["+o.replace(":","\\:")+"]"))&&(n=i,r=i.getAttribute(o))}),n&&(o.strictDi=null!==re(n,"strict-di"),t(n,r?[r]:[],o))}function oe(n,r,o){y(o)||(o={});var a={strictDi:!1};o=l(a,o);var s=function(){if(n=jr(n),n.injector()){var e=n[0]===t?"document":K(n);throw Vr("btstrpd","App Already Bootstrapped with this Element '{0}'",e.replace(/</,"&lt;").replace(/>/,"&gt;"))}r=r||[],r.unshift(["$provide",function(e){e.value("$rootElement",n)}]),o.debugInfoEnabled&&r.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),r.unshift("ng");var i=Ke(r,o.strictDi);return i.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),i},u=/^NG_ENABLE_DEBUG_INFO!/,c=/^NG_DEFER_BOOTSTRAP!/;return e&&u.test(e.name)&&(o.debugInfoEnabled=!0,e.name=e.name.replace(u,"")),e&&!c.test(e.name)?s():(e.name=e.name.replace(c,""),Ir.resumeBootstrap=function(e){return i(e,function(e){r.push(e)}),s()},void(E(Ir.resumeDeferredBootstrap)&&Ir.resumeDeferredBootstrap()))}function ae(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function se(e){var t=Ir.element(e).injector();if(!t)throw Vr("test","no injector found for element argument to getTestability");return t.get("$$testability")}function ue(e,t){return t=t||"_",e.replace(Yr,function(e,n){return(n?t:"")+e.toLowerCase()})}function ce(){var t;if(!Kr){var n=Xr();Dr=e.jQuery,$(n)&&(Dr=null===n?void 0:e[n]),Dr&&Dr.fn.on?(jr=Dr,l(Dr.fn,{scope:$i.scope,isolateScope:$i.isolateScope,controller:$i.controller,injector:$i.injector,inheritedData:$i.inheritedData}),t=Dr.cleanData,Dr.cleanData=function(e){var n;if(Hr)Hr=!1;else for(var r,i=0;null!=(r=e[i]);i++)n=Dr._data(r,"events"),n&&n.$destroy&&Dr(r).triggerHandler("$destroy");t(e)}):jr=Te,Ir.element=jr,Kr=!0}}function le(e,t,n){if(!e)throw Vr("areq","Argument '{0}' is {1}",t||"?",n||"required");return e}function fe(e,t,n){return n&&Br(e)&&(e=e[e.length-1]),le(E(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function pe(e,t){if("hasOwnProperty"===e)throw Vr("badname","hasOwnProperty is not a valid {0} name",t)}function de(e,t,n){if(!t)return e;for(var r,i=t.split("."),o=e,a=i.length,s=0;a>s;s++)r=i[s],e&&(e=(o=e)[r]);return!n&&E(e)?U(o,e):e}function he(e){var t=e[0],n=e[e.length-1],r=[t];do{if(t=t.nextSibling,!t)break;r.push(t)}while(t!==n);return jr(r)}function me(){return Object.create(null)}function ve(e){function t(e,t,n){return e[t]||(e[t]=n())}var r=n("$injector"),i=n("ng"),o=t(e,"angular",Object);return o.$$minErr=o.$$minErr||n,t(o,"module",function(){var e={};return function(n,o,a){var s=function(e,t){if("hasOwnProperty"===e)throw i("badname","hasOwnProperty is not a valid {0} name",t)};return s(n,"module"),o&&e.hasOwnProperty(n)&&(e[n]=null),t(e,n,function(){function e(e,t,n,r){return r||(r=i),function(){return r[n||"push"]([e,t,arguments]),l}}function t(e,t){return function(r,o){return o&&E(o)&&(o.$$moduleName=n),i.push([e,t,arguments]),l}}if(!o)throw r("nomod","Module '{0}' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.",n);var i=[],s=[],u=[],c=e("$injector","invoke","push",s),l={_invokeQueue:i,_configBlocks:s,_runBlocks:u,requires:o,name:n,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:t("$provide","decorator"),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),config:c,run:function(e){return u.push(e),this}};return a&&c(a),l})}})}function ge(e){var t=[];return JSON.stringify(e,function(e,n){if(n=W(e,n),y(n)){if(t.indexOf(n)>=0)return"<<already seen>>";t.push(n)}return n})}function $e(e){return"function"==typeof e?e.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof e?"undefined":"string"!=typeof e?ge(e):e}function ye(t){l(t,{bootstrap:oe,copy:V,extend:l,merge:f,equals:_,element:jr,forEach:i,injector:Ke,noop:h,bind:U,toJson:z,fromJson:G,identity:m,isUndefined:g,isDefined:$,isString:x,isFunction:E,isObject:y,isNumber:w,isElement:F,isArray:Br,version:ii,isDate:S,lowercase:Cr,uppercase:Tr,callbacks:{counter:0},getTestability:se,$$minErr:n,$$csp:Gr,reloadWithDebugInfo:ae}),Mr=ve(e);try{Mr("ngLocale")}catch(r){Mr("ngLocale",[]).provider("$locale",jt)}Mr("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:gn}),e.provider("$compile",ut).directive({a:mo,input:Do,textarea:Do,form:bo,script:Ea,select:Ta,style:Na,option:Aa,ngBind:Ro,ngBindHtml:qo,ngBindTemplate:Po,ngClass:Vo,ngClassEven:_o,ngClassOdd:Io,ngCloak:Ho,ngController:Bo,ngForm:xo,ngHide:$a,ngIf:zo,ngInclude:Go,ngInit:Jo,ngNonBindable:ca,ngPluralize:da,ngRepeat:ha,ngShow:ga,ngStyle:ya,ngSwitch:ba,ngSwitchWhen:xa,ngSwitchDefault:wa,ngOptions:pa,ngTransclude:Sa,ngModel:aa,ngList:Yo,ngChange:Lo,pattern:ja,ngPattern:ja,required:Oa,ngRequired:Oa,minlength:Ma,ngMinlength:Ma,maxlength:Da,ngMaxlength:Da,ngValue:Fo,
  ngModelOptions:ua}).directive({ngInclude:Xo}).directive(vo).directive(Uo),e.provider({$anchorScroll:Qe,$animate:Mi,$$animateQueue:Di,$$AnimateRunner:ji,$browser:ot,$cacheFactory:at,$controller:dt,$document:ht,$exceptionHandler:mt,$filter:jn,$interpolate:Nt,$interval:Ot,$http:Ct,$httpParamSerializer:gt,$httpParamSerializerJQLike:$t,$httpBackend:Tt,$location:Wt,$log:zt,$parse:fn,$rootScope:vn,$q:pn,$$q:dn,$sce:xn,$sceDelegate:bn,$sniffer:wn,$templateCache:st,$templateRequest:Sn,$$testability:En,$timeout:Cn,$window:An,$$rAF:mn,$$asyncCallback:rt,$$jqLite:ze,$$HashMap:wi,$$cookieReader:On})}])}function be(){return++ai}function xe(e){return e.replace(ci,function(e,t,n,r){return r?n.toUpperCase():n}).replace(li,"Moz$1")}function we(e){return!hi.test(e)}function Se(e){var t=e.nodeType;return t===Qr||!t||t===ni}function Ee(e){for(var t in oi[e.ng339])return!0;return!1}function Ce(e,t){var n,r,o,a,s=t.createDocumentFragment(),u=[];if(we(e))u.push(t.createTextNode(e));else{for(n=n||s.appendChild(t.createElement("div")),r=(mi.exec(e)||["",""])[1].toLowerCase(),o=gi[r]||gi._default,n.innerHTML=o[1]+e.replace(vi,"<$1></$2>")+o[2],a=o[0];a--;)n=n.lastChild;u=H(u,n.childNodes),n=s.firstChild,n.textContent=""}return s.textContent="",s.innerHTML="",i(u,function(e){s.appendChild(e)}),s}function ke(e,n){n=n||t;var r;return(r=di.exec(e))?[n.createElement(r[1])]:(r=Ce(e,n))?r.childNodes:[]}function Te(e){if(e instanceof Te)return e;var t;if(x(e)&&(e=Wr(e),t=!0),!(this instanceof Te)){if(t&&"<"!=e.charAt(0))throw pi("nosel","Looking up elements via selectors is not supported by jqLite! See: http://docs.angularjs.org/api/angular.element");return new Te(e)}t?qe(this,ke(e)):qe(this,e)}function Ae(e){return e.cloneNode(!0)}function Ne(e,t){if(t||je(e),e.querySelectorAll)for(var n=e.querySelectorAll("*"),r=0,i=n.length;i>r;r++)je(n[r])}function Oe(e,t,n,r){if($(r))throw pi("offargs","jqLite#off() does not support the `selector` argument");var o=De(e),a=o&&o.events,s=o&&o.handle;if(s)if(t)i(t.split(" "),function(t){if($(n)){var r=a[t];if(L(r||[],n),r&&r.length>0)return}ui(e,t,s),delete a[t]});else for(t in a)"$destroy"!==t&&ui(e,t,s),delete a[t]}function je(e,t){var n=e.ng339,r=n&&oi[n];if(r){if(t)return void delete r.data[t];r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),Oe(e)),delete oi[n],e.ng339=void 0}}function De(e,t){var n=e.ng339,r=n&&oi[n];return t&&!r&&(e.ng339=n=be(),r=oi[n]={events:{},data:{},handle:void 0}),r}function Me(e,t,n){if(Se(e)){var r=$(n),i=!r&&t&&!y(t),o=!t,a=De(e,!i),s=a&&a.data;if(r)s[t]=n;else{if(o)return s;if(i)return s&&s[t];l(s,t)}}}function Fe(e,t){return e.getAttribute?(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")>-1:!1}function Re(e,t){t&&e.setAttribute&&i(t.split(" "),function(t){e.setAttribute("class",Wr((" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Wr(t)+" "," ")))})}function Pe(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");i(t.split(" "),function(e){e=Wr(e),-1===n.indexOf(" "+e+" ")&&(n+=e+" ")}),e.setAttribute("class",Wr(n))}}function qe(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var r=0;n>r;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function Le(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){e.nodeType==ni&&(e=e.documentElement);for(var r=Br(t)?t:[t];e;){for(var i=0,o=r.length;o>i;i++)if(void 0!==(n=jr.data(e,r[i])))return n;e=e.parentNode||e.nodeType===ri&&e.host}}function Ie(e){for(Ne(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function _e(e,t){t||Ne(e);var n=e.parentNode;n&&n.removeChild(e)}function He(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):jr(n).on("load",t)}function Be(e,t){var n=yi[t.toLowerCase()];return n&&bi[P(e)]&&n}function Ue(e,t){var n=e.nodeName;return("INPUT"===n||"TEXTAREA"===n)&&xi[t]}function We(e,t){var n=function(n,r){n.isDefaultPrevented=function(){return n.defaultPrevented};var i=t[r||n.type],o=i?i.length:0;if(o){if(g(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return n.immediatePropagationStopped===!0},o>1&&(i=I(i));for(var s=0;o>s;s++)n.isImmediatePropagationStopped()||i[s].call(e,n)}};return n.elem=e,n}function ze(){this.$get=function(){return l(Te,{hasClass:function(e,t){return e.attr&&(e=e[0]),Fe(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),Pe(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Re(e,t)}})}}function Ge(e,t){var n=e&&e.$$hashKey;if(n)return"function"==typeof n&&(n=e.$$hashKey()),n;var r=typeof e;return n="function"==r||"object"==r&&null!==e?e.$$hashKey=r+":"+(t||s)():r+":"+e}function Xe(e,t){if(t){var n=0;this.nextUid=function(){return++n}}i(e,this.put,this)}function Je(e){var t=e.toString().replace(ki,""),n=t.match(Si);return n?"function("+(n[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Ye(e,t,n){var r,o,a,s;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw x(n)&&n||(n=e.name||Je(e)),Ti("strictdi","{0} is not using explicit annotation and cannot be invoked in strict mode",n);o=e.toString().replace(ki,""),a=o.match(Si),i(a[1].split(Ei),function(e){e.replace(Ci,function(e,t,n){r.push(n)})})}e.$inject=r}}else Br(e)?(s=e.length-1,fe(e[s],"fn"),r=e.slice(0,s)):fe(e,"fn",!0);return r}function Ke(e,t){function n(e){return function(t,n){return y(t)?void i(t,a(e)):e(t,n)}}function r(e,t){if(pe(e,"service"),(E(t)||Br(t))&&(t=S.instantiate(t)),!t.$get)throw Ti("pget","Provider '{0}' must define $get factory method.",e);return w[e+m]=t}function o(e,t){return function(){var n=k.invoke(t,this);if(g(n))throw Ti("undef","Provider '{0}' must return a value from $get factory method.",e);return n}}function s(e,t,n){return r(e,{$get:n!==!1?o(e,t):t})}function u(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])}function c(e,t){return s(e,v(t),!1)}function l(e,t){pe(e,"constant"),w[e]=t,C[e]=t}function f(e,t){var n=S.get(e+m),r=n.$get;n.$get=function(){var e=k.invoke(r,n);return k.invoke(t,null,{$delegate:e})}}function p(e){var t,n=[];return i(e,function(e){function r(e){var t,n;for(t=0,n=e.length;n>t;t++){var r=e[t],i=S.get(r[0]);i[r[1]].apply(i,r[2])}}if(!b.get(e)){b.put(e,!0);try{x(e)?(t=Mr(e),n=n.concat(p(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):E(e)?n.push(S.invoke(e)):Br(e)?n.push(S.invoke(e)):fe(e,"module")}catch(i){throw Br(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1==i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),Ti("modulerr","Failed to instantiate module {0} due to:\n{1}",e,i.stack||i.message||i)}}}),n}function d(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===h)throw Ti("cdep","Circular dependency found: {0}",t+" <- "+$.join(" <- "));return e[t]}try{return $.unshift(t),e[t]=h,e[t]=n(t,r)}catch(i){throw e[t]===h&&delete e[t],i}finally{$.shift()}}function i(e,n,i,o){"string"==typeof i&&(o=i,i=null);var a,s,u,c=[],l=Ke.$$annotate(e,t,o);for(s=0,a=l.length;a>s;s++){if(u=l[s],"string"!=typeof u)throw Ti("itkn","Incorrect injection token! Expected service name as string, got {0}",u);c.push(i&&i.hasOwnProperty(u)?i[u]:r(u,o))}return Br(e)&&(e=e[a]),e.apply(n,c)}function o(e,t,n){var r=Object.create((Br(e)?e[e.length-1]:e).prototype||null),o=i(e,r,t,n);return y(o)||E(o)?o:r}return{invoke:i,instantiate:o,get:r,annotate:Ke.$$annotate,has:function(t){return w.hasOwnProperty(t+m)||e.hasOwnProperty(t)}}}t=t===!0;var h={},m="Provider",$=[],b=new Xe([],!0),w={$provide:{provider:n(r),factory:n(s),service:n(u),value:n(c),constant:n(l),decorator:f}},S=w.$injector=d(w,function(e,t){throw Ir.isString(t)&&$.push(t),Ti("unpr","Unknown provider: {0}",$.join(" <- "))}),C={},k=C.$injector=d(C,function(e,t){var n=S.get(e+m,t);return k.invoke(n.$get,n,void 0,e)});return i(p(e),function(e){e&&k.invoke(e)}),k}function Qe(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(t,n,r){function i(e){var t=null;return Array.prototype.some.call(e,function(e){return"a"===P(e)?(t=e,!0):void 0}),t}function o(){var e=s.yOffset;if(E(e))e=e();else if(F(e)){var n=e[0],r=t.getComputedStyle(n);e="fixed"!==r.position?0:n.getBoundingClientRect().bottom}else w(e)||(e=0);return e}function a(e){if(e){e.scrollIntoView();var n=o();if(n){var r=e.getBoundingClientRect().top;t.scrollBy(0,r-n)}}else t.scrollTo(0,0)}function s(e){e=x(e)?e:n.hash();var t;e?(t=u.getElementById(e))?a(t):(t=i(u.getElementsByName(e)))?a(t):"top"===e&&a(null):a(null)}var u=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){(e!==t||""!==e)&&He(function(){r.$evalAsync(s)})}),s}]}function Ze(e,t){return e||t?e?t?(Br(e)&&(e=e.join(" ")),Br(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function et(e){for(var t=0;t<e.length;t++){var n=e[t];if(n.nodeType===Ni)return n}}function tt(e){x(e)&&(e=e.split(" "));var t=me();return i(e,function(e){e.length&&(t[e]=!0)}),t}function nt(e){return y(e)?e:{}}function rt(){this.$get=["$$rAF","$timeout",function(e,t){return e.supported?function(t){return e(t)}:function(e){return t(e,0,!1)}}]}function it(e,t,n,r){function o(e){try{e.apply(null,B(arguments,1))}finally{if(y--,0===y)for(;b.length;)try{b.pop()()}catch(t){n.error(t)}}}function a(e){var t=e.indexOf("#");return-1===t?"":e.substr(t+1)}function s(){c(),l()}function u(){try{return d.state}catch(e){}}function c(){x=u(),x=g(x)?null:x,_(x,A)&&(x=A),A=x}function l(){(S!==f.url()||w!==x)&&(S=f.url(),w=x,i(k,function(e){e(f.url(),x)}))}var f=this,p=(t[0],e.location),d=e.history,m=e.setTimeout,v=e.clearTimeout,$={};f.isMock=!1;var y=0,b=[];f.$$completeOutstandingRequest=o,f.$$incOutstandingRequestCount=function(){y++},f.notifyWhenNoOutstandingRequests=function(e){0===y?e():b.push(e)};var x,w,S=p.href,E=t.find("base"),C=null;c(),w=x,f.url=function(t,n,i){if(g(i)&&(i=null),p!==e.location&&(p=e.location),d!==e.history&&(d=e.history),t){var o=w===i;if(S===t&&(!r.history||o))return f;var s=S&&Pt(S)===Pt(t);return S=t,w=i,!r.history||s&&o?((!s||C)&&(C=t),n?p.replace(t):s?p.hash=a(t):p.href=t):(d[n?"replaceState":"pushState"](i,"",t),c(),w=x),f}return C||p.href.replace(/%27/g,"'")},f.state=function(){return x};var k=[],T=!1,A=null;f.onUrlChange=function(t){return T||(r.history&&jr(e).on("popstate",s),jr(e).on("hashchange",s),T=!0),k.push(t),t},f.$$applicationDestroyed=function(){jr(e).off("hashchange popstate",s)},f.$$checkUrlChange=l,f.baseHref=function(){var e=E.attr("href");return e?e.replace(/^(https?\:)?\/\/[^\/]*/,""):""},f.defer=function(e,t){var n;return y++,n=m(function(){delete $[n],o(e)},t||0),$[n]=!0,n},f.defer.cancel=function(e){return $[e]?(delete $[e],v(e),o(h),!0):!1}}function ot(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new it(e,r,t,n)}]}function at(){this.$get=function(){function e(e,r){function i(e){e!=p&&(d?d==e&&(d=e.n):d=e,o(e.n,e.p),o(e,p),p=e,p.n=null)}function o(e,t){e!=t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw n("$cacheFactory")("iid","CacheId '{0}' is already taken!",e);var a=0,s=l({},r,{id:e}),u={},c=r&&r.capacity||Number.MAX_VALUE,f={},p=null,d=null;return t[e]={put:function(e,t){if(!g(t)){if(c<Number.MAX_VALUE){var n=f[e]||(f[e]={key:e});i(n)}return e in u||a++,u[e]=t,a>c&&this.remove(d.key),t}},get:function(e){if(c<Number.MAX_VALUE){var t=f[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(c<Number.MAX_VALUE){var t=f[e];if(!t)return;t==p&&(p=t.p),t==d&&(d=t.n),o(t.n,t.p),delete f[e]}delete u[e],a--},removeAll:function(){u={},a=0,f={},p=d=null},destroy:function(){u=null,s=null,f=null,delete t[e]},info:function(){return l({},s,{size:a})}}}var t={};return e.info=function(){var e={};return i(t,function(t,n){e[n]=t.info()}),e},e.get=function(e){return t[e]},e}}function st(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function ut(e,n){function r(e,t,n){var r=/^\s*([@&]|=(\*?))(\??)\s*(\w*)\s*$/,o={};return i(e,function(e,i){var a=e.match(r);if(!a)throw Fi("iscp","Invalid {3} for directive '{0}'. Definition: {... {1}: '{2}' ...}",t,i,e,n?"controller bindings definition":"isolate scope definition");o[i]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||i}}),o}function o(e,t){var n={isolateScope:null,bindToController:null};if(y(e.scope)&&(e.bindToController===!0?(n.bindToController=r(e.scope,t,!0),n.isolateScope={}):n.isolateScope=r(e.scope,t,!1)),y(e.bindToController)&&(n.bindToController=r(e.bindToController,t,!0)),y(n.bindToController)){var i=e.controller,o=e.controllerAs;if(!i)throw Fi("noctrl","Cannot bind to controller without directive '{0}'s controller.",t);if(!pt(i,o))throw Fi("noident","Cannot bind to controller without identifier for directive '{0}'.",t)}return n}function s(e){var t=e.charAt(0);if(!t||t!==Cr(t))throw Fi("baddir","Directive name '{0}' is invalid. The first character must be a lowercase letter",e);if(e!==e.trim())throw Fi("baddir","Directive name '{0}' is invalid. The name should not contain leading or trailing whitespaces",e)}var u={},c="Directive",f=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,p=/(([\w\-]+)(?:\:([^;]+))?;?)/,g=R("ngSrc,ngSrcset,src,srcset"),b=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,w=/^(on[a-z]+|formaction)$/;this.directive=function C(t,n){return pe(t,"directive"),x(t)?(s(t),le(n,"directiveFactory"),u.hasOwnProperty(t)||(u[t]=[],e.factory(t+c,["$injector","$exceptionHandler",function(e,n){var r=[];return i(u[t],function(i,a){try{var s=e.invoke(i);E(s)?s={compile:v(s)}:!s.compile&&s.link&&(s.compile=v(s.link)),s.priority=s.priority||0,s.index=a,s.name=s.name||t,s.require=s.require||s.controller&&s.name,s.restrict=s.restrict||"EA";var u=s.$$bindings=o(s,s.name);y(u.isolateScope)&&(s.$$isolateBindings=u.isolateScope),s.$$moduleName=i.$$moduleName,r.push(s)}catch(c){n(c)}}),r}])),u[t].push(n)):i(t,a(C)),this},this.aHrefSanitizationWhitelist=function(e){return $(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var S=!0;this.debugInfoEnabled=function(e){return $(e)?(S=e,this):S},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(e,n,r,o,a,s,v,$,C,k,A){function N(e,t){try{e.addClass(t)}catch(n){}}function O(e,t,n,r,o){e instanceof jr||(e=jr(e)),i(e,function(t,n){t.nodeType==ei&&t.nodeValue.match(/\S+/)&&(e[n]=jr(t).wrap("<span></span>").parent()[0])});var a=D(e,t,e,n,r,o);O.$$addScopeClass(e);var s=null;return function(t,n,r){le(t,"scope"),r=r||{};var i=r.parentBoundTranscludeFn,o=r.transcludeControllers,u=r.futureParentElement;i&&i.$$boundTransclude&&(i=i.$$boundTransclude),s||(s=j(u));var c;if(c="html"!==s?jr(Y(s,jr("<div>").append(e).html())):n?$i.clone.call(e):e,o)for(var l in o)c.data("$"+l+"Controller",o[l].instance);return O.$$addScopeInfo(c,t),n&&n(c,t),a&&a(t,c,c,i),c}}function j(e){var t=e&&e[0];return t&&"foreignobject"!==P(t)&&t.toString().match(/SVG/)?"svg":"html"}function D(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,c,l,f,p,m;if(d){var v=n.length;for(m=new Array(v),c=0;c<h.length;c+=3)f=h[c],m[f]=n[f]}else m=n;for(c=0,l=h.length;l>c;)if(s=m[h[c++]],o=h[c++],a=h[c++],o){if(o.scope){u=e.$new(),O.$$addScopeInfo(jr(s),u);var g=o.$$destroyBindings;g&&(o.$$destroyBindings=null,u.$on("$destroyed",g))}else u=e;p=o.transcludeOnThisElement?M(e,o.transclude,i):!o.templateOnThisElement&&i?i:!i&&t?M(e,t):null,o(a,u,s,r,p,o)}else a&&a(e,s.childNodes,void 0,i)}for(var s,u,c,l,f,p,d,h=[],m=0;m<e.length;m++)s=new ie,u=F(e[m],[],s,0===m?r:void 0,i),c=u.length?V(u,e[m],s,t,n,null,[],[],o):null,c&&c.scope&&O.$$addScopeClass(s.$$element),f=c&&c.terminal||!(l=e[m].childNodes)||!l.length?null:D(l,c?(c.transcludeOnThisElement||!c.templateOnThisElement)&&c.transclude:t),(c||f)&&(h.push(m,c,f),p=!0,d=d||c),o=null;return p?a:null}function M(e,t,n){var r=function(r,i,o,a,s){return r||(r=e.$new(!1,s),r.$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})};return r}function F(e,t,n,r,i){var o,a,s=e.nodeType,u=n.$attr;switch(s){case Qr:H(t,ct(P(e)),"E",r,i);for(var c,l,d,h,m,v,g=e.attributes,$=0,b=g&&g.length;b>$;$++){var w=!1,S=!1;c=g[$],l=c.name,m=Wr(c.value),h=ct(l),(v=ce.test(h))&&(l=l.replace(Ri,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()}));var E=h.replace(/(Start|End)$/,"");U(E)&&h===E+"Start"&&(w=l,S=l.substr(0,l.length-5)+"end",l=l.substr(0,l.length-6)),d=ct(l.toLowerCase()),u[d]=l,(v||!n.hasOwnProperty(d))&&(n[d]=m,Be(e,d)&&(n[d]=!0)),Z(e,t,m,d,v),H(t,d,"A",r,i,w,S)}if(a=e.className,y(a)&&(a=a.animVal),x(a)&&""!==a)for(;o=p.exec(a);)d=ct(o[2]),H(t,d,"C",r,i)&&(n[d]=Wr(o[3])),a=a.substr(o.index+o[0].length);break;case ei:if(11===Or)for(;e.parentNode&&e.nextSibling&&e.nextSibling.nodeType===ei;)e.nodeValue=e.nodeValue+e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);J(t,e.nodeValue);break;case ti:try{o=f.exec(e.nodeValue),o&&(d=ct(o[1]),H(t,d,"M",r,i)&&(n[d]=Wr(o[2])))}catch(C){}}return t.sort(G),t}function R(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw Fi("uterdir","Unterminated attribute, found '{0}' but no matching '{1}' found.",t,n);e.nodeType==Qr&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(i>0)}else r.push(e);return jr(r)}function q(e,t,n){return function(r,i,o,a,s){return i=R(i[0],t,n),e(r,i,o,a,s)}}function V(e,n,i,o,a,u,c,l,f){function p(e,t,n,r){e&&(n&&(e=q(e,n,r)),e.require=g.require,e.directiveName=$,(N===g||g.$$isolateScope)&&(e=te(e,{isolateScope:!0})),c.push(e)),t&&(n&&(t=q(t,n,r)),t.require=g.require,t.directiveName=$,(N===g||g.$$isolateScope)&&(t=te(t,{isolateScope:!0})),l.push(t))}function d(e,t,n,r){var i;if(x(t)){var o=t.match(b),a=t.substring(o[0].length),s=o[1]||o[3],u="?"===o[2];if("^^"===s?n=n.parent():(i=r&&r[a],i=i&&i.instance),!i){var c="$"+a+"Controller";i=s?n.inheritedData(c):n.data(c)}if(!i&&!u)throw Fi("ctreq","Controller '{0}', required by directive '{1}', can't be found!",a,e)}else if(Br(t)){i=[];for(var l=0,f=t.length;f>l;l++)i[l]=d(e,t[l],n,r)}return i||null}function h(e,t,n,r,i,o){var a=me();for(var u in r){var c=r[u],l={$scope:c===N||c.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},f=c.controller;"@"==f&&(f=t[c.name]);var p=s(f,l,!0,c.controllerAs);a[c.name]=p,L||e.data("$"+c.name+"Controller",p.instance)}return a}function m(e,t,r,o,a,s){function u(e,t,n){var r;return T(e)||(n=t,t=e,e=void 0),L&&(r=y),n||(n=L?x.parent():x),a(e,t,r,n,D)}var f,p,m,g,$,y,b,x,w;if(n===r?(w=i,x=i.$$element):(x=jr(r),w=new ie(x,i)),N&&($=t.$new(!0)),a&&(b=u,b.$$boundTransclude=a),A&&(y=h(x,w,b,A,$,t)),N&&(O.$$addScopeInfo(x,$,!0,!(j&&(j===N||j===N.$$originalDirective))),O.$$addScopeClass(x,!0),$.$$isolateBindings=N.$$isolateBindings,re(t,w,$,$.$$isolateBindings,N,$)),y){var S,E,C=N||v;C&&y[C.name]&&(S=C.$$bindings.bindToController,g=y[C.name],g&&g.identifier&&S&&(E=g,s.$$destroyBindings=re(t,w,g.instance,S,C)));for(f in y){g=y[f];var k=g();k!==g.instance&&(g.instance=k,x.data("$"+f+"Controller",k),g===E&&(s.$$destroyBindings(),s.$$destroyBindings=re(t,w,k,S,C)))}}for(f=0,p=c.length;p>f;f++)m=c[f],ne(m,m.isolateScope?$:t,x,w,m.require&&d(m.directiveName,m.require,x,y),b);var D=t;for(N&&(N.template||null===N.templateUrl)&&(D=$),e&&e(D,r.childNodes,void 0,a),f=l.length-1;f>=0;f--)m=l[f],ne(m,m.isolateScope?$:t,x,w,m.require&&d(m.directiveName,m.require,x,y),b)}f=f||{};for(var v,g,$,w,S,C,k=-Number.MAX_VALUE,A=f.controllerDirectives,N=f.newIsolateScopeDirective,j=f.templateDirective,D=f.nonTlbTranscludeDirective,M=!1,P=!1,L=f.hasElementTranscludeDirective,V=i.$$element=jr(n),_=u,H=o,U=0,G=e.length;G>U;U++){g=e[U];var J=g.$$start,Q=g.$$end;if(J&&(V=R(n,J,Q)),w=void 0,k>g.priority)break;if((C=g.scope)&&(g.templateUrl||(y(C)?(X("new/isolated scope",N||v,g,V),N=g):X("new/isolated scope",N,g,V)),v=v||g),$=g.name,!g.templateUrl&&g.controller&&(C=g.controller,A=A||me(),X("'"+$+"' controller",A[$],g,V),A[$]=g),(C=g.transclude)&&(M=!0,g.$$tlb||(X("transclusion",D,g,V),D=g),"element"==C?(L=!0,k=g.priority,w=V,V=i.$$element=jr(t.createComment(" "+$+": "+i[$]+" ")),n=V[0],ee(a,B(w),n),H=O(w,o,k,_&&_.name,{nonTlbTranscludeDirective:D})):(w=jr(Ae(n)).contents(),V.empty(),H=O(w,o))),g.template)if(P=!0,X("template",j,g,V),j=g,C=E(g.template)?g.template(V,i):g.template,C=se(C),g.replace){if(_=g,w=we(C)?[]:ft(Y(g.templateNamespace,Wr(C))),n=w[0],1!=w.length||n.nodeType!==Qr)throw Fi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",$,"");ee(a,V,n);var Z={$attr:{}},oe=F(n,[],Z),ae=e.splice(U+1,e.length-(U+1));N&&I(oe),e=e.concat(oe).concat(ae),W(i,Z),G=e.length}else V.html(C);if(g.templateUrl)P=!0,X("template",j,g,V),j=g,g.replace&&(_=g),m=z(e.splice(U,e.length-U),V,i,a,M&&H,c,l,{controllerDirectives:A,newIsolateScopeDirective:N,templateDirective:j,nonTlbTranscludeDirective:D}),G=e.length;else if(g.compile)try{S=g.compile(V,i,H),E(S)?p(null,S,J,Q):S&&p(S.pre,S.post,J,Q)}catch(ue){r(ue,K(V))}g.terminal&&(m.terminal=!0,k=Math.max(k,g.priority))}return m.scope=v&&v.scope===!0,m.transcludeOnThisElement=M,m.templateOnThisElement=P,m.transclude=H,f.hasElementTranscludeDirective=L,m}function I(e){for(var t=0,n=e.length;n>t;t++)e[t]=d(e[t],{$$isolateScope:!0})}function H(t,n,i,o,a,s,l){if(n===a)return null;var f=null;if(u.hasOwnProperty(n))for(var p,h=e.get(n+c),m=0,v=h.length;v>m;m++)try{p=h[m],(void 0===o||o>p.priority)&&-1!=p.restrict.indexOf(i)&&(s&&(p=d(p,{$$start:s,$$end:l})),t.push(p),f=p)}catch(g){r(g)}return f}function U(t){if(u.hasOwnProperty(t))for(var n,r=e.get(t+c),i=0,o=r.length;o>i;i++)if(n=r[i],n.multiElement)return!0;return!1}function W(e,t){var n=t.$attr,r=e.$attr,o=e.$$element;i(e,function(r,i){"$"!=i.charAt(0)&&(t[i]&&t[i]!==r&&(r+=("style"===i?";":" ")+t[i]),e.$set(i,r,!0,n[i]))}),i(t,function(t,i){"class"==i?(N(o,t),e["class"]=(e["class"]?e["class"]+" ":"")+t):"style"==i?(o.attr("style",o.attr("style")+";"+t),e.style=(e.style?e.style+";":"")+t):"$"==i.charAt(0)||e.hasOwnProperty(i)||(e[i]=t,r[i]=n[i])})}function z(e,t,n,r,a,s,u,c){var l,f,p=[],h=t[0],m=e.shift(),v=d(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),g=E(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,$=m.templateNamespace;return t.empty(),o(C.getTrustedResourceUrl(g)).then(function(o){var d,b,x,w;if(o=se(o),m.replace){if(x=we(o)?[]:ft(Y($,Wr(o))),d=x[0],1!=x.length||d.nodeType!==Qr)throw Fi("tplrt","Template for directive '{0}' must have exactly one root element. {1}",m.name,g);b={$attr:{}},ee(r,t,d);var S=F(d,[],b);y(m.scope)&&I(S),e=S.concat(e),W(n,b)}else d=h,t.html(o);for(e.unshift(v),l=V(e,d,n,a,t,m,s,u,c),i(r,function(e,n){e==d&&(r[n]=t[0])}),f=D(t[0].childNodes,a);p.length;){var E=p.shift(),C=p.shift(),k=p.shift(),T=p.shift(),A=t[0];if(!E.$$destroyed){if(C!==h){var O=C.className;c.hasElementTranscludeDirective&&m.replace||(A=Ae(d)),ee(k,jr(C),A),N(jr(A),O)}w=l.transcludeOnThisElement?M(E,l.transclude,T):T,l(f,E,A,r,w,l)}}p=null}),function(e,t,n,r,i){var o=i;t.$$destroyed||(p?p.push(t,n,r,o):(l.transcludeOnThisElement&&(o=M(t,l.transclude,i)),l(f,t,n,r,o,l)))}}function G(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function X(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw Fi("multidir","Multiple directives [{0}{1}, {2}{3}] asking for {4} on: {5}",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,K(r))}function J(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){var t=e.parent(),n=!!t.length;return n&&O.$$addBindingClass(t),function(e,t){var i=t.parent();n||O.$$addBindingClass(i),O.$$addBindingInfo(i,r.expressions),e.$watch(r,function(e){t[0].nodeValue=e})}}})}function Y(e,n){switch(e=Cr(e||"html")){case"svg":case"math":var r=t.createElement("div");return r.innerHTML="<"+e+">"+n+"</"+e+">",r.childNodes[0].childNodes;default:return n}}function Q(e,t){if("srcdoc"==t)return C.HTML;var n=P(e);return"xlinkHref"==t||"form"==n&&"action"==t||"img"!=n&&("src"==t||"ngSrc"==t)?C.RESOURCE_URL:void 0}function Z(e,t,r,i,o){var a=Q(e,i);o=g[i]||o;var s=n(r,!0,a,o);if(s){if("multiple"===i&&"select"===P(e))throw Fi("selmulti","Binding to the 'multiple' attribute is not supported. Element: {0}",K(e));t.push({priority:100,compile:function(){return{pre:function(e,t,u){var c=u.$$observers||(u.$$observers={});if(w.test(i))throw Fi("nodomevents","Interpolations for HTML DOM event attributes are disallowed.  Please use the ng- versions (such as ng-click instead of onclick) instead.");var l=u[i];l!==r&&(s=l&&n(l,!0,a,o),r=l),s&&(u[i]=s(e),(c[i]||(c[i]=[])).$$inter=!0,(u.$$observers&&u.$$observers[i].$$scope||e).$watch(s,function(e,t){"class"===i&&e!=t?u.$updateClass(e,t):u.$set(i,e)}))}}}})}}function ee(e,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(e)for(i=0,o=e.length;o>i;i++)if(e[i]==a){e[i++]=r;for(var c=i,l=c+s-1,f=e.length;f>c;c++,l++)f>l?e[c]=e[l]:delete e[c];e.length-=s-1,e.context===a&&(e.context=r);break}u&&u.replaceChild(r,a);var p=t.createDocumentFragment();p.appendChild(a),jr.hasData(a)&&(jr(r).data(jr(a).data()),Dr?(Hr=!0,Dr.cleanData([a])):delete jr.cache[a[jr.expando]]);for(var d=1,h=n.length;h>d;d++){var m=n[d];jr(m).remove(),p.appendChild(m),delete n[d]}n[0]=r,n.length=1}function te(e,t){return l(function(){return e.apply(null,arguments)},e,t)}function ne(e,t,n,i,o,a){try{e(t,n,i,o,a)}catch(s){r(s,K(n))}}function re(e,t,r,o,s,u){var c;i(o,function(i,o){var u,l,f,p,d=i.attrName,m=i.optional,v=i.mode;switch(kr.call(t,d)||(t[d]=void 0),v){case"@":t[d]||m||(r[o]=void 0),t.$observe(d,function(e){r[o]=e}),t.$$observers[d].$$scope=e,t[d]&&(r[o]=n(t[d])(e));break;case"=":if(m&&!t[d])return;l=a(t[d]),p=l.literal?_:function(e,t){return e===t||e!==e&&t!==t},f=l.assign||function(){throw u=r[o]=l(e),Fi("nonassign","Expression '{0}' used with directive '{1}' is non-assignable!",t[d],s.name)},u=r[o]=l(e);var g=function(t){return p(t,r[o])||(p(t,u)?f(e,t=r[o]):r[o]=t),u=t};g.$stateful=!0;var $;$=i.collection?e.$watchCollection(t[d],g):e.$watch(a(t[d],g),null,l.literal),c=c||[],c.push($);break;case"&":if(l=a(t[d]),l===h&&m)break;r[o]=function(t){return l(e,t)}}});var l=c?function(){for(var e=0,t=c.length;t>e;++e)c[e]()}:h;return u&&l!==h?(u.$on("$destroy",l),h):l}var ie=function(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;r>n;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e};ie.prototype={$normalize:ct,$addClass:function(e){e&&e.length>0&&k.addClass(this.$$element,e)},$removeClass:function(e){e&&e.length>0&&k.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=lt(e,t);n&&n.length&&k.addClass(this.$$element,n);var r=lt(t,e);r&&r.length&&k.removeClass(this.$$element,r)},$set:function(e,t,n,o){var a,s=this.$$element[0],u=Be(s,e),c=Ue(s,e),l=e;if(u?(this.$$element.prop(e,t),o=u):c&&(this[c]=t,l=c),this[e]=t,o?this.$attr[e]=o:(o=this.$attr[e],o||(this.$attr[e]=o=ue(e,"-"))),a=P(this.$$element),"a"===a&&"href"===e||"img"===a&&"src"===e)this[e]=t=A(t,"src"===e);else if("img"===a&&"srcset"===e){for(var f="",p=Wr(t),d=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,h=/\s/.test(p)?d:/(,)/,m=p.split(h),v=Math.floor(m.length/2),g=0;v>g;g++){var $=2*g;f+=A(Wr(m[$]),!0),f+=" "+Wr(m[$+1])}var y=Wr(m[2*g]).split(/\s/);f+=A(Wr(y[0]),!0),2===y.length&&(f+=" "+Wr(y[1])),this[e]=t=f}n!==!1&&(null===t||void 0===t?this.$$element.removeAttr(o):this.$$element.attr(o,t));var b=this.$$observers;b&&i(b[l],function(e){try{e(t)}catch(n){r(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=me()),i=r[e]||(r[e]=[]);return i.push(t),v.$evalAsync(function(){!i.$$inter&&n.hasOwnProperty(e)&&t(n[e])}),function(){L(i,t)}}};var oe=n.startSymbol(),ae=n.endSymbol(),se="{{"==oe||"}}"==ae?m:function(e){return e.replace(/\{\{/g,oe).replace(/}}/g,ae)},ce=/^ngAttr[A-Z]/;return O.$$addBindingInfo=S?function(e,t){var n=e.data("$binding")||[];Br(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,O.$$addBindingClass=S?function(e){N(e,"ng-binding")}:h,O.$$addScopeInfo=S?function(e,t,n,r){var i=n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope";e.data(i,t)}:h,O.$$addScopeClass=S?function(e,t){N(e,t?"ng-isolate-scope":"ng-scope")}:h,O}]}function ct(e){return xe(e.replace(Ri,""))}function lt(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/);e:for(var o=0;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a==i[s])continue e;n+=(n.length>0?" ":"")+a}return n}function ft(e){e=jr(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];n.nodeType===ti&&Rr.call(e,t,1)}return e}function pt(e,t){if(t&&x(t))return t;if(x(e)){var n=qi.exec(e);if(n)return n[3]}}function dt(){var e={},t=!1;this.register=function(t,n){pe(t,"controller"),y(t)?l(e,t):e[t]=n},this.allowGlobals=function(){t=!0},this.$get=["$injector","$window",function(r,i){function o(e,t,r,i){if(!e||!y(e.$scope))throw n("$controller")("noscp","Cannot export controller '{0}' as '{1}'! No $scope object provided via `locals`.",i,t);e.$scope[t]=r}return function(n,a,s,u){var c,f,p,d;if(s=s===!0,u&&x(u)&&(d=u),x(n)){if(f=n.match(qi),!f)throw Pi("ctrlfmt","Badly formed controller string '{0}'. Must match `__name__ as __id__` or `__name__`.",n);p=f[1],d=d||f[3],n=e.hasOwnProperty(p)?e[p]:de(a.$scope,p,!0)||(t?de(i,p,!0):void 0),fe(n,p,!0)}if(s){var h=(Br(n)?n[n.length-1]:n).prototype;c=Object.create(h||null),d&&o(a,d,c,p||n.name);var m;return m=l(function(){var e=r.invoke(n,c,a,p);return e!==c&&(y(e)||E(e))&&(c=e,d&&o(a,d,c,p||n.name)),c},{instance:c,identifier:d})}return c=r.instantiate(n,a,p),d&&o(a,d,c,p||n.name),c}}]}function ht(){this.$get=["$window",function(e){return jr(e.document)}]}function mt(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function vt(e){return y(e)?S(e)?e.toISOString():z(e):e}function gt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return o(e,function(e,n){null===e||g(e)||(Br(e)?i(e,function(e,r){t.push(ne(n)+"="+ne(vt(e)))}):t.push(ne(n)+"="+ne(vt(e))))}),t.join("&")}}}function $t(){this.$get=function(){return function(e){function t(e,r,a){null===e||g(e)||(Br(e)?i(e,function(e){t(e,r+"[]")}):y(e)&&!S(e)?o(e,function(e,n){t(e,r+(a?"":"[")+n+(a?"":"]"))}):n.push(ne(r)+"="+ne(vt(e))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function yt(e,t){if(x(e)){var n=e.replace(Hi,"").trim();if(n){var r=t("Content-Type");(r&&0===r.indexOf(Li)||bt(n))&&(e=G(n))}}return e}function bt(e){var t=e.match(Ii);return t&&_i[t[0]].test(e)}function xt(e){function t(e,t){e&&(r[e]=r[e]?r[e]+", "+t:t)}var n,r=me();return x(e)?i(e.split("\n"),function(e){n=e.indexOf(":"),t(Cr(Wr(e.substr(0,n))),Wr(e.substr(n+1)))}):y(e)&&i(e,function(e,n){t(Cr(n),Wr(e))}),r}function wt(e){var t;return function(n){if(t||(t=xt(e)),n){var r=t[Cr(n)];return void 0===r&&(r=null),r}return t}}function St(e,t,n,r){return E(r)?r(e,t,n):(i(r,function(r){e=r(e,t,n)}),e)}function Et(e){return e>=200&&300>e}function Ct(){var e=this.defaults={transformResponse:[yt],transformRequest:[function(e){return!y(e)||A(e)||O(e)||N(e)?e:z(e)}],headers:{common:{Accept:"application/json, text/plain, */*"},post:I(Vi),put:I(Vi),patch:I(Vi)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},t=!1;this.useApplyAsync=function(e){return $(e)?(t=!!e,this):t};var r=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(o,a,s,u,c,f){function p(t){function r(e){var t=l({},e);return e.data?t.data=St(e.data,e.headers,e.status,s.transformResponse):t.data=e.data,Et(e.status)?t:c.reject(t)}function o(e,t){var n,r={};return i(e,function(e,i){E(e)?(n=e(t),null!=n&&(r[i]=n)):r[i]=e}),r}function a(t){var n,r,i,a=e.headers,s=l({},t.headers);a=l({},a.common,a[Cr(t.method)]);e:for(n in a){r=Cr(n);for(i in s)if(Cr(i)===r)continue e;s[n]=a[n]}return o(s,I(t))}if(!Ir.isObject(t))throw n("$http")("badreq","Http request configuration must be an object.  Received: {0}",t);
  var s=l({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer},t);s.headers=a(t),s.method=Tr(s.method),s.paramSerializer=x(s.paramSerializer)?f.get(s.paramSerializer):s.paramSerializer;var u=function(t){var n=t.headers,o=St(t.data,wt(n),void 0,t.transformRequest);return g(o)&&i(n,function(e,t){"content-type"===Cr(t)&&delete n[t]}),g(t.withCredentials)&&!g(e.withCredentials)&&(t.withCredentials=e.withCredentials),m(t,o).then(r,r)},p=[u,void 0],d=c.when(s);for(i(w,function(e){(e.request||e.requestError)&&p.unshift(e.request,e.requestError),(e.response||e.responseError)&&p.push(e.response,e.responseError)});p.length;){var h=p.shift(),v=p.shift();d=d.then(h,v)}return d.success=function(e){return fe(e,"fn"),d.then(function(t){e(t.data,t.status,t.headers,s)}),d},d.error=function(e){return fe(e,"fn"),d.then(null,function(t){e(t.data,t.status,t.headers,s)}),d},d}function d(e){i(arguments,function(e){p[e]=function(t,n){return p(l({},n||{},{method:e,url:t}))}})}function h(e){i(arguments,function(e){p[e]=function(t,n,r){return p(l({},r||{},{method:e,url:t,data:n}))}})}function m(n,r){function i(e,n,r,i){function o(){s(n,e,r,i)}d&&(Et(e)?d.put(S,[e,n,xt(r),i]):d.remove(S)),t?u.$applyAsync(o):(o(),u.$$phase||u.$apply())}function s(e,t,r,i){t=Math.max(t,0),(Et(t)?m.resolve:m.reject)({data:e,status:t,headers:wt(r),config:n,statusText:i})}function l(e){s(e.data,e.status,I(e.headers()),e.statusText)}function f(){var e=p.pendingRequests.indexOf(n);-1!==e&&p.pendingRequests.splice(e,1)}var d,h,m=c.defer(),x=m.promise,w=n.headers,S=v(n.url,n.paramSerializer(n.params));if(p.pendingRequests.push(n),x.then(f,f),!n.cache&&!e.cache||n.cache===!1||"GET"!==n.method&&"JSONP"!==n.method||(d=y(n.cache)?n.cache:y(e.cache)?e.cache:b),d&&(h=d.get(S),$(h)?D(h)?h.then(l,l):Br(h)?s(h[1],h[0],I(h[2]),h[3]):s(h,200,{},"OK"):d.put(S,x)),g(h)){var E=Tn(n.url)?a()[n.xsrfCookieName||e.xsrfCookieName]:void 0;E&&(w[n.xsrfHeaderName||e.xsrfHeaderName]=E),o(n.method,S,r,i,w,n.timeout,n.withCredentials,n.responseType)}return x}function v(e,t){return t.length>0&&(e+=(-1==e.indexOf("?")?"?":"&")+t),e}var b=s("$http");e.paramSerializer=x(e.paramSerializer)?f.get(e.paramSerializer):e.paramSerializer;var w=[];return i(r,function(e){w.unshift(x(e)?f.get(e):f.invoke(e))}),p.pendingRequests=[],d("get","delete","head","jsonp"),h("post","put","patch"),p.defaults=e,p}]}function kt(){return new e.XMLHttpRequest}function Tt(){this.$get=["$browser","$window","$document",function(e,t,n){return At(e,kt,e.defer,t.angular.callbacks,n[0])}]}function At(e,t,n,r,o){function a(e,t,n){var i=o.createElement("script"),a=null;return i.type="text/javascript",i.src=e,i.async=!0,a=function(e){ui(i,"load",a),ui(i,"error",a),o.body.removeChild(i),i=null;var s=-1,u="unknown";e&&("load"!==e.type||r[t].called||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},si(i,"load",a),si(i,"error",a),o.body.appendChild(i),a}return function(o,s,u,c,l,f,p,d){function m(){y&&y(),b&&b.abort()}function v(t,r,i,o,a){void 0!==S&&n.cancel(S),y=b=null,t(r,i,o,a),e.$$completeOutstandingRequest(h)}if(e.$$incOutstandingRequestCount(),s=s||e.url(),"jsonp"==Cr(o)){var g="_"+(r.counter++).toString(36);r[g]=function(e){r[g].data=e,r[g].called=!0};var y=a(s.replace("JSON_CALLBACK","angular.callbacks."+g),g,function(e,t){v(c,e,r[g].data,"",t),r[g]=h})}else{var b=t();b.open(o,s,!0),i(l,function(e,t){$(e)&&b.setRequestHeader(t,e)}),b.onload=function(){var e=b.statusText||"",t="response"in b?b.response:b.responseText,n=1223===b.status?204:b.status;0===n&&(n=t?200:"file"==kn(s).protocol?404:0),v(c,n,t,b.getAllResponseHeaders(),e)};var x=function(){v(c,-1,null,null,"")};if(b.onerror=x,b.onabort=x,p&&(b.withCredentials=!0),d)try{b.responseType=d}catch(w){if("json"!==d)throw w}b.send(u)}if(f>0)var S=n(m,f);else D(f)&&f.then(m)}}function Nt(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,r,i){function o(e){return"\\\\\\"+e}function a(n){return n.replace(p,e).replace(d,t)}function s(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=z(e)}return e}function u(o,u,p,d){function h(e){try{return e=A(e),d&&!$(e)?e:s(e)}catch(t){r(Bi.interr(o,t))}}d=!!d;for(var m,v,y,b=0,x=[],w=[],S=o.length,C=[],k=[];S>b;){if(-1==(m=o.indexOf(e,b))||-1==(v=o.indexOf(t,m+c))){b!==S&&C.push(a(o.substring(b)));break}b!==m&&C.push(a(o.substring(b,m))),y=o.substring(m+c,v),x.push(y),w.push(n(y,h)),b=v+f,k.push(C.length),C.push("")}if(p&&C.length>1&&Bi.throwNoconcat(o),!u||x.length){var T=function(e){for(var t=0,n=x.length;n>t;t++){if(d&&g(e[t]))return;C[k[t]]=e[t]}return C.join("")},A=function(e){return p?i.getTrusted(p,e):i.valueOf(e)};return l(function(e){var t=0,n=x.length,i=new Array(n);try{for(;n>t;t++)i[t]=w[t](e);return T(i)}catch(a){r(Bi.interr(o,a))}},{exp:o,expressions:x,$$watchDelegate:function(e,t){var n;return e.$watchGroup(w,function(r,i){var o=T(r);E(t)&&t.call(this,o,r!==i?n:o,e),n=o})}})}}var c=e.length,f=t.length,p=new RegExp(e.replace(/./g,o),"g"),d=new RegExp(t.replace(/./g,o),"g");return u.startSymbol=function(){return e},u.endSymbol=function(){return t},u}]}function Ot(){this.$get=["$rootScope","$window","$q","$$q",function(e,t,n,r){function i(i,a,s,u){var c=arguments.length>4,l=c?B(arguments,4):[],f=t.setInterval,p=t.clearInterval,d=0,h=$(u)&&!u,m=(h?r:n).defer(),v=m.promise;return s=$(s)?s:0,v.then(null,null,c?function(){i.apply(null,l)}:i),v.$$intervalId=f(function(){m.notify(d++),s>0&&d>=s&&(m.resolve(d),p(v.$$intervalId),delete o[v.$$intervalId]),h||e.$apply()},a),o[v.$$intervalId]=m,v}var o={};return i.cancel=function(e){return e&&e.$$intervalId in o?(o[e.$$intervalId].reject("canceled"),t.clearInterval(e.$$intervalId),delete o[e.$$intervalId],!0):!1},i}]}function jt(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"¤",posSuf:"",negPre:"(¤",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January,February,March,April,May,June,July,August,September,October,November,December".split(","),SHORTMONTH:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec".split(","),DAY:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday".split(","),SHORTDAY:"Sun,Mon,Tue,Wed,Thu,Fri,Sat".split(","),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a",ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"]},pluralCat:function(e){return 1===e?"one":"other"}}}}function Dt(e){for(var t=e.split("/"),n=t.length;n--;)t[n]=te(t[n]);return t.join("/")}function Mt(e,t){var n=kn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=p(n.port)||Wi[n.protocol]||null}function Ft(e,t){var n="/"!==e.charAt(0);n&&(e="/"+e);var r=kn(e);t.$$path=decodeURIComponent(n&&"/"===r.pathname.charAt(0)?r.pathname.substring(1):r.pathname),t.$$search=Z(r.search),t.$$hash=decodeURIComponent(r.hash),t.$$path&&"/"!=t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function Rt(e,t){return 0===t.indexOf(e)?t.substr(e.length):void 0}function Pt(e){var t=e.indexOf("#");return-1==t?e:e.substr(0,t)}function qt(e){return e.replace(/(#.+)|#$/,"$1")}function Lt(e){return e.substr(0,Pt(e).lastIndexOf("/")+1)}function Vt(e){return e.substring(0,e.indexOf("/",e.indexOf("//")+2))}function It(e,t){this.$$html5=!0,t=t||"";var n=Lt(e);Mt(e,this),this.$$parse=function(e){var t=Rt(n,e);if(!x(t))throw zi("ipthprfx",'Invalid url "{0}", missing path prefix "{1}".',e,n);Ft(t,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=ee(this.$$search),t=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Dt(this.$$path)+(e?"?"+e:"")+t,this.$$absUrl=n+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a,s;return void 0!==(o=Rt(e,r))?(a=o,s=void 0!==(o=Rt(t,o))?n+(Rt("/",o)||o):e+a):void 0!==(o=Rt(n,r))?s=n+o:n==r+"/"&&(s=n),s&&this.$$parse(s),!!s}}function _t(e,t){var n=Lt(e);Mt(e,this),this.$$parse=function(r){function i(e,t,n){var r,i=/^\/[A-Z]:(\/.*)/;return 0===t.indexOf(n)&&(t=t.replace(n,"")),i.exec(t)?e:(r=i.exec(e),r?r[1]:e)}var o,a=Rt(e,r)||Rt(n,r);"#"===a.charAt(0)?(o=Rt(t,a),g(o)&&(o=a)):o=this.$$html5?a:"",Ft(o,this),this.$$path=i(this.$$path,o,e),this.$$compose()},this.$$compose=function(){var n=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Dt(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+(this.$$url?t+this.$$url:"")},this.$$parseLinkUrl=function(t,n){return Pt(e)==Pt(t)?(this.$$parse(t),!0):!1}}function Ht(e,t){this.$$html5=!0,_t.apply(this,arguments);var n=Lt(e);this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return e==Pt(r)?o=r:(a=Rt(n,r))?o=e+t+a:n===r+"/"&&(o=n),o&&this.$$parse(o),!!o},this.$$compose=function(){var n=ee(this.$$search),r=this.$$hash?"#"+te(this.$$hash):"";this.$$url=Dt(this.$$path)+(n?"?"+n:"")+r,this.$$absUrl=e+t+this.$$url}}function Bt(e){return function(){return this[e]}}function Ut(e,t){return function(n){return g(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Wt(){var e="",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return $(t)?(e=t,this):e},this.html5Mode=function(e){return j(e)?(t.enabled=e,this):y(e)?(j(e.enabled)&&(t.enabled=e.enabled),j(e.requireBase)&&(t.requireBase=e.requireBase),j(e.rewriteLinks)&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,r,i,o,a){function s(e,t,n){var i=c.url(),o=c.$$state;try{r.url(e,t,n),c.$$state=r.state()}catch(a){throw c.url(i),c.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",c.absUrl(),e,c.$$state,t)}var c,l,f,p=r.baseHref(),d=r.url();if(t.enabled){if(!p&&t.requireBase)throw zi("nobase","$location in HTML5 mode requires a <base> tag to be present!");f=Vt(d)+(p||"/"),l=i.history?It:Ht}else f=Pt(d),l=_t;c=new l(f,"#"+e),c.$$parseLinkUrl(d,d),c.$$state=r.state();var h=/^\s*(javascript|mailto):/i;o.on("click",function(e){if(t.rewriteLinks&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!=e.which&&2!=e.button){for(var i=jr(e.target);"a"!==P(i[0]);)if(i[0]===o[0]||!(i=i.parent())[0])return;var s=i.prop("href"),u=i.attr("href")||i.attr("xlink:href");y(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=kn(s.animVal).href),h.test(s)||!s||i.attr("target")||e.isDefaultPrevented()||c.$$parseLinkUrl(s,u)&&(e.preventDefault(),c.absUrl()!=r.url()&&(n.$apply(),a.angular["ff-684208-preventDefault"]=!0))}}),qt(c.absUrl())!=qt(d)&&r.url(c.absUrl(),!0);var m=!0;return r.onUrlChange(function(e,t){n.$evalAsync(function(){var r,i=c.absUrl(),o=c.$$state;c.$$parse(e),c.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,c.absUrl()===e&&(r?(c.$$parse(i),c.$$state=o,s(i,!1,o)):(m=!1,u(i,o)))}),n.$$phase||n.$digest()}),n.$watch(function(){var e=qt(r.url()),t=qt(c.absUrl()),o=r.state(),a=c.$$replace,l=e!==t||c.$$html5&&i.history&&o!==c.$$state;(m||l)&&(m=!1,n.$evalAsync(function(){var t=c.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,c.$$state,o).defaultPrevented;c.absUrl()===t&&(r?(c.$$parse(e),c.$$state=o):(l&&s(t,a,o===c.$$state?null:c.$$state),u(e,o)))})),c.$$replace=!1}),c}]}function zt(){var e=!0,t=this;this.debugEnabled=function(t){return $(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return e instanceof Error&&(e.stack?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function o(e){var t=n.console||{},o=t[e]||t.log||h,a=!1;try{a=!!o.apply}catch(s){}return a?function(){var e=[];return i(arguments,function(t){e.push(r(t))}),o.apply(t,e)}:function(e,t){o(e,null==t?"":t)}}return{log:o("log"),info:o("info"),warn:o("warn"),error:o("error"),debug:function(){var n=o("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function Gt(e,t){if("__defineGetter__"===e||"__defineSetter__"===e||"__lookupGetter__"===e||"__lookupSetter__"===e||"__proto__"===e)throw Xi("isecfld","Attempting to access a disallowed field in Angular expressions! Expression: {0}",t);return e}function Xt(e,t){if(e){if(e.constructor===e)throw Xi("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e.window===e)throw Xi("isecwindow","Referencing the Window in Angular expressions is disallowed! Expression: {0}",t);if(e.children&&(e.nodeName||e.prop&&e.attr&&e.find))throw Xi("isecdom","Referencing DOM nodes in Angular expressions is disallowed! Expression: {0}",t);if(e===Object)throw Xi("isecobj","Referencing Object in Angular expressions is disallowed! Expression: {0}",t)}return e}function Jt(e,t){if(e){if(e.constructor===e)throw Xi("isecfn","Referencing Function in Angular expressions is disallowed! Expression: {0}",t);if(e===Ji||e===Yi||e===Ki)throw Xi("isecff","Referencing call, apply or bind in Angular expressions is disallowed! Expression: {0}",t)}}function Yt(e,t){return"undefined"!=typeof e?e:t}function Kt(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function Qt(e,t){var n=e(t);return!n.$stateful}function Zt(e,t){var n,r;switch(e.type){case to.Program:n=!0,i(e.body,function(e){Zt(e.expression,t),n=n&&e.expression.constant}),e.constant=n;break;case to.Literal:e.constant=!0,e.toWatch=[];break;case to.UnaryExpression:Zt(e.argument,t),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case to.BinaryExpression:Zt(e.left,t),Zt(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case to.LogicalExpression:Zt(e.left,t),Zt(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case to.ConditionalExpression:Zt(e.test,t),Zt(e.alternate,t),Zt(e.consequent,t),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case to.Identifier:e.constant=!1,e.toWatch=[e];break;case to.MemberExpression:Zt(e.object,t),e.computed&&Zt(e.property,t),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=[e];break;case to.CallExpression:n=e.filter?Qt(t,e.callee.name):!1,r=[],i(e.arguments,function(e){Zt(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=e.filter&&Qt(t,e.callee.name)?r:[e];break;case to.AssignmentExpression:Zt(e.left,t),Zt(e.right,t),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case to.ArrayExpression:n=!0,r=[],i(e.elements,function(e){Zt(e,t),n=n&&e.constant,e.constant||r.push.apply(r,e.toWatch)}),e.constant=n,e.toWatch=r;break;case to.ObjectExpression:n=!0,r=[],i(e.properties,function(e){Zt(e.value,t),n=n&&e.value.constant,e.value.constant||r.push.apply(r,e.value.toWatch)}),e.constant=n,e.toWatch=r;break;case to.ThisExpression:e.constant=!1,e.toWatch=[]}}function en(e){if(1==e.length){var t=e[0].expression,n=t.toWatch;return 1!==n.length?n:n[0]!==t?n:void 0}}function tn(e){return e.type===to.Identifier||e.type===to.MemberExpression}function nn(e){return 1===e.body.length&&tn(e.body[0].expression)?{type:to.AssignmentExpression,left:e.body[0].expression,right:{type:to.NGValueParameter},operator:"="}:void 0}function rn(e){return 0===e.body.length||1===e.body.length&&(e.body[0].expression.type===to.Literal||e.body[0].expression.type===to.ArrayExpression||e.body[0].expression.type===to.ObjectExpression)}function on(e){return e.constant}function an(e,t){this.astBuilder=e,this.$filter=t}function sn(e,t){this.astBuilder=e,this.$filter=t}function un(e,t,n,r){Xt(e,r);for(var i,o=t.split("."),a=0;o.length>1;a++){i=Gt(o.shift(),r);var s=Xt(e[i],r);s||(s={},e[i]=s),e=s}return i=Gt(o.shift(),r),Xt(e[i],r),e[i]=n,n}function cn(e){return"constructor"==e}function ln(e){return E(e.valueOf)?e.valueOf():ro.call(e)}function fn(){var e=me(),t=me();this.$get=["$filter","$sniffer",function(n,r){function o(e,t){return null==e||null==t?e===t:"object"==typeof e&&(e=ln(e),"object"==typeof e)?!1:e===t||e!==e&&t!==t}function a(e,t,n,r,i){var a,s=r.inputs;if(1===s.length){var u=o;return s=s[0],e.$watch(function(e){var t=s(e);return o(t,u)||(a=r(e,void 0,void 0,[t]),u=t&&ln(t)),a},t,n,i)}for(var c=[],l=[],f=0,p=s.length;p>f;f++)c[f]=o,l[f]=null;return e.$watch(function(e){for(var t=!1,n=0,i=s.length;i>n;n++){var u=s[n](e);(t||(t=!o(u,c[n])))&&(l[n]=u,c[n]=u&&ln(u))}return t&&(a=r(e,void 0,void 0,l)),a},t,n,i)}function s(e,t,n,r){var i,o;return i=e.$watch(function(e){return r(e)},function(e,n,r){o=e,E(t)&&t.apply(this,arguments),$(e)&&r.$$postDigest(function(){$(o)&&i()})},n)}function u(e,t,n,r){function o(e){var t=!0;return i(e,function(e){$(e)||(t=!1)}),t}var a,s;return a=e.$watch(function(e){return r(e)},function(e,n,r){s=e,E(t)&&t.call(this,e,n,r),o(e)&&r.$$postDigest(function(){o(s)&&a()})},n)}function c(e,t,n,r){var i;return i=e.$watch(function(e){return r(e)},function(e,n,r){E(t)&&t.apply(this,arguments),i()},n)}function l(e,t){if(!t)return e;var n=e.$$watchDelegate,r=n!==u&&n!==s,i=r?function(n,r,i,o){var a=e(n,r,i,o);return t(a,n,r)}:function(n,r,i,o){var a=e(n,r,i,o),s=t(a,n,r);return $(a)?s:a};return e.$$watchDelegate&&e.$$watchDelegate!==a?i.$$watchDelegate=e.$$watchDelegate:t.$stateful||(i.$$watchDelegate=a,i.inputs=e.inputs?e.inputs:[e]),i}var f={csp:r.csp,expensiveChecks:!1},p={csp:r.csp,expensiveChecks:!0};return function(r,i,o){var d,m,v;switch(typeof r){case"string":r=r.trim(),v=r;var g=o?t:e;if(d=g[v],!d){":"===r.charAt(0)&&":"===r.charAt(1)&&(m=!0,r=r.substring(2));var $=o?p:f,y=new eo($),b=new no(y,n,$);d=b.parse(r),d.constant?d.$$watchDelegate=c:m?d.$$watchDelegate=d.literal?u:s:d.inputs&&(d.$$watchDelegate=a),g[v]=d}return l(d,i);case"function":return l(r,i);default:return h}}}]}function pn(){this.$get=["$rootScope","$exceptionHandler",function(e,t){return hn(function(t){e.$evalAsync(t)},t)}]}function dn(){this.$get=["$browser","$exceptionHandler",function(e,t){return hn(function(t){e.defer(t)},t)}]}function hn(e,t){function r(e,t,n){function r(t){return function(n){i||(i=!0,t.call(e,n))}}var i=!1;return[r(t),r(n)]}function o(){this.$$state={status:0}}function a(e,t){return function(n){t.call(e,n)}}function s(e){var n,r,i;i=e.pending,e.processScheduled=!1,e.pending=void 0;for(var o=0,a=i.length;a>o;++o){r=i[o][0],n=i[o][e.status];try{E(n)?r.resolve(n(e.value)):1===e.status?r.resolve(e.value):r.reject(e.value)}catch(s){r.reject(s),t(s)}}}function u(t){!t.processScheduled&&t.pending&&(t.processScheduled=!0,e(function(){s(t)}))}function c(){this.promise=new o,this.resolve=a(this,this.resolve),this.reject=a(this,this.reject),this.notify=a(this,this.notify)}function l(e){var t=new c,n=0,r=Br(e)?[]:{};return i(e,function(e,i){n++,v(e).then(function(e){r.hasOwnProperty(i)||(r[i]=e,--n||t.resolve(r))},function(e){r.hasOwnProperty(i)||t.reject(e)})}),0===n&&t.resolve(r),t.promise}var f=n("$q",TypeError),p=function(){return new c};o.prototype={then:function(e,t,n){var r=new c;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),this.$$state.status>0&&u(this.$$state),r.promise},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return m(t,!0,e)},function(t){return m(t,!1,e)},t)}},c.prototype={resolve:function(e){this.promise.$$state.status||(e===this.promise?this.$$reject(f("qcycle","Expected promise to be resolved with value other than itself '{0}'",e)):this.$$resolve(e))},$$resolve:function(e){var n,i;i=r(this,this.$$resolve,this.$$reject);try{(y(e)||E(e))&&(n=e&&e.then),E(n)?(this.promise.$$state.status=-1,n.call(e,i[0],i[1],this.notify)):(this.promise.$$state.value=e,this.promise.$$state.status=1,u(this.promise.$$state))}catch(o){i[1](o),t(o)}},reject:function(e){this.promise.$$state.status||this.$$reject(e)},$$reject:function(e){this.promise.$$state.value=e,this.promise.$$state.status=2,u(this.promise.$$state)},notify:function(n){var r=this.promise.$$state.pending;this.promise.$$state.status<=0&&r&&r.length&&e(function(){for(var e,i,o=0,a=r.length;a>o;o++){i=r[o][0],e=r[o][3];try{i.notify(E(e)?e(n):n)}catch(s){t(s)}}})}};var d=function(e){var t=new c;return t.reject(e),t.promise},h=function(e,t){var n=new c;return t?n.resolve(e):n.reject(e),n.promise},m=function(e,t,n){var r=null;try{E(n)&&(r=n())}catch(i){return h(i,!1)}return D(r)?r.then(function(){return h(e,t)},function(e){return h(e,!1)}):h(e,t)},v=function(e,t,n,r){var i=new c;return i.resolve(e),i.promise.then(t,n,r)},g=v,$=function b(e){function t(e){r.resolve(e)}function n(e){r.reject(e)}if(!E(e))throw f("norslvr","Expected resolverFn, got '{0}'",e);if(!(this instanceof b))return new b(e);var r=new c;return e(t,n),r.promise};return $.defer=p,$.reject=d,$.when=v,$.resolve=g,$.all=l,$}function mn(){this.$get=["$window","$timeout",function(e,t){function n(){for(var e=0;e<l.length;e++){var t=l[e];t&&(l[e]=null,t())}c=l.length=0}function r(e){var t=l.length;return c++,l.push(e),0===t&&(u=s(n)),function(){t>=0&&(l[t]=null,t=null,0===--c&&u&&(u(),u=null,l.length=0))}}var i=e.requestAnimationFrame||e.webkitRequestAnimationFrame,o=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,a=!!i,s=a?function(e){var t=i(e);return function(){o(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};r.supported=a;var u,c=0,l=[];return r}]}function vn(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=s(),this.$$ChildScope=null}return t.prototype=e,t}var t=10,o=n("$rootScope"),a=null,u=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(n,c,l,f){function p(e){e.currentScope.$$destroyed=!0}function d(){this.$id=s(),this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function m(e){if(C.$$phase)throw o("inprog","{0} already in progress",C.$$phase);C.$$phase=e}function v(){C.$$phase=null}function $(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function b(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function x(){}function w(){for(;A.length;)try{A.shift()()}catch(e){c(e)}u=null}function S(){null===u&&(u=f.defer(function(){C.$apply(w)}))}d.prototype={constructor:d,$new:function(t,n){var r;return n=n||this,t?(r=new d,r.$root=this.$root):(this.$$ChildScope||(this.$$ChildScope=e(this)),r=new this.$$ChildScope),r.$parent=n,r.$$prevSibling=n.$$childTail,n.$$childHead?(n.$$childTail.$$nextSibling=r,n.$$childTail=r):n.$$childHead=n.$$childTail=r,(t||n!=this)&&r.$on("$destroy",p),r},$watch:function(e,t,n,r){var i=l(e);if(i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,s=o.$$watchers,u={fn:t,last:x,get:i,exp:r||e,eq:!!n};return a=null,E(t)||(u.fn=h),s||(s=o.$$watchers=[]),s.unshift(u),$(this,1),function(){L(s,u)>=0&&$(o,-1),a=null}},$watchGroup:function(e,t){function n(){u=!1,c?(c=!1,t(o,o,s)):t(o,r,s)}var r=new Array(e.length),o=new Array(e.length),a=[],s=this,u=!1,c=!0;if(!e.length){var l=!0;return s.$evalAsync(function(){l&&t(o,o,s)}),function(){l=!1}}return 1===e.length?this.$watch(e[0],function(e,n,i){o[0]=e,r[0]=n,t(o,e===n?o:r,i)}):(i(e,function(e,t){var i=s.$watch(e,function(e,i){o[t]=e,r[t]=i,u||(u=!0,s.$evalAsync(n))});a.push(i)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function n(e){o=e;var t,n,i,s,u;if(!g(o)){if(y(o))if(r(o)){a!==d&&(a=d,v=a.length=0,f++),t=o.length,v!==t&&(f++,a.length=v=t);for(var c=0;t>c;c++)u=a[c],s=o[c],i=u!==u&&s!==s,i||u===s||(f++,a[c]=s)}else{a!==h&&(a=h={},v=0,f++),t=0;for(n in o)o.hasOwnProperty(n)&&(t++,s=o[n],u=a[n],n in a?(i=u!==u&&s!==s,i||u===s||(f++,a[n]=s)):(v++,a[n]=s,f++));if(v>t){f++;for(n in a)o.hasOwnProperty(n)||(v--,delete a[n])}}else a!==o&&(a=o,f++);return f}}function i(){if(m?(m=!1,t(o,o,u)):t(o,s,u),c)if(y(o))if(r(o)){s=new Array(o.length);for(var e=0;e<o.length;e++)s[e]=o[e]}else{s={};for(var n in o)kr.call(o,n)&&(s[n]=o[n])}else s=o}n.$stateful=!0;var o,a,s,u=this,c=t.length>1,f=0,p=l(e,n),d=[],h={},m=!0,v=0;return this.$watch(p,i)},$digest:function(){var e,n,r,i,s,l,p,d,h,g,$=t,y=this,b=[];m("$digest"),f.$$checkUrlChange(),this===C&&null!==u&&(f.defer.cancel(u),w()),a=null;do{for(l=!1,d=y;k.length;){try{g=k.shift(),g.scope.$eval(g.expression,g.locals)}catch(S){c(S)}a=null}e:do{if(i=d.$$watchers)for(s=i.length;s--;)try{if(e=i[s])if((n=e.get(d))===(r=e.last)||(e.eq?_(n,r):"number"==typeof n&&"number"==typeof r&&isNaN(n)&&isNaN(r))){if(e===a){l=!1;break e}}else l=!0,a=e,e.last=e.eq?V(n,null):n,e.fn(n,r===x?n:r,d),5>$&&(h=4-$,b[h]||(b[h]=[]),b[h].push({msg:E(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:n,oldVal:r}))}catch(S){c(S)}if(!(p=d.$$watchersCount&&d.$$childHead||d!==y&&d.$$nextSibling))for(;d!==y&&!(p=d.$$nextSibling);)d=d.$parent}while(d=p);if((l||k.length)&&!$--)throw v(),o("infdig","{0} $digest() iterations reached. Aborting!\nWatchers fired in the last 5 iterations: {1}",t,b)}while(l||k.length);for(v();T.length;)try{T.shift()()}catch(S){c(S)}},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===C&&f.$$applicationDestroyed(),$(this,-this.$$watchersCount);for(var t in this.$$listenerCount)b(this,this.$$listenerCount[t],t);e&&e.$$childHead==this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail==this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=h,this.$on=this.$watch=this.$watchGroup=function(){return h},this.$$listeners={},this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=this.$$watchers=null}},$eval:function(e,t){return l(e)(this,t)},$evalAsync:function(e,t){C.$$phase||k.length||f.defer(function(){k.length&&C.$digest()}),k.push({scope:this,expression:e,locals:t})},$$postDigest:function(e){T.push(e)},$apply:function(e){try{return m("$apply"),this.$eval(e)}catch(t){c(t)}finally{v();try{C.$digest()}catch(t){throw c(t),t}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&A.push(t),S()},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var r=this;do r.$$listenerCount[e]||(r.$$listenerCount[e]=0),r.$$listenerCount[e]++;while(r=r.$parent);var i=this;return function(){var r=n.indexOf(t);-1!==r&&(n[r]=null,b(i,1,e))}},$emit:function(e,t){var n,r,i,o=[],a=this,s=!1,u={name:e,targetScope:a,stopPropagation:function(){s=!0},preventDefault:function(){u.defaultPrevented=!0},defaultPrevented:!1},l=H([u],arguments,1);do{for(n=a.$$listeners[e]||o,u.currentScope=a,r=0,i=n.length;i>r;r++)if(n[r])try{n[r].apply(null,l)}catch(f){c(f)}else n.splice(r,1),r--,i--;if(s)return u.currentScope=null,u;a=a.$parent}while(a);return u.currentScope=null,u},$broadcast:function(e,t){var n=this,r=n,i=n,o={name:e,targetScope:n,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1};if(!n.$$listenerCount[e])return o;for(var a,s,u,l=H([o],arguments,1);r=i;){for(o.currentScope=r,a=r.$$listeners[e]||[],s=0,u=a.length;u>s;s++)if(a[s])try{a[s].apply(null,l)}catch(f){c(f)}else a.splice(s,1),s--,u--;if(!(i=r.$$listenerCount[e]&&r.$$childHead||r!==n&&r.$$nextSibling))for(;r!==n&&!(i=r.$$nextSibling);)r=r.$parent}return o.currentScope=null,o}};var C=new d,k=C.$$asyncQueue=[],T=C.$$postDigestQueue=[],A=C.$$applyAsyncQueue=[];return C}]}function gn(){var e=/^\s*(https?|ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return $(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return $(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i,o=r?t:e;return i=kn(n).href,""===i||i.match(o)?n:"unsafe:"+i}}}function $n(e){if("self"===e)return e;if(x(e)){if(e.indexOf("***")>-1)throw io("iwcard","Illegal sequence *** in string matcher.  String: {0}",e);return e=zr(e).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+e+"$")}if(C(e))return new RegExp("^"+e.source+"$");throw io("imatcher",'Matchers may only be "self", string patterns or RegExp objects')}function yn(e){var t=[];return $(e)&&i(e,function(e){t.push($n(e))}),t}function bn(){this.SCE_CONTEXTS=oo;var e=["self"],t=[];this.resourceUrlWhitelist=function(t){return arguments.length&&(e=yn(t)),e},this.resourceUrlBlacklist=function(e){return arguments.length&&(t=yn(e)),t},this.$get=["$injector",function(n){function r(e,t){return"self"===e?Tn(t):!!e.exec(t.href)}function i(n){var i,o,a=kn(n.toString()),s=!1;for(i=0,o=e.length;o>i;i++)if(r(e[i],a)){s=!0;break}if(s)for(i=0,o=t.length;o>i;i++)if(r(t[i],a)){s=!1;break}return s}function o(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}function a(e,t){var n=f.hasOwnProperty(e)?f[e]:null;if(!n)throw io("icontext","Attempted to trust a value in invalid context. Context: {0}; Value: {1}",e,t);if(null===t||void 0===t||""===t)return t;if("string"!=typeof t)throw io("itype","Attempted to trust a non-string value in a content requiring a string: Context: {0}",e);return new n(t)}function s(e){return e instanceof l?e.$$unwrapTrustedValue():e}function u(e,t){if(null===t||void 0===t||""===t)return t;var n=f.hasOwnProperty(e)?f[e]:null;if(n&&t instanceof n)return t.$$unwrapTrustedValue();if(e===oo.RESOURCE_URL){if(i(t))return t;throw io("insecurl","Blocked loading resource from url not allowed by $sceDelegate policy.  URL: {0}",t.toString())}if(e===oo.HTML)return c(t);throw io("unsafe","Attempting to use an unsafe value in a safe context.")}var c=function(e){throw io("unsafe","Attempting to use an unsafe value in a safe context.")};n.has("$sanitize")&&(c=n.get("$sanitize"));var l=o(),f={};return f[oo.HTML]=o(l),f[oo.CSS]=o(l),f[oo.URL]=o(l),f[oo.JS]=o(l),f[oo.RESOURCE_URL]=o(f[oo.URL]),{trustAs:a,getTrusted:u,valueOf:s}}]}function xn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Or)throw io("iequirks","Strict Contextual Escaping does not support Internet Explorer version < 11 in quirks mode.  You can fix this by adding the text <!doctype html> to the top of your HTML document.  See http://docs.angularjs.org/api/ng.$sce for more information.");var r=I(oo);r.isEnabled=function(){return e},r.trustAs=n.trustAs,r.getTrusted=n.getTrusted,r.valueOf=n.valueOf,e||(r.trustAs=r.getTrusted=function(e,t){return t},r.valueOf=m),r.parseAs=function(e,n){var i=t(n);return i.literal&&i.constant?i:t(n,function(t){return r.getTrusted(e,t)})};var o=r.parseAs,a=r.getTrusted,s=r.trustAs;return i(oo,function(e,t){var n=Cr(t);r[xe("parse_as_"+n)]=function(t){return o(e,t)},r[xe("get_trusted_"+n)]=function(t){return a(e,t)},r[xe("trust_as_"+n)]=function(t){return s(e,t)}}),r}]}function wn(){this.$get=["$window","$document",function(e,t){var n,r,i={},o=p((/android (\d+)/.exec(Cr((e.navigator||{}).userAgent))||[])[1]),a=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},u=/^(Moz|webkit|ms)(?=[A-Z])/,c=s.body&&s.body.style,l=!1,f=!1;if(c){for(var d in c)if(r=u.exec(d)){n=r[0],n=n.substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in c&&"webkit"),l=!!("transition"in c||n+"Transition"in c),
  f=!!("animation"in c||n+"Animation"in c),!o||l&&f||(l=x(c.webkitTransition),f=x(c.webkitAnimation))}return{history:!(!e.history||!e.history.pushState||4>o||a),hasEvent:function(e){if("input"===e&&11>=Or)return!1;if(g(i[e])){var t=s.createElement("div");i[e]="on"+e in t}return i[e]},csp:Gr(),vendorPrefix:n,transitions:l,animations:f,android:o}}]}function Sn(){this.$get=["$templateCache","$http","$q",function(e,t,n){function r(i,o){function a(e){if(!o)throw Fi("tpload","Failed to load template: {0} (HTTP status: {1} {2})",i,e.status,e.statusText);return n.reject(e)}r.totalPendingRequests++;var s=t.defaults&&t.defaults.transformResponse;Br(s)?s=s.filter(function(e){return e!==yt}):s===yt&&(s=null);var u={cache:e,transformResponse:s};return t.get(i,u)["finally"](function(){r.totalPendingRequests--}).then(function(t){return e.put(i,t.data),t.data},a)}return r.totalPendingRequests=0,r}]}function En(){this.$get=["$rootScope","$browser","$location",function(e,t,n){var r={};return r.findBindings=function(e,t,n){var r=e.getElementsByClassName("ng-binding"),o=[];return i(r,function(e){var r=Ir.element(e).data("$binding");r&&i(r,function(r){if(n){var i=new RegExp("(^|\\s)"+zr(t)+"(\\s|\\||$)");i.test(r)&&o.push(e)}else-1!=r.indexOf(t)&&o.push(e)})}),o},r.findModels=function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=n?"=":"*=",a="["+r[i]+"model"+o+'"'+t+'"]',s=e.querySelectorAll(a);if(s.length)return s}},r.getLocation=function(){return n.url()},r.setLocation=function(t){t!==n.url()&&(n.url(t),e.$digest())},r.whenStable=function(e){t.notifyWhenNoOutstandingRequests(e)},r}]}function Cn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,u){E(o)||(u=s,s=o,o=h);var c,l=B(arguments,3),f=$(u)&&!u,p=(f?r:n).defer(),d=p.promise;return c=t.defer(function(){try{p.resolve(o.apply(null,l))}catch(t){p.reject(t),i(t)}finally{delete a[d.$$timeoutId]}f||e.$apply()},s),d.$$timeoutId=c,a[c]=p,d}var a={};return o.cancel=function(e){return e&&e.$$timeoutId in a?(a[e.$$timeoutId].reject("canceled"),delete a[e.$$timeoutId],t.defer.cancel(e.$$timeoutId)):!1},o}]}function kn(e){var t=e;return Or&&(ao.setAttribute("href",t),t=ao.href),ao.setAttribute("href",t),{href:ao.href,protocol:ao.protocol?ao.protocol.replace(/:$/,""):"",host:ao.host,search:ao.search?ao.search.replace(/^\?/,""):"",hash:ao.hash?ao.hash.replace(/^#/,""):"",hostname:ao.hostname,port:ao.port,pathname:"/"===ao.pathname.charAt(0)?ao.pathname:"/"+ao.pathname}}function Tn(e){var t=x(e)?kn(e):e;return t.protocol===so.protocol&&t.host===so.host}function An(){this.$get=v(e)}function Nn(e){function t(e){try{return decodeURIComponent(e)}catch(t){return e}}var n=e[0]||{},r={},i="";return function(){var e,o,a,s,u,c=n.cookie||"";if(c!==i)for(i=c,e=i.split("; "),r={},a=0;a<e.length;a++)o=e[a],s=o.indexOf("="),s>0&&(u=t(o.substring(0,s)),void 0===r[u]&&(r[u]=t(o.substring(s+1))));return r}}function On(){this.$get=Nn}function jn(e){function t(r,o){if(y(r)){var a={};return i(r,function(e,n){a[n]=t(n,e)}),a}return e.factory(r+n,o)}var n="Filter";this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+n)}}],t("currency",qn),t("date",Yn),t("filter",Dn),t("json",Kn),t("limitTo",Qn),t("lowercase",po),t("number",Ln),t("orderBy",Zn),t("uppercase",ho)}function Dn(){return function(e,t,i){if(!r(e)){if(null==e)return e;throw n("filter")("notarray","Expected array but received: {0}",e)}var o,a,s=Pn(t);switch(s){case"function":o=t;break;case"boolean":case"null":case"number":case"string":a=!0;case"object":o=Fn(t,i,a);break;default:return e}return Array.prototype.filter.call(e,o)}}function Mn(e){return E(e.toString)&&e.toString!==Object.prototype.toString}function Fn(e,t,n){var r,i=y(e)&&"$"in e;return t===!0?t=_:E(t)||(t=function(e,t){return g(e)?!1:null===e||null===t?e===t:y(t)||y(e)&&!Mn(e)?!1:(e=Cr(""+e),t=Cr(""+t),-1!==e.indexOf(t))}),r=function(r){return i&&!y(r)?Rn(r,e.$,t,!1):Rn(r,e,t,n)}}function Rn(e,t,n,r,i){var o=Pn(e),a=Pn(t);if("string"===a&&"!"===t.charAt(0))return!Rn(e,t.substring(1),n,r);if(Br(e))return e.some(function(e){return Rn(e,t,n,r)});switch(o){case"object":var s;if(r){for(s in e)if("$"!==s.charAt(0)&&Rn(e[s],t,n,!0))return!0;return i?!1:Rn(e,t,n,!1)}if("object"===a){for(s in t){var u=t[s];if(!E(u)&&!g(u)){var c="$"===s,l=c?e:e[s];if(!Rn(l,u,n,c,c))return!1}}return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Pn(e){return null===e?"null":typeof e}function qn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){return g(n)&&(n=t.CURRENCY_SYM),g(r)&&(r=t.PATTERNS[1].maxFrac),null==e?e:Vn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(/\u00A4/g,n)}}function Ln(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:Vn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Vn(e,t,n,r,i){if(y(e))return"";var o=0>e;e=Math.abs(e);var a=e===1/0;if(!a&&!isFinite(e))return"";var s=e+"",u="",c=!1,l=[];if(a&&(u="∞"),!a&&-1!==s.indexOf("e")){var f=s.match(/([\d\.]+)e(-?)(\d+)/);f&&"-"==f[2]&&f[3]>i+1?e=0:(u=s,c=!0)}if(a||c)i>0&&1>e&&(u=e.toFixed(i),e=parseFloat(u));else{var p=(s.split(uo)[1]||"").length;g(i)&&(i=Math.min(Math.max(t.minFrac,p),t.maxFrac)),e=+(Math.round(+(e.toString()+"e"+i)).toString()+"e"+-i);var d=(""+e).split(uo),h=d[0];d=d[1]||"";var m,v=0,$=t.lgSize,b=t.gSize;if(h.length>=$+b)for(v=h.length-$,m=0;v>m;m++)(v-m)%b===0&&0!==m&&(u+=n),u+=h.charAt(m);for(m=v;m<h.length;m++)(h.length-m)%$===0&&0!==m&&(u+=n),u+=h.charAt(m);for(;d.length<i;)d+="0";i&&"0"!==i&&(u+=r+d.substr(0,i))}return 0===e&&(o=!1),l.push(o?t.negPre:t.posPre,u,o?t.negSuf:t.posSuf),l.join("")}function In(e,t,n){var r="";for(0>e&&(r="-",e=-e),e=""+e;e.length<t;)e="0"+e;return n&&(e=e.substr(e.length-t)),r+e}function _n(e,t,n,r){return n=n||0,function(i){var o=i["get"+e]();return(n>0||o>-n)&&(o+=n),0===o&&-12==n&&(o=12),In(o,t,r)}}function Hn(e,t){return function(n,r){var i=n["get"+e](),o=Tr(t?"SHORT"+e:e);return r[o][i]}}function Bn(e,t,n){var r=-1*n,i=r>=0?"+":"";return i+=In(Math[r>0?"floor":"ceil"](r/60),2)+In(Math.abs(r%60),2)}function Un(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Wn(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))}function zn(e){return function(t){var n=Un(t.getFullYear()),r=Wn(t),i=+r-+n,o=1+Math.round(i/6048e5);return In(o,e)}}function Gn(e,t){return e.getHours()<12?t.AMPMS[0]:t.AMPMS[1]}function Xn(e,t){return e.getFullYear()<=0?t.ERAS[0]:t.ERAS[1]}function Jn(e,t){return e.getFullYear()<=0?t.ERANAMES[0]:t.ERANAMES[1]}function Yn(e){function t(e){var t;if(t=e.match(n)){var r=new Date(0),i=0,o=0,a=t[8]?r.setUTCFullYear:r.setFullYear,s=t[8]?r.setUTCHours:r.setHours;t[9]&&(i=p(t[9]+t[10]),o=p(t[9]+t[11])),a.call(r,p(t[1]),p(t[2])-1,p(t[3]));var u=p(t[4]||0)-i,c=p(t[5]||0)-o,l=p(t[6]||0),f=Math.round(1e3*parseFloat("0."+(t[7]||0)));return s.call(r,u,c,l,f),r}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,r,o){var a,s,u="",c=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,x(n)&&(n=fo.test(n)?p(n):t(n)),w(n)&&(n=new Date(n)),!S(n)||!isFinite(n.getTime()))return n;for(;r;)s=lo.exec(r),s?(c=H(c,s,1),r=c.pop()):(c.push(r),r=null);var l=n.getTimezoneOffset();return o&&(l=X(o,n.getTimezoneOffset()),n=Y(n,o,!0)),i(c,function(t){a=co[t],u+=a?a(n,e.DATETIME_FORMATS,l):t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function Kn(){return function(e,t){return g(t)&&(t=2),z(e,t)}}function Qn(){return function(e,t,n){return t=Math.abs(Number(t))===1/0?Number(t):p(t),isNaN(t)?e:(w(e)&&(e=e.toString()),Br(e)||x(e)?(n=!n||isNaN(n)?0:p(n),n=0>n&&n>=-e.length?e.length+n:n,t>=0?e.slice(n,n+t):0===n?e.slice(t,e.length):e.slice(Math.max(0,n+t),n)):e)}}function Zn(e){return function(t,n,i){function o(e,t){for(var r=0;r<n.length;r++){var i=n[r](e,t);if(0!==i)return i}return 0}function a(e,t){return t?function(t,n){return e(n,t)}:e}function s(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function u(e){return null===e?"null":"function"==typeof e.valueOf&&(e=e.valueOf(),s(e))?e:"function"==typeof e.toString&&(e=e.toString(),s(e))?e:""}function c(e,t){var n=typeof e,r=typeof t;return n===r&&"object"===n&&(e=u(e),t=u(t)),n===r?("string"===n&&(e=e.toLowerCase(),t=t.toLowerCase()),e===t?0:t>e?-1:1):r>n?-1:1}return r(t)?(n=Br(n)?n:[n],0===n.length&&(n=["+"]),n=n.map(function(t){var n=!1,r=t||m;if(x(t)){if(("+"==t.charAt(0)||"-"==t.charAt(0))&&(n="-"==t.charAt(0),t=t.substring(1)),""===t)return a(c,n);if(r=e(t),r.constant){var i=r();return a(function(e,t){return c(e[i],t[i])},n)}}return a(function(e,t){return c(r(e),r(t))},n)}),Fr.call(t).sort(a(o,i))):t}}function er(e){return E(e)&&(e={link:e}),e.restrict=e.restrict||"AC",v(e)}function tr(e,t){e.$name=t}function nr(e,t,n,r,o){var a=this,s=[],u=a.$$parentForm=e.parent().controller("form")||go;a.$error={},a.$$success={},a.$pending=void 0,a.$name=o(t.name||t.ngForm||"")(n),a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,a.$submitted=!1,u.$addControl(a),a.$rollbackViewValue=function(){i(s,function(e){e.$rollbackViewValue()})},a.$commitViewValue=function(){i(s,function(e){e.$commitViewValue()})},a.$addControl=function(e){pe(e.$name,"input"),s.push(e),e.$name&&(a[e.$name]=e)},a.$$renameControl=function(e,t){var n=e.$name;a[n]===e&&delete a[n],a[t]=e,e.$name=t},a.$removeControl=function(e){e.$name&&a[e.$name]===e&&delete a[e.$name],i(a.$pending,function(t,n){a.$setValidity(n,null,e)}),i(a.$error,function(t,n){a.$setValidity(n,null,e)}),i(a.$$success,function(t,n){a.$setValidity(n,null,e)}),L(s,e)},gr({ctrl:this,$element:e,set:function(e,t,n){var r=e[t];if(r){var i=r.indexOf(n);-1===i&&r.push(n)}else e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(L(r,n),0===r.length&&delete e[t])},parentForm:u,$animate:r}),a.$setDirty=function(){r.removeClass(e,Zo),r.addClass(e,ea),a.$dirty=!0,a.$pristine=!1,u.$setDirty()},a.$setPristine=function(){r.setClass(e,Zo,ea+" "+$o),a.$dirty=!1,a.$pristine=!0,a.$submitted=!1,i(s,function(e){e.$setPristine()})},a.$setUntouched=function(){i(s,function(e){e.$setUntouched()})},a.$setSubmitted=function(){r.addClass(e,$o),a.$submitted=!0,u.$setSubmitted()}}function rr(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function ir(e,t,n,r,i,o){or(e,t,n,r,i,o),rr(r)}function or(e,t,n,r,i,o){var a=Cr(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(e){s=!0}),t.on("compositionend",function(){s=!1,u()})}var u=function(e){if(c&&(o.defer.cancel(c),c=null),!s){var i=t.val(),u=e&&e.type;"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Wr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,u)}};if(i.hasEvent("input"))t.on("input",u);else{var c,l=function(e,t,n){c||(c=o.defer(function(){c=null,t&&t.value===n||u(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||t>15&&19>t||t>=37&&40>=t||l(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut",l)}t.on("change",u),r.$render=function(){t.val(r.$isEmpty(r.$viewValue)?"":r.$viewValue)}}function ar(e,t){if(S(e))return e;if(x(e)){Ao.lastIndex=0;var n=Ao.exec(e);if(n){var r=+n[1],i=+n[2],o=0,a=0,s=0,u=0,c=Un(r),l=7*(i-1);return t&&(o=t.getHours(),a=t.getMinutes(),s=t.getSeconds(),u=t.getMilliseconds()),new Date(r,0,c.getDate()+l,o,a,s,u)}}return NaN}function sr(e,t){return function(n,r){var o,a;if(S(n))return n;if(x(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),wo.test(n))return new Date(n);if(e.lastIndex=0,o=e.exec(n))return o.shift(),a=r?{yyyy:r.getFullYear(),MM:r.getMonth()+1,dd:r.getDate(),HH:r.getHours(),mm:r.getMinutes(),ss:r.getSeconds(),sss:r.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},i(o,function(e,n){n<t.length&&(a[t[n]]=+e)}),new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0)}return NaN}}function ur(e,t,n,r){return function(i,o,a,s,u,c,l){function f(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function p(e){return $(e)?S(e)?e:n(e):void 0}cr(i,o,a,s),or(i,o,a,s,u,c);var d,h=s&&s.$options&&s.$options.timezone;if(s.$$parserName=e,s.$parsers.push(function(e){if(s.$isEmpty(e))return null;if(t.test(e)){var r=n(e,d);return h&&(r=Y(r,h)),r}}),s.$formatters.push(function(e){if(e&&!S(e))throw ia("datefmt","Expected `{0}` to be a date",e);return f(e)?(d=e,d&&h&&(d=Y(d,h,!0)),l("date")(e,r,h)):(d=null,"")}),$(a.min)||a.ngMin){var m;s.$validators.min=function(e){return!f(e)||g(m)||n(e)>=m},a.$observe("min",function(e){m=p(e),s.$validate()})}if($(a.max)||a.ngMax){var v;s.$validators.max=function(e){return!f(e)||g(v)||n(e)<=v},a.$observe("max",function(e){v=p(e),s.$validate()})}}}function cr(e,t,n,r){var i=t[0],o=r.$$hasNativeValidators=y(i.validity);o&&r.$parsers.push(function(e){var n=t.prop(Er)||{};return n.badInput&&!n.typeMismatch?void 0:e})}function lr(e,t,n,r,i,o){if(cr(e,t,n,r),or(e,t,n,r,i,o),r.$$parserName="number",r.$parsers.push(function(e){return r.$isEmpty(e)?null:Co.test(e)?parseFloat(e):void 0}),r.$formatters.push(function(e){if(!r.$isEmpty(e)){if(!w(e))throw ia("numfmt","Expected `{0}` to be a number",e);e=e.toString()}return e}),$(n.min)||n.ngMin){var a;r.$validators.min=function(e){return r.$isEmpty(e)||g(a)||e>=a},n.$observe("min",function(e){$(e)&&!w(e)&&(e=parseFloat(e,10)),a=w(e)&&!isNaN(e)?e:void 0,r.$validate()})}if($(n.max)||n.ngMax){var s;r.$validators.max=function(e){return r.$isEmpty(e)||g(s)||s>=e},n.$observe("max",function(e){$(e)&&!w(e)&&(e=parseFloat(e,10)),s=w(e)&&!isNaN(e)?e:void 0,r.$validate()})}}function fr(e,t,n,r,i,o){or(e,t,n,r,i,o),rr(r),r.$$parserName="url",r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||So.test(n)}}function pr(e,t,n,r,i,o){or(e,t,n,r,i,o),rr(r),r.$$parserName="email",r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||Eo.test(n)}}function dr(e,t,n,r){g(n.name)&&t.attr("name",s());var i=function(e){t[0].checked&&r.$setViewValue(n.value,e&&e.type)};t.on("click",i),r.$render=function(){var e=n.value;t[0].checked=e==r.$viewValue},n.$observe("value",r.$render)}function hr(e,t,r,i,o){var a;if($(i)){if(a=e(i),!a.constant)throw n("ngModel")("constexpr","Expected constant expression for `{0}`, but saw `{1}`.",r,i);return a(t)}return o}function mr(e,t,n,r,i,o,a,s){var u=hr(s,e,"ngTrueValue",n.ngTrueValue,!0),c=hr(s,e,"ngFalseValue",n.ngFalseValue,!1),l=function(e){r.$setViewValue(t[0].checked,e&&e.type)};t.on("click",l),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return e===!1},r.$formatters.push(function(e){return _(e,u)}),r.$parsers.push(function(e){return e?u:c})}function vr(e,t){return e="ngClass"+e,["$animate",function(n){function r(e,t){var n=[];e:for(var r=0;r<e.length;r++){for(var i=e[r],o=0;o<t.length;o++)if(i==t[o])continue e;n.push(i)}return n}function o(e){var t=[];return Br(e)?(i(e,function(e){t=t.concat(o(e))}),t):x(e)?e.split(" "):y(e)?(i(e,function(e,n){e&&(t=t.concat(n.split(" ")))}),t):e}return{restrict:"AC",link:function(a,s,u){function c(e){var t=f(e,1);u.$addClass(t)}function l(e){var t=f(e,-1);u.$removeClass(t)}function f(e,t){var n=s.data("$classCounts")||me(),r=[];return i(e,function(e){(t>0||n[e])&&(n[e]=(n[e]||0)+t,n[e]===+(t>0)&&r.push(e))}),s.data("$classCounts",n),r.join(" ")}function p(e,t){var i=r(t,e),o=r(e,t);i=f(i,1),o=f(o,-1),i&&i.length&&n.addClass(s,i),o&&o.length&&n.removeClass(s,o)}function d(e){if(t===!0||a.$index%2===t){var n=o(e||[]);if(h){if(!_(e,h)){var r=o(h);p(r,n)}}else c(n)}h=I(e)}var h;a.$watch(u[e],d,!0),u.$observe("class",function(t){d(a.$eval(u[e]))}),"ngClass"!==e&&a.$watch("$index",function(n,r){var i=1&n;if(i!==(1&r)){var s=o(a.$eval(u[e]));i===t?c(s):l(s)}})}}}]}function gr(e){function t(e,t,s){void 0===t?n("$pending",e,s):r("$pending",e,s),j(t)?t?(l(a.$error,e,s),c(a.$$success,e,s)):(c(a.$error,e,s),l(a.$$success,e,s)):(l(a.$error,e,s),l(a.$$success,e,s)),a.$pending?(i(ra,!0),a.$valid=a.$invalid=void 0,o("",null)):(i(ra,!1),a.$valid=$r(a.$error),a.$invalid=!a.$valid,o("",a.$valid));var u;u=a.$pending&&a.$pending[e]?void 0:a.$error[e]?!1:a.$$success[e]?!0:null,o(e,u),f.$setValidity(e,u,a)}function n(e,t,n){a[e]||(a[e]={}),c(a[e],t,n)}function r(e,t,n){a[e]&&l(a[e],t,n),$r(a[e])&&(a[e]=void 0)}function i(e,t){t&&!u[e]?(p.addClass(s,e),u[e]=!0):!t&&u[e]&&(p.removeClass(s,e),u[e]=!1)}function o(e,t){e=e?"-"+ue(e,"-"):"",i(Ko+e,t===!0),i(Qo+e,t===!1)}var a=e.ctrl,s=e.$element,u={},c=e.set,l=e.unset,f=e.parentForm,p=e.$animate;u[Qo]=!(u[Ko]=s.hasClass(Ko)),a.$setValidity=t}function $r(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function yr(e,t,n){function r(o,a){if(a&&a>i&&(i=a),o||i>=e.length)n(o);else try{t(e[i++],r)}catch(s){n(s)}}var i=0;r()}function br(e,t){t=t||5;var n=e.toString();if(e.stack){var r=e.stack.split("\n");-1===r[0].indexOf(n)&&(t++,r.unshift(e.message)),n=r.slice(0,t).join("\n")}return n}function xr(e){var t=new Error;return function(){var n=(t.stack||"").split("\n")[e];return n&&(n=-1!==n.indexOf("@")?n.substring(n.indexOf("@")+1):n.substring(n.indexOf("(")+1).replace(")","")),n||""}}var wr=e.jQuery.noConflict(!0),Sr=/^\/(.+)\/([a-z]*)$/,Er="validity",Cr=function(e){return x(e)?e.toLowerCase():e},kr=Object.prototype.hasOwnProperty,Tr=function(e){return x(e)?e.toUpperCase():e},Ar=function(e){return x(e)?e.replace(/[A-Z]/g,function(e){return String.fromCharCode(32|e.charCodeAt(0))}):e},Nr=function(e){return x(e)?e.replace(/[a-z]/g,function(e){return String.fromCharCode(-33&e.charCodeAt(0))}):e};"i"!=="I".toLowerCase()&&(Cr=Ar,Tr=Nr);var Or,jr,Dr,Mr,Fr=[].slice,Rr=[].splice,Pr=[].push,qr=Object.prototype.toString,Lr=Object.getPrototypeOf,Vr=n("ng"),Ir=e.angular||(e.angular={}),_r=0;Or=t.documentMode,h.$inject=[],m.$inject=[];var Hr,Br=Array.isArray,Ur=/^\[object (Uint8(Clamped)?)|(Uint16)|(Uint32)|(Int8)|(Int16)|(Int32)|(Float(32)|(64))Array\]$/,Wr=function(e){return x(e)?e.trim():e},zr=function(e){return e.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Gr=function(){if($(Gr.isActive_))return Gr.isActive_;var e=!(!t.querySelector("[ng-csp]")&&!t.querySelector("[data-ng-csp]"));if(!e)try{new Function("")}catch(n){e=!0}return Gr.isActive_=e},Xr=function(){if($(Xr.name_))return Xr.name_;var e,n,r,i,o=Jr.length;for(n=0;o>n;++n)if(r=Jr[n],e=t.querySelector("["+r.replace(":","\\:")+"jq]")){i=e.getAttribute(r+"jq");break}return Xr.name_=i},Jr=["ng-","data-ng-","ng:","x-ng-"],Yr=/[A-Z]/g,Kr=!1,Qr=1,Zr=2,ei=3,ti=8,ni=9,ri=11,ii={full:"1.4.1",major:1,minor:4,dot:1,codeName:"hyperionic-illumination"};Te.expando="ng339";var oi=Te.cache={},ai=1,si=function(e,t,n){e.addEventListener(t,n,!1)},ui=function(e,t,n){e.removeEventListener(t,n,!1)};Te._data=function(e){return this.cache[e[this.expando]]||{}};var ci=/([\:\-\_]+(.))/g,li=/^moz([A-Z])/,fi={mouseleave:"mouseout",mouseenter:"mouseover"},pi=n("jqLite"),di=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,hi=/<|&#?\w+;/,mi=/<([\w:]+)/,vi=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,gi={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};gi.optgroup=gi.option,gi.tbody=gi.tfoot=gi.colgroup=gi.caption=gi.thead,gi.th=gi.td;var $i=Te.prototype={ready:function(n){function r(){i||(i=!0,n())}var i=!1;"complete"===t.readyState?setTimeout(r):(this.on("DOMContentLoaded",r),Te(e).on("load",r))},toString:function(){var e=[];return i(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return jr(e>=0?this[e]:this[this.length+e])},length:0,push:Pr,sort:[].sort,splice:[].splice},yi={};i("multiple,selected,checked,disabled,readOnly,required,open".split(","),function(e){yi[Cr(e)]=e});var bi={};i("input,select,option,textarea,button,form,details".split(","),function(e){bi[e]=!0});var xi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};i({data:Me,removeData:je,hasData:Ee},function(e,t){Te[t]=e}),i({data:Me,inheritedData:Ve,scope:function(e){return jr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return jr.data(e,"$isolateScope")||jr.data(e,"$isolateScopeNoTemplate")},controller:Le,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Fe,css:function(e,t,n){return t=xe(t),$(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==ei&&r!==Zr&&r!==ti){var i=Cr(t);if(yi[i]){if(!$(n))return e[t]||(e.attributes.getNamedItem(t)||h).specified?i:void 0;n?(e[t]=!0,e.setAttribute(t,i)):(e[t]=!1,e.removeAttribute(i))}else if($(n))e.setAttribute(t,n);else if(e.getAttribute){var o=e.getAttribute(t,2);return null===o?void 0:o}}},prop:function(e,t,n){return $(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if(g(t)){var n=e.nodeType;return n===Qr||n===ei?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if(g(t)){if(e.multiple&&"select"===P(e)){var n=[];return i(e.options,function(e){e.selected&&n.push(e.value||e.text)}),0===n.length?null:n}return e.value}e.value=t},html:function(e,t){return g(t)?e.innerHTML:(Ne(e,!0),void(e.innerHTML=t))},empty:Ie},function(e,t){Te.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Ie&&void 0===(2==e.length&&e!==Fe&&e!==Le?t:n)){if(y(t)){for(r=0;o>r;r++)if(e===Me)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(var a=e.$dv,s=void 0===a?Math.min(o,1):o,u=0;s>u;u++){var c=e(this[u],t,n);a=a?a+c:c}return a}for(r=0;o>r;r++)e(this[r],t,n);return this}}),i({removeData:je,on:function La(e,t,n,r){if($(r))throw pi("onargs","jqLite#on() does not support the `selector` or `eventData` parameters");if(Se(e)){var i=De(e,!0),o=i.events,a=i.handle;a||(a=i.handle=We(e,o));for(var s=t.indexOf(" ")>=0?t.split(" "):[t],u=s.length;u--;){t=s[u];var c=o[t];c||(o[t]=[],"mouseenter"===t||"mouseleave"===t?La(e,fi[t],function(e){var n=this,r=e.relatedTarget;(!r||r!==n&&!n.contains(r))&&a(e,t)}):"$destroy"!==t&&si(e,t,a),c=o[t]),c.push(n)}}},off:Oe,one:function(e,t,n){e=jr(e),e.on(t,function r(){e.off(t,n),e.off(t,r)}),e.on(t,n)},replaceWith:function(e,t){var n,r=e.parentNode;Ne(e),i(new Te(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return i(e.childNodes,function(e){e.nodeType===Qr&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(n===Qr||n===ri){t=new Te(t);for(var r=0,i=t.length;i>r;r++){var o=t[r];e.appendChild(o)}}},prepend:function(e,t){if(e.nodeType===Qr){var n=e.firstChild;i(new Te(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){t=jr(t).eq(0).clone()[0];var n=e.parentNode;n&&n.replaceChild(t,e),t.appendChild(e)},remove:_e,detach:function(e){_e(e,!0)},after:function(e,t){var n=e,r=e.parentNode;t=new Te(t);for(var i=0,o=t.length;o>i;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}},addClass:Pe,removeClass:Re,toggleClass:function(e,t,n){t&&i(t.split(" "),function(t){var r=n;g(r)&&(r=!Fe(e,t)),(r?Pe:Re)(e,t)})},parent:function(e){var t=e.parentNode;return t&&t.nodeType!==ri?t:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:Ae,triggerHandler:function(e,t,n){var r,o,a,s=t.type||t,u=De(e),c=u&&u.events,f=c&&c[s];f&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return this.defaultPrevented===!0},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return this.immediatePropagationStopped===!0},stopPropagation:h,type:s,target:e},t.type&&(r=l(r,t)),o=I(f),a=n?[r].concat(n):[r],i(o,function(t){r.isImmediatePropagationStopped()||t.apply(e,a)}))}},function(e,t){Te.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;a>o;o++)g(i)?(i=e(this[o],t,n,r),$(i)&&(i=jr(i))):qe(i,e(this[o],t,n,r));return $(i)?i:this},Te.prototype.bind=Te.prototype.on,Te.prototype.unbind=Te.prototype.off}),Xe.prototype={put:function(e,t){this[Ge(e,this.nextUid)]=t},get:function(e){return this[Ge(e,this.nextUid)]},remove:function(e){var t=this[e=Ge(e,this.nextUid)];return delete this[e],t}};var wi=[function(){this.$get=[function(){return Xe}]}],Si=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,Ei=/,/,Ci=/^\s*(_?)(\S+?)\1\s*$/,ki=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,Ti=n("$injector");Ke.$$annotate=Ye;var Ai=n("$animate"),Ni=1,Oi="ng-animate",ji=function(){this.$get=["$q","$$rAF",function(e,t){function n(){}return n.all=h,n.chain=h,n.prototype={end:h,cancel:h,resume:h,pause:h,complete:h,then:function(n,r){return e(function(e){t(function(){e()})}).then(n,r)}},n}]},Di=function(){var e=new Xe,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function o(n,o,a){var s=e.get(n);s||(e.put(n,s={}),t.push(n)),o&&i(o.split(" "),function(e){e&&(s[e]=!0)}),a&&i(a.split(" "),function(e){e&&(s[e]=!1)}),t.length>1||r.$$postDigest(function(){i(t,function(t){var n=e.get(t);if(n){var r=tt(t.attr("class")),o="",a="";i(n,function(e,t){var n=!!r[t];e!==n&&(e?o+=(o.length?" ":"")+t:a+=(a.length?" ":"")+t)}),i(t,function(e){o&&Pe(e,o),a&&Re(e,a)}),e.remove(t)}}),t.length=0})}return{enabled:h,on:h,off:h,pin:h,push:function(e,t,r,i){return i&&i(),r=r||{},r.from&&e.css(r.from),r.to&&e.css(r.to),(r.addClass||r.removeClass)&&o(e,r.addClass,r.removeClass),new n}}}]},Mi=["$provide",function(e){var t=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw Ai("notcsel","Expecting class selector starting with '.' got '{0}'.",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.classNameFilter=function(e){if(1===arguments.length&&(this.$$classNameFilter=e instanceof RegExp?e:null,this.$$classNameFilter)){var t=new RegExp("(\\s+|\\/)"+Oi+"(\\s+|\\/)");if(t.test(this.$$classNameFilter.toString()))throw Ai("nongcls",'$animateProvider.classNameFilter(regex) prohibits accepting a regex value which matches/contains the "{0}" CSS class.',Oi)}return this.$$classNameFilter},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r=et(n);!r||r.parentNode||r.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.end&&e.end()},enter:function(n,r,i,o){return r=r&&jr(r),i=i&&jr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",nt(o))},move:function(n,r,i,o){return r=r&&jr(r),i=i&&jr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",nt(o))},leave:function(t,n){return e.push(t,"leave",nt(n),function(){t.remove()})},addClass:function(t,n,r){return r=nt(r),r.addClass=Ze(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=nt(r),r.removeClass=Ze(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=nt(i),i.addClass=Ze(i.addClass,n),i.removeClass=Ze(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=nt(o),o.from=o.from?l(o.from,n):n,o.to=o.to?l(o.to,r):r,i=i||"ng-inline-animate",o.tempClasses=Ze(o.tempClasses,i),e.push(t,"animate",o)}}}]}],Fi=n("$compile");ut.$inject=["$provide","$$sanitizeUriProvider"];var Ri=/^((?:x|data)[\:\-_])/i,Pi=n("$controller"),qi=/^(\S+)(\s+as\s+(\w+))?$/,Li="application/json",Vi={"Content-Type":Li+";charset=utf-8"},Ii=/^\[|^\{(?!\{)/,_i={"[":/]$/,"{":/}$/},Hi=/^\)\]\}',?\n/,Bi=Ir.$interpolateMinErr=n("$interpolate");Bi.throwNoconcat=function(e){throw Bi("noconcat","Error while interpolating: {0}\nStrict Contextual Escaping disallows interpolations that concatenate multiple expressions when a trusted value is required.  See http://docs.angularjs.org/api/ng.$sce",e)},Bi.interr=function(e,t){return Bi("interr","Can't interpolate: {0}\n{1}",e,t.toString())};var Ui=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,Wi={http:80,https:443,ftp:21},zi=n("$location"),Gi={$$html5:!1,$$replace:!1,absUrl:Bt("$$absUrl"),url:function(e){if(g(e))return this.$$url;var t=Ui.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Bt("$$protocol"),host:Bt("$$host"),port:Bt("$$port"),path:Ut("$$path",function(e){return e=null!==e?e.toString():"","/"==e.charAt(0)?e:"/"+e}),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(x(e)||w(e))e=e.toString(),this.$$search=Z(e);else{if(!y(e))throw zi("isrcharg","The first argument of the `$location#search()` call must be a string or an object.");e=V(e,{}),i(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:g(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:Ut("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};i([Ht,_t,It],function(e){e.prototype=Object.create(Gi),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==It||!this.$$html5)throw zi("nostate","History API state support is available only in HTML5 mode and only in browsers supporting HTML5 History API");return this.$$state=g(t)?null:t,this}});var Xi=n("$parse"),Ji=Function.prototype.call,Yi=Function.prototype.apply,Ki=Function.prototype.bind,Qi=me();i("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){Qi[e]=!0});var Zi={n:"\n",f:"\f",r:"\r",t:"	",v:"\x0B","'":"'",'"':'"'},eo=function(e){this.options=e};eo.prototype={constructor:eo,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;){var t=this.text.charAt(this.index);if('"'===t||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(t))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var n=t+this.peek(),r=n+this.peek(2),i=Qi[t],o=Qi[n],a=Qi[r];if(i||o||a){var s=a?r:o?n:t;this.tokens.push({index:this.index,text:s,operator:!0}),this.index+=s.length}else this.throwError("Unexpected next character ",this.index,this.index+1)}}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){var t=e||1;return this.index+t<this.text.length?this.text.charAt(this.index+t):!1},isNumber:function(e){return e>="0"&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"	"===e||"\n"===e||"\x0B"===e||" "===e},isIdent:function(e){return e>="a"&&"z">=e||e>="A"&&"Z">=e||"_"===e||"$"===e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){n=n||this.index;var r=$(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n;throw Xi("lexerr","Lexer Error: {0} at column{1} in expression [{2}].",e,r,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=Cr(this.text.charAt(this.index));if("."==n||this.isNumber(n))e+=n;else{var r=this.peek();if("e"==n&&this.isExpOperator(r))e+=n;else if(this.isExpOperator(n)&&r&&this.isNumber(r)&&"e"==e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||r&&this.isNumber(r)||"e"!=e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){for(var e=this.index;this.index<this.text.length;){var t=this.text.charAt(this.index);if(!this.isIdent(t)&&!this.isNumber(t))break;this.index++}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",r=e,i=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);if(r+=o,i){if("u"===o){var a=this.text.substring(this.index+1,this.index+5);a.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+a+"]"),this.index+=4,n+=String.fromCharCode(parseInt(a,16))}else{var s=Zi[o];n+=s||o}i=!1}else if("\\"===o)i=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:r,constant:!0,
  value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var to=function(e,t){this.lexer=e,this.options=t};to.Program="Program",to.ExpressionStatement="ExpressionStatement",to.AssignmentExpression="AssignmentExpression",to.ConditionalExpression="ConditionalExpression",to.LogicalExpression="LogicalExpression",to.BinaryExpression="BinaryExpression",to.UnaryExpression="UnaryExpression",to.CallExpression="CallExpression",to.MemberExpression="MemberExpression",to.Identifier="Identifier",to.Literal="Literal",to.ArrayExpression="ArrayExpression",to.Property="Property",to.ObjectExpression="ObjectExpression",to.ThisExpression="ThisExpression",to.NGValueParameter="NGValueParameter",to.prototype={ast:function(e){this.text=e,this.tokens=this.lexer.lex(e);var t=this.program();return 0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var e=[];;)if(this.tokens.length>0&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:to.Program,body:e}},expressionStatement:function(){return{type:to.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e,t=this.expression();e=this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();return this.expect("=")&&(e={type:to.AssignmentExpression,left:e,right:this.assignment(),operator:"="}),e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:to.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:to.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:to.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:to.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:to.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:to.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:to.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:to.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e;this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.constants.hasOwnProperty(this.peek().text)?e=V(this.constants[this.consume().text]):this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());for(var t;t=this.expect("(","[",".");)"("===t.text?(e={type:to.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:to.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:to.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){for(var t=[e],n={type:to.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return n},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.expression());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:to.Identifier,name:e.text}},constant:function(){return{type:to.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:to.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:to.Property,kind:"init"},this.peek().constant?e.key=this.constant():this.peek().identifier?e.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),e.value=this.expression(),t.push(e)}while(this.expect(","));return this.consume("}"),{type:to.ObjectExpression,properties:t}},throwError:function(e,t){throw Xi("syntax","Syntax Error: Token '{0}' {1} at column {2} of the expression [{3}] starting at [{4}].",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw Xi("ueoe","Unexpected end of expression: {0}",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw Xi("ueoe","Unexpected end of expression: {0}",this.text);return this.tokens[0]},peek:function(e,t,n,r){return this.peekAhead(0,e,t,n,r)},peekAhead:function(e,t,n,r,i){if(this.tokens.length>e){var o=this.tokens[e],a=o.text;if(a===t||a===n||a===r||a===i||!t&&!n&&!r&&!i)return o}return!1},expect:function(e,t,n,r){var i=this.peek(e,t,n,r);return i?(this.tokens.shift(),i):!1},constants:{"true":{type:to.Literal,value:!0},"false":{type:to.Literal,value:!1},"null":{type:to.Literal,value:null},undefined:{type:to.Literal,value:void 0},"this":{type:to.ThisExpression}}},an.prototype={compile:function(e,t){var n=this,r=this.astBuilder.ast(e);this.state={nextId:0,filters:{},expensiveChecks:t,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Zt(r,n.$filter);var o,a="";if(this.stage="assign",o=nn(r)){this.state.computing="assign";var s=this.nextId();this.recurse(o,s),a="fn.assign="+this.generateFunction("assign","s,v,l")}var u=en(r.body);n.stage="inputs",i(u,function(e,t){var r="fn"+t;n.state[r]={vars:[],body:[],own:{}},n.state.computing=r;var i=n.nextId();n.recurse(e,i),n.return_(i),n.state.inputs.push(r),e.watchId=t}),this.state.computing="fn",this.stage="main",this.recurse(r);var c='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",l=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","ifDefined","plus","text",c)(this.$filter,Gt,Xt,Jt,Yt,Kt,e);return this.state=this.stage=void 0,l.literal=rn(r),l.constant=on(r),l},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return i(t,function(t){e.push("var "+t+"="+n.generateFunction(t,"s"))}),t.length&&e.push("fn.inputs=["+t.join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return i(this.state.filters,function(n,r){e.push(n+"=$filter("+t.escape(r)+")")}),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,r,o,a){var s,u,c,l,f=this;if(r=r||h,!a&&$(e.watchId))return t=t||this.nextId(),void this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,r,o,!0));switch(e.type){case to.Program:i(e.body,function(t,n){f.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?f.current().body.push(u,";"):f.return_(u)});break;case to.Literal:l=this.escape(e.value),this.assign(t,l),r(l);break;case to.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),l=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,l),r(l);break;case to.BinaryExpression:this.recurse(e.left,void 0,void 0,function(e){s=e}),this.recurse(e.right,void 0,void 0,function(e){u=e}),l="+"===e.operator?this.plus(s,u):"-"===e.operator?this.ifDefined(s,0)+e.operator+this.ifDefined(u,0):"("+s+")"+e.operator+"("+u+")",this.assign(t,l),r(l);break;case to.LogicalExpression:t=t||this.nextId(),f.recurse(e.left,t),f.if_("&&"===e.operator?t:f.not(t),f.lazyRecurse(e.right,t)),r(t);break;case to.ConditionalExpression:t=t||this.nextId(),f.recurse(e.test,t),f.if_(t,f.lazyRecurse(e.alternate,t),f.lazyRecurse(e.consequent,t)),r(t);break;case to.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),Gt(e.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",e.name)),function(){f.if_("inputs"===f.stage||"s",function(){o&&1!==o&&f.if_(f.not(f.nonComputedMember("s",e.name)),f.lazyAssign(f.nonComputedMember("s",e.name),"{}")),f.assign(t,f.nonComputedMember("s",e.name))})},t&&f.lazyAssign(t,f.nonComputedMember("l",e.name))),(f.state.expensiveChecks||cn(e.name))&&f.addEnsureSafeObject(t),r(t);break;case to.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),f.recurse(e.object,s,void 0,function(){f.if_(f.notNull(s),function(){e.computed?(u=f.nextId(),f.recurse(e.property,u),f.addEnsureSafeMemberName(u),o&&1!==o&&f.if_(f.not(f.computedMember(s,u)),f.lazyAssign(f.computedMember(s,u),"{}")),l=f.ensureSafeObject(f.computedMember(s,u)),f.assign(t,l),n&&(n.computed=!0,n.name=u)):(Gt(e.property.name),o&&1!==o&&f.if_(f.not(f.nonComputedMember(s,e.property.name)),f.lazyAssign(f.nonComputedMember(s,e.property.name),"{}")),l=f.nonComputedMember(s,e.property.name),(f.state.expensiveChecks||cn(e.property.name))&&(l=f.ensureSafeObject(l)),f.assign(t,l),n&&(n.computed=!1,n.name=e.property.name))},function(){f.assign(t,"undefined")}),r(t)},!!o);break;case to.CallExpression:t=t||this.nextId(),e.filter?(u=f.filter(e.callee.name),c=[],i(e.arguments,function(e){var t=f.nextId();f.recurse(e,t),c.push(t)}),l=u+"("+c.join(",")+")",f.assign(t,l),r(t)):(u=f.nextId(),s={},c=[],f.recurse(e.callee,u,s,function(){f.if_(f.notNull(u),function(){f.addEnsureSafeFunction(u),i(e.arguments,function(e){f.recurse(e,f.nextId(),void 0,function(e){c.push(f.ensureSafeObject(e))})}),s.name?(f.state.expensiveChecks||f.addEnsureSafeObject(s.context),l=f.member(s.context,s.name,s.computed)+"("+c.join(",")+")"):l=u+"("+c.join(",")+")",l=f.ensureSafeObject(l),f.assign(t,l)},function(){f.assign(t,"undefined")}),r(t)}));break;case to.AssignmentExpression:if(u=this.nextId(),s={},!tn(e.left))throw Xi("lval","Trying to assing a value to a non l-value");this.recurse(e.left,void 0,s,function(){f.if_(f.notNull(s.context),function(){f.recurse(e.right,u),f.addEnsureSafeObject(f.member(s.context,s.name,s.computed)),l=f.member(s.context,s.name,s.computed)+e.operator+u,f.assign(t,l),r(t||l)})},1);break;case to.ArrayExpression:c=[],i(e.elements,function(e){f.recurse(e,f.nextId(),void 0,function(e){c.push(e)})}),l="["+c.join(",")+"]",this.assign(t,l),r(l);break;case to.ObjectExpression:c=[],i(e.properties,function(e){f.recurse(e.value,f.nextId(),void 0,function(t){c.push(f.escape(e.key.type===to.Identifier?e.key.name:""+e.key.value)+":"+t)})}),l="{"+c.join(",")+"}",this.assign(t,l),r(l);break;case to.ThisExpression:this.assign(t,"s"),r("s");break;case to.NGValueParameter:this.assign(t,"v"),r("v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,r=this.current().own;return r.hasOwnProperty(n)||(r[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),r[n]},assign:function(e,t){return e?(this.current().body.push(e,"=",t,";"),e):void 0},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(e===!0)t();else{var r=this.current().body;r.push("if(",e,"){"),t(),r.push("}"),n&&(r.push("else{"),n(),r.push("}"))}},not:function(e){return"!("+e+")"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return e+"."+t},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},addEnsureSafeObject:function(e){this.current().body.push(this.ensureSafeObject(e),";")},addEnsureSafeMemberName:function(e){this.current().body.push(this.ensureSafeMemberName(e),";")},addEnsureSafeFunction:function(e){this.current().body.push(this.ensureSafeFunction(e),";")},ensureSafeObject:function(e){return"ensureSafeObject("+e+",text)"},ensureSafeMemberName:function(e){return"ensureSafeMemberName("+e+",text)"},ensureSafeFunction:function(e){return"ensureSafeFunction("+e+",text)"},lazyRecurse:function(e,t,n,r,i,o){var a=this;return function(){a.recurse(e,t,n,r,i,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(x(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(w(e))return e.toString();if(e===!0)return"true";if(e===!1)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw Xi("esc","IMPOSSIBLE")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},sn.prototype={compile:function(e,t){var n=this,r=this.astBuilder.ast(e);this.expression=e,this.expensiveChecks=t,Zt(r,n.$filter);var o,a;(o=nn(r))&&(a=this.recurse(o));var s,u=en(r.body);u&&(s=[],i(u,function(e,t){var r=n.recurse(e);e.input=r,s.push(r),e.watchId=t}));var c=[];i(r.body,function(e){c.push(n.recurse(e.expression))});var l=0===r.body.length?function(){}:1===r.body.length?c[0]:function(e,t){var n;return i(c,function(r){n=r(e,t)}),n};return a&&(l.assign=function(e,t,n){return a(e,n,t)}),s&&(l.inputs=s),l.literal=rn(r),l.constant=on(r),l},recurse:function(e,t,n){var r,o,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case to.Literal:return this.value(e.value,t);case to.UnaryExpression:return o=this.recurse(e.argument),this["unary"+e.operator](o,t);case to.BinaryExpression:return r=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](r,o,t);case to.LogicalExpression:return r=this.recurse(e.left),o=this.recurse(e.right),this["binary"+e.operator](r,o,t);case to.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case to.Identifier:return Gt(e.name,s.expression),s.identifier(e.name,s.expensiveChecks||cn(e.name),t,n,s.expression);case to.MemberExpression:return r=this.recurse(e.object,!1,!!n),e.computed||(Gt(e.property.name,s.expression),o=e.property.name),e.computed&&(o=this.recurse(e.property)),e.computed?this.computedMember(r,o,t,n,s.expression):this.nonComputedMember(r,o,s.expensiveChecks,t,n,s.expression);case to.CallExpression:return a=[],i(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(o=this.$filter(e.callee.name)),e.filter||(o=this.recurse(e.callee,!0)),e.filter?function(e,n,r,i){for(var s=[],u=0;u<a.length;++u)s.push(a[u](e,n,r,i));var c=o.apply(void 0,s,i);return t?{context:void 0,name:void 0,value:c}:c}:function(e,n,r,i){var u,c=o(e,n,r,i);if(null!=c.value){Xt(c.context,s.expression),Jt(c.value,s.expression);for(var l=[],f=0;f<a.length;++f)l.push(Xt(a[f](e,n,r,i),s.expression));u=Xt(c.value.apply(c.context,l),s.expression)}return t?{value:u}:u};case to.AssignmentExpression:return r=this.recurse(e.left,!0,1),o=this.recurse(e.right),function(e,n,i,a){var u=r(e,n,i,a),c=o(e,n,i,a);return Xt(u.value,s.expression),u.context[u.name]=c,t?{value:c}:c};case to.ArrayExpression:return a=[],i(e.elements,function(e){a.push(s.recurse(e))}),function(e,n,r,i){for(var o=[],s=0;s<a.length;++s)o.push(a[s](e,n,r,i));return t?{value:o}:o};case to.ObjectExpression:return a=[],i(e.properties,function(e){a.push({key:e.key.type===to.Identifier?e.key.name:""+e.key.value,value:s.recurse(e.value)})}),function(e,n,r,i){for(var o={},s=0;s<a.length;++s)o[a[s].key]=a[s].value(e,n,r,i);return t?{value:o}:o};case to.ThisExpression:return function(e){return t?{value:e}:e};case to.NGValueParameter:return function(e,n,r,i){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=$(a)?+a:0,t?{value:a}:a}},"unary-":function(e,t){return function(n,r,i,o){var a=e(n,r,i,o);return a=$(a)?-a:0,t?{value:a}:a}},"unary!":function(e,t){return function(n,r,i,o){var a=!e(n,r,i,o);return t?{value:a}:a}},"binary+":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),c=Kt(s,u);return n?{value:c}:c}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a),u=t(r,i,o,a),c=($(s)?s:0)-($(u)?u:0);return n?{value:c}:c}},"binary*":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)*t(r,i,o,a);return n?{value:s}:s}},"binary/":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)/t(r,i,o,a);return n?{value:s}:s}},"binary%":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)%t(r,i,o,a);return n?{value:s}:s}},"binary===":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)===t(r,i,o,a);return n?{value:s}:s}},"binary!==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!==t(r,i,o,a);return n?{value:s}:s}},"binary==":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)==t(r,i,o,a);return n?{value:s}:s}},"binary!=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)!=t(r,i,o,a);return n?{value:s}:s}},"binary<":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<t(r,i,o,a);return n?{value:s}:s}},"binary>":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>t(r,i,o,a);return n?{value:s}:s}},"binary<=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)<=t(r,i,o,a);return n?{value:s}:s}},"binary>=":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)>=t(r,i,o,a);return n?{value:s}:s}},"binary&&":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)&&t(r,i,o,a);return n?{value:s}:s}},"binary||":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a)||t(r,i,o,a);return n?{value:s}:s}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){var u=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s);return r?{value:u}:u}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n,r,i){return function(o,a,s,u){var c=a&&e in a?a:o;r&&1!==r&&c&&!c[e]&&(c[e]={});var l=c?c[e]:void 0;return t&&Xt(l,i),n?{context:c,name:e,value:l}:l}},computedMember:function(e,t,n,r,i){return function(o,a,s,u){var c,l,f=e(o,a,s,u);return null!=f&&(c=t(o,a,s,u),Gt(c,i),r&&1!==r&&f&&!f[c]&&(f[c]={}),l=f[c],Xt(l,i)),n?{context:f,name:c,value:l}:l}},nonComputedMember:function(e,t,n,r,i,o){return function(a,s,u,c){var l=e(a,s,u,c);i&&1!==i&&l&&!l[t]&&(l[t]={});var f=null!=l?l[t]:void 0;return(n||cn(t))&&Xt(f,o),r?{context:l,name:t,value:f}:f}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}};var no=function(e,t,n){this.lexer=e,this.$filter=t,this.options=n,this.ast=new to(this.lexer),this.astCompiler=n.csp?new sn(this.ast,t):new an(this.ast,t)};no.prototype={constructor:no,parse:function(e){return this.astCompiler.compile(e,this.options.expensiveChecks)}};var ro=(me(),me(),Object.prototype.valueOf),io=n("$sce"),oo={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Fi=n("$compile"),ao=t.createElement("a"),so=kn(e.location.href);Nn.$inject=["$document"],jn.$inject=["$provide"],qn.$inject=["$locale"],Ln.$inject=["$locale"];var uo=".",co={yyyy:_n("FullYear",4),yy:_n("FullYear",2,0,!0),y:_n("FullYear",1),MMMM:Hn("Month"),MMM:Hn("Month",!0),MM:_n("Month",2,1),M:_n("Month",1,1),dd:_n("Date",2),d:_n("Date",1),HH:_n("Hours",2),H:_n("Hours",1),hh:_n("Hours",2,-12),h:_n("Hours",1,-12),mm:_n("Minutes",2),m:_n("Minutes",1),ss:_n("Seconds",2),s:_n("Seconds",1),sss:_n("Milliseconds",3),EEEE:Hn("Day"),EEE:Hn("Day",!0),a:Gn,Z:Bn,ww:zn(2),w:zn(1),G:Xn,GG:Xn,GGG:Xn,GGGG:Jn},lo=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,fo=/^\-?\d+$/;Yn.$inject=["$locale"];var po=v(Cr),ho=v(Tr);Zn.$inject=["$parse"];var mo=v({restrict:"E",compile:function(e,t){return t.href||t.xlinkHref?void 0:function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===qr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),vo={};i(yi,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!=e){var r=ct("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),vo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),i(xi,function(e,t){vo[t]=function(){return{priority:100,link:function(e,n,r){if("ngPattern"===t&&"/"==r.ngPattern.charAt(0)){var i=r.ngPattern.match(Sr);if(i)return void r.$set("ngPattern",new RegExp(i[1],i[2]))}e.$watch(r[t],function(e){r.$set(t,e)})}}}}),i(["src","srcset","href"],function(e){var t=ct("ng-"+e);vo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===qr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){return t?(i.$set(a,t),void(Or&&o&&r.prop(o,i[a]))):void("href"===e&&i.$set(a,null))})}}}});var go={$addControl:h,$$renameControl:tr,$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h},$o="ng-submitted";nr.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var yo=function(e){return["$timeout",function(t){var n={name:"form",restrict:e?"EAC":"E",controller:nr,compile:function(n,r){n.addClass(Zo).addClass(Ko);var i=r.name?"name":e&&r.ngForm?"ngForm":!1;return{pre:function(e,n,r,o){if(!("action"in r)){var a=function(t){e.$apply(function(){o.$commitViewValue(),o.$setSubmitted()}),t.preventDefault()};si(n[0],"submit",a),n.on("$destroy",function(){t(function(){ui(n[0],"submit",a)},0,!1)})}var s=o.$$parentForm;i&&(un(e,o.$name,o,o.$name),r.$observe(i,function(t){o.$name!==t&&(un(e,o.$name,void 0,o.$name),s.$$renameControl(o,t),un(e,o.$name,o,o.$name))})),n.on("$destroy",function(){s.$removeControl(o),i&&un(e,r[i],void 0,o.$name),l(o,go)})}}}};return n}]},bo=yo(),xo=yo(!0),wo=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,So=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,Eo=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,Co=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,ko=/^(\d{4})-(\d{2})-(\d{2})$/,To=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Ao=/^(\d{4})-W(\d\d)$/,No=/^(\d{4})-(\d\d)$/,Oo=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,jo={text:ir,date:ur("date",ko,sr(ko,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":ur("datetimelocal",To,sr(To,["yyyy","MM","dd","HH","mm","ss","sss"]),"yyyy-MM-ddTHH:mm:ss.sss"),time:ur("time",Oo,sr(Oo,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:ur("week",Ao,ar,"yyyy-Www"),month:ur("month",No,sr(No,["yyyy","MM"]),"yyyy-MM"),number:lr,url:fr,email:pr,radio:dr,checkbox:mr,hidden:h,button:h,submit:h,reset:h,file:h},Do=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(jo[Cr(a.type)]||jo.text)(i,o,a,s[0],t,e,n,r)}}}}],Mo=/^(true|false|\d+)$/,Fo=function(){return{restrict:"A",priority:100,compile:function(e,t){return Mo.test(t.ngValue)?function(e,t,n){n.$set("value",e.$eval(n.ngValue))}:function(e,t,n){e.$watch(n.ngValue,function(e){n.$set("value",e)})}}}},Ro=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,r){e.$$addBindingInfo(n,r.ngBind),n=n[0],t.$watch(r.ngBind,function(e){n.textContent=void 0===e?"":e})}}}}],Po=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){var o=e(r.attr(i.$attr.ngBindTemplate));t.$$addBindingInfo(r,o.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=void 0===e?"":e})}}}}],qo=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(e){return(e||"").toString()});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){r.html(e.getTrustedHtml(o(t))||"")})}}}}],Lo=v({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Vo=vr("",!0),Io=vr("Odd",0),_o=vr("Even",1),Ho=er({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),Bo=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Uo={},Wo={blur:!0,focus:!0};i("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=ct("ng-"+e);Uo[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t],null,!0);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};Wo[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var zo=["$animate",function(e){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,c;n.$watch(i.ngIf,function(n){n?u||a(function(n,o){u=o,n[n.length++]=t.createComment(" end ngIf: "+i.ngIf+" "),s={clone:n},e.enter(n,r.parent(),r)}):(c&&(c.remove(),c=null),u&&(u.$destroy(),u=null),s&&(c=he(s.clone),e.leave(c).then(function(){c=null}),s=null))})}}}],Go=["$templateRequest","$anchorScroll","$animate","$sce",function(e,t,n,r){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Ir.noop,compile:function(i,o){var a=o.ngInclude||o.src,s=o.onload||"",u=o.autoscroll;return function(i,o,c,l,f){var p,d,h,m=0,v=function(){d&&(d.remove(),d=null),p&&(p.$destroy(),p=null),h&&(n.leave(h).then(function(){d=null}),d=h,h=null)};i.$watch(r.parseAsResourceUrl(a),function(r){var a=function(){!$(u)||u&&!i.$eval(u)||t()},c=++m;r?(e(r,!0).then(function(e){if(c===m){var t=i.$new();l.template=e;var u=f(t,function(e){v(),n.enter(e,null,o).then(a)});p=t,h=u,p.$emit("$includeContentLoaded",r),i.$eval(s)}},function(){c===m&&(v(),i.$emit("$includeContentError",r))}),i.$emit("$includeContentRequested",r)):(v(),l.template=null)})}}}}],Xo=["$compile",function(e){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){return/SVG/.test(r[0].toString())?(r.empty(),void e(Ce(o.template,t).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),void e(r.contents())(n))}}}],Jo=er({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Yo=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var o=t.attr(n.$attr.ngList)||", ",a="false"!==n.ngTrim,s=a?Wr(o):o,u=function(e){if(!g(e)){var t=[];return e&&i(e.split(s),function(e){e&&t.push(a?Wr(e):e)}),t}};r.$parsers.push(u),r.$formatters.push(function(e){return Br(e)?e.join(o):void 0}),r.$isEmpty=function(e){return!e||!e.length}}}},Ko="ng-valid",Qo="ng-invalid",Zo="ng-pristine",ea="ng-dirty",ta="ng-untouched",na="ng-touched",ra="ng-pending",ia=new n("ngModel"),oa=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(e,t,n,r,o,a,s,u,c,l){this.$viewValue=Number.NaN,this.$modelValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=l(n.name||"",!1)(e);var f,p=o(n.ngModel),d=p.assign,m=p,v=d,y=null,b=this;this.$$setOptions=function(e){if(b.$options=e,e&&e.getterSetter){var t=o(n.ngModel+"()"),i=o(n.ngModel+"($$$p)");m=function(e){var n=p(e);return E(n)&&(n=t(e)),n},v=function(e,t){E(p(e))?i(e,{$$$p:b.$modelValue}):d(e,b.$modelValue)}}else if(!p.assign)throw ia("nonassign","Expression '{0}' is non-assignable. Element: {1}",n.ngModel,K(r))},this.$render=h,this.$isEmpty=function(e){return g(e)||""===e||null===e||e!==e};var x=r.inheritedData("$formController")||go,S=0;gr({ctrl:this,$element:r,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]},parentForm:x,$animate:a}),this.$setPristine=function(){b.$dirty=!1,b.$pristine=!0,a.removeClass(r,ea),a.addClass(r,Zo)},this.$setDirty=function(){b.$dirty=!0,b.$pristine=!1,a.removeClass(r,Zo),a.addClass(r,ea),x.$setDirty()},this.$setUntouched=function(){b.$touched=!1,b.$untouched=!0,a.setClass(r,ta,na)},this.$setTouched=function(){b.$touched=!0,b.$untouched=!1,a.setClass(r,na,ta)},this.$rollbackViewValue=function(){s.cancel(y),b.$viewValue=b.$$lastCommittedViewValue,b.$render()},this.$validate=function(){if(!w(b.$modelValue)||!isNaN(b.$modelValue)){var e=b.$$lastCommittedViewValue,t=b.$$rawModelValue,n=b.$valid,r=b.$modelValue,i=b.$options&&b.$options.allowInvalid;b.$$runValidators(t,e,function(e){i||n===e||(b.$modelValue=e?t:void 0,b.$modelValue!==r&&b.$$writeModelToScope())})}},this.$$runValidators=function(e,t,n){function r(){var e=b.$$parserName||"parse";return void 0!==f?(f||(i(b.$validators,function(e,t){s(t,null)}),i(b.$asyncValidators,function(e,t){s(t,null)})),s(e,f),f):(s(e,null),!0)}function o(){var n=!0;return i(b.$validators,function(r,i){var o=r(e,t);n=n&&o,s(i,o)}),n?!0:(i(b.$asyncValidators,function(e,t){s(t,null)}),!1)}function a(){var n=[],r=!0;i(b.$asyncValidators,function(i,o){var a=i(e,t);if(!D(a))throw ia("$asyncValidators","Expected asynchronous validator to return a promise but got '{0}' instead.",a);s(o,void 0),n.push(a.then(function(){s(o,!0)},function(e){r=!1,s(o,!1)}))}),n.length?c.all(n).then(function(){u(r)},h):u(!0)}function s(e,t){l===S&&b.$setValidity(e,t)}function u(e){l===S&&n(e)}S++;var l=S;return r()&&o()?void a():void u(!1)},this.$commitViewValue=function(){var e=b.$viewValue;s.cancel(y),(b.$$lastCommittedViewValue!==e||""===e&&b.$$hasNativeValidators)&&(b.$$lastCommittedViewValue=e,b.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){function t(){b.$modelValue!==o&&b.$$writeModelToScope()}var n=b.$$lastCommittedViewValue,r=n;if(f=g(r)?void 0:!0)for(var i=0;i<b.$parsers.length;i++)if(r=b.$parsers[i](r),g(r)){f=!1;break}w(b.$modelValue)&&isNaN(b.$modelValue)&&(b.$modelValue=m(e));var o=b.$modelValue,a=b.$options&&b.$options.allowInvalid;b.$$rawModelValue=r,a&&(b.$modelValue=r,t()),b.$$runValidators(r,b.$$lastCommittedViewValue,function(e){a||(b.$modelValue=e?r:void 0,t())})},this.$$writeModelToScope=function(){v(e,b.$modelValue),i(b.$viewChangeListeners,function(e){try{e()}catch(n){t(n)}})},this.$setViewValue=function(e,t){b.$viewValue=e,(!b.$options||b.$options.updateOnDefault)&&b.$$debounceViewValueCommit(t)},this.$$debounceViewValueCommit=function(t){var n,r=0,i=b.$options;i&&$(i.debounce)&&(n=i.debounce,w(n)?r=n:w(n[t])?r=n[t]:w(n["default"])&&(r=n["default"])),s.cancel(y),r?y=s(function(){b.$commitViewValue()},r):u.$$phase?b.$commitViewValue():e.$apply(function(){b.$commitViewValue()})},e.$watch(function(){var t=m(e);if(t!==b.$modelValue&&(b.$modelValue===b.$modelValue||t===t)){b.$modelValue=b.$$rawModelValue=t,f=void 0;for(var n=b.$formatters,r=n.length,i=t;r--;)i=n[r](i);b.$viewValue!==i&&(b.$viewValue=b.$$lastCommittedViewValue=i,b.$render(),b.$$runValidators(t,i,h))}return t})}],aa=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:oa,priority:1,compile:function(t){return t.addClass(Zo).addClass(ta).addClass(Ko),{pre:function(e,t,n,r){var i=r[0],o=r[1]||go;i.$$setOptions(r[2]&&r[2].$options),o.$addControl(i),n.$observe("name",function(e){i.$name!==e&&o.$$renameControl(i,e);
  }),e.$on("$destroy",function(){o.$removeControl(i)})},post:function(t,n,r,i){var o=i[0];o.$options&&o.$options.updateOn&&n.on(o.$options.updateOn,function(e){o.$$debounceViewValueCommit(e&&e.type)}),n.on("blur",function(n){o.$touched||(e.$$phase?t.$evalAsync(o.$setTouched):t.$apply(o.$setTouched))})}}}}}],sa=/(\s+|^)default(\s+|$)/,ua=function(){return{restrict:"A",controller:["$scope","$attrs",function(e,t){var n=this;this.$options=V(e.$eval(t.ngModelOptions)),void 0!==this.$options.updateOn?(this.$options.updateOnDefault=!1,this.$options.updateOn=Wr(this.$options.updateOn.replace(sa,function(){return n.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}},ca=er({terminal:!0,priority:1e3}),la=n("ngOptions"),fa=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/,pa=["$compile","$parse",function(e,n){function o(e,t,i){function o(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}var a=e.match(fa);if(!a)throw la("iexp","Expected expression in form of '_select_ (as _label_)? for (_key_,)?_value_ in _collection_' but got '{0}'. Element: {1}",e,K(t));var s=a[5]||a[7],u=a[6],c=/ as /.test(a[0])&&a[1],l=a[9],f=n(a[2]?a[1]:s),p=c&&n(c),d=p||f,h=l&&n(l),m=l?function(e,t){return h(i,t)}:function(e){return Ge(e)},v=function(e,t){return m(e,w(e,t))},g=n(a[2]||a[1]),$=n(a[3]||""),y=n(a[4]||""),b=n(a[8]),x={},w=u?function(e,t){return x[u]=t,x[s]=e,x}:function(e){return x[s]=e,x};return{trackBy:l,getTrackByValue:v,getWatchables:n(b,function(e){var t=[];return e=e||[],Object.keys(e).forEach(function(n){if("$"!==n.charAt(0)){var r=w(e[n],n),o=m(e[n],r);if(t.push(o),a[2]||a[1]){var s=g(i,r);t.push(s)}if(a[4]){var u=y(i,r);t.push(u)}}}),t}),getOptions:function(){var e,t=[],n={},a=b(i)||[];if(!u&&r(a))e=a;else{e=[];for(var s in a)a.hasOwnProperty(s)&&"$"!==s.charAt(0)&&e.push(s)}for(var c=e.length,f=0;c>f;f++){var p=a===e?f:e[f],h=a[p],x=w(h,p),S=d(i,x),E=m(S,x),C=g(i,x),k=$(i,x),T=y(i,x),A=new o(E,S,C,k,T);t.push(A),n[E]=A}return{items:t,selectValueMap:n,getOptionFromViewValue:function(e){return n[v(e)]},getViewValueFromOption:function(e){return l?Ir.copy(e.viewValue):e.viewValue}}}}}var a=t.createElement("option"),s=t.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","?ngModel"],link:function(t,n,r,u){function c(e,t){e.element=t,t.disabled=e.disabled,e.value!==t.value&&(t.value=e.selectValue),e.label!==t.label&&(t.label=e.label,t.textContent=e.label)}function l(e,t,n,r){var i;return t&&Cr(t.nodeName)===n?i=t:(i=r.cloneNode(!1),t?e.insertBefore(i,t):e.appendChild(i)),i}function f(e){for(var t;e;)t=e.nextSibling,_e(e),e=t}function p(e){var t=m&&m[0],n=w&&w[0];if(t||n)for(;e&&(e===t||e===n);)e=e.nextSibling;return e}function d(){var e=S&&v.readValue();S=E.getOptions();var t={},r=n[0].firstChild;if(x&&n.prepend(m),r=p(r),S.items.forEach(function(e){var i,o,u;e.group?(i=t[e.group],i||(o=l(n[0],r,"optgroup",s),r=o.nextSibling,o.label=e.group,i=t[e.group]={groupElement:o,currentOptionElement:o.firstChild}),u=l(i.groupElement,i.currentOptionElement,"option",a),c(e,u),i.currentOptionElement=u.nextSibling):(u=l(n[0],r,"option",a),c(e,u),r=u.nextSibling)}),Object.keys(t).forEach(function(e){f(t[e].currentOptionElement)}),f(r),h.$render(),!h.$isEmpty(e)){var i=v.readValue();(E.trackBy?_(e,i):e===i)||(h.$setViewValue(i),h.$render())}}var h=u[1];if(h){for(var m,v=u[0],g=r.multiple,$=0,y=n.children(),b=y.length;b>$;$++)if(""===y[$].value){m=y.eq($);break}var x=!!m,w=jr(a.cloneNode(!1));w.val("?");var S,E=o(r.ngOptions,n,t),C=function(){x||n.prepend(m),n.val(""),m.prop("selected",!0),m.attr("selected",!0)},k=function(){x||m.remove()},T=function(){n.prepend(w),n.val("?"),w.prop("selected",!0),w.attr("selected",!0)},A=function(){w.remove()};g?(h.$isEmpty=function(e){return!e||0===e.length},v.writeValue=function(e){S.items.forEach(function(e){e.element.selected=!1}),e&&e.forEach(function(e){var t=S.getOptionFromViewValue(e);t&&!t.disabled&&(t.element.selected=!0)})},v.readValue=function(){var e=n.val()||[],t=[];return i(e,function(e){var n=S.selectValueMap[e];n.disabled||t.push(S.getViewValueFromOption(n))}),t},E.trackBy&&t.$watchCollection(function(){return Br(h.$viewValue)?h.$viewValue.map(function(e){return E.getTrackByValue(e)}):void 0},function(){h.$render()})):(v.writeValue=function(e){var t=S.getOptionFromViewValue(e);t&&!t.disabled?n[0].value!==t.selectValue&&(A(),k(),n[0].value=t.selectValue,t.element.selected=!0,t.element.setAttribute("selected","selected")):null===e||x?(A(),C()):(k(),T())},v.readValue=function(){var e=S.selectValueMap[n.val()];return e&&!e.disabled?(k(),A(),S.getViewValueFromOption(e)):null},E.trackBy&&t.$watch(function(){return E.getTrackByValue(h.$viewValue)},function(){h.$render()})),x?(m.remove(),e(m)(t),m.removeClass("ng-scope")):m=jr(a.cloneNode(!1)),d(),t.$watchCollection(E.getWatchables,d)}}}}],da=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,o=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function c(e){s.text(e||"")}var l,f=u.count,p=u.$attr.when&&s.attr(u.$attr.when),d=u.offset||0,m=a.$eval(p)||{},v={},$=t.startSymbol(),y=t.endSymbol(),b=$+f+"-"+d+y,x=Ir.noop;i(u,function(e,t){var n=o.exec(t);if(n){var r=(n[1]?"-":"")+Cr(n[2]);m[r]=s.attr(u.$attr[t])}}),i(m,function(e,n){v[n]=t(e.replace(r,b))}),a.$watch(f,function(t){var r=parseFloat(t),i=isNaN(r);if(i||r in m||(r=e.pluralCat(r-d)),r!==l&&!(i&&w(l)&&isNaN(l))){x();var o=v[r];g(o)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+p),x=h,c()):x=a.$watch(o,c),l=r}})}}}],ha=["$parse","$animate",function(e,o){var a="$$NG_REMOVED",s=n("ngRepeat"),u=function(e,t,n,r,i,o,a){e[n]=r,i&&(e[i]=o),e.$index=t,e.$first=0===t,e.$last=t===a-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0===(1&t))},c=function(e){return e.clone[0]},l=function(e){return e.clone[e.clone.length-1]};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(n,f){var p=f.ngRepeat,d=t.createComment(" end ngRepeat: "+p+" "),h=p.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!h)throw s("iexp","Expected expression in form of '_item_ in _collection_[ track by _id_]' but got '{0}'.",p);var m=h[1],v=h[2],g=h[3],$=h[4];if(h=m.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/),!h)throw s("iidexp","'_item_' in '_item_ in _collection_' should be an identifier or '(_key_, _value_)' expression, but got '{0}'.",m);var y=h[3]||h[1],b=h[2];if(g&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(g)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(g)))throw s("badident","alias '{0}' is invalid --- must be a valid JS identifier which is not a reserved name.",g);var x,w,S,E,C={$id:Ge};return $?x=e($):(S=function(e,t){return Ge(t)},E=function(e){return e}),function(e,t,n,f,h){x&&(w=function(t,n,r){return b&&(C[b]=t),C[y]=n,C.$index=r,x(e,C)});var m=me();e.$watchCollection(v,function(n){var f,v,$,x,C,k,T,A,N,O,j,D,M=t[0],F=me();if(g&&(e[g]=n),r(n))N=n,A=w||S;else{A=w||E,N=[];for(var R in n)n.hasOwnProperty(R)&&"$"!==R.charAt(0)&&N.push(R)}for(x=N.length,j=new Array(x),f=0;x>f;f++)if(C=n===N?f:N[f],k=n[C],T=A(C,k,f),m[T])O=m[T],delete m[T],F[T]=O,j[f]=O;else{if(F[T])throw i(j,function(e){e&&e.scope&&(m[e.id]=e)}),s("dupes","Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: {0}, Duplicate key: {1}, Duplicate value: {2}",p,T,k);j[f]={id:T,scope:void 0,clone:void 0},F[T]=!0}for(var P in m){if(O=m[P],D=he(O.clone),o.leave(D),D[0].parentNode)for(f=0,v=D.length;v>f;f++)D[f][a]=!0;O.scope.$destroy()}for(f=0;x>f;f++)if(C=n===N?f:N[f],k=n[C],O=j[f],O.scope){$=M;do $=$.nextSibling;while($&&$[a]);c(O)!=$&&o.move(he(O.clone),null,jr(M)),M=l(O),u(O.scope,f,y,k,b,C,x)}else h(function(e,t){O.scope=t;var n=d.cloneNode(!1);e[e.length++]=n,o.enter(e,null,jr(M)),M=n,O.clone=e,F[O.id]=O,u(O.scope,f,y,k,b,C,x)});m=F})}}}}],ma="ng-hide",va="ng-hide-animate",ga=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,ma,{tempClasses:va})})}}}],$a=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,ma,{tempClasses:va})})}}}],ya=er(function(e,t,n){e.$watch(n.ngStyle,function(e,n){n&&e!==n&&i(n,function(e,n){t.css(n,"")}),e&&t.css(e)},!0)}),ba=["$animate",function(e){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,o,a){var s=o.ngSwitch||o.on,u=[],c=[],l=[],f=[],p=function(e,t){return function(){e.splice(t,1)}};n.$watch(s,function(n){var r,o;for(r=0,o=l.length;o>r;++r)e.cancel(l[r]);for(l.length=0,r=0,o=f.length;o>r;++r){var s=he(c[r].clone);f[r].$destroy();var d=l[r]=e.leave(s);d.then(p(l,r))}c.length=0,f.length=0,(u=a.cases["!"+n]||a.cases["?"])&&i(u,function(n){n.transclude(function(r,i){f.push(i);var o=n.element;r[r.length++]=t.createComment(" end ngSwitchWhen: ");var a={clone:r};c.push(a),e.enter(r,o.parent(),o)})})})}}}],xa=er({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["!"+n.ngSwitchWhen]=r.cases["!"+n.ngSwitchWhen]||[],r.cases["!"+n.ngSwitchWhen].push({transclude:i,element:t})}}),wa=er({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){r.cases["?"]=r.cases["?"]||[],r.cases["?"].push({transclude:i,element:t})}}),Sa=er({restrict:"EAC",link:function(e,t,r,i,o){if(!o)throw n("ngTransclude")("orphan","Illegal use of ngTransclude directive in the template! No parent directive that requires a transclusion found. Element: {0}",K(t));o(function(e){t.empty(),t.append(e)})}}),Ea=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){if("text/ng-template"==n.type){var r=n.id,i=t[0].text;e.put(r,i)}}}}],Ca={$setViewValue:h,$render:h},ka=["$element","$scope","$attrs",function(e,n,r){var i=this,o=new Xe;i.ngModelCtrl=Ca,i.unknownOption=jr(t.createElement("option")),i.renderUnknownOption=function(t){var n="? "+Ge(t)+" ?";i.unknownOption.val(n),e.prepend(i.unknownOption),e.val(n)},n.$on("$destroy",function(){i.renderUnknownOption=h}),i.removeUnknownOption=function(){i.unknownOption.parent()&&i.unknownOption.remove()},i.readValue=function(){return i.removeUnknownOption(),e.val()},i.writeValue=function(t){i.hasOption(t)?(i.removeUnknownOption(),e.val(t),""===t&&i.emptyOption.prop("selected",!0)):null==t&&i.emptyOption?(i.removeUnknownOption(),e.val("")):i.renderUnknownOption(t)},i.addOption=function(e,t){pe(e,'"option value"'),""===e&&(i.emptyOption=t);var n=o.get(e)||0;o.put(e,n+1)},i.removeOption=function(e){var t=o.get(e);t&&(1===t?(o.remove(e),""===e&&(i.emptyOption=void 0)):o.put(e,t-1))},i.hasOption=function(e){return!!o.get(e)}}],Ta=function(){return{restrict:"E",require:["select","?ngModel"],controller:ka,link:function(e,t,n,r){var o=r[1];if(o){var a=r[0];if(a.ngModelCtrl=o,o.$render=function(){a.writeValue(o.$viewValue)},t.on("change",function(){e.$apply(function(){o.$setViewValue(a.readValue())})}),n.multiple){a.readValue=function(){var e=[];return i(t.find("option"),function(t){t.selected&&e.push(t.value)}),e},a.writeValue=function(e){var n=new Xe(e);i(t.find("option"),function(e){e.selected=$(n.get(e.value))})};var s,u=NaN;e.$watch(function(){u!==o.$viewValue||_(s,o.$viewValue)||(s=I(o.$viewValue),o.$render()),u=o.$viewValue}),o.$isEmpty=function(e){return!e||0===e.length}}}}}},Aa=["$interpolate",function(e){function t(e){e[0].hasAttribute("selected")&&(e[0].selected=!0)}return{restrict:"E",priority:100,compile:function(n,r){if(g(r.value)){var i=e(n.text(),!0);i||r.$set("value",n.text())}return function(e,n,r){var o="$selectController",a=n.parent(),s=a.data(o)||a.parent().data(o);s&&s.ngModelCtrl&&(i?e.$watch(i,function(e,i){r.$set("value",e),i!==e&&s.removeOption(i),s.addOption(e,n),s.ngModelCtrl.$render(),t(n)}):(s.addOption(r.value,n),s.ngModelCtrl.$render(),t(n)),n.on("$destroy",function(){s.removeOption(r.value),s.ngModelCtrl.$render()}))}}}}],Na=v({restrict:"E",terminal:!1}),Oa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){r&&(n.required=!0,r.$validators.required=function(e,t){return!n.required||!r.$isEmpty(t)},n.$observe("required",function(){r.$validate()}))}}},ja=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,r,i){if(i){var o,a=r.ngPattern||r.pattern;r.$observe("pattern",function(e){if(x(e)&&e.length>0&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw n("ngPattern")("noregexp","Expected {0} to be a RegExp but was {1}. Element: {2}",a,e,K(t));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e){return i.$isEmpty(e)||g(o)||o.test(e)}}}}},Da=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){var t=p(e);i=isNaN(t)?-1:t,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},Ma=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=p(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};Ir.scenario=Ir.scenario||{},Ir.scenario.jQuery=wr,Ir.scenario.output=Ir.scenario.output||function(e,t){Ir.scenario.output[e]=t},Ir.scenario.dsl=Ir.scenario.dsl||function(e,t){Ir.scenario.dsl[e]=function(){function e(t,n){var r=t.apply(this,n);if(Ir.isFunction(r)||r instanceof Ir.scenario.Future)return r;var i=this,o=Ir.extend({},r);return Ir.forEach(o,function(t,n){Ir.isFunction(t)?o[n]=function(){return e.call(i,t,arguments)}:o[n]=t}),o}var n=t.apply(this,arguments);return function(){return e.call(this,n,arguments)}}},Ir.scenario.matcher=Ir.scenario.matcher||function(e,t){Ir.scenario.matcher[e]=function(n){var r=this.future.name+(this.inverse?" not ":" ")+e+" "+Ir.toJson(n),i=this;this.addFuture("expect "+r,function(e){var o;i.actual=i.future.value,(i.inverse&&t.call(i,n)||!i.inverse&&!t.call(i,n))&&(o="expected "+r+" but was "+Ir.toJson(i.actual)),e(o)})}},Ir.scenario.setUpAndRun=function(n){var r=e.location.href,i=wr(t.body),o=[],a=new Ir.scenario.ObjectModel(Fa);if(n&&n.scenario_output&&(o=n.scenario_output.split(",")),Ir.forEach(Ir.scenario.output,function(e,t){if(!o.length||-1!=o.indexOf(t)){var n=i.append("<div></div>").find("div:last");n.attr("id",t),e.call({},n,Fa,a)}}),!/^http/.test(r)&&!/^https/.test(r))return i.append('<p id="system-error"></p>'),void i.find("#system-error").text("Scenario runner must be run using http or https. The protocol "+r.split(":")[0]+":// is not supported.");var s=i.append('<div id="application"></div>').find("#application"),u=new Ir.scenario.Application(s);Fa.on("RunnerEnd",function(){s.css("display","none"),s.find("iframe").attr("src","about:blank")}),Fa.on("RunnerError",function(t){e.console?console.log(br(t)):alert(t)}),Fa.run(u)},function(e){var t=e._originalTrigger=e.trigger;e.trigger=function(e){if(/(click|change|keydown|blur|input|mousedown|mouseup)/.test(e)){var n=[];return this.each(function(t,r){n.push(browserTrigger(r,e))}),n}return t.apply(this,arguments)}}(wr.fn),wr.fn.bindings=function(e,t){function n(e){void 0===e?e="":"string"!=typeof e&&(e=Ir.toJson(e)),i.push(""+e)}var r,i=[],o=".ng-binding:visible";Ir.isString(t)?(t=t.replace(/\s/g,""),r=function(e){if(e){if(e=e.replace(/\s/g,""),e==t)return!0;if(0===e.indexOf(t))return"|"==e.charAt(t.length)}}):r=t?function(e){return e&&t.exec(e)}:function(e){return!!e};var a=this.find(o);return this.is(o)&&(a=a.add(this)),a.each(function(){var t,i=e(this);if(t=i.data("$binding"))for(var o,a=[],s=0,u=t.length;u>s;s++){o=t[s],a=o.expressions?o.expressions:[o];for(var c,l,f=0,p=a.length;p>f;f++)l=a[f],r(l)&&(c=c||i.scope(),n(c.$eval(l)))}}),i},function(){function n(){if("_cached"in n)return n._cached;if(!t.createTouch||!t.createTouchList)return n._cached=!1,!1;try{t.createEvent("TouchEvent")}catch(e){return n._cached=!1,!1}return n._cached=!0,!0}function r(n,r,i,o){var a=new Event(r);i=i||0,o=o||0;var s=t.createTouch(e,n,Date.now(),i,o,i,o),u=t.createTouchList(s);return a.touches=u,a}e.browserTrigger=function(i,o,a){function s(e){return-1!==u.indexOf(e)}if(i&&!i.nodeName&&(i=i[0]),i){a=a||{};var u=a.keys,c=a.x,l=a.y,f=i.type?i.type.toLowerCase():null,p=i.nodeName.toLowerCase();o||(o={text:"change",textarea:"change",hidden:"change",password:"change",button:"click",submit:"click",reset:"click",image:"click",checkbox:"click",radio:"click","select-one":"change","select-multiple":"change",_default_:"click"}[f||"_default_"]),"option"==p&&(i.parentNode.value=i.value,i=i.parentNode,o="change"),u=u||[];var d;if(/transitionend/.test(o))if(e.WebKitTransitionEvent)d=new WebKitTransitionEvent(o,a),d.initEvent(o,!1,!0);else try{d=new TransitionEvent(o,a)}catch(h){d=t.createEvent("TransitionEvent"),d.initTransitionEvent(o,null,null,null,a.elapsedTime||0)}else if(/animationend/.test(o))if(e.WebKitAnimationEvent)d=new WebKitAnimationEvent(o,a),d.initEvent(o,!1,!0);else try{d=new AnimationEvent(o,a)}catch(h){d=t.createEvent("AnimationEvent"),d.initAnimationEvent(o,null,null,null,a.elapsedTime||0)}else/touch/.test(o)&&n()?d=r(i,o,c,l):(d=t.createEvent("MouseEvents"),c=c||0,l=l||0,d.initMouseEvent(o,!0,!0,e,0,c,l,c,l,s("ctrl"),s("alt"),s("shift"),s("meta"),0,i));if(d.$manualTimeStamp=a.timeStamp,d){var m,v=d.preventDefault,g=i.ownerDocument.defaultView,$=!0,y=g.angular||{};return y["ff-684208-preventDefault"]=!1,d.preventDefault=function(){return $=!1,v.apply(d,arguments)},i.dispatchEvent(d),m=!(y["ff-684208-preventDefault"]||!$),delete y["ff-684208-preventDefault"],m}}}}(),Ir.scenario.Application=function(e){this.context=e,e.append('<h2>Current URL: <a href="about:blank">None</a></h2><div id="test-frames"></div>')},Ir.scenario.Application.prototype.getFrame_=function(){return this.context.find("#test-frames iframe:last")},Ir.scenario.Application.prototype.getWindow_=function(){var e=this.getFrame_().prop("contentWindow");if(!e)throw"Frame window is not accessible.";return e},Ir.scenario.Application.prototype.navigateTo=function(e,t,n){var r=this,i=r.getFrame_();n=n||function(e){throw e},"about:blank"===e?n("Sandbox Error: Navigating to about:blank is not allowed."):"#"===e.charAt(0)?(e=i.attr("src").split("#")[0]+e,i.attr("src",e),r.executeAction(t)):(i.remove(),r.context.find("#test-frames").append("<iframe>"),i=r.getFrame_(),i.load(function(){function e(){var e=o.angular.resumeBootstrap([["$provide",function(e){return["$animate",function(e){e.enabled(!1)}]}]]);r.rootElement=e.get("$rootElement")[0],r.executeAction(t)}i.off();try{var o=r.getWindow_();if(!o.angular)return void r.executeAction(t);o.angular.resumeBootstrap?e():o.angular.resumeDeferredBootstrap=e}catch(a){n(a)}}).attr("src",e),i[0].contentWindow.name="NG_DEFER_BOOTSTRAP!"),r.context.find("> h2 a").attr("href",e).text(e)},Ir.scenario.Application.prototype.executeAction=function(e){function t(t){var i=r.angular.element(t).injector(),o=wr(t);o.injector=function(){return i},i.invoke(function(t){t.notifyWhenNoOutstandingRequests(function(){e.call(n,r,o)})})}var n=this,r=this.getWindow_();if(!r.document)throw"Sandbox Error: Application document not accessible.";return r.angular?void(this.rootElement?t(this.rootElement):ie(r.document,Ir.bind(this,t))):e.call(this,r,wr(r.document))},Ir.scenario.Describe=function(e,t){this.only=t&&t.only,this.beforeEachFns=[],this.afterEachFns=[],this.its=[],this.children=[],this.name=e,this.parent=t,this.id=Ir.scenario.Describe.id++;var n=this.beforeEachFns;this.setupBefore=function(){t&&t.setupBefore.call(this),Ir.forEach(n,function(e){e.call(this)},this)};var r=this.afterEachFns;this.setupAfter=function(){Ir.forEach(r,function(e){e.call(this)},this),t&&t.setupAfter.call(this)}},Ir.scenario.Describe.id=0,Ir.scenario.Describe.specId=0,Ir.scenario.Describe.prototype.beforeEach=function(e){this.beforeEachFns.push(e)},Ir.scenario.Describe.prototype.afterEach=function(e){this.afterEachFns.push(e)},Ir.scenario.Describe.prototype.describe=function(e,t){var n=new Ir.scenario.Describe(e,this);this.children.push(n),t.call(n)},Ir.scenario.Describe.prototype.ddescribe=function(e,t){var n=new Ir.scenario.Describe(e,this);n.only=!0,this.children.push(n),t.call(n)},Ir.scenario.Describe.prototype.xdescribe=Ir.noop,Ir.scenario.Describe.prototype.it=function(e,t){this.its.push({id:Ir.scenario.Describe.specId++,definition:this,only:this.only,name:e,before:this.setupBefore,body:t,after:this.setupAfter})},Ir.scenario.Describe.prototype.iit=function(e,t){this.it.apply(this,arguments),this.its[this.its.length-1].only=!0},Ir.scenario.Describe.prototype.xit=Ir.noop,Ir.scenario.Describe.prototype.getSpecs=function(){var e=arguments[0]||[];Ir.forEach(this.children,function(t){t.getSpecs(e)}),Ir.forEach(this.its,function(t){e.push(t)});var t=[];return Ir.forEach(e,function(e){e.only&&t.push(e)}),t.length&&t||e},Ir.scenario.Future=function(e,t,n){this.name=e,this.behavior=t,this.fulfilled=!1,this.value=void 0,this.parser=Ir.identity,this.line=n||function(){return""}},Ir.scenario.Future.prototype.execute=function(e){var t=this;this.behavior(function(n,r){if(t.fulfilled=!0,r)try{r=t.parser(r)}catch(i){n=i}t.value=n||r,e(n,r)})},Ir.scenario.Future.prototype.parsedWith=function(e){return this.parser=e,this},Ir.scenario.Future.prototype.fromJson=function(){return this.parsedWith(Ir.fromJson)},Ir.scenario.Future.prototype.toJson=function(){return this.parsedWith(Ir.toJson)},Ir.scenario.ObjectModel=function(e){function t(e){e.endTime=Date.now(),e.duration=e.endTime-e.startTime,e.status=e.status||"success"}var n=this;this.specMap={},this.listeners=[],this.value={name:"",children:{}},e.on("SpecBegin",function(e){var t=n.value,r=[];Ir.forEach(n.getDefinitionPath(e),function(e){t.children[e.name]||(t.children[e.name]={id:e.id,name:e.name,children:{},specs:{}}),t=t.children[e.name],r.push(e.name)});var i=n.specMap[e.id]=t.specs[e.name]=new Ir.scenario.ObjectModel.Spec(e.id,e.name,r);n.emit("SpecBegin",i)}),e.on("SpecError",function(e,t){var r=n.getSpec(e.id);r.status="error",r.error=t,n.emit("SpecError",r,t)}),e.on("SpecEnd",function(e){var r=n.getSpec(e.id);t(r),n.emit("SpecEnd",r)}),e.on("StepBegin",function(e,t){var r=n.getSpec(e.id);t=new Ir.scenario.ObjectModel.Step(t.name),r.steps.push(t),n.emit("StepBegin",r,t)}),e.on("StepEnd",function(e){var r=n.getSpec(e.id),i=r.getLastStep();if(i.name!==i.name)throw"Events fired in the wrong order. Step names don't match.";t(i),n.emit("StepEnd",r,i)}),e.on("StepFailure",function(e,t,r){var i=n.getSpec(e.id),o=i.getLastStep();o.setErrorStatus("failure",r,t.line()),i.setStatusFromStep(o),n.emit("StepFailure",i,o,r)}),e.on("StepError",function(e,t,r){var i=n.getSpec(e.id),o=i.getLastStep();o.setErrorStatus("error",r,t.line()),i.setStatusFromStep(o),n.emit("StepError",i,o,r)}),e.on("RunnerBegin",function(){n.emit("RunnerBegin")}),e.on("RunnerEnd",function(){n.emit("RunnerEnd")})},Ir.scenario.ObjectModel.prototype.on=function(e,t){e=e.toLowerCase(),this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t)},Ir.scenario.ObjectModel.prototype.emit=function(e){var t=this,n=Array.prototype.slice.call(arguments,1);e=e.toLowerCase(),this.listeners[e]&&Ir.forEach(this.listeners[e],function(e){e.apply(t,n)})},Ir.scenario.ObjectModel.prototype.getDefinitionPath=function(e){for(var t=[],n=e.definition;n&&n.name;)t.unshift(n),n=n.parent;return t},Ir.scenario.ObjectModel.prototype.getSpec=function(e){return this.specMap[e]},Ir.scenario.ObjectModel.Spec=function(e,t,n){this.id=e,this.name=t,this.startTime=Date.now(),this.steps=[],this.fullDefinitionName=(n||[]).join(" ")},Ir.scenario.ObjectModel.Spec.prototype.addStep=function(e){var t=new Ir.scenario.ObjectModel.Step(e);return this.steps.push(t),t},Ir.scenario.ObjectModel.Spec.prototype.getLastStep=function(){return this.steps[this.steps.length-1]},Ir.scenario.ObjectModel.Spec.prototype.setStatusFromStep=function(e){this.status&&"error"!=e.status||(this.status=e.status,this.error=e.error,this.line=e.line)},Ir.scenario.ObjectModel.Step=function(e){this.name=e,this.startTime=Date.now()},Ir.scenario.ObjectModel.Step.prototype.setErrorStatus=function(e,t,n){this.status=e,this.error=t,this.line=n},Ir.scenario.Runner=function(e){this.listeners=[],this.$window=e,this.rootDescribe=new Ir.scenario.Describe,this.currentDescribe=this.rootDescribe,this.api={it:this.it,iit:this.iit,xit:Ir.noop,describe:this.describe,ddescribe:this.ddescribe,xdescribe:Ir.noop,beforeEach:this.beforeEach,afterEach:this.afterEach},Ir.forEach(this.api,Ir.bind(this,function(e,t){this.$window[t]=Ir.bind(this,e)}))},Ir.scenario.Runner.prototype.emit=function(e){var t=this,n=Array.prototype.slice.call(arguments,1);e=e.toLowerCase(),this.listeners[e]&&Ir.forEach(this.listeners[e],function(e){e.apply(t,n)})},Ir.scenario.Runner.prototype.on=function(e,t){e=e.toLowerCase(),this.listeners[e]=this.listeners[e]||[],this.listeners[e].push(t)},Ir.scenario.Runner.prototype.describe=function(e,t){var n=this;this.currentDescribe.describe(e,function(){var e=n.currentDescribe;n.currentDescribe=this;try{t.call(this)}finally{n.currentDescribe=e}})},Ir.scenario.Runner.prototype.ddescribe=function(e,t){var n=this;this.currentDescribe.ddescribe(e,function(){var e=n.currentDescribe;n.currentDescribe=this;try{t.call(this)}finally{n.currentDescribe=e}})},Ir.scenario.Runner.prototype.it=function(e,t){this.currentDescribe.it(e,t)},Ir.scenario.Runner.prototype.iit=function(e,t){this.currentDescribe.iit(e,t)},Ir.scenario.Runner.prototype.beforeEach=function(e){this.currentDescribe.beforeEach(e)},Ir.scenario.Runner.prototype.afterEach=function(e){this.currentDescribe.afterEach(e)},Ir.scenario.Runner.prototype.createSpecRunner_=function(e){var t=e.$new(),n=Ir.scenario.SpecRunner;for(var r in n.prototype)t[r]=Ir.bind(t,n.prototype[r]);return n.call(t),t},Ir.scenario.Runner.prototype.run=function(e){var t=this,n=Ir.injector(["ng"]).get("$rootScope");Ir.extend(n,this),Ir.forEach(Ir.scenario.Runner.prototype,function(e,r){n[r]=Ir.bind(t,e)}),n.application=e,n.emit("RunnerBegin"),yr(this.rootDescribe.getSpecs(),function(e,r){var i={},o=t.createSpecRunner_(n);Ir.forEach(Ir.scenario.dsl,function(e,t){i[t]=e.call(n)}),Ir.forEach(Ir.scenario.dsl,function(e,n){t.$window[n]=function(){var e=xr(3),t=o.$new();return t.dsl={},Ir.forEach(i,function(e,n){t.dsl[n]=function(){return i[n].apply(t,arguments)}}),t.addFuture=function(){return Array.prototype.push.call(arguments,e),Ir.scenario.SpecRunner.prototype.addFuture.apply(t,arguments)},t.addFutureAction=function(){return Array.prototype.push.call(arguments,e),Ir.scenario.SpecRunner.prototype.addFutureAction.apply(t,arguments)},t.dsl[n].apply(t,arguments)}}),o.run(e,function(){o.$destroy(),r.apply(this,arguments)})},function(e){e&&t.emit("RunnerError",e),t.emit("RunnerEnd")})},Ir.scenario.SpecRunner=function(){this.futures=[],this.afterIndex=0},Ir.scenario.SpecRunner.prototype.run=function(e,t){var n=this;this.spec=e,this.emit("SpecBegin",e);try{e.before.call(this),e.body.call(this),this.afterIndex=this.futures.length,e.after.call(this)}catch(r){return this.emit("SpecError",e,r),this.emit("SpecEnd",e),void t()}var i=function(e,t){return n.error?t():(n.error=!0,void t(null,n.afterIndex))};yr(this.futures,function(t,r){n.step=t,n.emit("StepBegin",e,t);try{t.execute(function(o){return o?(n.emit("StepFailure",e,t,o),n.emit("StepEnd",e,t),i(o,r)):(n.emit("StepEnd",e,t),void n.$window.setTimeout(function(){r()},0))})}catch(o){n.emit("StepError",e,t,o),n.emit("StepEnd",e,t),i(o,r)}},function(r){r&&n.emit("SpecError",e,r),n.emit("SpecEnd",e),n.$window.setTimeout(function(){t()},0)})},Ir.scenario.SpecRunner.prototype.addFuture=function(e,t,n){var r=new Ir.scenario.Future(e,Ir.bind(this,t),n);return this.futures.push(r),r},Ir.scenario.SpecRunner.prototype.addFutureAction=function(e,t,n){var r=this,i=/\[ng\\\:/;return this.addFuture(e,function(e){this.application.executeAction(function(n,o){o.elements=function(e){var t=Array.prototype.slice.call(arguments,1);e=(r.selector||"")+" "+(e||""),e=wr.trim(e)||"*",Ir.forEach(t,function(t,n){e=e.replace("$"+(n+1),t)});var n=o.find(e);if(e.match(i)&&Ir.forEach(["[ng-","[data-ng-","[x-ng-"],function(t,r){n=n.add(e.replace(i,t),o)}),!n.length)throw{type:"selector",message:"Selector "+e+" did not match any elements."};return n};try{t.call(r,n,o,e)}catch(a){if(!a.type||"selector"!==a.type)throw a;e(a.message)}})},n)},Ir.scenario.dsl("pause",function(){return function(){return this.addFuture("pausing for you to resume",function(e){this.emit("InteractivePause",this.spec,this.step),this.$window.resume=function(){e()}})}}),Ir.scenario.dsl("sleep",function(){return function(e){return this.addFuture("sleep for "+e+" seconds",function(t){this.$window.setTimeout(function(){t(null,1e3*e)},1e3*e)})}}),Ir.scenario.dsl("browser",function(){var e={};return e.navigateTo=function(e,t){var n=this.application;return this.addFuture("browser navigate to '"+e+"'",function(r){t&&(e=t.call(this,e)),n.navigateTo(e,function(){r(null,e)},r)})},e.reload=function(){var e=this.application;return this.addFutureAction("browser reload",function(t,n,r){var i=t.location.href;e.navigateTo(i,function(){r(null,i)},r)})},e.window=function(){var e={};return e.href=function(){return this.addFutureAction("window.location.href",function(e,t,n){n(null,e.location.href)})},e.path=function(){return this.addFutureAction("window.location.path",function(e,t,n){n(null,e.location.pathname)})},e.search=function(){return this.addFutureAction("window.location.search",function(e,t,n){n(null,e.location.search)})},e.hash=function(){return this.addFutureAction("window.location.hash",function(e,t,n){n(null,e.location.hash.replace("#",""))})},e},e.location=function(){var e={};return e.url=function(){return this.addFutureAction("$location.url()",function(e,t,n){n(null,t.injector().get("$location").url())})},e.path=function(){return this.addFutureAction("$location.path()",function(e,t,n){n(null,t.injector().get("$location").path())})},e.search=function(){return this.addFutureAction("$location.search()",function(e,t,n){n(null,t.injector().get("$location").search())})},e.hash=function(){return this.addFutureAction("$location.hash()",function(e,t,n){n(null,t.injector().get("$location").hash())})},e},function(){return e}}),Ir.scenario.dsl("expect",function(){var e=Ir.extend({},Ir.scenario.matcher);return e.not=function(){return this.inverse=!0,e},function(t){return this.future=t,e}}),Ir.scenario.dsl("using",function(){return function(e,t){return this.selector=wr.trim((this.selector||"")+" "+e),Ir.isString(t)&&t.length?this.label=t+" ( "+this.selector+" )":this.label=this.selector,this.dsl}}),Ir.scenario.dsl("binding",function(){return function(e){return this.addFutureAction("select binding '"+e+"'",function(t,n,r){var i=n.elements().bindings(t.angular.element,e);return i.length?void r(null,i[0]):r("Binding selector '"+e+"' did not match.")})}}),Ir.scenario.dsl("input",function(){var e={},n="oninput"in t.createElement("div")&&!(Or&&11>=Or);return e.enter=function(e,t){return this.addFutureAction("input '"+this.name+"' enter '"+e+"'",function(r,i,o){var a=i.elements('[ng\\:model="$1"]',this.name).filter(":input");a.val(e),a.trigger(t||(n?"input":"change")),o()})},e.check=function(){return this.addFutureAction("checkbox '"+this.name+"' toggle",function(e,t,n){var r=t.elements('[ng\\:model="$1"]',this.name).filter(":checkbox");r.trigger("click"),n()})},e.select=function(e){return this.addFutureAction("radio button '"+this.name+"' toggle '"+e+"'",function(t,n,r){var i=n.elements('[ng\\:model="$1"][value="$2"]',this.name,e).filter(":radio");i.trigger("click"),r()})},e.val=function(){return this.addFutureAction("return input val",function(e,t,n){var r=t.elements('[ng\\:model="$1"]',this.name).filter(":input");
  n(null,r.val())})},function(t){return this.name=t,e}}),Ir.scenario.dsl("repeater",function(){var e={};return e.count=function(){return this.addFutureAction("repeater '"+this.label+"' count",function(e,t,n){try{n(null,t.elements().length)}catch(r){n(null,0)}})},e.column=function(e){return this.addFutureAction("repeater '"+this.label+"' column '"+e+"'",function(t,n,r){r(null,n.elements().bindings(t.angular.element,e))})},e.row=function(e){return this.addFutureAction("repeater '"+this.label+"' row '"+e+"'",function(t,n,r){var i=n.elements().slice(e,e+1);return i.length?void r(null,i.bindings(t.angular.element)):r("row "+e+" out of bounds")})},function(t,n){return this.dsl.using(t,n),e}}),Ir.scenario.dsl("select",function(){var e={};return e.option=function(e){return this.addFutureAction("select '"+this.name+"' option '"+e+"'",function(t,n,r){var i=n.elements('select[ng\\:model="$1"]',this.name),o=i.find('option[value="'+e+'"]');if(o.length)i.val(e);else{if(o=i.find("option").filter(function(){return wr(this).text()===e}),o.length||(o=i.find('option:contains("'+e+'")')),!o.length)return r("option '"+e+"' not found");i.val(o.val())}i.trigger("change"),r()})},e.options=function(){var e=arguments;return this.addFutureAction("select '"+this.name+"' options '"+e+"'",function(t,n,r){var i=n.elements('select[multiple][ng\\:model="$1"]',this.name);i.val(e),i.trigger("change"),r()})},function(t){return this.name=t,e}}),Ir.scenario.dsl("element",function(){var e=["attr","css","prop"],t=["val","text","html","height","innerHeight","outerHeight","width","innerWidth","outerWidth","position","scrollLeft","scrollTop","offset"],n={};return n.count=function(){return this.addFutureAction("element '"+this.label+"' count",function(e,t,n){try{n(null,t.elements().length)}catch(r){n(null,0)}})},n.click=function(){return this.addFutureAction("element '"+this.label+"' click",function(e,t,n){var r=t.elements(),i=r.attr("href"),o=r.trigger("click")[0];i&&"a"===r[0].nodeName.toLowerCase()&&o?this.application.navigateTo(i,function(){n()},n):n()})},n.dblclick=function(){return this.addFutureAction("element '"+this.label+"' dblclick",function(e,t,n){var r=t.elements(),i=r.attr("href"),o=r.trigger("dblclick")[0];i&&"a"===r[0].nodeName.toLowerCase()&&o?this.application.navigateTo(i,function(){n()},n):n()})},n.mouseover=function(){return this.addFutureAction("element '"+this.label+"' mouseover",function(e,t,n){var r=t.elements();r.trigger("mouseover"),n()})},n.mousedown=function(){return this.addFutureAction("element '"+this.label+"' mousedown",function(e,t,n){var r=t.elements();r.trigger("mousedown"),n()})},n.mouseup=function(){return this.addFutureAction("element '"+this.label+"' mouseup",function(e,t,n){var r=t.elements();r.trigger("mouseup"),n()})},n.query=function(e){return this.addFutureAction("element "+this.label+" custom query",function(t,n,r){e.call(this,n.elements(),r)})},Ir.forEach(e,function(e){n[e]=function(t,n){var r=arguments,i=1==r.length?"element '"+this.label+"' get "+e+" '"+t+"'":"element '"+this.label+"' set "+e+" '"+t+"' to '"+n+"'";return this.addFutureAction(i,function(t,n,i){var o=n.elements();i(null,o[e].apply(o,r))})}}),Ir.forEach(t,function(e){n[e]=function(t){var n=arguments,r=0===n.length?"element '"+this.label+"' "+e:"element '"+this.label+"' set "+e+" to '"+t+"'";return this.addFutureAction(r,function(t,r,i){var o=r.elements();i(null,o[e].apply(o,n))})}}),function(e,t){return this.dsl.using(e,t),n}}),Ir.scenario.matcher("toEqual",function(e){return Ir.equals(this.actual,e)}),Ir.scenario.matcher("toBe",function(e){return this.actual===e}),Ir.scenario.matcher("toBeDefined",function(){return Ir.isDefined(this.actual)}),Ir.scenario.matcher("toBeTruthy",function(){return this.actual}),Ir.scenario.matcher("toBeFalsy",function(){return!this.actual}),Ir.scenario.matcher("toMatch",function(e){return new RegExp(e).test(this.actual)}),Ir.scenario.matcher("toBeNull",function(){return null===this.actual}),Ir.scenario.matcher("toContain",function(e){return q(this.actual,e)}),Ir.scenario.matcher("toBeLessThan",function(e){return this.actual<e}),Ir.scenario.matcher("toBeGreaterThan",function(e){return this.actual>e}),Ir.scenario.output("html",function(e,t,n){function r(t){var r=e.find("#specs");return Ir.forEach(n.getDefinitionPath(t),function(t){var n="describe-"+t.id;e.find("#"+n).length||(r.find("> .test-children").append('<div class="test-describe" id="'+n+'">  <h2></h2>  <div class="test-children"></div>  <ul class="tests"></ul></div>'),e.find("#"+n).find("> h2").text("describe: "+t.name)),r=e.find("#"+n)}),e.find("#describe-"+t.definition.id)}function i(t){var n=e.find("#status-legend .status-"+t),r=n.text().split(" "),i=1*r[0]+1;n.text(i+" "+r[1])}function o(e,t,n){e.find(".test-title").append("<pre></pre>");var r=wr.trim(t()+"\n\n"+br(n));e.find(".test-title pre:last").text(r)}var a={},s={};e.append('<div id="header">  <h1><span class="angular">AngularJS</span>: Scenario Test Runner</h1>  <ul id="status-legend" class="status-display">    <li class="status-error">0 Errors</li>    <li class="status-failure">0 Failures</li>    <li class="status-success">0 Passed</li>  </ul></div><div id="specs">  <div class="test-children"></div></div>'),t.on("InteractivePause",function(e){var t=s[e.id];t.find(".test-title").html('paused... <a href="javascript:resume()">resume</a> when ready.')}),t.on("SpecBegin",function(t){var n=r(t);n.find("> .tests").append('<li class="status-pending test-it"></li>'),n=n.find("> .tests li:last"),n.append('<div class="test-info">  <p class="test-title">    <span class="timer-result"></span>    <span class="test-name"></span>  </p></div><div class="scrollpane">  <ol class="test-actions"></ol></div>'),n.find("> .test-info .test-name").text(t.name),n.find("> .test-info").click(function(){var t=n.find("> .scrollpane"),r=t.find("> .test-actions"),i=e.find("> .test-info .test-name");r.find(":visible").length?(r.hide(),i.removeClass("open").addClass("closed")):(r.show(),t.attr("scrollTop",t.attr("scrollHeight")),i.removeClass("closed").addClass("open"))}),a[t.id]=n}),t.on("SpecError",function(e,t){var n=a[e.id];n.append("<pre></pre>"),n.find("> pre").text(br(t))}),t.on("SpecEnd",function(e){var t=a[e.id];e=n.getSpec(e.id),t.removeClass("status-pending"),t.addClass("status-"+e.status),t.find("> .test-info .timer-result").text(e.duration+"ms"),"success"===e.status&&(t.find("> .test-info .test-name").addClass("closed"),t.find("> .scrollpane .test-actions").hide()),i(e.status)}),t.on("StepBegin",function(e,t){var r=a[e.id];e=n.getSpec(e.id),t=e.getLastStep(),r.find("> .scrollpane .test-actions").append('<li class="status-pending"></li>');var i=s[e.id]=r.find("> .scrollpane .test-actions li:last");i.append('<div class="timer-result"></div><div class="test-title"></div>'),i.find("> .test-title").text(t.name);var o=i.parents(".scrollpane");o.attr("scrollTop",o.attr("scrollHeight"))}),t.on("StepFailure",function(e,t,n){var r=s[e.id];o(r,t.line,n)}),t.on("StepError",function(e,t,n){var r=s[e.id];o(r,t.line,n)}),t.on("StepEnd",function(e,t){var r=s[e.id];e=n.getSpec(e.id),t=e.getLastStep(),r.find(".timer-result").text(t.duration+"ms"),r.removeClass("status-pending"),r.addClass("status-"+t.status);var i=a[e.id].find("> .scrollpane");i.attr("scrollTop",i.attr("scrollHeight"))})}),Ir.scenario.output("json",function(e,t,n){n.on("RunnerEnd",function(){e.text(Ir.toJson(n.value))})}),Ir.scenario.output("xml",function(e,t,n){function r(e,t){Ir.forEach(t.children,function(t){var n=i("<describe></describe>");n.attr("id",t.id),n.attr("name",t.name),e.append(n),r(n,t)});var n=i("<its></its>");e.append(n),Ir.forEach(t.specs,function(e){var t=i("<it></it>");t.attr("id",e.id),t.attr("name",e.name),t.attr("duration",e.duration),t.attr("status",e.status),n.append(t),Ir.forEach(e.steps,function(e){var n=i("<step></step>");if(n.attr("name",e.name),n.attr("duration",e.duration),n.attr("status",e.status),t.append(n),e.error){var r=i("<error></error>");n.append(r),r.text(br(e.error))}})})}var i=function(t){return new e.init(t)};n.on("RunnerEnd",function(){var t=i("<scenario></scenario>");e.append(t),r(t,n.value)})}),Ir.scenario.output("object",function(e,t,n){t.$window.$result=n.value}),ce(),ye(Ir);var Fa=new Ir.scenario.Runner(e),Ra=t.getElementsByTagName("script"),Pa=Ra[Ra.length-1],qa={};Ir.forEach(Pa.attributes,function(e){var t=e.name.match(/ng[:\-](.*)/);t&&(qa[t[1]]=e.value||!0)}),qa.autotest&&Te(t).ready(function(){Ir.scenario.setUpAndRun(qa)})}(window,document),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";\n\n[ng\\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak],\n.ng-cloak, .x-ng-cloak,\n.ng-hide:not(.ng-hide-animate) {\n  display: none !important;\n}\n\nng\\:form {\n  display: block;\n}\n\n.ng-animate-shim {\n  visibility:hidden;\n}\n\n.ng-anchor {\n  position:absolute;\n}\n</style>'),!window.angular.$$csp()&&window.angular.element(document).find("head").prepend("<style type=\"text/css\">@charset \"UTF-8\";\n/* CSS Document */\n\n/** Structure */\nbody {\n  font-family: Arial, sans-serif;\n  margin: 0;\n  font-size: 14px;\n}\n\n#system-error {\n  font-size: 1.5em;\n  text-align: center;\n}\n\n#json, #xml {\n  display: none;\n}\n\n#header {\n  position: fixed;\n  width: 100%;\n}\n\n#specs {\n  padding-top: 50px;\n}\n\n#header .angular {\n  font-family: Courier New, monospace;\n  font-weight: bold;\n}\n\n#header h1 {\n  font-weight: normal;\n  float: left;\n  font-size: 30px;\n  line-height: 30px;\n  margin: 0;\n  padding: 10px 10px;\n  height: 30px;\n}\n\n#application h2,\n#specs h2 {\n  margin: 0;\n  padding: 0.5em;\n  font-size: 1.1em;\n}\n\n#status-legend {\n  margin-top: 10px;\n  margin-right: 10px;\n}\n\n#header,\n#application,\n.test-info,\n.test-actions li {\n  overflow: hidden;\n}\n\n#application {\n  margin: 10px;\n}\n\n#application iframe {\n  width: 100%;\n  height: 758px;\n}\n\n#application .popout {\n  float: right;\n}\n\n#application iframe {\n  border: none;\n}\n\n.tests li,\n.test-actions li,\n.test-it li,\n.test-it ol,\n.status-display {\n  list-style-type: none;\n}\n\n.tests,\n.test-it ol,\n.status-display {\n  margin: 0;\n  padding: 0;\n}\n\n.test-info {\n  margin-left: 1em;\n  margin-top: 0.5em;\n  border-radius: 8px 0 0 8px;\n  -webkit-border-radius: 8px 0 0 8px;\n  -moz-border-radius: 8px 0 0 8px;\n  cursor: pointer;\n}\n\n.test-info:hover .test-name {\n  text-decoration: underline;\n}\n\n.test-info .closed:before {\n  content: '\\25b8\\00A0';\n}\n\n.test-info .open:before {\n  content: '\\25be\\00A0';\n  font-weight: bold;\n}\n\n.test-it ol {\n  margin-left: 2.5em;\n}\n\n.status-display,\n.status-display li {\n  float: right;\n}\n\n.status-display li {\n  padding: 5px 10px;\n}\n\n.timer-result,\n.test-title {\n  display: inline-block;\n  margin: 0;\n  padding: 4px;\n}\n\n.test-actions .test-title,\n.test-actions .test-result {\n  display: table-cell;\n  padding-left: 0.5em;\n  padding-right: 0.5em;\n}\n\n.test-actions {\n  display: table;\n}\n\n.test-actions li {\n  display: table-row;\n}\n\n.timer-result {\n  width: 4em;\n  padding: 0 10px;\n  text-align: right;\n  font-family: monospace;\n}\n\n.test-it pre,\n.test-actions pre {\n  clear: left;\n  color: black;\n  margin-left: 6em;\n}\n\n.test-describe {\n  padding-bottom: 0.5em;\n}\n\n.test-describe .test-describe {\n  margin: 5px 5px 10px 2em;\n}\n\n.test-actions .status-pending .test-title:before {\n  content: '\\00bb\\00A0';\n}\n\n.scrollpane {\n   max-height: 20em;\n   overflow: auto;\n}\n\n/** Colors */\n\n#header {\n  background-color: #F2C200;\n}\n\n#specs h2 {\n  border-top: 2px solid #BABAD1;\n}\n\n#specs h2,\n#application h2 {\n  background-color: #efefef;\n}\n\n#application {\n  border: 1px solid #BABAD1;\n}\n\n.test-describe .test-describe {\n  border-left: 1px solid #BABAD1;\n  border-right: 1px solid #BABAD1;\n  border-bottom: 1px solid #BABAD1;\n}\n\n.status-display {\n  border: 1px solid #777;\n}\n\n.status-display .status-pending,\n.status-pending .test-info {\n  background-color: #F9EEBC;\n}\n\n.status-display .status-success,\n.status-success .test-info {\n  background-color: #B1D7A1;\n}\n\n.status-display .status-failure,\n.status-failure .test-info {\n  background-color: #FF8286;\n}\n\n.status-display .status-error,\n.status-error .test-info {\n  background-color: black;\n  color: white;\n}\n\n.test-actions .status-success .test-title {\n  color: #30B30A;\n}\n\n.test-actions .status-failure .test-title {\n  color: #DF0000;\n}\n\n.test-actions .status-error .test-title {\n  color: black;\n}\n\n.test-actions .timer-result {\n  color: #888;\n}\n</style>");