base.min.js 412 KB
function getBrowser(e){var t=new Array("unknown","unknown","unknown","unknown");if(isEmpty(e)?brs=navigator.userAgent.toLowerCase():brs=e,brs.search(/omniweb[\/\s]v?(\d+([\.-]\d)*)/)!=-1)return t[0]="omniweb",t[1]=brs.match(/omniweb[\/\s]v?(\d+([\.-]\d)*)/)[1],t[1]>4.5?t[2]="khtml":t[2]="omniweb",brs.search(/omniweb[\/\s]((\d+([\.-]\d)*)-)?v(\d+([\.-]\d)*)/)==-1?t[3]=brs.match(/omniweb[\/\s](\d+([\.-]\d)*)/)[1]:t[3]=brs.match(/omniweb[\/\s]((\d+([\.-]\d)*)-)?v(\d+([\.-]\d)*)/)[4],t;if(brs.search(/opera[\/\s](\d+(\.?\d)*)/)!=-1)return t[0]="opera",t[1]=brs.match(/opera[\/\s](\d+(\.?\d)*)/)[1],t[2]="opera",t[3]=t[1],t;if(brs.search(/crazy\s?browser\s(\d+(\.?\d)*)/)!=-1)return t[0]="crazy",t[1]=brs.match(/crazy\s?browser\s(\d+(\.?\d)*)/)[1],t[2]="msie",t[3]=getMSIEVersion(),t;if(brs.search(/myie2/)!=-1)return t[0]="myie2",t[2]="msie",t[3]=brs.match(/msie\s(\d+(\.?\d)*)/)[1],t;if(brs.search(/netcaptor/)!=-1)return t[0]="netcaptor",t[1]=brs.match(/netcaptor\s(\d+(\.?\d)*)/)[1],t[2]="msie",t[3]=getMSIEVersion(),t;if(brs.search(/avant\sbrowser/)!=-1)return t[0]="avantbrowser",t[2]="msie",t[3]=getMSIEVersion(),t;if(brs.search(/msn\s(\d+(\.?\d)*)/)!=-1)return t[0]="msn",t[1]=brs.match(/msn\s(\d+(\.?\d)*)/)[1],t[2]="msie",t[3]=getMSIEVersion(),t;if(brs.search(/msie\s(\d+(\.?\d)*)/)!=-1)return t[0]="msie",t[1]=getMSIEVersion(),t[2]="msie",t[3]=t[1],t;if(brs.search(/powermarks\/(\d+(\.?\d)*)/)!=-1){t[0]="powermarks",t[1]=brs.match(/powermarks\/(\d+(\.?\d)*)/)[1],t[2]="msie";try{t[3]=getMSIEVersion()}catch(n){}return t}return brs.search(/konqueror[\/\s](\d+([\.-]\d)*)/)!=-1?(t[0]="konqueror",t[1]=brs.match(/konqueror[\/\s](\d+([\.-]\d)*)/)[1],t[2]="khtml",t):brs.search(/safari\/(\d)*/)!=-1?(t[0]="safari",t[1]=brs.match(/safari\/(\d+(\.?\d*)*)/)[1],t[2]="khtml",t[3]=brs.match(/applewebkit\/(\d+(\.?\d*)*)/)[1],t):brs.search(/zyborg/)!=-1?(t[0]="zyborg",t[1]=brs.match(/zyborg\/(\d+(\.?\d)*)/)[1],t[2]="robot",t[3]="-1",t):brs.search(/netscape6[\/\s](\d+([\.-]\d)*)/)!=-1?(t[0]="netscape",t[1]=brs.match(/netscape6[\/\s](\d+([\.-]\d)*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/netscape\/(7\.\d*)/)!=-1?(t[0]="netscape",t[1]=brs.match(/netscape\/(7\.\d*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/galeon[\/\s](\d+([\.-]\d)*)/)!=-1?(t[0]="galeon",t[1]=brs.match(/galeon[\/\s](\d+([\.-]\d)*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/nautilus[\/\s](\d+([\.-]\d)*)/)!=-1?(t[0]="nautilus",t[1]=brs.match(/nautilus[\/\s](\d+([\.-]\d)*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/firefox[\/\s](\d+([\.-]\d)*)/)!=-1?(t[0]="firefox",t[1]=brs.match(/firefox[\/\s](\d+([\.-]\d)*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/k-meleon[\/\s](\d+([\.-]\d)*)/)!=-1?(t[0]="kmeleon",t[1]=brs.match(/k-meleon[\/\s](\d+([\.-]\d)*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/firebird[\/\s](\d+([\.-]\d)*)/)!=-1?(t[0]="firebird",t[1]=brs.match(/firebird[\/\s](\d+([\.-]\d)*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/phoenix[\/\s](\d+([\.-]\d)*)/)!=-1?(t[0]="phoenix",t[1]=brs.match(/phoenix[\/\s](\d+([\.-]\d)*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/camino[\/\s](\d+([\.-]\d)*)/)!=-1?(t[0]="camino",t[1]=brs.match(/camino[\/\s](\d+([\.-]\d)*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/epiphany[\/\s](\d+([\.-]\d)*)/)!=-1?(t[0]="epiphany",t[1]=brs.match(/epiphany[\/\s](\d+([\.-]\d)*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/chimera[\/\s](\d+([\.-]\d)*)/)!=-1?(t[0]="chimera",t[1]=brs.match(/chimera[\/\s](\d+([\.-]\d)*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/icab[\s\/]?(\d+(\.?\d)*)/)!=-1?(t[0]="icab",t[1]=brs.match(/icab[\s\/]?(\d+(\.?\d)*)/)[1],t[2]="icab",t[3]=t[1],t):brs.search(/netfront\/(\d+([\._]\d)*)/)!=-1?(t[0]="netfront",t[1]=brs.match(/netfront\/(\d+([\._]\d)*)/)[1],t[2]="netfront",t[3]=t[1],t):brs.search(/netscape4\/(\d+([\.-]\d)*)/)!=-1?(t[0]="netscape",t[1]=brs.match(/netscape4\/(\d+([\.-]\d)*)/)[1],t[2]="mozold",t[3]=t[1],t):brs.search(/mozilla\/(4.\d*)/)!=-1&&brs.search(/msie\s(\d+(\.?\d)*)/)==-1?(t[0]="netscape",t[1]=brs.match(/mozilla\/(4.\d*)/)[1],t[2]="mozold",t[3]=t[1],t):brs.search(/mozilla\/5.0/)!=-1&&brs.search(/gecko\//)!=-1?(t[0]="mozsea",t[1]=brs.match(/rv\x3a(\d+(\.?\d)*)/)[1],t[2]="gecko",t[3]=getGeckoVersion(),t):brs.search(/elinks/)!=-1?(t[0]="elinks",brs.search(/elinks\/(\d+(\.?\d)*)/)==-1?t[1]=brs.match(/elinks\s\x28(\d+(\.?\d)*)/)[1]:t[1]=brs.match(/elinks\/(\d+(\.?\d)*)/)[1],t[2]="elinks",t[3]=t[1],t):brs.search(/w3m\/(\d+(\.?\d)*)/)!=-1?(t[0]="w3m",t[1]=brs.match(/(^w3m|\sw3m)\/(\d+(\.?\d)*)/)[2],t[2]="w3m",t[3]=t[1],t):brs.search(/links/)!=-1?(t[0]="links",brs.search(/links\/(\d+(\.?\d)*)/)==-1?t[1]=brs.match(/links\s\x28(\d+(\.?\d)*)/)[1]:t[1]=brs.match(/links\/(\d+(\.?\d)*)/)[1],t[2]="links",t[3]=t[1],t):brs.search(/java[\/\s]?(\d+([\._]\d)*)/)!=-1?(t[0]="java",t[1]=brs.match(/java[\/\s]?(\d+([\._]\d)*)/)[1],t[2]="java",t[3]=t[1],t):brs.search(/lynx/)!=-1?(t[0]="lynx",t[1]=brs.match(/lynx\/(\d+(\.?\d)*)/)[1],t[2]="libwww-fm",t[3]=brs.match(/libwww-fm\/(\d+(\.?\d)*)/)[1],t):brs.search(/dillo/)!=-1?(t[0]="dillo",t[1]=brs.match(/dillo\s*\/*(\d+(\.?\d)*)/)[1],t[2]="dillo",t[3]=t[1],t):brs.search(/wget/)!=-1?(t[0]="wget",t[1]=brs.match(/wget\/(\d+(\.?\d)*)/)[1],t[2]="robot",t[3]="-1",t):brs.search(/googlebot\-image/)!=-1?(t[0]="googlebotimg",t[1]=brs.match(/googlebot\-image\/(\d+(\.?\d)*)/)[1],t[2]="robot",t[3]="-1",t):brs.search(/googlebot/)!=-1?(t[0]="googlebot",t[1]=brs.match(/googlebot\/(\d+(\.?\d)*)/)[1],t[2]="robot",t[3]="-1",t):brs.search(/msnbot/)!=-1?(t[0]="msnbot",t[1]=brs.match(/msnbot\/(\d+(\.?\d)*)/)[1],t[2]="robot",t[3]="-1",t):brs.search(/turnitinbot/)!=-1?(t[0]="turnitinbot",t[1]=brs.match(/turnitinbot\/(\d+(\.?\d)*)/)[1],t[2]="robot",t[3]="-1",t):(t[0]="unknown",t)}function getMajorVersion(e){return isEmpty(e)?-1:hasDot(e)?e:e.match(/(\d*)(\.\d*)*/)[1]}function getMinorVersion(e){return isEmpty(e)?-1:hasDot(e)?0:e.match(/\.(\d*([-\.]\d*)*)/)[1]}function getOS(e){var t=new Array("unknown","unknown");if(isEmpty(e)?brs=navigator.userAgent.toLowerCase():brs=e,brs.search(/windows\sce/)!=-1){t[0]="wince";try{t[1]=brs.match(/windows\sce\/(\d+(\.?\d)*)/)[1]}catch(n){}return t}if(brs.search(/windows/)!=-1||brs.search(/win9\d{1}/)!=-1)return t[0]="win",brs.search(/nt\s5\.1/)!=-1?t[1]="xp":brs.search(/nt\s5\.0/)!=-1?t[1]="2000":brs.search(/win98/)!=-1||brs.search(/windows\s98/)!=-1?t[1]="98":brs.search(/windows\sme/)!=-1?t[1]="me":brs.search(/nt\s5\.2/)!=-1?t[1]="win2k3":brs.search(/windows\s95/)!=-1||brs.search(/win95/)!=-1?t[1]="95":brs.search(/nt\s4\.0/)==-1&&brs.search(/nt4\.0/)==-1||(t[1]="nt4"),t;if(brs.search(/linux/)!=-1){t[0]="linux";try{t[1]=brs.match(/linux\s?(\d+(\.?\d)*)/)[1]}catch(n){}return t}if(brs.search(/mac\sos\sx/)!=-1)return t[0]="macosx",t;if(brs.search(/freebsd/)!=-1){t[0]="freebsd";try{t[1]=brs.match(/freebsd\s(\d(\.\d)*)*/)[1]}catch(n){}return t}if(brs.search(/sunos/)!=-1){t[0]="sunos";try{t[1]=brs.match(/sunos\s(\d(\.\d)*)*/)[1]}catch(n){}return t}if(brs.search(/irix/)!=-1){t[0]="irix";try{t[1]=brs.match(/irix\s(\d(\.\d)*)*/)[1]}catch(n){}return t}if(brs.search(/openbsd/)!=-1){t[0]="openbsd";try{t[1]=brs.match(/openbsd\s(\d(\.\d)*)*/)[1]}catch(n){}return t}if(brs.search(/macintosh/)!=-1||brs.search(/mac\x5fpowerpc/)!=-1)return t[0]="macclassic",t;if(brs.search(/os\/2/)!=-1){t[0]="os2";try{t[1]=brs.match(/warp\s((\d(\.\d)*)*)/)[1]}catch(n){}return t}if(brs.search(/openvms/)!=-1){t[0]="openvms";try{t[1]=brs.match(/openvms\sv((\d(\.\d)*)*)/)[1]}catch(n){}return t}if(brs.search(/amigaos/)!=-1||brs.search(/amiga/)!=-1){t[0]="amigaos";try{t[1]=brs.match(/amigaos\s?(\d(\.\d)*)*/)[1]}catch(n){}return t}if(brs.search(/hurd/)!=-1)return t[0]="hurd",t;if(brs.search(/hp\-ux/)!=-1){t[0]="hpux";try{t[1]=brs.match(/hp\-ux\sb\.[\/\s]?(\d+([\._]\d)*)/)[1]}catch(n){}return t}if(brs.search(/unix/)!=-1||brs.search(/x11/)!=-1)return t[0]="unix",t;if(brs.search(/cygwin/)!=-1)return t[0]="cygwin",t;if(brs.search(/java[\/\s]?(\d+([\._]\d)*)/)!=-1){t[0]="java";try{t[1]=brs.match(/java[\/\s]?(\d+([\._]\d)*)/)[1]}catch(n){}return t}if(brs.search(/palmos/)!=-1)return t[0]="palmos",t;if(brs.search(/symbian\s?os\/(\d+([\._]\d)*)/)!=-1){t[0]="symbian";try{t[1]=brs.match(/symbian\s?os\/(\d+([\._]\d)*)/)[1]}catch(n){}return t}return t[0]="unknown",t}function getGeckoVersion(){return brs.match(/gecko\/([0-9]+)/)[1]}function getMSIEVersion(){return brs.match(/msie\s(\d+(\.?\d)*)/)[1]}function getFullUAString(e){return isEmpty(e)?brs=navigator.userAgent.toLowerCase():brs=e,brs}function hasFlashPlugin(e){isEmpty(e)?brs=navigator.userAgent.toLowerCase():brs=e;var t=new Array("0","0"),n=getBrowser(e)[2];if("gecko"==n||(n="opera")||(n="khtml")||(n="mozold"))return navigator.plugins&&navigator.plugins.length?(x=navigator.plugins["Shockwave Flash"],x?(t[0]=2,x.description&&(y=x.description,t[1]=y.charAt(y.indexOf(".")-1))):t[0]=1,navigator.plugins["Shockwave Flash 2.0"]&&(t[0]=2,t[0]=2)):navigator.mimeTypes&&navigator.mimeTypes.length&&(x=navigator.mimeTypes["application/x-shockwave-flash"],x&&x.enabledPlugin?t[0]=2:t[0]=1),t;if("msie"==n){for(var r=7;r>0;r--)try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+r);t[1]=r;break}catch(i){}return t[1]>0?t[0]=2:t[0]=1,t}return t[0]=0,t[1]=0,t}function isEmpty(e){return null==e||""==e}function hasDot(e){return e.search(/\./)==-1}!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){"use strict";function n(e,t,n){var r,i=(t=t||ae).createElement("script");if(i.text=e,n)for(r in ye)n[r]&&(i[r]=n[r]);t.head.appendChild(i).parentNode.removeChild(i)}function r(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?de[fe.call(e)]||"object":typeof e}function i(e){var t=!!e&&"length"in e&&e.length,n=r(e);return!$e(e)&&!be(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function o(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function a(e,t,n){return $e(t)?we.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?we.grep(e,function(e){return e===t!==n}):"string"!=typeof t?we.grep(e,function(e){return pe.call(t,e)>-1!==n}):we.filter(t,e,n)}function s(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function u(e){var t={};return we.each(e.match(Ne)||[],function(e,n){t[n]=!0}),t}function l(e){return e}function c(e){throw e}function p(e,t,n,r){var i;try{e&&$e(i=e.promise)?i.call(e).done(t).fail(n):e&&$e(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}function d(){ae.removeEventListener("DOMContentLoaded",d),e.removeEventListener("load",d),we.ready()}function f(e,t){return t.toUpperCase()}function h(e){return e.replace(Ve,"ms-").replace(Le,f)}function m(){this.expando=we.expando+m.uid++}function g(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:He.test(e)?JSON.parse(e):e)}function v(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(_e,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=g(n)}catch(e){}Ue.set(e,t,n)}else n=void 0;return n}function $(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return we.css(e,t,"")},u=s(),l=n&&n[3]||(we.cssNumber[t]?"":"px"),c=(we.cssNumber[t]||"px"!==l&&+u)&&Be.exec(we.css(e,t));if(c&&c[3]!==l){for(u/=2,l=l||c[3],c=+u||1;a--;)we.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,we.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function b(e){var t,n=e.ownerDocument,r=e.nodeName,i=Ge[r];return i||(t=n.body.appendChild(n.createElement(r)),i=we.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),Ge[r]=i,i)}function y(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=Fe.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&We(r)&&(i[o]=b(r))):"none"!==n&&(i[o]="none",Fe.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}function w(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&o(e,t)?we.merge([e],n):n}function x(e,t){for(var n=0,r=e.length;n<r;n++)Fe.set(e[n],"globalEval",!t||Fe.get(t[n],"globalEval"))}function k(e,t,n,i,o){for(var a,s,u,l,c,p,d=t.createDocumentFragment(),f=[],h=0,m=e.length;h<m;h++)if((a=e[h])||0===a)if("object"===r(a))we.merge(f,a.nodeType?[a]:a);else if(Qe.test(a)){for(s=s||d.appendChild(t.createElement("div")),u=(Ze.exec(a)||["",""])[1].toLowerCase(),l=Je[u]||Je._default,s.innerHTML=l[1]+we.htmlPrefilter(a)+l[2],p=l[0];p--;)s=s.lastChild;we.merge(f,s.childNodes),(s=d.firstChild).textContent=""}else f.push(t.createTextNode(a));for(d.textContent="",h=0;a=f[h++];)if(i&&we.inArray(a,i)>-1)o&&o.push(a);else if(c=we.contains(a.ownerDocument,a),s=w(d.appendChild(a),"script"),c&&x(s),n)for(p=0;a=s[p++];)Xe.test(a.type||"")&&n.push(a);return d}function C(){return!0}function D(){return!1}function T(){try{return ae.activeElement}catch(e){}}function M(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)M(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=D;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return we().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=we.guid++)),e.each(function(){we.event.add(this,t,i,r,n)})}function E(e,t){return o(e,"table")&&o(11!==t.nodeType?t:t.firstChild,"tr")?we(e).children("tbody")[0]||e:e}function S(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function O(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function A(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Fe.hasData(e)&&(o=Fe.access(e),a=Fe.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)we.event.add(t,i,l[i][n])}Ue.hasData(e)&&(s=Ue.access(e),u=we.extend({},s),Ue.set(t,u))}}function N(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ke.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function P(e,t,r,i){t=le.apply([],t);var o,a,s,u,l,c,p=0,d=e.length,f=d-1,h=t[0],m=$e(h);if(m||d>1&&"string"==typeof h&&!ve.checkClone&&at.test(h))return e.each(function(n){var o=e.eq(n);m&&(t[0]=h.call(this,n,o.html())),P(o,t,r,i)});if(d&&(o=k(t,e[0].ownerDocument,!1,e,i),a=o.firstChild,1===o.childNodes.length&&(o=a),a||i)){for(u=(s=we.map(w(o,"script"),S)).length;p<d;p++)l=o,p!==f&&(l=we.clone(l,!0,!0),u&&we.merge(s,w(l,"script"))),r.call(e[p],l,p);if(u)for(c=s[s.length-1].ownerDocument,we.map(s,O),p=0;p<u;p++)l=s[p],Xe.test(l.type||"")&&!Fe.access(l,"globalEval")&&we.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?we._evalUrl&&we._evalUrl(l.src):n(l.textContent.replace(st,""),c,l))}return e}function I(e,t,n){for(var r,i=t?we.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||we.cleanData(w(r)),r.parentNode&&(n&&we.contains(r.ownerDocument,r)&&x(w(r,"script")),r.parentNode.removeChild(r));return e}function j(e,t,n){var r,i,o,a,s=e.style;return(n=n||lt(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||we.contains(e.ownerDocument,e)||(a=we.style(e,t)),!ve.pixelBoxStyles()&&ut.test(a)&&ct.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 V(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function L(e){if(e in gt)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=mt.length;n--;)if((e=mt[n]+t)in gt)return e}function R(e){var t=we.cssProps[e];return t||(t=we.cssProps[e]=L(e)||e),t}function F(e,t,n){var r=Be.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function U(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=we.css(e,n+ze[a],!0,i)),r?("content"===n&&(u-=we.css(e,"padding"+ze[a],!0,i)),"margin"!==n&&(u-=we.css(e,"border"+ze[a]+"Width",!0,i))):(u+=we.css(e,"padding"+ze[a],!0,i),"padding"!==n?u+=we.css(e,"border"+ze[a]+"Width",!0,i):s+=we.css(e,"border"+ze[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function H(e,t,n){var r=lt(e),i=j(e,t,r),o="border-box"===we.css(e,"boxSizing",!1,r),a=o;if(ut.test(i)){if(!n)return i;i="auto"}return a=a&&(ve.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===we.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+U(e,t,n||(o?"border":"content"),a,r,i)+"px"}function _(e,t,n,r,i){return new _.prototype.init(e,t,n,r,i)}function q(){$t&&(!1===ae.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(q):e.setTimeout(q,we.fx.interval),we.fx.tick())}function B(){return e.setTimeout(function(){vt=void 0}),vt=Date.now()}function z(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=ze[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function W(e,t,n){for(var r,i=(K.tweeners[t]||[]).concat(K.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function Y(e,t,n){var r,i,o,a,s,u,l,c,p="width"in t||"height"in t,d=this,f={},h=e.style,m=e.nodeType&&We(e),g=Fe.get(e,"fxshow");n.queue||(null==(a=we._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,d.always(function(){d.always(function(){a.unqueued--,we.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],bt.test(i)){if(delete t[r],o=o||"toggle"===i,i===(m?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;m=!0}f[r]=g&&g[r]||we.style(e,r)}if((u=!we.isEmptyObject(t))||!we.isEmptyObject(f)){p&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=g&&g.display)&&(l=Fe.get(e,"display")),"none"===(c=we.css(e,"display"))&&(l?c=l:(y([e],!0),l=e.style.display||l,c=we.css(e,"display"),y([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===we.css(e,"float")&&(u||(d.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",d.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in f)u||(g?"hidden"in g&&(m=g.hidden):g=Fe.access(e,"fxshow",{display:l}),o&&(g.hidden=!m),m&&y([e],!0),d.done(function(){m||y([e]),Fe.remove(e,"fxshow");for(r in f)we.style(e,r,f[r])})),u=W(m?g[r]:0,r,d),r in g||(g[r]=u.start,m&&(u.end=u.start,u.start=0))}}function G(e,t){var n,r,i,o,a;for(n in e)if(r=h(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=we.cssHooks[r])&&"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 K(e,t,n){var r,i,o=0,a=K.prefilters.length,s=we.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=vt||B(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:we.extend({},t),opts:we.extend(!0,{specialEasing:{},easing:we.easing._default},n),originalProperties:t,originalOptions:n,startTime:vt||B(),duration:n.duration,tweens:[],createTween:function(t,n){var r=we.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(G(c,l.opts.specialEasing);o<a;o++)if(r=K.prefilters[o].call(l,e,c,l.opts))return $e(r.stop)&&(we._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return we.map(c,W,l),$e(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),we.fx.timer(we.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}function Z(e){return(e.match(Ne)||[]).join(" ")}function X(e){return e.getAttribute&&e.getAttribute("class")||""}function J(e){return Array.isArray(e)?e:"string"==typeof e?e.match(Ne)||[]:[]}function Q(e,t,n,i){var o;if(Array.isArray(t))we.each(t,function(t,r){n||At.test(e)?i(e,r):Q(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==r(t))i(e,t);else for(o in t)Q(e+"["+o+"]",t[o],n,i)}function ee(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(Ne)||[];if($e(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function te(e,t,n,r){function i(s){var u;return o[s]=!0,we.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===qt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function ne(e,t){var n,r,i=we.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&we.extend(!0,e,r),e}function re(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}if(o)return o!==u[0]&&u.unshift(o),n[o]}function ie(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}var oe=[],ae=e.document,se=Object.getPrototypeOf,ue=oe.slice,le=oe.concat,ce=oe.push,pe=oe.indexOf,de={},fe=de.toString,he=de.hasOwnProperty,me=he.toString,ge=me.call(Object),ve={},$e=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},be=function(e){return null!=e&&e===e.window},ye={type:!0,src:!0,noModule:!0},we=function(e,t){return new we.fn.init(e,t)},xe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;we.fn=we.prototype={jquery:"3.3.1",constructor:we,length:0,toArray:function(){return ue.call(this)},get:function(e){return null==e?ue.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=we.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return we.each(this,e)},map:function(e){return this.pushStack(we.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ue.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:oe.sort,splice:oe.splice},we.extend=we.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||$e(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(we.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&we.isPlainObject(n)?n:{},a[t]=we.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},we.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==fe.call(e)||(t=se(e))&&("function"!=typeof(n=he.call(t,"constructor")&&t.constructor)||me.call(n)!==ge))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){n(e)},each:function(e,t){var n,r=0;if(i(e))for(n=e.length;r<n&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(xe,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(i(Object(e))?we.merge(n,"string"==typeof e?[e]:e):ce.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:pe.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;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;o<a;o++)(r=!t(e[o],o))!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,o,a=0,s=[];if(i(e))for(r=e.length;a<r;a++)null!=(o=t(e[a],a,n))&&s.push(o);else for(a in e)null!=(o=t(e[a],a,n))&&s.push(o);return le.apply([],s)},guid:1,support:ve}),"function"==typeof Symbol&&(we.fn[Symbol.iterator]=oe[Symbol.iterator]),we.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){de["[object "+t+"]"]=t.toLowerCase()});var ke=function(e){function t(e,t,n,r){var i,o,a,s,u,l,c,d=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!r&&((t?t.ownerDocument||t:H)!==P&&N(t),t=t||P,j)){if(11!==h&&(u=ve.exec(e)))if(i=u[1]){if(9===h){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(d&&(a=d.getElementById(i))&&F(t,a)&&a.id===i)return n.push(a),n}else{if(u[2])return J.apply(n,t.getElementsByTagName(e)),n;if((i=u[3])&&x.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(i)),n}if(x.qsa&&!W[e+" "]&&(!V||!V.test(e))){if(1!==h)d=t,c=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(we,xe):t.setAttribute("id",s=U),o=(l=T(e)).length;o--;)l[o]="#"+s+" "+f(l[o]);c=l.join(","),d=$e.test(e)&&p(t.parentNode)||t}if(c)try{return J.apply(n,d.querySelectorAll(c)),n}catch(e){}finally{s===U&&t.removeAttribute("id")}}}return E(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>k.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[U]=!0,e}function i(e){var t=P.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)k.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;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){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ce(t)===e:t.disabled===e:"label"in t&&t.disabled===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 p(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function d(){}function f(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function h(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=q++;return t.first?function(t,n,i){for(;t=t[r];)if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,p,d=[_,s];if(u){for(;t=t[r];)if((1===t.nodeType||a)&&e(t,n,u))return!0}else for(;t=t[r];)if(1===t.nodeType||a)if(p=t[U]||(t[U]={}),c=p[t.uniqueID]||(p[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===_&&l[1]===s)return d[2]=l[2];if(c[o]=d,d[2]=e(t,n,u))return!0}return!1}}function m(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 g(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function v(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function $(e,t,n,i,o,a){return i&&!i[U]&&(i=$(i)),o&&!o[U]&&(o=$(o,a)),r(function(r,a,s,u){var l,c,p,d=[],f=[],h=a.length,m=r||g(t||"*",s.nodeType?[s]:s,[]),$=!e||!r&&t?m:v(m,d,e,s,u),b=n?o||(r?e:h||i)?[]:a:$;if(n&&n($,b,s,u),i)for(l=v(b,f),i(l,[],s,u),c=l.length;c--;)(p=l[c])&&(b[f[c]]=!($[f[c]]=p));if(r){if(o||e){if(o){for(l=[],c=b.length;c--;)(p=b[c])&&l.push($[c]=p);o(null,b=[],l,u)}for(c=b.length;c--;)(p=b[c])&&(l=o?ee(r,p):d[c])>-1&&(r[l]=!(a[l]=p))}}else b=v(b===a?b.splice(h,b.length):b),o?o(null,a,b,u):J.apply(a,b)})}function b(e){for(var t,n,r,i=e.length,o=k.relative[e[0].type],a=o||k.relative[" "],s=o?1:0,u=h(function(e){return e===t},a,!0),l=h(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==S)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=k.relative[e[s].type])c=[h(m(c),n)];else{if((n=k.filter[e[s].type].apply(null,e[s].matches))[U]){for(r=++s;r<i&&!k.relative[e[r].type];r++);return $(s>1&&m(c),s>1&&f(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&b(e.slice(s,r)),r<i&&b(e=e.slice(r)),r<i&&f(e))}c.push(n)}return m(c)}function y(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,p,d,f=0,h="0",m=r&&[],g=[],$=S,b=r||o&&k.find.TAG("*",l),y=_+=null==$?1:Math.random()||.1,w=b.length;for(l&&(S=a===P||a||l);h!==w&&null!=(c=b[h]);h++){if(o&&c){for(p=0,a||c.ownerDocument===P||(N(c),s=!j);d=e[p++];)if(d(c,a||P,s)){u.push(c);break}l&&(_=y)}i&&((c=!d&&c)&&f--,r&&m.push(c))}if(f+=h,i&&h!==f){for(p=0;d=n[p++];)d(m,g,a,s);if(r){if(f>0)for(;h--;)m[h]||g[h]||(g[h]=Z.call(u));g=v(g)}J.apply(u,g),l&&!r&&g.length>0&&f+n.length>1&&t.uniqueSort(u)}return l&&(_=y,S=$),m};return i?r(a):a}var w,x,k,C,D,T,M,E,S,O,A,N,P,I,j,V,L,R,F,U="sizzle"+1*new Date,H=e.document,_=0,q=0,B=n(),z=n(),W=n(),Y=function(e,t){return e===t&&(A=!0),0},G={}.hasOwnProperty,K=[],Z=K.pop,X=K.push,J=K.push,Q=K.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ie="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",oe=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),pe=new RegExp(oe),de=new RegExp("^"+re+"$"),fe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,me=/^h\d$/i,ge=/^[^{]+\{\s*\[native \w/,ve=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,$e=/[+~]/,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),ye=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},we=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,xe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ke=function(){N()},Ce=h(function(e){return!0===e.disabled&&("form"in e||"label"in e);
},{dir:"parentNode",next:"legend"});try{J.apply(K=Q.call(H.childNodes),H.childNodes),K[H.childNodes.length].nodeType}catch(e){J={apply:K.length?function(e,t){X.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}x=t.support={},D=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},N=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:H;return r!==P&&9===r.nodeType&&r.documentElement?(P=r,I=P.documentElement,j=!D(P),H!==P&&(n=P.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",ke,!1):n.attachEvent&&n.attachEvent("onunload",ke)),x.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=i(function(e){return e.appendChild(P.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=ge.test(P.getElementsByClassName),x.getById=i(function(e){return I.appendChild(e).id=U,!P.getElementsByName||!P.getElementsByName(U).length}),x.getById?(k.filter.ID=function(e){var t=e.replace(be,ye);return function(e){return e.getAttribute("id")===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&j){var n=t.getElementById(e);return n?[n]:[]}}):(k.filter.ID=function(e){var t=e.replace(be,ye);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},k.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&j){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(i=t.getElementsByName(e),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),k.find.TAG=x.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(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},k.find.CLASS=x.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&j)return t.getElementsByClassName(e)},L=[],V=[],(x.qsa=ge.test(P.querySelectorAll))&&(i(function(e){I.appendChild(e).innerHTML="<a id='"+U+"'></a><select id='"+U+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&V.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||V.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+U+"-]").length||V.push("~="),e.querySelectorAll(":checked").length||V.push(":checked"),e.querySelectorAll("a#"+U+"+*").length||V.push(".#.+[+~]")}),i(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=P.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&V.push("name"+ne+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&V.push(":enabled",":disabled"),I.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&V.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),V.push(",.*:")})),(x.matchesSelector=ge.test(R=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&i(function(e){x.disconnectedMatch=R.call(e,"*"),R.call(e,"[s!='']:x"),L.push("!=",oe)}),V=V.length&&new RegExp(V.join("|")),L=L.length&&new RegExp(L.join("|")),t=ge.test(I.compareDocumentPosition),F=t||ge.test(I.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},Y=t?function(e,t){if(e===t)return A=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!x.sortDetached&&t.compareDocumentPosition(e)===n?e===P||e.ownerDocument===H&&F(H,e)?-1:t===P||t.ownerDocument===H&&F(H,t)?1:O?ee(O,e)-ee(O,t):0:4&n?-1:1)}:function(e,t){if(e===t)return A=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===P?-1:t===P?1:i?-1:o?1:O?ee(O,e)-ee(O,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===H?-1:u[r]===H?1:0},P):P},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==P&&N(e),n=n.replace(ce,"='$1']"),x.matchesSelector&&j&&!W[n+" "]&&(!L||!L.test(n))&&(!V||!V.test(n)))try{var r=R.call(e,n);if(r||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return t(n,P,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==P&&N(e),F(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==P&&N(e);var n=k.attrHandle[t.toLowerCase()],r=n&&G.call(k.attrHandle,t.toLowerCase())?n(e,t,!j):void 0;return void 0!==r?r:x.attributes||!j?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.escape=function(e){return(e+"").replace(we,xe)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(A=!x.detectDuplicates,O=!x.sortStable&&e.slice(0),e.sort(Y),A){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return O=null,e},C=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+=C(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=C(t);return n},(k=t.selectors={cacheLength:50,createPseudo:r,match:fe,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(be,ye),e[3]=(e[3]||e[4]||e[5]||"").replace(be,ye),"~="===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 fe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&pe.test(n)&&(t=T(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(be,ye).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("(^|"+ne+")"+e+"("+ne+"|$)"))&&B(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&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.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},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 l,c,p,d,f,h,m=o!==a?"nextSibling":"previousSibling",g=t.parentNode,v=s&&t.nodeName.toLowerCase(),$=!u&&!s,b=!1;if(g){if(o){for(;m;){for(d=t;d=d[m];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?g.firstChild:g.lastChild],a&&$){for(b=(f=(l=(c=(p=(d=g)[U]||(d[U]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===_&&l[1])&&l[2],d=f&&g.childNodes[f];d=++f&&d&&d[m]||(b=f=0)||h.pop();)if(1===d.nodeType&&++b&&d===t){c[e]=[_,f,b];break}}else if($&&(b=f=(l=(c=(p=(d=t)[U]||(d[U]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]||[])[0]===_&&l[1]),!1===b)for(;(d=++f&&d&&d[m]||(b=f=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++b||($&&((c=(p=d[U]||(d[U]={}))[d.uniqueID]||(p[d.uniqueID]={}))[e]=[_,b]),d!==t)););return(b-=i)===r||b%r==0&&b/r>=0}}},PSEUDO:function(e,n){var i,o=k.pseudos[e]||k.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[U]?o(n):o.length>1?(i=[e,e,"",n],k.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)e[r=ee(e,i[a])]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=M(e.replace(se,"$1"));return i[U]?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),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,ye),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,ye).toLowerCase(),function(t){var n;do if(n=j?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===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===I},focus:function(e){return e===P.activeElement&&(!P.hasFocus||P.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:l(!1),disabled:l(!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,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!k.pseudos.empty(e)},header:function(e){return me.test(e.nodeName)},input:function(e){return he.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[n<0?n+t:n]}),even:c(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:c(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:c(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:c(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=k.pseudos.eq;for(w in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})k.pseudos[w]=s(w);for(w in{submit:!0,reset:!0})k.pseudos[w]=u(w);return d.prototype=k.filters=k.pseudos,k.setFilters=new d,T=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=z[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=k.preFilter;s;){r&&!(i=ue.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(se," ")}),s=s.slice(r.length));for(a in k.filter)!(i=fe[a].exec(s))||l[a]&&!(i=l[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):z(e,u).slice(0)},M=t.compile=function(e,t){var n,r=[],i=[],o=W[e+" "];if(!o){for(t||(t=T(e)),n=t.length;n--;)(o=b(t[n]))[U]?r.push(o):i.push(o);(o=W(e,y(i,r))).selector=e}return o},E=t.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,c=!r&&T(e=l.selector||e);if(n=n||[],1===c.length){if((o=c[0]=c[0].slice(0)).length>2&&"ID"===(a=o[0]).type&&9===t.nodeType&&j&&k.relative[o[1].type]){if(!(t=(k.find.ID(a.matches[0].replace(be,ye),t)||[])[0]))return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=fe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!k.relative[s=a.type]);)if((u=k.find[s])&&(r=u(a.matches[0].replace(be,ye),$e.test(o[0].type)&&p(t.parentNode)||t))){if(o.splice(i,1),!(e=r.length&&f(o)))return J.apply(n,r),n;break}}return(l||M(e,c))(r,t,!j,n,!t||$e.test(e)&&p(t.parentNode)||t),n},x.sortStable=U.split("").sort(Y).join("")===U,x.detectDuplicates=!!A,N(),x.sortDetached=i(function(e){return 1&e.compareDocumentPosition(P.createElement("fieldset"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return 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){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);we.find=ke,we.expr=ke.selectors,we.expr[":"]=we.expr.pseudos,we.uniqueSort=we.unique=ke.uniqueSort,we.text=ke.getText,we.isXMLDoc=ke.isXML,we.contains=ke.contains,we.escapeSelector=ke.escape;var Ce=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&we(e).is(n))break;r.push(e)}return r},De=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},Te=we.expr.match.needsContext,Me=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;we.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?we.find.matchesSelector(r,e)?[r]:[]:we.find.matches(e,we.grep(t,function(e){return 1===e.nodeType}))},we.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(we(e).filter(function(){for(t=0;t<r;t++)if(we.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)we.find(e,i[t],n);return r>1?we.uniqueSort(n):n},filter:function(e){return this.pushStack(a(this,e||[],!1))},not:function(e){return this.pushStack(a(this,e||[],!0))},is:function(e){return!!a(this,"string"==typeof e&&Te.test(e)?we(e):e||[],!1).length}});var Ee,Se=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(we.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ee,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Se.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof we?t[0]:t,we.merge(this,we.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:ae,!0)),Me.test(r[1])&&we.isPlainObject(t))for(r in t)$e(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=ae.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):$e(e)?void 0!==n.ready?n.ready(e):e(we):we.makeArray(e,this)}).prototype=we.fn,Ee=we(ae);var Oe=/^(?:parents|prev(?:Until|All))/,Ae={children:!0,contents:!0,next:!0,prev:!0};we.fn.extend({has:function(e){var t=we(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(we.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&we(e);if(!Te.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&we.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?we.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?pe.call(we(e),this[0]):pe.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(we.uniqueSort(we.merge(this.get(),we(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),we.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ce(e,"parentNode")},parentsUntil:function(e,t,n){return Ce(e,"parentNode",n)},next:function(e){return s(e,"nextSibling")},prev:function(e){return s(e,"previousSibling")},nextAll:function(e){return Ce(e,"nextSibling")},prevAll:function(e){return Ce(e,"previousSibling")},nextUntil:function(e,t,n){return Ce(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ce(e,"previousSibling",n)},siblings:function(e){return De((e.parentNode||{}).firstChild,e)},children:function(e){return De(e.firstChild)},contents:function(e){return o(e,"iframe")?e.contentDocument:(o(e,"template")&&(e=e.content||e),we.merge([],e.childNodes))}},function(e,t){we.fn[e]=function(n,r){var i=we.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=we.filter(r,i)),this.length>1&&(Ae[e]||we.uniqueSort(i),Oe.test(e)&&i.reverse()),this.pushStack(i)}});var Ne=/[^\x20\t\r\n\f]+/g;we.Callbacks=function(e){e="string"==typeof e?u(e):we.extend({},e);var t,n,i,o,a=[],s=[],l=-1,c=function(){for(o=o||e.once,i=t=!0;s.length;l=-1)for(n=s.shift();++l<a.length;)!1===a[l].apply(n[0],n[1])&&e.stopOnFalse&&(l=a.length,n=!1);e.memory||(n=!1),t=!1,o&&(a=n?[]:"")},p={add:function(){return a&&(n&&!t&&(l=a.length-1,s.push(n)),function i(t){we.each(t,function(t,n){$e(n)?e.unique&&p.has(n)||a.push(n):n&&n.length&&"string"!==r(n)&&i(n)})}(arguments),n&&!t&&c()),this},remove:function(){return we.each(arguments,function(e,t){for(var n;(n=we.inArray(t,a,n))>-1;)a.splice(n,1),n<=l&&l--}),this},has:function(e){return e?we.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return o=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return o=s=[],n||t||(a=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||c()),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},we.extend({Deferred:function(t){var n=[["notify","progress",we.Callbacks("memory"),we.Callbacks("memory"),2],["resolve","done",we.Callbacks("once memory"),we.Callbacks("once memory"),0,"resolved"],["reject","fail",we.Callbacks("once memory"),we.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return we.Deferred(function(t){we.each(n,function(n,r){var i=$e(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&$e(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){function o(t,n,r,i){return function(){var s=this,u=arguments,p=function(){var e,p;if(!(t<a)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");p=e&&("object"==typeof e||"function"==typeof e)&&e.then,$e(p)?i?p.call(e,o(a,n,l,i),o(a,n,c,i)):(a++,p.call(e,o(a,n,l,i),o(a,n,c,i),o(a,n,l,n.notifyWith))):(r!==l&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},d=i?p:function(){try{p()}catch(e){we.Deferred.exceptionHook&&we.Deferred.exceptionHook(e,d.stackTrace),t+1>=a&&(r!==c&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?d():(we.Deferred.getStackHook&&(d.stackTrace=we.Deferred.getStackHook()),e.setTimeout(d))}}var a=0;return we.Deferred(function(e){n[0][3].add(o(0,e,$e(i)?i:l,e.notifyWith)),n[1][3].add(o(0,e,$e(t)?t:l)),n[2][3].add(o(0,e,$e(r)?r:c))}).promise()},promise:function(e){return null!=e?we.extend(e,i):i}},o={};return we.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=ue.call(arguments),o=we.Deferred(),a=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?ue.call(arguments):n,--t||o.resolveWith(r,i)}};if(t<=1&&(p(e,o.done(a(n)).resolve,o.reject,!t),"pending"===o.state()||$e(i[n]&&i[n].then)))return o.then();for(;n--;)p(i[n],a(n),o.reject);return o.promise()}});var Pe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;we.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Pe.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},we.readyException=function(t){e.setTimeout(function(){throw t})};var Ie=we.Deferred();we.fn.ready=function(e){return Ie.then(e)["catch"](function(e){we.readyException(e)}),this},we.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--we.readyWait:we.isReady)||(we.isReady=!0,!0!==e&&--we.readyWait>0||Ie.resolveWith(ae,[we]))}}),we.ready.then=Ie.then,"complete"===ae.readyState||"loading"!==ae.readyState&&!ae.documentElement.doScroll?e.setTimeout(we.ready):(ae.addEventListener("DOMContentLoaded",d),e.addEventListener("load",d));var je=function(e,t,n,i,o,a,s){var u=0,l=e.length,c=null==n;if("object"===r(n)){o=!0;for(u in n)je(e,t,u,n[u],!0,a,s)}else if(void 0!==i&&(o=!0,$e(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(we(e),n)})),t))for(;u<l;u++)t(e[u],n,s?i:i.call(e[u],u,t(e[u],n)));return o?e:c?t.call(e):l?t(e[0],n):a},Ve=/^-ms-/,Le=/-([a-z])/g,Re=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};m.uid=1,m.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Re(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[h(t)]=n;else for(r in t)i[h(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(h):(t=h(t))in r?[t]:t.match(Ne)||[]).length;for(;n--;)delete r[t[n]]}(void 0===t||we.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!we.isEmptyObject(t)}};var Fe=new m,Ue=new m,He=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_e=/[A-Z]/g;we.extend({hasData:function(e){return Ue.hasData(e)||Fe.hasData(e)},data:function(e,t,n){return Ue.access(e,t,n)},removeData:function(e,t){Ue.remove(e,t)},_data:function(e,t,n){return Fe.access(e,t,n)},_removeData:function(e,t){Fe.remove(e,t)}}),we.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=Ue.get(o),1===o.nodeType&&!Fe.get(o,"hasDataAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=h(r.slice(5)),v(o,r,i[r]));Fe.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){Ue.set(this,e)}):je(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=Ue.get(o,e)))return n;if(void 0!==(n=v(o,e)))return n}else this.each(function(){Ue.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Ue.remove(this,e)})}}),we.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Fe.get(e,t),n&&(!r||Array.isArray(n)?r=Fe.access(e,t,we.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=we.queue(e,t),r=n.length,i=n.shift(),o=we._queueHooks(e,t),a=function(){we.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 Fe.get(e,n)||Fe.access(e,n,{empty:we.Callbacks("once memory").add(function(){Fe.remove(e,[t+"queue",n])})})}}),we.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?we.queue(this[0],e):void 0===t?this:this.each(function(){var n=we.queue(this,e,t);we._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&we.dequeue(this,e)})},dequeue:function(e){return this.each(function(){we.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=we.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=Fe.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var qe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Be=new RegExp("^(?:([+-])=|)("+qe+")([a-z%]*)$","i"),ze=["Top","Right","Bottom","Left"],We=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&we.contains(e.ownerDocument,e)&&"none"===we.css(e,"display")},Ye=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},Ge={};we.fn.extend({show:function(){return y(this,!0)},hide:function(){return y(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){We(this)?we(this).show():we(this).hide()})}});var Ke=/^(?:checkbox|radio)$/i,Ze=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Xe=/^$|^module$|\/(?:java|ecma)script/i,Je={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,"",""]};Je.optgroup=Je.option,Je.tbody=Je.tfoot=Je.colgroup=Je.caption=Je.thead,Je.th=Je.td;var Qe=/<|&#?\w+;/;!function(){var e=ae.createDocumentFragment().appendChild(ae.createElement("div")),t=ae.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),ve.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",ve.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var et=ae.documentElement,tt=/^key/,nt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,rt=/^([^.]*)(?:\.(.+)|)/;we.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,p,d,f,h,m,g=Fe.get(e);if(g)for(n.handler&&(n=(o=n).handler,i=o.selector),i&&we.find.matchesSelector(et,i),n.guid||(n.guid=we.guid++),(u=g.events)||(u=g.events={}),(a=g.handle)||(a=g.handle=function(t){return"undefined"!=typeof we&&we.event.triggered!==t.type?we.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(Ne)||[""]).length;l--;)f=m=(s=rt.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),f&&(p=we.event.special[f]||{},f=(i?p.delegateType:p.bindType)||f,p=we.event.special[f]||{},c=we.extend({type:f,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&we.expr.match.needsContext.test(i),namespace:h.join(".")},o),(d=u[f])||((d=u[f]=[]).delegateCount=0,p.setup&&!1!==p.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(f,a)),p.add&&(p.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,c):d.push(c),we.event.global[f]=!0)},remove:function(e,t,n,r,i){var o,a,s,u,l,c,p,d,f,h,m,g=Fe.hasData(e)&&Fe.get(e);if(g&&(u=g.events)){for(l=(t=(t||"").match(Ne)||[""]).length;l--;)if(s=rt.exec(t[l])||[],f=m=s[1],h=(s[2]||"").split(".").sort(),f){for(p=we.event.special[f]||{},d=u[f=(r?p.delegateType:p.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=d.length;o--;)c=d[o],!i&&m!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(d.splice(o,1),c.selector&&d.delegateCount--,p.remove&&p.remove.call(e,c));a&&!d.length&&(p.teardown&&!1!==p.teardown.call(e,h,g.handle)||we.removeEvent(e,f,g.handle),delete u[f])}else for(f in u)we.event.remove(e,f+t[l],n,r,!0);we.isEmptyObject(u)&&Fe.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=we.event.fix(e),u=new Array(arguments.length),l=(Fe.get(this,"events")||{})[s.type]||[],c=we.event.special[s.type]||{};for(u[0]=s,t=1;t<arguments.length;t++)u[t]=arguments[t];if(s.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,s)){for(a=we.event.handlers.call(this,s,l),t=0;(i=a[t++])&&!s.isPropagationStopped();)for(s.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(o.namespace)||(s.handleObj=o,s.data=o.data,void 0!==(r=((we.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(s.result=r)&&(s.preventDefault(),s.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,s),s.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?we(i,this).index(l)>-1:we.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(we.Event.prototype,e,{enumerable:!0,configurable:!0,get:$e(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[we.expando]?e:new we.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==T()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===T()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&o(this,"input"))return this.click(),!1},_default:function(e){return o(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},we.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},we.Event=function(e,t){return this instanceof we.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?C:D,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&we.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[we.expando]=!0,void 0):new we.Event(e,t)},we.Event.prototype={constructor:we.Event,isDefaultPrevented:D,isPropagationStopped:D,isImmediatePropagationStopped:D,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=C,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=C,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=C,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},we.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&tt.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&nt.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},we.event.addProp),we.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){we.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||we.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),we.fn.extend({on:function(e,t,n,r){return M(this,e,t,n,r)},one:function(e,t,n,r){return M(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,we(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!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=D),this.each(function(){we.event.remove(this,e,n,t)})}});var it=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,ot=/<script|<style|<link/i,at=/checked\s*(?:[^=]|=\s*.checked.)/i,st=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
we.extend({htmlPrefilter:function(e){return e.replace(it,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=we.contains(e.ownerDocument,e);if(!(ve.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||we.isXMLDoc(e)))for(a=w(s),r=0,i=(o=w(e)).length;r<i;r++)N(o[r],a[r]);if(t)if(n)for(o=o||w(e),a=a||w(s),r=0,i=o.length;r<i;r++)A(o[r],a[r]);else A(e,s);return(a=w(s,"script")).length>0&&x(a,!u&&w(e,"script")),s},cleanData:function(e){for(var t,n,r,i=we.event.special,o=0;void 0!==(n=e[o]);o++)if(Re(n)){if(t=n[Fe.expando]){if(t.events)for(r in t.events)i[r]?we.event.remove(n,r):we.removeEvent(n,r,t.handle);n[Fe.expando]=void 0}n[Ue.expando]&&(n[Ue.expando]=void 0)}}}),we.fn.extend({detach:function(e){return I(this,e,!0)},remove:function(e){return I(this,e)},text:function(e){return je(this,function(e){return void 0===e?we.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 P(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||E(this,e).appendChild(e)})},prepend:function(){return P(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=E(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return P(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(we.cleanData(w(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return we.clone(this,e,t)})},html:function(e){return je(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&&!ot.test(e)&&!Je[(Ze.exec(e)||["",""])[1].toLowerCase()]){e=we.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(we.cleanData(w(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return P(this,arguments,function(t){var n=this.parentNode;we.inArray(this,e)<0&&(we.cleanData(w(this)),n&&n.replaceChild(t,this))},e)}}),we.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){we.fn[e]=function(e){for(var n,r=[],i=we(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),we(i[a])[t](n),ce.apply(r,n.get());return this.pushStack(r)}});var ut=new RegExp("^("+qe+")(?!px)[a-z%]+$","i"),lt=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},ct=new RegExp(ze.join("|"),"i");!function(){function t(){if(l){u.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",l.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",et.appendChild(u).appendChild(l);var t=e.getComputedStyle(l);r="1%"!==t.top,s=12===n(t.marginLeft),l.style.right="60%",a=36===n(t.right),i=36===n(t.width),l.style.position="absolute",o=36===l.offsetWidth||"absolute",et.removeChild(u),l=null}}function n(e){return Math.round(parseFloat(e))}var r,i,o,a,s,u=ae.createElement("div"),l=ae.createElement("div");l.style&&(l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",ve.clearCloneStyle="content-box"===l.style.backgroundClip,we.extend(ve,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),a},pixelPosition:function(){return t(),r},reliableMarginLeft:function(){return t(),s},scrollboxSize:function(){return t(),o}}))}();var pt=/^(none|table(?!-c[ea]).+)/,dt=/^--/,ft={position:"absolute",visibility:"hidden",display:"block"},ht={letterSpacing:"0",fontWeight:"400"},mt=["Webkit","Moz","ms"],gt=ae.createElement("div").style;we.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=j(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,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:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=h(t),u=dt.test(t),l=e.style;if(u||(t=R(s)),a=we.cssHooks[t]||we.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=Be.exec(n))&&i[1]&&(n=$(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(we.cssNumber[s]?"":"px")),ve.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=h(t);return dt.test(t)||(t=R(s)),(a=we.cssHooks[t]||we.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=j(e,t,r)),"normal"===i&&t in ht&&(i=ht[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),we.each(["height","width"],function(e,t){we.cssHooks[t]={get:function(e,n,r){if(n)return!pt.test(we.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?H(e,t,r):Ye(e,ft,function(){return H(e,t,r)})},set:function(e,n,r){var i,o=lt(e),a="border-box"===we.css(e,"boxSizing",!1,o),s=r&&U(e,t,r,a,o);return a&&ve.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-U(e,t,"border",!1,o)-.5)),s&&(i=Be.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=we.css(e,t)),F(e,n,s)}}}),we.cssHooks.marginLeft=V(ve.reliableMarginLeft,function(e,t){if(t)return(parseFloat(j(e,"marginLeft"))||e.getBoundingClientRect().left-Ye(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),we.each({margin:"",padding:"",border:"Width"},function(e,t){we.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+ze[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(we.cssHooks[e+t].set=F)}),we.fn.extend({css:function(e,t){return je(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=lt(e),i=t.length;a<i;a++)o[t[a]]=we.css(e,t[a],!1,r);return o}return void 0!==n?we.style(e,t,n):we.css(e,t)},e,t,arguments.length>1)}}),we.Tween=_,_.prototype={constructor:_,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||we.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(we.cssNumber[n]?"":"px")},cur:function(){var e=_.propHooks[this.prop];return e&&e.get?e.get(this):_.propHooks._default.get(this)},run:function(e){var t,n=_.propHooks[this.prop];return this.options.duration?this.pos=t=we.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):_.propHooks._default.set(this),this}},_.prototype.init.prototype=_.prototype,_.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=we.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){we.fx.step[e.prop]?we.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[we.cssProps[e.prop]]&&!we.cssHooks[e.prop]?e.elem[e.prop]=e.now:we.style(e.elem,e.prop,e.now+e.unit)}}},_.propHooks.scrollTop=_.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},we.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},we.fx=_.prototype.init,we.fx.step={};var vt,$t,bt=/^(?:toggle|show|hide)$/,yt=/queueHooks$/;we.Animation=we.extend(K,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return $(n.elem,e,Be.exec(t),n),n}]},tweener:function(e,t){$e(e)?(t=e,e=["*"]):e=e.match(Ne);for(var n,r=0,i=e.length;r<i;r++)n=e[r],K.tweeners[n]=K.tweeners[n]||[],K.tweeners[n].unshift(t)},prefilters:[Y],prefilter:function(e,t){t?K.prefilters.unshift(e):K.prefilters.push(e)}}),we.speed=function(e,t,n){var r=e&&"object"==typeof e?we.extend({},e):{complete:n||!n&&t||$e(e)&&e,duration:e,easing:n&&t||t&&!$e(t)&&t};return we.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in we.fx.speeds?r.duration=we.fx.speeds[r.duration]:r.duration=we.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){$e(r.old)&&r.old.call(this),r.queue&&we.dequeue(this,r.queue)},r},we.fn.extend({fadeTo:function(e,t,n,r){return this.filter(We).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=we.isEmptyObject(e),o=we.speed(t,n,r),a=function(){var t=K(this,we.extend({},e),o);(i||Fe.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?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&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=we.timers,a=Fe.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&yt.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||we.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Fe.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=we.timers,a=r?r.length:0;for(n.finish=!0,we.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;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),we.each(["toggle","show","hide"],function(e,t){var n=we.fn[t];we.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(z(t,!0),e,r,i)}}),we.each({slideDown:z("show"),slideUp:z("hide"),slideToggle:z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){we.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),we.timers=[],we.fx.tick=function(){var e,t=0,n=we.timers;for(vt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||we.fx.stop(),vt=void 0},we.fx.timer=function(e){we.timers.push(e),we.fx.start()},we.fx.interval=13,we.fx.start=function(){$t||($t=!0,q())},we.fx.stop=function(){$t=null},we.fx.speeds={slow:600,fast:200,_default:400},we.fn.delay=function(t,n){return t=we.fx?we.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=ae.createElement("input"),t=ae.createElement("select").appendChild(ae.createElement("option"));e.type="checkbox",ve.checkOn=""!==e.value,ve.optSelected=t.selected,(e=ae.createElement("input")).value="t",e.type="radio",ve.radioValue="t"===e.value}();var wt,xt=we.expr.attrHandle;we.fn.extend({attr:function(e,t){return je(this,we.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){we.removeAttr(this,e)})}}),we.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?we.prop(e,t,n):(1===o&&we.isXMLDoc(e)||(i=we.attrHooks[t.toLowerCase()]||(we.expr.match.bool.test(t)?wt:void 0)),void 0!==n?null===n?void we.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=we.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!ve.radioValue&&"radio"===t&&o(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(Ne);if(i&&1===e.nodeType)for(;n=i[r++];)e.removeAttribute(n)}}),wt={set:function(e,t,n){return!1===t?we.removeAttr(e,n):e.setAttribute(n,n),n}},we.each(we.expr.match.bool.source.match(/\w+/g),function(e,t){var n=xt[t]||we.find.attr;xt[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=xt[a],xt[a]=i,i=null!=n(e,t,r)?a:null,xt[a]=o),i}});var kt=/^(?:input|select|textarea|button)$/i,Ct=/^(?:a|area)$/i;we.fn.extend({prop:function(e,t){return je(this,we.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[we.propFix[e]||e]})}}),we.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&we.isXMLDoc(e)||(t=we.propFix[t]||t,i=we.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){var t=we.find.attr(e,"tabindex");return t?parseInt(t,10):kt.test(e.nodeName)||Ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),ve.optSelected||(we.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),we.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){we.propFix[this.toLowerCase()]=this}),we.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if($e(e))return this.each(function(t){we(this).addClass(e.call(this,t,X(this)))});if((t=J(e)).length)for(;n=this[u++];)if(i=X(n),r=1===n.nodeType&&" "+Z(i)+" "){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=Z(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if($e(e))return this.each(function(t){we(this).removeClass(e.call(this,t,X(this)))});if(!arguments.length)return this.attr("class","");if((t=J(e)).length)for(;n=this[u++];)if(i=X(n),r=1===n.nodeType&&" "+Z(i)+" "){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");i!==(s=Z(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):$e(e)?this.each(function(n){we(this).toggleClass(e.call(this,n,X(this),t),t)}):this.each(function(){var t,i,o,a;if(r)for(i=0,o=we(this),a=J(e);t=a[i++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=X(this))&&Fe.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Fe.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+Z(X(n))+" ").indexOf(t)>-1)return!0;return!1}});var Dt=/\r/g;we.fn.extend({val:function(e){var t,n,r,i=this[0];return arguments.length?(r=$e(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,we(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=we.map(i,function(e){return null==e?"":e+""})),(t=we.valHooks[this.type]||we.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))})):i?(t=we.valHooks[i.type]||we.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(Dt,""):null==n?"":n:void 0}}),we.extend({valHooks:{option:{get:function(e){var t=we.find.attr(e,"value");return null!=t?t:Z(we.text(e))}},select:{get:function(e){var t,n,r,i=e.options,a=e.selectedIndex,s="select-one"===e.type,u=s?null:[],l=s?a+1:i.length;for(r=a<0?l:s?a:0;r<l;r++)if(((n=i[r]).selected||r===a)&&!n.disabled&&(!n.parentNode.disabled||!o(n.parentNode,"optgroup"))){if(t=we(n).val(),s)return t;u.push(t)}return u},set:function(e,t){for(var n,r,i=e.options,o=we.makeArray(t),a=i.length;a--;)((r=i[a]).selected=we.inArray(we.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),we.each(["radio","checkbox"],function(){we.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=we.inArray(we(e).val(),t)>-1}},ve.checkOn||(we.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),ve.focusin="onfocusin"in e;var Tt=/^(?:focusinfocus|focusoutblur)$/,Mt=function(e){e.stopPropagation()};we.extend(we.event,{trigger:function(t,n,r,i){var o,a,s,u,l,c,p,d,f=[r||ae],h=he.call(t,"type")?t.type:t,m=he.call(t,"namespace")?t.namespace.split("."):[];if(a=d=s=r=r||ae,3!==r.nodeType&&8!==r.nodeType&&!Tt.test(h+we.event.triggered)&&(h.indexOf(".")>-1&&(h=(m=h.split(".")).shift(),m.sort()),l=h.indexOf(":")<0&&"on"+h,t=t[we.expando]?t:new we.Event(h,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:we.makeArray(n,[t]),p=we.event.special[h]||{},i||!p.trigger||!1!==p.trigger.apply(r,n))){if(!i&&!p.noBubble&&!be(r)){for(u=p.delegateType||h,Tt.test(u+h)||(a=a.parentNode);a;a=a.parentNode)f.push(a),s=a;s===(r.ownerDocument||ae)&&f.push(s.defaultView||s.parentWindow||e)}for(o=0;(a=f[o++])&&!t.isPropagationStopped();)d=a,t.type=o>1?u:p.bindType||h,(c=(Fe.get(a,"events")||{})[t.type]&&Fe.get(a,"handle"))&&c.apply(a,n),(c=l&&a[l])&&c.apply&&Re(a)&&(t.result=c.apply(a,n),!1===t.result&&t.preventDefault());return t.type=h,i||t.isDefaultPrevented()||p._default&&!1!==p._default.apply(f.pop(),n)||!Re(r)||l&&$e(r[h])&&!be(r)&&((s=r[l])&&(r[l]=null),we.event.triggered=h,t.isPropagationStopped()&&d.addEventListener(h,Mt),r[h](),t.isPropagationStopped()&&d.removeEventListener(h,Mt),we.event.triggered=void 0,s&&(r[l]=s)),t.result}},simulate:function(e,t,n){var r=we.extend(new we.Event,n,{type:e,isSimulated:!0});we.event.trigger(r,null,t)}}),we.fn.extend({trigger:function(e,t){return this.each(function(){we.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return we.event.trigger(e,t,n,!0)}}),ve.focusin||we.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){we.event.simulate(t,e.target,we.event.fix(e))};we.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=Fe.access(r,t);i||r.addEventListener(e,n,!0),Fe.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=Fe.access(r,t)-1;i?Fe.access(r,t,i):(r.removeEventListener(e,n,!0),Fe.remove(r,t))}}});var Et=e.location,St=Date.now(),Ot=/\?/;we.parseXML=function(e){var t;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(n){t=void 0}return t&&!t.getElementsByTagName("parsererror").length||we.error("Invalid XML: "+e),t};var At=/\[\]$/,Nt=/\r?\n/g,Pt=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;we.param=function(e,t){var n,r=[],i=function(e,t){var n=$e(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!we.isPlainObject(e))we.each(e,function(){i(this.name,this.value)});else for(n in e)Q(n,e[n],t,i);return r.join("&")},we.fn.extend({serialize:function(){return we.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=we.prop(this,"elements");return e?we.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!we(this).is(":disabled")&&It.test(this.nodeName)&&!Pt.test(e)&&(this.checked||!Ke.test(e))}).map(function(e,t){var n=we(this).val();return null==n?null:Array.isArray(n)?we.map(n,function(e){return{name:t.name,value:e.replace(Nt,"\r\n")}}):{name:t.name,value:n.replace(Nt,"\r\n")}}).get()}});var jt=/%20/g,Vt=/#.*$/,Lt=/([?&])_=[^&]*/,Rt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ft=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ut=/^(?:GET|HEAD)$/,Ht=/^\/\//,_t={},qt={},Bt="*/".concat("*"),zt=ae.createElement("a");zt.href=Et.href,we.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Et.href,type:"GET",isLocal:Ft.test(Et.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":we.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ne(ne(e,we.ajaxSettings),t):ne(we.ajaxSettings,e)},ajaxPrefilter:ee(_t),ajaxTransport:ee(qt),ajax:function(e,t){function n(e,t,n,a){var u,p,d,b,y,w=t;l||(l=!0,s&&k.clearTimeout(s),r=void 0,o=a||"",x.readyState=e>0?4:0,u=e>=200&&e<300||304===e,n&&(b=re(f,x,n)),b=ie(f,b,x,u),u?(f.ifModified&&((y=x.getResponseHeader("Last-Modified"))&&(we.lastModified[i]=y),(y=x.getResponseHeader("etag"))&&(we.etag[i]=y)),204===e||"HEAD"===f.type?w="nocontent":304===e?w="notmodified":(w=b.state,p=b.data,u=!(d=b.error))):(d=w,!e&&w||(w="error",e<0&&(e=0))),x.status=e,x.statusText=(t||w)+"",u?g.resolveWith(h,[p,w,x]):g.rejectWith(h,[x,w,d]),x.statusCode($),$=void 0,c&&m.trigger(u?"ajaxSuccess":"ajaxError",[x,f,u?p:d]),v.fireWith(h,[x,w]),c&&(m.trigger("ajaxComplete",[x,f]),--we.active||we.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=void 0),t=t||{};var r,i,o,a,s,u,l,c,p,d,f=we.ajaxSetup({},t),h=f.context||f,m=f.context&&(h.nodeType||h.jquery)?we(h):we.event,g=we.Deferred(),v=we.Callbacks("once memory"),$=f.statusCode||{},b={},y={},w="canceled",x={readyState:0,getResponseHeader:function(e){var t;if(l){if(!a)for(a={};t=Rt.exec(o);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(e,t){return null==l&&(e=y[e.toLowerCase()]=y[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==l&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(l)x.always(e[x.status]);else for(t in e)$[t]=[$[t],e[t]];return this},abort:function(e){var t=e||w;return r&&r.abort(t),n(0,t),this}};if(g.promise(x),f.url=((e||f.url||Et.href)+"").replace(Ht,Et.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(Ne)||[""],null==f.crossDomain){u=ae.createElement("a");try{u.href=f.url,u.href=u.href,f.crossDomain=zt.protocol+"//"+zt.host!=u.protocol+"//"+u.host}catch(k){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=we.param(f.data,f.traditional)),te(_t,f,t,x),l)return x;(c=we.event&&f.global)&&0==we.active++&&we.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Ut.test(f.type),i=f.url.replace(Vt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(jt,"+")):(d=f.url.slice(i.length),f.data&&(f.processData||"string"==typeof f.data)&&(i+=(Ot.test(i)?"&":"?")+f.data,delete f.data),!1===f.cache&&(i=i.replace(Lt,"$1"),d=(Ot.test(i)?"&":"?")+"_="+St++ +d),f.url=i+d),f.ifModified&&(we.lastModified[i]&&x.setRequestHeader("If-Modified-Since",we.lastModified[i]),we.etag[i]&&x.setRequestHeader("If-None-Match",we.etag[i])),(f.data&&f.hasContent&&!1!==f.contentType||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]?", "+Bt+"; q=0.01":""):f.accepts["*"]);for(p in f.headers)x.setRequestHeader(p,f.headers[p]);if(f.beforeSend&&(!1===f.beforeSend.call(h,x,f)||l))return x.abort();if(w="abort",v.add(f.complete),x.done(f.success),x.fail(f.error),r=te(qt,f,t,x)){if(x.readyState=1,c&&m.trigger("ajaxSend",[x,f]),l)return x;f.async&&f.timeout>0&&(s=k.setTimeout(function(){x.abort("timeout")},f.timeout));try{l=!1,r.send(b,n)}catch(k){if(l)throw k;n(-1,k)}}else n(-1,"No Transport");return x},getJSON:function(e,t,n){return we.get(e,t,n,"json")},getScript:function(e,t){return we.get(e,void 0,t,"script")}}),we.each(["get","post"],function(e,t){we[t]=function(e,n,r,i){return $e(n)&&(i=i||r,r=n,n=void 0),we.ajax(we.extend({url:e,type:t,dataType:i,data:n,success:r},we.isPlainObject(e)&&e))}}),we._evalUrl=function(e){return we.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},we.fn.extend({wrapAll:function(e){var t;return this[0]&&($e(e)&&(e=e.call(this[0])),t=we(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 $e(e)?this.each(function(t){we(this).wrapInner(e.call(this,t))}):this.each(function(){var t=we(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=$e(e);return this.each(function(n){we(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){we(this).replaceWith(this.childNodes)}),this}}),we.expr.pseudos.hidden=function(e){return!we.expr.pseudos.visible(e)},we.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},we.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Wt={0:200,1223:204},Yt=we.ajaxSettings.xhr();ve.cors=!!Yt&&"withCredentials"in Yt,ve.ajax=Yt=!!Yt,we.ajaxTransport(function(e){var t,n;if(ve.cors||Yt&&!e.crossDomain)return{send:function(r,i){var o,a=e.xhr();if(a.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(o in e.xhrFields)a[o]=e.xhrFields[o];e.mimeType&&a.overrideMimeType&&a.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)a.setRequestHeader(o,r[o]);t=function(e){return function(){t&&(t=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?i(0,"error"):i(a.status,a.statusText):i(Wt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=t(),n=a.onerror=a.ontimeout=t("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&s.setTimeout(function(){t&&n()})},t=t("abort");try{a.send(e.hasContent&&e.data||null)}catch(s){if(t)throw s}},abort:function(){t&&t()}}}),we.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),we.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return we.globalEval(e),e}}}),we.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),we.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(r,i){t=we("<script>").prop({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)}),ae.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Gt=[],Kt=/(=)\?(?=&|$)|\?\?/;we.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||we.expando+"_"+St++;return this[e]=!0,e}}),we.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Kt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Kt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=$e(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Kt,"$1"+i):!1!==t.jsonp&&(t.url+=(Ot.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||we.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?we(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Gt.push(i)),a&&$e(o)&&o(a[0]),a=o=void 0}),"script"}),ve.createHTMLDocument=function(){var e=ae.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),we.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var r,i,o;return t||(ve.createHTMLDocument?((r=(t=ae.implementation.createHTMLDocument("")).createElement("base")).href=ae.location.href,t.head.appendChild(r)):t=ae),i=Me.exec(e),o=!n&&[],i?[t.createElement(i[1])]:(i=k([e],t,o),o&&o.length&&we(o).remove(),we.merge([],i.childNodes))},we.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=Z(e.slice(s)),e=e.slice(0,s)),$e(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&we.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?we("<div>").append(we.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},we.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){we.fn[t]=function(e){return this.on(t,e)}}),we.expr.pseudos.animated=function(e){return we.grep(we.timers,function(t){return e===t.elem}).length},we.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=we.css(e,"position"),p=we(e),d={};"static"===c&&(e.style.position="relative"),s=p.offset(),o=we.css(e,"top"),u=we.css(e,"left"),(l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1)?(a=(r=p.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),$e(t)&&(t=t.call(e,n,we.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):p.css(d)}},we.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){we.offset.setOffset(this,e,t)});var t,n,r=this[0];return r?r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===we.css(r,"position"))t=r.getBoundingClientRect();else{for(t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===we.css(e,"position");)e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=we(e).offset()).top+=we.css(e,"borderTopWidth",!0),i.left+=we.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-we.css(r,"marginTop",!0),left:t.left-i.left-we.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===we.css(e,"position");)e=e.offsetParent;return e||et})}}),we.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;we.fn[e]=function(r){return je(this,function(e,r,i){var o;return be(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i?o?o[t]:e[r]:void(o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i)},e,r,arguments.length)}}),we.each(["top","left"],function(e,t){we.cssHooks[t]=V(ve.pixelPosition,function(e,n){if(n)return n=j(e,t),ut.test(n)?we(e).position()[t]+"px":n})}),we.each({Height:"height",Width:"width"},function(e,t){we.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){we.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return je(this,function(t,n,i){var o;return be(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?we.css(t,n,s):we.style(t,n,i,s)},t,a?i:void 0,a)}})}),we.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){we.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),we.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),we.fn.extend({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)}}),we.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),$e(e))return r=ue.call(arguments,2),
i=function(){return e.apply(t||this,r.concat(ue.call(arguments)))},i.guid=e.guid=e.guid||we.guid++,i},we.holdReady=function(e){e?we.readyWait++:we.ready(!0)},we.isArray=Array.isArray,we.parseJSON=JSON.parse,we.nodeName=o,we.isFunction=$e,we.isWindow=be,we.camelCase=h,we.type=r,we.now=Date.now,we.isNumeric=function(e){var t=we.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return we});var Zt=e.jQuery,Xt=e.$;return we.noConflict=function(t){return e.$===we&&(e.$=Xt),t&&e.jQuery===we&&(e.jQuery=Zt),we},t||(e.jQuery=e.$=we),we}),function(e){"use strict";function t(e){return y(e)?(b(e.objectMaxDepth)&&(hr.objectMaxDepth=n(e.objectMaxDepth)?e.objectMaxDepth:NaN),void(b(e.urlErrorParamsEnabled)&&A(e.urlErrorParamsEnabled)&&(hr.urlErrorParamsEnabled=e.urlErrorParamsEnabled))):hr}function n(e){return k(e)&&0<e}function r(e,t){return t=t||Error,function(){var n,r=arguments[0];for(n="["+(e?e+":":"")+r+"] http://errors.angularjs.org/1.7.2/"+(e?e+"/":"")+r,r=1;r<arguments.length;r++){n=n+(1==r?"?":"&")+"p"+(r-1)+"=";var i,o=encodeURIComponent;i=arguments[r],i="function"==typeof i?i.toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof i?"undefined":"string"!=typeof i?JSON.stringify(i):i,n+=o(i)}return new t(n)}}function i(e){if(null==e||S(e))return!1;if(D(e)||x(e)||pr&&e instanceof pr)return!0;var t="length"in Object(e)&&e.length;return k(t)&&(0<=t&&t-1 in e||"function"==typeof e.item)}function o(e,t,n){var r,a;if(e)if(M(e))for(r in e)"prototype"!==r&&"length"!==r&&"name"!==r&&e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else if(D(e)||i(e)){var s="object"!=typeof e;for(r=0,a=e.length;r<a;r++)(s||r in e)&&t.call(n,e[r],r,e)}else if(e.forEach&&e.forEach!==o)e.forEach(t,n,e);else if(w(e))for(r in e)t.call(n,e[r],r,e);else if("function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&t.call(n,e[r],r,e);else for(r in e)gr.call(e,r)&&t.call(n,e[r],r,e);return e}function a(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 s(e){return function(t,n){e(n,t)}}function u(){return++Tr}function l(e,t,n){for(var r=e.$$hashKey,i=0,o=t.length;i<o;++i){var a=t[i];if(y(a)||M(a))for(var s=Object.keys(a),u=0,c=s.length;u<c;u++){var p=s[u],d=a[p];n&&y(d)?C(d)?e[p]=new Date(d.valueOf()):E(d)?e[p]=new RegExp(d):d.nodeName?e[p]=d.cloneNode(!0):P(d)?e[p]=d.clone():(y(e[p])||(e[p]=D(d)?[]:{}),l(e[p],[d],!0)):e[p]=d}}return r?e.$$hashKey=r:delete e.$$hashKey,e}function c(e){return l(e,br.call(arguments,1),!1)}function p(e){return l(e,br.call(arguments,1),!0)}function d(e){return parseInt(e,10)}function f(e,t){return c(Object.create(e),t)}function h(){}function m(e){return e}function g(e){return function(){return e}}function v(e){return M(e.toString)&&e.toString!==xr}function $(e){return"undefined"==typeof e}function b(e){return"undefined"!=typeof e}function y(e){return null!==e&&"object"==typeof e}function w(e){return null!==e&&"object"==typeof e&&!kr(e)}function x(e){return"string"==typeof e}function k(e){return"number"==typeof e}function C(e){return"[object Date]"===xr.call(e)}function D(e){return Array.isArray(e)||e instanceof Array}function T(e){switch(xr.call(e)){case"[object Error]":return!0;case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return e instanceof Error}}function M(e){return"function"==typeof e}function E(e){return"[object RegExp]"===xr.call(e)}function S(e){return e&&e.window===e}function O(e){return e&&e.$evalAsync&&e.$watch}function A(e){return"boolean"==typeof e}function N(e){return e&&k(e.length)&&Er.test(xr.call(e))}function P(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function I(e){var t={};e=e.split(",");var n;for(n=0;n<e.length;n++)t[e[n]]=!0;return t}function j(e){return vr(e.nodeName||e[0]&&e[0].nodeName)}function V(e,t){var n=e.indexOf(t);return 0<=n&&e.splice(n,1),n}function L(e,t,r){function i(e,t,n){if(n--,0>n)return"...";var r,i=t.$$hashKey;if(D(e)){r=0;for(var o=e.length;r<o;r++)t.push(a(e[r],n))}else if(w(e))for(r in e)t[r]=a(e[r],n);else if(e&&"function"==typeof e.hasOwnProperty)for(r in e)e.hasOwnProperty(r)&&(t[r]=a(e[r],n));else for(r in e)gr.call(e,r)&&(t[r]=a(e[r],n));return i?t.$$hashKey=i:delete t.$$hashKey,t}function a(e,t){if(!y(e))return e;var n=u.indexOf(e);if(-1!==n)return l[n];if(S(e)||O(e))throw Cr("cpws");var n=!1,r=s(e);return void 0===r&&(r=D(e)?[]:Object.create(kr(e)),n=!0),u.push(e),l.push(r),n?i(e,r,t):r}function s(e){switch(xr.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(a(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":return t=new RegExp(e.source,e.toString().match(/[^\/]*$/)[0]),t.lastIndex=e.lastIndex,t;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(M(e.cloneNode))return e.cloneNode(!0)}var u=[],l=[];if(r=n(r)?r:NaN,t){if(N(t)||"[object ArrayBuffer]"===xr.call(t))throw Cr("cpta");if(e===t)throw Cr("cpi");return D(t)?t.length=0:o(t,function(e,n){"$$hashKey"!==n&&delete t[n]}),u.push(e),l.push(t),i(e,t,r)}return a(e,r)}function R(e,t){return e===t||e!==e&&t!==t}function F(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!==e&&t!==t)return!0;var n,r=typeof e;if(r===typeof t&&"object"===r){if(!D(e)){if(C(e))return!!C(t)&&R(e.getTime(),t.getTime());if(E(e))return!!E(t)&&e.toString()===t.toString();if(O(e)||O(t)||S(e)||S(t)||D(t)||C(t)||E(t))return!1;r=de();for(n in e)if("$"!==n.charAt(0)&&!M(e[n])){if(!F(e[n],t[n]))return!1;r[n]=!0}for(n in t)if(!(n in r)&&"$"!==n.charAt(0)&&b(t[n])&&!M(t[n]))return!1;return!0}if(!D(t))return!1;if((r=e.length)===t.length){for(n=0;n<r;n++)if(!F(e[n],t[n]))return!1;return!0}}return!1}function U(e,t,n){return e.concat(br.call(t,n))}function H(e,t){var n=2<arguments.length?br.call(arguments,2):[];return!M(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,U(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function _(t,n){var r=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=void 0:S(n)?r="$WINDOW":n&&e.document===n?r="$DOCUMENT":O(n)&&(r="$SCOPE"),r}function q(e,t){if(!$(e))return k(t)||(t=t?2:null),JSON.stringify(e,_,t)}function B(e){return x(e)?JSON.parse(e):e}function z(e,t){e=e.replace(Pr,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return Mr(n)?t:n}function W(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=e.getTimezoneOffset();return t=z(t,r),W(e,n*(t-r))}function G(e){e=pr(e).clone().empty();var t=pr("<div></div>").append(e).html();try{return e[0].nodeType===Rr?vr(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,function(e,t){return"<"+vr(t)})}catch(n){return vr(t)}}function K(e){try{return decodeURIComponent(e)}catch(t){}}function Z(e){var t={};return o((e||"").split("&"),function(e){var n,r,i;e&&(r=e=e.replace(/\+/g,"%20"),n=e.indexOf("="),-1!==n&&(r=e.substring(0,n),i=e.substring(n+1)),r=K(r),b(r)&&(i=!b(i)||K(i),gr.call(t,r)?D(t[r])?t[r].push(i):t[r]=[t[r],i]:t[r]=i))}),t}function X(e){var t=[];return o(e,function(e,n){D(e)?o(e,function(e){t.push(Q(n,!0)+(!0===e?"":"="+Q(e,!0)))}):t.push(Q(n,!0)+(!0===e?"":"="+Q(e,!0)))}),t.length?t.join("&"):""}function J(e){return Q(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Q(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 ee(e,t){var n,r,i=Ir.length;for(r=0;r<i;++r)if(n=Ir[r]+t,x(n=e.getAttribute(n)))return n;return null}function te(t,n){var r,i,a={};o(Ir,function(e){e+="app",!r&&t.hasAttribute&&t.hasAttribute(e)&&(r=t,i=t.getAttribute(e))}),o(Ir,function(e){e+="app";var n;!r&&(n=t.querySelector("["+e.replace(":","\\:")+"]"))&&(r=n,i=n.getAttribute(e))}),r&&(jr?(a.strictDi=null!==ee(r,"strict-di"),n(r,i?[i]:[],a)):e.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match."))}function ne(t,n,r){y(r)||(r={}),r=c({strictDi:!1},r);var i=function(){if(t=pr(t),t.injector()){var i=t[0]===e.document?"document":G(t);throw Cr("btstrpd",i.replace(/</,"&lt;").replace(/>/,"&gt;"))}return n=n||[],n.unshift(["$provide",function(e){e.value("$rootElement",t)}]),r.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng"),i=Ze(n,r.strictDi),i.invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,r){e.$apply(function(){t.data("$injector",r),n(t)(e)})}]),i},a=/^NG_ENABLE_DEBUG_INFO!/,s=/^NG_DEFER_BOOTSTRAP!/;return e&&a.test(e.name)&&(r.debugInfoEnabled=!0,e.name=e.name.replace(a,"")),e&&!s.test(e.name)?i():(e.name=e.name.replace(s,""),Dr.resumeBootstrap=function(e){return o(e,function(e){n.push(e)}),i()},void(M(Dr.resumeDeferredBootstrap)&&Dr.resumeDeferredBootstrap()))}function re(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ie(e){if(e=Dr.element(e).injector(),!e)throw Cr("test");return e.get("$$testability")}function oe(e,t){return t=t||"_",e.replace(Vr,function(e,n){return(n?t:"")+e.toLowerCase()})}function ae(){var t;if(!Lr){var n=Nr();(dr=$(n)?e.jQuery:n?e[n]:void 0)&&dr.fn.on?(pr=dr,c(dr.fn,{scope:Jr.scope,isolateScope:Jr.isolateScope,controller:Jr.controller,injector:Jr.injector,inheritedData:Jr.inheritedData})):pr=xe,t=pr.cleanData,pr.cleanData=function(e){for(var n,r,i=0;null!=(r=e[i]);i++)(n=pr._data(r).events)&&n.$destroy&&pr(r).triggerHandler("$destroy");t(e)},Dr.element=pr,Lr=!0}}function se(e,t,n){if(!e)throw Cr("areq",t||"?",n||"required");return e}function ue(e,t,n){return n&&D(e)&&(e=e[e.length-1]),se(M(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function le(e,t){if("hasOwnProperty"===e)throw Cr("badname",t)}function ce(e,t,n){if(!t)return e;t=t.split(".");for(var r,i=e,o=t.length,a=0;a<o;a++)r=t[a],e&&(e=(i=e)[r]);return!n&&M(e)?H(i,e):e}function pe(e){for(var t,n=e[0],r=e[e.length-1],i=1;n!==r&&(n=n.nextSibling);i++)(t||e[i]!==n)&&(t||(t=pr(br.call(e,0,i))),t.push(n));return t||e}function de(){return Object.create(null)}function fe(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!v(e)||D(e)||C(e)?q(e):e.toString()}return e}function he(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=r("$injector"),i=r("ng");return e=t(e,"angular",Object),e.$$minErr=e.$$minErr||r,t(e,"module",function(){var e={};return function(r,o,a){var s={};if("hasOwnProperty"===r)throw i("badname","module");return o&&e.hasOwnProperty(r)&&(e[r]=null),t(e,r,function(){function e(e,t,n,r){return r||(r=u),function(){return r[n||"push"]([e,t,arguments]),d}}function t(e,t,n){return n||(n=u),function(i,o){return o&&M(o)&&(o.$$moduleName=r),n.push([e,t,arguments]),d}}if(!o)throw n("nomod",r);var u=[],l=[],c=[],p=e("$injector","invoke","push",l),d={_invokeQueue:u,_configBlocks:l,_runBlocks:c,info:function(e){if(b(e)){if(!y(e))throw i("aobj","value");return s=e,this}return s},requires:o,name:r,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",l),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),component:t("$compileProvider","component"),config:p,run:function(e){return c.push(e),this}};return a&&p(a),d})}})}function me(e,t){if(D(e)){t=t||[];for(var n=0,r=e.length;n<r;n++)t[n]=e[n]}else if(y(e))for(n in t=t||{},e)"$"===n.charAt(0)&&"$"===n.charAt(1)||(t[n]=e[n]);return t||e}function ge(e,t){var r=[];return n(t)&&(e=Dr.copy(e,null,t)),JSON.stringify(e,function(e,t){if(t=_(e,t),y(t)){if(0<=r.indexOf(t))return"...";r.push(t)}return t})}function ve(n){c(n,{errorHandlingConfig:t,bootstrap:ne,copy:L,extend:c,merge:p,equals:F,element:pr,forEach:o,injector:Ze,noop:h,bind:H,toJson:q,fromJson:B,identity:m,isUndefined:$,isDefined:b,isString:x,isFunction:M,isObject:y,isNumber:k,isElement:P,isArray:D,version:Fr,isDate:C,callbacks:{$$counter:0},getTestability:ie,reloadWithDebugInfo:re,$$minErr:r,$$csp:Ar,$$encodeUriSegment:J,$$encodeUriQuery:Q,$$lowercase:vr,$$stringify:fe,$$uppercase:$r}),fr=he(e),fr("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:sn}),e.provider("$compile",ot).directive({a:uo,input:To,textarea:To,form:fo,script:ga,select:ba,option:ya,ngBind:So,ngBindHtml:Ao,ngBindTemplate:Oo,ngClass:Po,ngClassEven:jo,ngClassOdd:Io,ngCloak:Vo,ngController:Lo,ngForm:ho,ngHide:la,ngIf:Uo,ngInclude:Ho,ngInit:qo,ngNonBindable:ea,ngPluralize:ia,ngRef:aa,ngRepeat:sa,ngShow:ua,ngStyle:ca,ngSwitch:pa,ngSwitchWhen:da,ngSwitchDefault:fa,ngOptions:ra,ngTransclude:ma,ngModel:Xo,ngList:Bo,ngChange:No,pattern:xa,ngPattern:xa,required:wa,ngRequired:wa,minlength:Ca,ngMinlength:Ca,maxlength:ka,ngMaxlength:ka,ngValue:Eo,ngModelOptions:Qo}).directive({ngInclude:_o}).directive(lo).directive(Ro),e.provider({$anchorScroll:Xe,$animate:hi,$animateCss:vi,$$animateJs:di,$$animateQueue:fi,$$AnimateRunner:gi,$$animateAsyncRun:mi,$browser:nt,$cacheFactory:rt,$controller:pt,$document:dt,$$isDocumentHidden:ft,$exceptionHandler:ht,$filter:xn,$$forceReflow:Ci,$interpolate:Tt,$interval:Mt,$http:xt,$httpParamSerializer:gt,$httpParamSerializerJQLike:vt,$httpBackend:Ct,$xhrFactory:kt,$jsonpCallbacks:Pi,$location:Ut,$log:Ht,$parse:en,$rootScope:an,$q:tn,$$q:nn,$sce:pn,$sceDelegate:cn,$sniffer:dn,$templateCache:it,$templateRequest:fn,$$testability:hn,$timeout:mn,$window:bn,$$rAF:on,$$jqLite:ze,$$Map:ii,$$cookieReader:wn})}]).info({angularVersion:"1.7.2"})}function $e(e,t){return t.toUpperCase()}function be(e){return e.replace(_r,$e)}function ye(e){return e=e.nodeType,1===e||!e||9===e}function we(e,t){var n,r,i=t.createDocumentFragment(),a=[];if(Yr.test(e)){for(n=i.appendChild(t.createElement("div")),r=(Gr.exec(e)||["",""])[1].toLowerCase(),r=Zr[r]||Zr._default,n.innerHTML=r[1]+e.replace(Kr,"<$1></$2>")+r[2],r=r[0];r--;)n=n.lastChild;a=U(a,n.childNodes),n=i.firstChild,n.textContent=""}else a.push(t.createTextNode(e));return i.textContent="",i.innerHTML="",o(a,function(e){i.appendChild(e)}),i}function xe(t){if(t instanceof xe)return t;var n;if(x(t)&&(t=Sr(t),n=!0),!(this instanceof xe)){if(n&&"<"!==t.charAt(0))throw zr("nosel");return new xe(t)}if(n){n=e.document;var r;t=(r=Wr.exec(t))?[n.createElement(r[1])]:(r=we(t,n))?r.childNodes:[],Ie(this,t)}else M(t)?Ue(t):Ie(this,t)}function ke(e){return e.cloneNode(!0)}function Ce(e,t){!t&&ye(e)&&pr.cleanData([e]),e.querySelectorAll&&pr.cleanData(e.querySelectorAll("*"))}function De(e){for(var t in e)return!1;return!0}function Te(e){var t=e.ng339,n=t&&Ur[t],r=n&&n.events,n=n&&n.data;n&&!De(n)||r&&!De(r)||(delete Ur[t],e.ng339=void 0)}function Me(e,t,n,r){if(b(r))throw zr("offargs");var i=(r=Se(e))&&r.events,a=r&&r.handle;if(a){if(t){var s=function(t){var r=i[t];b(n)&&V(r||[],n),b(n)&&r&&0<r.length||(e.removeEventListener(t,a),delete i[t])};o(t.split(" "),function(e){s(e),Br[e]&&s(Br[e])})}else for(t in i)"$destroy"!==t&&e.removeEventListener(t,a),delete i[t];Te(e)}}function Ee(e,t){var n=e.ng339;(n=n&&Ur[n])&&(t?delete n.data[t]:n.data={},Te(e))}function Se(e,t){var n=e.ng339,n=n&&Ur[n];return t&&!n&&(e.ng339=n=++Hr,n=Ur[n]={events:{},data:{},handle:void 0}),n}function Oe(e,t,n){if(ye(e)){var r,i=b(n),o=!i&&t&&!y(t),a=!t;if(e=(e=Se(e,!o))&&e.data,i)e[be(t)]=n;else{if(a)return e;if(o)return e&&e[be(t)];for(r in t)e[be(r)]=t[r]}}}function Ae(e,t){return!!e.getAttribute&&-1<(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")}function Ne(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;o(t.split(" "),function(e){e=Sr(e),r=r.replace(" "+e+" "," ")}),r!==n&&e.setAttribute("class",Sr(r))}}function Pe(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),r=n;o(t.split(" "),function(e){e=Sr(e),-1===r.indexOf(" "+e+" ")&&(r+=e+" ")}),r!==n&&e.setAttribute("class",Sr(r))}}function Ie(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;r<n;r++)e[e.length++]=t[r]}else e[e.length++]=t}}function je(e,t){return Ve(e,"$"+(t||"ngController")+"Controller")}function Ve(e,t,n){for(9===e.nodeType&&(e=e.documentElement),t=D(t)?t:[t];e;){for(var r=0,i=t.length;r<i;r++)if(b(n=pr.data(e,t[r])))return n;e=e.parentNode||11===e.nodeType&&e.host}}function Le(e){for(Ce(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Re(e,t){t||Ce(e);var n=e.parentNode;n&&n.removeChild(e)}function Fe(t,n){n=n||e,"complete"===n.document.readyState?n.setTimeout(t):pr(n).on("load",t)}function Ue(t){function n(){e.document.removeEventListener("DOMContentLoaded",n),e.removeEventListener("load",n),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}function He(e,t){var n=Qr[t.toLowerCase()];return n&&ei[j(e)]&&n}function _e(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($(n.immediatePropagationStopped)){var a=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),a&&a.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped};var s=i.specialHandlerWrapper||qe;1<o&&(i=me(i));for(var u=0;u<o;u++)n.isImmediatePropagationStopped()||s(e,n,i[u])}};return n.elem=e,n}function qe(e,t,n){n.call(e,t)}function Be(e,t,n){var r=t.relatedTarget;r&&(r===e||Xr.call(e,r))||n.call(e,t)}function ze(){this.$get=function(){return c(xe,{hasClass:function(e,t){return e.attr&&(e=e[0]),Ae(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]),Ne(e,t)}})}}function We(e,t){var n=e&&e.$$hashKey;return n?("function"==typeof n&&(n=e.$$hashKey()),n):(n=typeof e,n="function"===n||"object"===n&&null!==e?e.$$hashKey=n+":"+(t||u)():n+":"+e)}function Ye(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}function Ge(e){return e=Function.prototype.toString.call(e).replace(li,""),e.match(oi)||e.match(ai)}function Ke(e){return(e=Ge(e))?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}function Ze(e,t){function n(e){return function(t,n){return y(t)?void o(t,s(e)):e(t,n)}}function r(e,t){if(le(e,"service"),(M(t)||D(t))&&(t=h.instantiate(t)),!t.$get)throw ci("pget",e);return f[e+"Provider"]=t}function i(e,t){return function(){var n=b.invoke(t,this);if($(n))throw ci("undef",e);return n}}function a(e,t,n){return r(e,{$get:!1!==n?i(e,t):t})}function u(e){se($(e)||D(e),"modulesToLoad","not an array");var t,n=[];return o(e,function(e){function r(e){var t,n;for(t=0,n=e.length;t<n;t++){var r=e[t],i=h.get(r[0]);i[r[1]].apply(i,r[2])}}if(!d.get(e)){d.set(e,!0);try{x(e)?(t=fr(e),b.modules[e]=t,n=n.concat(u(t.requires)).concat(t._runBlocks),r(t._invokeQueue),r(t._configBlocks)):M(e)?n.push(h.invoke(e)):D(e)?n.push(h.invoke(e)):ue(e,"module")}catch(i){throw D(e)&&(e=e[e.length-1]),i.message&&i.stack&&-1===i.stack.indexOf(i.message)&&(i=i.message+"\n"+i.stack),ci("modulerr",e,i.stack||i.message||i)}}}),n}function l(e,n){function r(t,r){if(e.hasOwnProperty(t)){if(e[t]===c)throw ci("cdep",t+" <- "+p.join(" <- "));return e[t]}try{return p.unshift(t),e[t]=c,e[t]=n(t,r),e[t]}catch(i){throw e[t]===c&&delete e[t],i}finally{p.shift()}}function i(e,n,i){var o=[];e=Ze.$$annotate(e,t,i);for(var a=0,s=e.length;a<s;a++){var u=e[a];if("string"!=typeof u)throw ci("itkn",u);o.push(n&&n.hasOwnProperty(u)?n[u]:r(u,i))}return o}return{invoke:function(e,t,n,r){if("string"==typeof n&&(r=n,n=null),n=i(e,n,r),D(e)&&(e=e[e.length-1]),r=e,cr||"function"!=typeof r)r=!1;else{var o=r.$$ngIsClass;A(o)||(o=r.$$ngIsClass=/^class\b/.test(Function.prototype.toString.call(r))),r=o}return r?(n.unshift(null),new(Function.prototype.bind.apply(e,n))):e.apply(t,n)},instantiate:function(e,t,n){var r=D(e)?e[e.length-1]:e;return e=i(e,t,n),e.unshift(null),new(Function.prototype.bind.apply(r,e))},get:r,annotate:Ze.$$annotate,has:function(t){return f.hasOwnProperty(t+"Provider")||e.hasOwnProperty(t)}}}t=!0===t;var c={},p=[],d=new ri,f={$provide:{provider:n(r),factory:n(a),service:n(function(e,t){return a(e,["$injector",function(e){return e.instantiate(t)}])}),value:n(function(e,t){return a(e,g(t),!1)}),constant:n(function(e,t){le(e,"constant"),f[e]=t,m[e]=t}),decorator:function(e,t){var n=h.get(e+"Provider"),r=n.$get;n.$get=function(){var e=b.invoke(r,n);return b.invoke(t,null,{$delegate:e})}}}},h=f.$injector=l(f,function(e,t){throw Dr.isString(t)&&p.push(t),ci("unpr",p.join(" <- "))}),m={},v=l(m,function(e,t){var n=h.get(e+"Provider",t);return b.invoke(n.$get,n,void 0,e)}),b=v;f.$injectorProvider={$get:g(v)},b.modules=h.modules=de();var w=u(e),b=v.get("$injector");return b.strictDi=t,o(w,function(e){e&&b.invoke(e)}),b.loadNewModules=function(e){o(u(e),function(e){e&&b.invoke(e)})},b}function Xe(){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){if("a"===j(e))return t=e,!0}),t}function o(e){if(e){e.scrollIntoView();var n;n=a.yOffset,M(n)?n=n():P(n)?(n=n[0],n="fixed"!==t.getComputedStyle(n).position?0:n.getBoundingClientRect().bottom):k(n)||(n=0),n&&(e=e.getBoundingClientRect().top,t.scrollBy(0,e-n))}else t.scrollTo(0,0)}function a(e){e=x(e)?e:k(e)?e.toString():n.hash();var t;e?(t=s.getElementById(e))?o(t):(t=i(s.getElementsByName(e)))?o(t):"top"===e&&o(null):o(null)}var s=t.document;return e&&r.$watch(function(){return n.hash()},function(e,t){e===t&&""===e||Fe(function(){r.$evalAsync(a)})}),a}]}function Je(e,t){return e||t?e?t?(D(e)&&(e=e.join(" ")),D(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function Qe(e){x(e)&&(e=e.split(" "));var t=de();return o(e,function(e){e.length&&(t[e]=!0)}),t}function et(e){return y(e)?e:{}}function tt(e,t,n,r){function i(e){try{e.apply(null,br.call(arguments,1))}finally{if(g--,0===g)for(;v.length;)try{v.pop()()}catch(t){n.error(t)}}}function a(){k=null,u()}function s(){b=C(),b=$(b)?null:b,F(b,M)&&(b=M),y=M=b}function u(){var e=y;s(),w===l.url()&&e===b||(w=l.url(),y=b,o(D,function(e){e(l.url(),b)}))}var l=this,c=e.location,p=e.history,d=e.setTimeout,f=e.clearTimeout,m={};l.isMock=!1;var g=0,v=[];l.$$completeOutstandingRequest=i,l.$$incOutstandingRequestCount=function(){g++},l.notifyWhenNoOutstandingRequests=function(e){0===g?e():v.push(e)};var b,y,w=c.href,x=t.find("base"),k=null,C=r.history?function(){try{return p.state}catch(e){}}:h;s(),l.url=function(t,n,i){if($(i)&&(i=null),c!==e.location&&(c=e.location),p!==e.history&&(p=e.history),t){var o=y===i;if(w===t&&(!r.history||o))return l;var a=w&&Pt(w)===Pt(t);return w=t,y=i,!r.history||a&&o?(a||(k=t),n?c.replace(t):a?(n=c,i=t.indexOf("#"),i=-1===i?"":t.substr(i),n.hash=i):c.href=t,c.href!==t&&(k=t)):(p[n?"replaceState":"pushState"](i,"",t),s()),k&&(k=t),l}return k||c.href},l.state=function(){return b};var D=[],T=!1,M=null;l.onUrlChange=function(t){return T||(r.history&&pr(e).on("popstate",a),pr(e).on("hashchange",a),T=!0),D.push(t),t},l.$$applicationDestroyed=function(){pr(e).off("hashchange popstate",a)},l.$$checkUrlChange=u,l.baseHref=function(){var e=x.attr("href");return e?e.replace(/^(https?:)?\/\/[^\/]*/,""):""},l.defer=function(e,t){var n;return g++,n=d(function(){delete m[n],i(e)},t||0),m[n]=!0,n},l.defer.cancel=function(e){return!!m[e]&&(delete m[e],f(e),i(h),!0)}}function nt(){this.$get=["$window","$log","$sniffer","$document",function(e,t,n,r){return new tt(e,r,t,n)}]}function rt(){this.$get=function(){function e(e,n){function i(e){e!==d&&(f?f===e&&(f=e.n):f=e,o(e.n,e.p),o(e,d),d=e,d.n=null)}function o(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw r("$cacheFactory")("iid",e);var a=0,s=c({},n,{id:e}),u=de(),l=n&&n.capacity||Number.MAX_VALUE,p=de(),d=null,f=null;return t[e]={put:function(e,t){if(!$(t)){if(l<Number.MAX_VALUE){var n=p[e]||(p[e]={key:e});i(n)}return e in u||a++,u[e]=t,a>l&&this.remove(f.key),t}},get:function(e){if(l<Number.MAX_VALUE){var t=p[e];if(!t)return;i(t)}return u[e]},remove:function(e){if(l<Number.MAX_VALUE){var t=p[e];if(!t)return;t===d&&(d=t.p),t===f&&(f=t.n),o(t.n,t.p),delete p[e]}e in u&&(delete u[e],a--)},removeAll:function(){u=de(),a=0,p=de(),d=f=null},destroy:function(){p=s=u=null,delete t[e]},info:function(){return c({},s,{size:a})}}}var t={};return e.info=function(){var e={};return o(t,function(t,n){e[n]=t.info()}),e},e.get=function(e){return t[e]},e}}function it(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function ot(t,n){function r(e,t,n){var r=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,i=de();return o(e,function(e,o){if(e=e.trim(),e in k)i[o]=k[e];else{var a=e.match(r);if(!a)throw $i("iscp",t,o,e,n?"controller bindings definition":"isolate scope definition");i[o]={mode:a[1][0],collection:"*"===a[2],optional:"?"===a[3],attrName:a[4]||o},a[4]&&(k[e]=i[o])}}),i}function i(e){var t=e.charAt(0);if(!t||t!==vr(t))throw $i("baddir",e);if(e!==e.trim())throw $i("baddir",e)}function a(e){var t=e.require||e.controller&&e.name;return!D(t)&&y(t)&&o(t,function(e,n){var r=e.match(v);e.substring(r[0].length)||(t[n]=r[0]+n)}),t}var u={},l=/^\s*directive:\s*([\w-]+)\s+(.*)$/,p=/(([\w-]+)(?::([^;]+))?;?)/,d=I("ngSrc,ngSrcset,src,srcset"),v=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,w=/^(on[a-z]+|formaction)$/,k=de();this.directive=function L(e,n){return se(e,"name"),le(e,"directive"),x(e)?(i(e),se(n,"directiveFactory"),u.hasOwnProperty(e)||(u[e]=[],t.factory(e+"Directive",["$injector","$exceptionHandler",function(t,n){var r=[];return o(u[e],function(i,o){try{var s=t.invoke(i);M(s)?s={compile:g(s)}:!s.compile&&s.link&&(s.compile=g(s.link)),s.priority=s.priority||0,s.index=o,s.name=s.name||e,s.require=a(s);var u=s,l=s.restrict;if(l&&(!x(l)||!/[EACM]/.test(l)))throw $i("badrestrict",l,e);u.restrict=l||"EA",s.$$moduleName=i.$$moduleName,r.push(s)}catch(c){n(c)}}),r}])),u[e].push(n)):o(e,s(L)),this},this.component=function U(e,t){function n(e){function n(t){return M(t)||D(t)?function(n,r){return e.invoke(t,this,{$element:n,$attrs:r})}:t}var i=t.template||t.templateUrl?t.template:"",a={controller:r,controllerAs:ct(t.controller)||t.controllerAs||"$ctrl",template:n(i),templateUrl:n(t.templateUrl),transclude:t.transclude,scope:{},bindToController:t.bindings||{},restrict:"E",require:t.require};return o(t,function(e,t){"$"===t.charAt(0)&&(a[t]=e)}),a}if(!x(e))return o(e,s(H(this,U))),this;var r=t.controller||function(){};return o(t,function(e,t){"$"===t.charAt(0)&&(n[t]=e,M(r)&&(r[t]=e))}),n.$inject=["$injector"],this.directive(e,n)},this.aHrefSanitizationWhitelist=function(e){return b(e)?(n.aHrefSanitizationWhitelist(e),this):n.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(e){return b(e)?(n.imgSrcSanitizationWhitelist(e),this):n.imgSrcSanitizationWhitelist()};var C=!0;this.debugInfoEnabled=function(e){return b(e)?(C=e,this):C};var E=!1;this.strictComponentBindingsEnabled=function(e){return b(e)?(E=e,this):E};var S=10;this.onChangesTtl=function(e){return arguments.length?(S=e,this):S};var N=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(N=e,this):N};var P=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(P=e,this):P},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(t,n,i,a,s,g,b,k,I){function L(){try{if(!--Ee)throw xe=void 0,$i("infchng",S);b.$apply(function(){for(var e=0,t=xe.length;e<t;++e)try{xe[e]()}catch(n){i(n)}xe=void 0})}finally{Ee++}}function U(e,t){if(t){var n,r,i,o=Object.keys(t);for(n=0,r=o.length;n<r;n++)i=o[n],this[i]=t[i]}else this.$attr={};this.$$element=e}function _(e,t,n){De.innerHTML="<span "+t+">",t=De.firstChild.attributes;var r=t[0];t.removeNamedItem(r.name),r.value=n,e.attributes.setNamedItem(r)}function q(e,t){try{e.addClass(t)}catch(n){}}function B(e,t,n,r,i){e instanceof pr||(e=pr(e));var o=z(e,t,e,n,r,i);B.$$addScopeClass(e);var a=null;return function(t,n,r){if(!e)throw $i("multilink");se(t,"scope"),i&&i.needsNewScope&&(t=t.$parent.$new()),r=r||{};var s=r.parentBoundTranscludeFn,u=r.transcludeControllers;if(r=r.futureParentElement,s&&s.$$boundTransclude&&(s=s.$$boundTransclude),a||(a=(r=r&&r[0])&&"foreignobject"!==j(r)&&xr.call(r).match(/SVG/)?"svg":"html"),r="html"!==a?pr(he(a,pr("<div></div>").append(e).html())):n?Jr.clone.call(e):e,u)for(var l in u)r.data("$"+l+"Controller",u[l].instance);return B.$$addScopeInfo(r,t),n&&n(r,t),o&&o(t,r,r,s),n||(e=o=null),r}}function z(e,t,n,r,i,o){function a(e,n,r,i){var o,a,s,u,l,c,f;if(p)for(f=Array(n.length),u=0;u<d.length;u+=3)o=d[u],f[o]=n[o];else f=n;for(u=0,l=d.length;u<l;)a=f[d[u++]],n=d[u++],o=d[u++],n?(n.scope?(s=e.$new(),B.$$addScopeInfo(pr(a),s)):s=e,c=n.transcludeOnThisElement?Y(e,n.transclude,i):!n.templateOnThisElement&&i?i:!i&&t?Y(e,t):null,n(o,s,a,r,c)):o&&o(e,a.childNodes,void 0,i)}for(var s,u,l,c,p,d=[],f=D(e)||e instanceof pr,h=0;h<e.length;h++)s=new U,11===cr&&W(e,h,f),u=K(e[h],[],s,0===h?r:void 0,i),(o=u.length?ee(u,e[h],s,t,n,null,[],[],o):null)&&o.scope&&B.$$addScopeClass(s.$$element),s=o&&o.terminal||!(l=e[h].childNodes)||!l.length?null:z(l,o?(o.transcludeOnThisElement||!o.templateOnThisElement)&&o.transclude:t),(o||s)&&(d.push(h,o,s),c=!0,p=p||o),o=null;return c?a:null}function W(e,t,n){var r,i=e[t],o=i.parentNode;if(i.nodeType===Rr)for(;r=o?i.nextSibling:e[t+1],r&&r.nodeType===Rr;)i.nodeValue+=r.nodeValue,r.parentNode&&r.parentNode.removeChild(r),n&&r===e[t+1]&&e.splice(t+1,1)}function Y(e,t,n){function r(r,i,o,a,s){return r||(r=e.$new(!1,s),r.$$transcluded=!0),t(r,i,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:a})}var i,o=r.$$slots=de();for(i in t.$$slots)o[i]=t.$$slots[i]?Y(e,t.$$slots[i],n):null;return r}function K(e,t,n,r,i){var o,a=n.$attr;switch(e.nodeType){case 1:o=j(e),ie(t,st(o),"E",r,i);for(var s,u,l,c,d=e.attributes,f=0,h=d&&d.length;f<h;f++){var m=!1,g=!1;s=d[f],u=s.name,l=s.value,s=st(u),(c=Ne.test(s))&&(u=u.replace(yi,"").substr(8).replace(/_(.)/g,function(e,t){return t.toUpperCase()})),(s=s.match(Pe))&&ae(s[1])&&(m=u,g=u.substr(0,u.length-5)+"end",u=u.substr(0,u.length-6)),s=st(u.toLowerCase()),a[s]=u,!c&&n.hasOwnProperty(s)||(n[s]=l,He(e,s)&&(n[s]=!0)),ge(e,t,l,s,c),ie(t,s,"A",r,i,m,g)}if("input"===o&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!Me)break;if(a=e.className,y(a)&&(a=a.animVal),x(a)&&""!==a)for(;e=p.exec(a);)s=st(e[2]),ie(t,s,"C",r,i)&&(n[s]=Sr(e[3])),a=a.substr(e.index+e[0].length);break;case Rr:fe(t,e.nodeValue);break;case 8:if(!Te)break;Z(e,t,n,r,i)}return t.sort(ce),t}function Z(e,t,n,r,i){try{var o=l.exec(e.nodeValue);if(o){var a=st(o[1]);ie(t,a,"M",r,i)&&(n[a]=Sr(o[2]))}}catch(s){}}function X(e,t,n){var r=[],i=0;if(t&&e.hasAttribute&&e.hasAttribute(t)){do{if(!e)throw $i("uterdir",t,n);1===e.nodeType&&(e.hasAttribute(t)&&i++,e.hasAttribute(n)&&i--),r.push(e),e=e.nextSibling}while(0<i)}else r.push(e);return pr(r)}function J(e,t,n){return function(r,i,o,a,s){return i=X(i[0],t,n),e(r,i,o,a,s)}}function Q(e,t,n,r,i,o){var a;return e?B(t,n,r,i,o):function(){return a||(a=B(t,n,r,i,o),t=n=o=null),a.apply(this,arguments)}}function ee(t,n,r,a,s,u,l,p,d){function f(e,t,n,r){e&&(n&&(e=J(e,n,r)),e.require=m.require,e.directiveName=g,
(T===m||m.$$isolateScope)&&(e=$e(e,{isolateScope:!0})),l.push(e)),t&&(n&&(t=J(t,n,r)),t.require=m.require,t.directiveName=g,(T===m||m.$$isolateScope)&&(t=$e(t,{isolateScope:!0})),p.push(t))}function h(e,t,a,s,u){function d(e,t,n,r){var i;if(O(e)||(r=n,n=t,t=e,e=void 0),P&&(i=b),n||(n=P?x.parent():x),!r)return u(e,t,i,n,A);var o=u.$$slots[r];if(o)return o(e,t,i,n,A);if($(o))throw $i("noslot",r,G(x))}var f,h,m,g,v,b,w,x;n===a?(s=r,x=r.$$element):(x=pr(a),s=new U(x,r)),v=t,T?g=t.$new(!0):k&&(v=t.$parent),u&&(w=d,w.$$boundTransclude=u,w.isSlotFilled=function(e){return!!u.$$slots[e]}),C&&(b=ne(x,s,w,C,g,t,T)),T&&(B.$$addScopeInfo(x,g,!0,!(E&&(E===T||E===T.$$originalDirective))),B.$$addScopeClass(x,!0),g.$$isolateBindings=T.$$isolateBindings,h=we(t,s,g,g.$$isolateBindings,T),h.removeWatches&&g.$on("$destroy",h.removeWatches));for(f in b){h=C[f],m=b[f];var S=h.$$bindings.bindToController;m.instance=m(),x.data("$"+h.name+"Controller",m.instance),m.bindingInfo=we(v,s,m.instance,S,h)}for(o(C,function(e,t){var n=e.require;e.bindToController&&!D(n)&&y(n)&&c(b[t].instance,te(t,n,x,b))}),o(b,function(e){var t=e.instance;if(M(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(n){i(n)}if(M(t.$onInit))try{t.$onInit()}catch(r){i(r)}M(t.$doCheck)&&(v.$watch(function(){t.$doCheck()}),t.$doCheck()),M(t.$onDestroy)&&v.$on("$destroy",function(){t.$onDestroy()})}),f=0,h=l.length;f<h;f++)m=l[f],be(m,m.isolateScope?g:t,x,s,m.require&&te(m.directiveName,m.require,x,b),w);var A=t;for(T&&(T.template||null===T.templateUrl)&&(A=g),e&&e(A,a.childNodes,void 0,u),f=p.length-1;0<=f;f--)m=p[f],be(m,m.isolateScope?g:t,x,s,m.require&&te(m.directiveName,m.require,x,b),w);o(b,function(e){e=e.instance,M(e.$postLink)&&e.$postLink()})}d=d||{};for(var m,g,v,b,w,x=-Number.MAX_VALUE,k=d.newScopeDirective,C=d.controllerDirectives,T=d.newIsolateScopeDirective,E=d.templateDirective,S=d.nonTlbTranscludeDirective,A=!1,N=!1,P=d.hasElementTranscludeDirective,I=r.$$element=pr(n),V=a,L=!1,R=!1,F=0,_=t.length;F<_;F++){m=t[F];var q=m.$$start,z=m.$$end;if(q&&(I=X(n,q,z)),v=void 0,x>m.priority)break;if((w=m.scope)&&(m.templateUrl||(y(w)?(pe("new/isolated scope",T||k,m,I),T=m):pe("new/isolated scope",T,m,I)),k=k||m),g=m.name,!L&&(m.replace&&(m.templateUrl||m.template)||m.transclude&&!m.$$tlb)){for(w=F+1;L=t[w++];)if(L.transclude&&!L.$$tlb||L.replace&&(L.templateUrl||L.template)){R=!0;break}L=!0}if(!m.templateUrl&&m.controller&&(C=C||de(),pe("'"+g+"' controller",C[g],m,I),C[g]=m),w=m.transclude)if(A=!0,m.$$tlb||(pe("transclusion",S,m,I),S=m),"element"===w)P=!0,x=m.priority,v=I,I=r.$$element=pr(B.$$createComment(g,r[g])),n=I[0],ve(s,br.call(v,0),n),V=Q(R,v,a,x,u&&u.name,{nonTlbTranscludeDirective:S});else{var W=de();if(y(w)){v=e.document.createDocumentFragment();var Y=de(),Z=de();o(w,function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,Y[e]=t,W[t]=null,Z[t]=n}),o(I.contents(),function(t){var n=Y[st(j(t))];n?(Z[n]=!0,W[n]=W[n]||e.document.createDocumentFragment(),W[n].appendChild(t)):v.appendChild(t)}),o(Z,function(e,t){if(!e)throw $i("reqslot",t)});for(var ee in W)W[ee]&&(W[ee]=Q(R,W[ee].childNodes,a));v=v.childNodes}else v=pr(ke(n)).contents();I.empty(),V=Q(R,v,a,void 0,void 0,{needsNewScope:m.$$isolateScope||m.$$newScope}),V.$$slots=W}if(m.template)if(N=!0,pe("template",E,m,I),E=m,w=M(m.template)?m.template(I,r):m.template,w=Ae(w),m.replace){if(u=m,v=Yr.test(w)?lt(he(m.templateNamespace,Sr(w))):[],n=v[0],1!==v.length||1!==n.nodeType)throw $i("tplrt",g,"");ve(s,I,n),_={$attr:{}},w=K(n,[],_);var ie=t.splice(F+1,t.length-(F+1));(T||k)&&re(w,T,k),t=t.concat(w).concat(ie),ue(r,_),_=t.length}else I.html(w);if(m.templateUrl)N=!0,pe("template",E,m,I),E=m,m.replace&&(u=m),h=le(t.splice(F,t.length-F),I,r,s,A&&V,l,p,{controllerDirectives:C,newScopeDirective:k!==m&&k,newIsolateScopeDirective:T,templateDirective:E,nonTlbTranscludeDirective:S}),_=t.length;else if(m.compile)try{b=m.compile(I,r,V);var oe=m.$$originalDirective||m;M(b)?f(null,H(oe,b),q,z):b&&f(H(oe,b.pre),H(oe,b.post),q,z)}catch(ae){i(ae,G(I))}m.terminal&&(h.terminal=!0,x=Math.max(x,m.priority))}return h.scope=k&&!0===k.scope,h.transcludeOnThisElement=A,h.templateOnThisElement=N,h.transclude=V,d.hasElementTranscludeDirective=P,h}function te(e,t,n,r){var i;if(x(t)){var a=t.match(v);t=t.substring(a[0].length);var s=a[1]||a[3],a="?"===a[2];if("^^"===s?n=n.parent():i=(i=r&&r[t])&&i.instance,!i){var u="$"+t+"Controller";i=s?n.inheritedData(u):n.data(u)}if(!i&&!a)throw $i("ctreq",t,e)}else if(D(t))for(i=[],s=0,a=t.length;s<a;s++)i[s]=te(e,t[s],n,r);else y(t)&&(i={},o(t,function(t,o){i[o]=te(e,t,n,r)}));return i||null}function ne(e,t,n,r,i,o,a){var s,u=de();for(s in r){var l=r[s],c={$scope:l===a||l.$$isolateScope?i:o,$element:e,$attrs:t,$transclude:n},p=l.controller;"@"===p&&(p=t[l.name]),c=g(p,c,!0,l.controllerAs),u[l.name]=c,e.data("$"+l.name+"Controller",c.instance)}return u}function re(e,t,n){for(var r=0,i=e.length;r<i;r++)e[r]=f(e[r],{$$isolateScope:t,$$newScope:n})}function ie(e,n,i,o,a,s,l){if(n===a)return null;var c=null;if(u.hasOwnProperty(n)){a=t.get(n+"Directive");for(var p=0,d=a.length;p<d;p++)if(n=a[p],($(o)||o>n.priority)&&-1!==n.restrict.indexOf(i)){if(s&&(n=f(n,{$$start:s,$$end:l})),!n.$$bindings){var h=c=n,m=n.name,g={isolateScope:null,bindToController:null};if(y(h.scope)&&(!0===h.bindToController?(g.bindToController=r(h.scope,m,!0),g.isolateScope={}):g.isolateScope=r(h.scope,m,!1)),y(h.bindToController)&&(g.bindToController=r(h.bindToController,m,!0)),g.bindToController&&!h.controller)throw $i("noctrl",m);c=c.$$bindings=g,y(c.isolateScope)&&(n.$$isolateBindings=c.isolateScope)}e.push(n),c=n}}return c}function ae(e){if(u.hasOwnProperty(e))for(var n=t.get(e+"Directive"),r=0,i=n.length;r<i;r++)if(e=n[r],e.multiElement)return!0;return!1}function ue(e,t){var n=t.$attr,r=e.$attr;o(e,function(r,i){"$"!==i.charAt(0)&&(t[i]&&t[i]!==r&&(r=r.length?r+(("style"===i?";":" ")+t[i]):t[i]),e.$set(i,r,!0,n[i]))}),o(t,function(t,i){e.hasOwnProperty(i)||"$"===i.charAt(0)||(e[i]=t,"class"!==i&&"style"!==i&&(r[i]=n[i]))})}function le(e,t,n,r,s,u,l,c){var p,d,h=[],m=t[0],g=e.shift(),v=f(g,{templateUrl:null,transclude:null,replace:null,$$originalDirective:g}),$=M(g.templateUrl)?g.templateUrl(t,n):g.templateUrl,b=g.templateNamespace;return t.empty(),a($).then(function(i){var a,f;if(i=Ae(i),g.replace){if(i=Yr.test(i)?lt(he(b,Sr(i))):[],a=i[0],1!==i.length||1!==a.nodeType)throw $i("tplrt",g.name,$);i={$attr:{}},ve(r,t,a);var w=K(a,[],i);y(g.scope)&&re(w,!0),e=w.concat(e),ue(n,i)}else a=m,t.html(i);for(e.unshift(v),p=ee(e,a,n,s,t,g,u,l,c),o(r,function(e,n){e===a&&(r[n]=t[0])}),d=z(t[0].childNodes,s);h.length;){i=h.shift(),f=h.shift();var x=h.shift(),k=h.shift(),w=t[0];if(!i.$$destroyed){if(f!==m){var C=f.className;c.hasElementTranscludeDirective&&g.replace||(w=ke(a)),ve(x,pr(f),w),q(pr(w),C)}f=p.transcludeOnThisElement?Y(i,p.transclude,k):k,p(d,i,w,r,f)}}h=null})["catch"](function(e){T(e)&&i(e)}),function(e,t,n,r,i){e=i,t.$$destroyed||(h?h.push(t,n,r,e):(p.transcludeOnThisElement&&(e=Y(t,p.transclude,i)),p(d,t,n,r,e)))}}function ce(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 pe(e,t,n,r){function i(e){return e?" (module: "+e+")":""}if(t)throw $i("multidir",t.name,i(t.$$moduleName),n.name,i(n.$$moduleName),e,G(r))}function fe(e,t){var r=n(t,!0);r&&e.push({priority:0,compile:function(e){e=e.parent();var t=!!e.length;return t&&B.$$addBindingClass(e),function(e,n){var i=n.parent();t||B.$$addBindingClass(i),B.$$addBindingInfo(i,r.expressions),e.$watch(r,function(e){n[0].nodeValue=e})}}})}function he(t,n){switch(t=vr(t||"html")){case"svg":case"math":var r=e.document.createElement("div");return r.innerHTML="<"+t+">"+n+"</"+t+">",r.childNodes[0].childNodes;default:return n}}function me(e,t){if("srcdoc"===t)return k.HTML;var n=j(e);return"src"===t||"ngSrc"===t?-1===["img","video","audio","source","track"].indexOf(n)?k.RESOURCE_URL:k.MEDIA_URL:"xlinkHref"===t?"image"===n?k.MEDIA_URL:"a"===n?k.URL:k.RESOURCE_URL:"form"===n&&"action"===t||"base"===n&&"href"===t||"link"===n&&"href"===t?k.RESOURCE_URL:"a"!==n||"href"!==t&&"ngHref"!==t?void 0:k.URL}function ge(e,t,r,i,o){var a=me(e,i),s=d[i]||o,u=n(r,!o,a,s);if(u){if("multiple"===i&&"select"===j(e))throw $i("selmulti",G(e));if(w.test(i))throw $i("nodomevents");t.push({priority:100,compile:function(){return{pre:function(e,t,o){t=o.$$observers||(o.$$observers=de());var l=o[i];l!==r&&(u=l&&n(l,!0,a,s),r=l),u&&(o[i]=u(e),(t[i]||(t[i]=[])).$$inter=!0,(o.$$observers&&o.$$observers[i].$$scope||e).$watch(u,function(e,t){"class"===i&&e!==t?o.$updateClass(e,t):o.$set(i,e)}))}}}})}}function ve(t,n,r){var i,o,a=n[0],s=n.length,u=a.parentNode;if(t)for(i=0,o=t.length;i<o;i++)if(t[i]===a){t[i++]=r,o=i+s-1;for(var l=t.length;i<l;i++,o++)o<l?t[i]=t[o]:delete t[i];t.length-=s-1,t.context===a&&(t.context=r);break}for(u&&u.replaceChild(r,a),t=e.document.createDocumentFragment(),i=0;i<s;i++)t.appendChild(n[i]);for(pr.hasData(a)&&(pr.data(r,pr.data(a)),pr(a).off("$destroy")),pr.cleanData(t.querySelectorAll("*")),i=1;i<s;i++)delete n[i];n[0]=r,n.length=1}function $e(e,t){return c(function(){return e.apply(null,arguments)},e,t)}function be(e,t,n,r,o,a){try{e(t,n,r,o,a)}catch(s){i(s,G(n))}}function ye(e,t){if(E)throw $i("missingattr",e,t)}function we(e,t,r,i,a){function u(t,n,i){M(r.$onChanges)&&!R(n,i)&&(xe||(e.$$postDigest(L),xe=[]),c||(c={},xe.push(l)),c[t]&&(i=c[t].previousValue),c[t]=new at(i,n))}function l(){r.$onChanges(c),c=void 0}var c,p=[],d={};return o(i,function(i,o){var l,c,f,m,g=i.attrName,v=i.optional;switch(i.mode){case"@":v||gr.call(t,g)||(ye(g,a.name),r[o]=t[g]=void 0),v=t.$observe(g,function(e){(x(e)||A(e))&&(u(o,e,r[o]),r[o]=e)}),t.$$observers[g].$$scope=e,l=t[g],x(l)?r[o]=n(l)(e):A(l)&&(r[o]=l),d[o]=new at(bi,r[o]),p.push(v);break;case"=":if(!gr.call(t,g)){if(v)break;ye(g,a.name),t[g]=void 0}if(v&&!t[g])break;c=s(t[g]),m=c.literal?F:R,f=c.assign||function(){throw l=r[o]=c(e),$i("nonassign",t[g],g,a.name)},l=r[o]=c(e),v=function(t){return m(t,r[o])||(m(t,l)?f(e,t=r[o]):r[o]=t),l=t},v.$stateful=!0,v=i.collection?e.$watchCollection(t[g],v):e.$watch(s(t[g],v),null,c.literal),p.push(v);break;case"<":if(!gr.call(t,g)){if(v)break;ye(g,a.name),t[g]=void 0}if(v&&!t[g])break;c=s(t[g]);var $=c.literal,b=r[o]=c(e);d[o]=new at(bi,r[o]),v=e[i.collection?"$watchCollection":"$watch"](c,function(e,t){if(t===e){if(t===b||$&&F(t,b))return;t=b}u(o,e,t),r[o]=e}),p.push(v);break;case"&":if(v||gr.call(t,g)||ye(g,a.name),c=t.hasOwnProperty(g)?s(t[g]):h,c===h&&v)break;r[o]=function(t){return c(e,t)}}}),{initialChanges:d,removeWatches:p.length&&function(){for(var e=0,t=p.length;e<t;++e)p[e]()}}}var xe,Ce=/^\w/,De=e.document.createElement("div"),Te=N,Me=P,Ee=S;U.prototype={$normalize:st,$addClass:function(e){e&&0<e.length&&I.addClass(this.$$element,e)},$removeClass:function(e){e&&0<e.length&&I.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=ut(e,t);n&&n.length&&I.addClass(this.$$element,n),(n=ut(t,e))&&n.length&&I.removeClass(this.$$element,n)},$set:function(e,t,n,r){var a=He(this.$$element[0],e),s=ti[e],u=e;if(a?(this.$$element.prop(e,t),r=a):s&&(this[s]=t,u=s),this[e]=t,r?this.$attr[e]=r:(r=this.$attr[e])||(this.$attr[e]=r=oe(e,"-")),"img"===j(this.$$element)&&"srcset"===e&&t){if(!x(t))throw $i("srcset",t.toString());for(var a="",s=Sr(t),l=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,l=/\s/.test(s)?l:/(,)/,s=s.split(l),l=Math.floor(s.length/2),c=0;c<l;c++)var p=2*c,a=a+k.getTrustedMediaUrl(Sr(s[p])),a=a+(" "+Sr(s[p+1]));s=Sr(s[2*c]).split(/\s/),a+=k.getTrustedMediaUrl(Sr(s[0])),2===s.length&&(a+=" "+Sr(s[1])),this[e]=t=a}!1!==n&&(null===t||$(t)?this.$$element.removeAttr(r):Ce.test(r)?this.$$element.attr(r,t):_(this.$$element[0],r,t)),(e=this.$$observers)&&o(e[u],function(e){try{e(t)}catch(n){i(n)}})},$observe:function(e,t){var n=this,r=n.$$observers||(n.$$observers=de()),i=r[e]||(r[e]=[]);return i.push(t),b.$evalAsync(function(){i.$$inter||!n.hasOwnProperty(e)||$(n[e])||t(n[e])}),function(){V(i,t)}}};var Se=n.startSymbol(),Oe=n.endSymbol(),Ae="{{"===Se&&"}}"===Oe?m:function(e){return e.replace(/\{\{/g,Se).replace(/}}/g,Oe)},Ne=/^ngAttr[A-Z]/,Pe=/^(.+)Start$/;return B.$$addBindingInfo=C?function(e,t){var n=e.data("$binding")||[];D(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:h,B.$$addBindingClass=C?function(e){q(e,"ng-binding")}:h,B.$$addScopeInfo=C?function(e,t,n,r){e.data(n?r?"$isolateScopeNoTemplate":"$isolateScope":"$scope",t)}:h,B.$$addScopeClass=C?function(e,t){q(e,t?"ng-isolate-scope":"ng-scope")}:h,B.$$createComment=function(t,n){var r="";return C&&(r=" "+(t||"")+": ",n&&(r+=n+" ")),e.document.createComment(r)},B}]}function at(e,t){this.previousValue=e,this.currentValue=t}function st(e){return e.replace(yi,"").replace(wi,function(e,t,n){return n?t.toUpperCase():t})}function ut(e,t){var n="",r=e.split(/\s+/),i=t.split(/\s+/),o=0;e:for(;o<r.length;o++){for(var a=r[o],s=0;s<i.length;s++)if(a===i[s])continue e;n+=(0<n.length?" ":"")+a}return n}function lt(e){e=pr(e);var t=e.length;if(1>=t)return e;for(;t--;){var n=e[t];(8===n.nodeType||n.nodeType===Rr&&""===n.nodeValue.trim())&&yr.call(e,t,1)}return e}function ct(e,t){if(t&&x(t))return t;if(x(e)){var n=ki.exec(e);if(n)return n[3]}}function pt(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){le(t,"controller"),y(t)?c(e,t):e[t]=n},this.$get=["$injector",function(t){function n(e,t,n,i){if(!e||!y(e.$scope))throw r("$controller")("noscp",i,t);e.$scope[t]=n}return function(r,i,o,a){var s,u,l;if(o=!0===o,a&&x(a)&&(l=a),x(r)){if(a=r.match(ki),!a)throw xi("ctrlfmt",r);if(u=a[1],l=l||a[3],r=e.hasOwnProperty(u)?e[u]:ce(i.$scope,u,!0),!r)throw xi("ctrlreg",u);ue(r,u,!0)}return o?(o=(D(r)?r[r.length-1]:r).prototype,s=Object.create(o||null),l&&n(i,l,s,u||r.name),c(function(){var e=t.invoke(r,s,i,u);return e!==s&&(y(e)||M(e))&&(s=e,l&&n(i,l,s,u||r.name)),s},{instance:s,identifier:l})):(s=t.instantiate(r,i,u),l&&n(i,l,s,u||r.name),s)}}]}function dt(){this.$get=["$window",function(e){return pr(e.document)}]}function ft(){this.$get=["$document","$rootScope",function(e,t){function n(){i=r.hidden}var r=e[0],i=r&&r.hidden;return e.on("visibilitychange",n),t.$on("$destroy",function(){e.off("visibilitychange",n)}),function(){return i}}]}function ht(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function mt(e){return y(e)?C(e)?e.toISOString():q(e):e}function gt(){this.$get=function(){return function(e){if(!e)return"";var t=[];return a(e,function(e,n){null===e||$(e)||M(e)||(D(e)?o(e,function(e){t.push(Q(n)+"="+Q(mt(e)))}):t.push(Q(n)+"="+Q(mt(e))))}),t.join("&")}}}function vt(){this.$get=function(){return function(e){function t(e,r,i){D(e)?o(e,function(e,n){t(e,r+"["+(y(e)?n:"")+"]")}):y(e)&&!C(e)?a(e,function(e,n){t(e,r+(i?"":"[")+n+(i?"":"]"))}):(M(e)&&(e=e()),n.push(Q(r)+"="+(null==e?"":Q(mt(e)))))}if(!e)return"";var n=[];return t(e,"",!0),n.join("&")}}}function $t(e,t){if(x(e)){var n=e.replace(Si,"").trim();if(n){var r,i=t("Content-Type"),i=i&&0===i.indexOf(Di);if((r=i)||(r=(r=n.match(Mi))&&Ei[r[0]].test(n)),r)try{e=B(n)}catch(o){if(!i)return e;throw Oi("baddata",e,o)}}}return e}function bt(e){var t,n=de();return x(e)?o(e.split("\n"),function(e){t=e.indexOf(":");var r=vr(Sr(e.substr(0,t)));e=Sr(e.substr(t+1)),r&&(n[r]=n[r]?n[r]+", "+e:e)}):y(e)&&o(e,function(e,t){var r=vr(t),i=Sr(e);r&&(n[r]=n[r]?n[r]+", "+i:i)}),n}function yt(e){var t;return function(n){return t||(t=bt(e)),n?(n=t[vr(n)],void 0===n&&(n=null),n):t}}function wt(e,t,n,r){return M(r)?r(e,t,n):(o(r,function(r){e=r(e,t,n)}),e)}function xt(){var e=this.defaults={transformResponse:[$t],transformRequest:[function(e){return y(e)&&"[object File]"!==xr.call(e)&&"[object Blob]"!==xr.call(e)&&"[object FormData]"!==xr.call(e)?q(e):e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:me(Ti),put:me(Ti),patch:me(Ti)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},t=!1;this.useApplyAsync=function(e){return b(e)?(t=!!e,this):t};var n=this.interceptors=[],i=this.xsrfWhitelistedOrigins=[];this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(a,s,u,l,p,d,f,m){function g(t){function n(e,t){for(var n=0,r=t.length;n<r;){var i=t[n++],o=t[n++];e=e.then(i,o)}return t.length=0,e}function i(e,t){var n,r={};return o(e,function(e,i){M(e)?(n=e(t),null!=n&&(r[i]=n)):r[i]=e}),r}function s(e){var t=c({},e);return t.data=wt(e.data,e.headers,e.status,u.transformResponse),e=e.status,200<=e&&300>e?t:d.reject(t)}if(!y(t))throw r("$http")("badreq",t);if(!x(m.valueOf(t.url)))throw r("$http")("badreq",t.url);var u=c({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},t);u.headers=function(t){var n,r,o,a=e.headers,s=c({},t.headers),a=c({},a.common,a[vr(t.method)]);e:for(n in a){r=vr(n);for(o in s)if(vr(o)===r)continue e;s[n]=a[n]}return i(s,me(t))}(t),u.method=$r(u.method),u.paramSerializer=x(u.paramSerializer)?f.get(u.paramSerializer):u.paramSerializer,a.$$incOutstandingRequestCount();var l=[],p=[];return t=d.resolve(u),o(T,function(e){(e.request||e.requestError)&&l.unshift(e.request,e.requestError),(e.response||e.responseError)&&p.push(e.response,e.responseError)}),t=n(t,l),t=t.then(function(t){var n=t.headers,r=wt(t.data,yt(n),void 0,t.transformRequest);return $(r)&&o(n,function(e,t){"content-type"===vr(t)&&delete n[t]}),$(t.withCredentials)&&!$(e.withCredentials)&&(t.withCredentials=e.withCredentials),v(t,r).then(s,s)}),t=n(t,p),t=t["finally"](function(){a.$$completeOutstandingRequest(h)})}function v(n,r){function i(e){if(e){var n={};return o(e,function(e,r){n[r]=function(n){function r(){e(n)}t?p.$applyAsync(r):p.$$phase?r():p.$apply(r)}}),n}}function a(e,n,r,i,o){function a(){l(n,e,r,i,o)}h&&(200<=e&&300>e?h.put(N,[e,n,bt(r),i,o]):h.remove(N)),t?p.$applyAsync(a):(a(),p.$$phase||p.$apply())}function l(e,t,r,i,o){t=-1<=t?t:0,(200<=t&&300>t?T.resolve:T.reject)({data:e,status:t,headers:yt(r),config:n,statusText:i,xhrStatus:o})}function c(e){l(e.data,e.status,me(e.headers()),e.statusText,e.xhrStatus)}function f(){var e=g.pendingRequests.indexOf(n);-1!==e&&g.pendingRequests.splice(e,1)}var h,v,T=d.defer(),S=T.promise,O=n.headers,A="jsonp"===vr(n.method),N=n.url;return A?N=m.getTrustedResourceUrl(N):x(N)||(N=m.valueOf(N)),N=w(N,n.paramSerializer(n.params)),A&&(N=k(N,n.jsonpCallbackParam)),g.pendingRequests.push(n),S.then(f,f),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(h=y(n.cache)?n.cache:y(e.cache)?e.cache:C),h&&(v=h.get(N),b(v)?v&&M(v.then)?v.then(c,c):D(v)?l(v[1],v[0],me(v[2]),v[3],v[4]):l(v,200,{},"OK","complete"):h.put(N,S)),$(v)&&((v=E(n.url)?u()[n.xsrfCookieName||e.xsrfCookieName]:void 0)&&(O[n.xsrfHeaderName||e.xsrfHeaderName]=v),s(n.method,N,r,a,O,n.timeout,n.withCredentials,n.responseType,i(n.eventHandlers),i(n.uploadEventHandlers))),S}function w(e,t){return 0<t.length&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}function k(e,t){var n=e.split("?");if(2<n.length)throw Oi("badjsonp",e);return n=Z(n[1]),o(n,function(n,r){if("JSON_CALLBACK"===n)throw Oi("badjsonp",e);if(r===t)throw Oi("badjsonp",t,e)}),e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}var C=l("$http");e.paramSerializer=x(e.paramSerializer)?f.get(e.paramSerializer):e.paramSerializer;var T=[];o(n,function(e){T.unshift(x(e)?f.get(e):f.invoke(e))});var E=vn(i);return g.pendingRequests=[],function(e){o(arguments,function(e){g[e]=function(t,n){return g(c({},n||{},{method:e,url:t}))}})}("get","delete","head","jsonp"),function(e){o(arguments,function(e){g[e]=function(t,n,r){return g(c({},r||{},{method:e,url:t,data:n}))}})}("post","put","patch"),g.defaults=e,g}]}function kt(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function Ct(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,r){return Dt(e,r,e.defer,t,n[0])}]}function Dt(e,t,n,r,i){function a(e,t,n){e=e.replace("JSON_CALLBACK",t);var o=i.createElement("script"),a=null;return o.type="text/javascript",o.src=e,o.async=!0,a=function(e){o.removeEventListener("load",a),o.removeEventListener("error",a),i.body.removeChild(o),o=null;var s=-1,u="unknown";e&&("load"!==e.type||r.wasCalled(t)||(e={type:"error"}),u=e.type,s="error"===e.type?404:200),n&&n(s,u)},o.addEventListener("load",a),o.addEventListener("error",a),i.body.appendChild(o),a}return function(i,s,u,l,c,p,d,f,h,m){function g(e){k="timeout"===e,w&&w(),x&&x.abort()}function v(e,t,r,i,o,a){b(D)&&n.cancel(D),w=x=null,e(t,r,i,o,a)}if(s=s||e.url(),"jsonp"===vr(i))var y=r.createCallback(s),w=a(s,y,function(e,t){var n=200===e&&r.getResponse(y);v(l,e,n,"",t,"complete"),r.removeCallback(y)});else{var x=t(i,s),k=!1;if(x.open(i,s,!0),o(c,function(e,t){b(e)&&x.setRequestHeader(t,e)}),x.onload=function(){var e=x.statusText||"",t="response"in x?x.response:x.responseText,n=1223===x.status?204:x.status;0===n&&(n=t?200:"file"===gn(s).protocol?404:0),v(l,n,t,x.getAllResponseHeaders(),e,"complete")},x.onerror=function(){v(l,-1,null,null,"","error")},x.ontimeout=function(){v(l,-1,null,null,"","timeout")},x.onabort=function(){v(l,-1,null,null,"",k?"timeout":"abort")},o(h,function(e,t){x.addEventListener(t,e)}),o(m,function(e,t){x.upload.addEventListener(t,e)}),d&&(x.withCredentials=!0),f)try{x.responseType=f}catch(C){if("json"!==f)throw C}x.send($(u)?null:u)}if(0<p)var D=n(function(){g("timeout")},p);else p&&M(p.then)&&p.then(function(){g(b(p.$$timeoutId)?"timeout":"abort")})}}function Tt(){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(d,e).replace(f,t)}function s(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function u(o,u,d,f){function h(e){try{return e=d&&!m?i.getTrusted(d,e):i.valueOf(e),f&&!b(e)?e:fe(e)}catch(t){r(Ai.interr(o,t))}}var m=d===i.URL||d===i.MEDIA_URL;if(!o.length||-1===o.indexOf(e)){if(u&&!m)return;return u=a(o),m&&(u=i.getTrusted(d,u)),u=g(u),u.exp=o,u.expressions=[],u.$$watchDelegate=s,u}f=!!f;for(var v,y,w,x,k=0,C=[],D=o.length,T=[],M=[];k<D;){if(-1===(v=o.indexOf(e,k))||-1===(y=o.indexOf(t,v+l))){k!==D&&T.push(a(o.substring(k)));break}k!==v&&T.push(a(o.substring(k,v))),k=o.substring(v+l,y),C.push(k),k=y+p,M.push(T.length),T.push("")}x=1===T.length&&1===M.length;var E=m&&x?void 0:h;if(w=C.map(function(e){return n(e,E)}),!u||C.length){var S=function(e){for(var t=0,n=C.length;t<n;t++){if(f&&$(e[t]))return;T[M[t]]=e[t]}return m?i.getTrusted(d,x?T[0]:T.join("")):(d&&1<T.length&&Ai.throwNoconcat(o),T.join(""))};return c(function(e){var t=0,n=C.length,i=Array(n);try{for(;t<n;t++)i[t]=w[t](e);return S(i)}catch(a){r(Ai.interr(o,a))}},{exp:o,expressions:C,$$watchDelegate:function(e,t){var n;return e.$watchGroup(w,function(r,i){var o=S(r);t.call(this,o,r!==i?n:o,e),n=o})}})}}var l=e.length,p=t.length,d=new RegExp(e.replace(/./g,o),"g"),f=new RegExp(t.replace(/./g,o),"g");return u.startSymbol=function(){return e},u.endSymbol=function(){return t},u}]}function Mt(){this.$get=["$rootScope","$window","$q","$$q","$browser",function(e,t,n,r,i){function o(o,s,u,l){function c(){p?o.apply(null,d):o(m)}var p=4<arguments.length,d=p?br.call(arguments,4):[],f=t.setInterval,h=t.clearInterval,m=0,g=b(l)&&!l,v=(g?r:n).defer(),$=v.promise;return u=b(u)?u:0,$.$$intervalId=f(function(){g?i.defer(c):e.$evalAsync(c),v.notify(m++),0<u&&m>=u&&(v.resolve(m),h($.$$intervalId),delete a[$.$$intervalId]),g||e.$apply()},s),a[$.$$intervalId]=v,$}var a={};return o.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$intervalId"))throw Ni("badprom");if(!a.hasOwnProperty(e.$$intervalId))return!1;e=e.$$intervalId;var n=a[e];return n.promise.$$state.pur=!0,n.reject("canceled"),t.clearInterval(e),delete a[e],!0},o}]}function Et(e){e=e.split("/");for(var t=e.length;t--;)e[t]=J(e[t].replace(/%2F/g,"/"));return e.join("/")}function St(e,t){var n=gn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=d(n.port)||ji[n.protocol]||null}function Ot(e,t,n){if(Li.test(e))throw Vi("badpath",e);var r="/"!==e.charAt(0);r&&(e="/"+e),e=gn(e);for(var r=(r&&"/"===e.pathname.charAt(0)?e.pathname.substring(1):e.pathname).split("/"),i=r.length;i--;)r[i]=decodeURIComponent(r[i]),n&&(r[i]=r[i].replace(/\//g,"%2F"));n=r.join("/"),t.$$path=n,t.$$search=Z(e.search),t.$$hash=decodeURIComponent(e.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function At(e,t){return e.slice(0,t.length)===t}function Nt(e,t){if(At(t,e))return t.substr(e.length)}function Pt(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function It(e){return e.replace(/(#.+)|#$/,"$1")}function jt(e,t,n){this.$$html5=!0,n=n||"",St(e,this),this.$$parse=function(e){var n=Nt(t,e);if(!x(n))throw Vi("ipthprfx",e,t);Ot(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var e=X(this.$$search),n=this.$$hash?"#"+J(this.$$hash):"";this.$$url=Et(this.$$path)+(e?"?"+e:"")+n,this.$$absUrl=t+this.$$url.substr(1),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(r,i){if(i&&"#"===i[0])return this.hash(i.slice(1)),!0;var o,a;return b(o=Nt(e,r))?(a=o,a=n&&b(o=Nt(n,o))?t+(Nt("/",o)||o):e+a):b(o=Nt(t,r))?a=t+o:t===r+"/"&&(a=t),a&&this.$$parse(a),!!a}}function Vt(e,t,n){St(e,this),this.$$parse=function(r){var i,o=Nt(e,r)||Nt(t,r);$(o)||"#"!==o.charAt(0)?this.$$html5?i=o:(i="",$(o)&&(e=r,this.replace())):(i=Nt(n,o),$(i)&&(i=o)),Ot(i,this,!1),r=this.$$path;var o=e,a=/^\/[A-Z]:(\/.*)/;At(i,o)&&(i=i.replace(o,"")),a.exec(i)||(r=(i=a.exec(r))?i[1]:r),this.$$path=r,this.$$compose()},this.$$compose=function(){var t=X(this.$$search),r=this.$$hash?"#"+J(this.$$hash):"";this.$$url=Et(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+(this.$$url?n+this.$$url:""),this.$$urlUpdatedByLocation=!0},this.$$parseLinkUrl=function(t,n){return Pt(e)===Pt(t)&&(this.$$parse(t),!0)}}function Lt(e,t,n){this.$$html5=!0,Vt.apply(this,arguments),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=Nt(t,r))?o=e+n+a:t===r+"/"&&(o=t),o&&this.$$parse(o),!!o},this.$$compose=function(){var t=X(this.$$search),r=this.$$hash?"#"+J(this.$$hash):"";this.$$url=Et(this.$$path)+(t?"?"+t:"")+r,this.$$absUrl=e+n+this.$$url,this.$$urlUpdatedByLocation=!0}}function Rt(e){return function(){return this[e]}}function Ft(e,t){return function(n){return $(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Ut(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return b(t)?(e=t,this):e},this.html5Mode=function(e){return A(e)?(t.enabled=e,this):y(e)?(A(e.enabled)&&(t.enabled=e.enabled),A(e.requireBase)&&(t.requireBase=e.requireBase),(A(e.rewriteLinks)||x(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=l.url(),o=l.$$state;try{r.url(e,t,n),l.$$state=r.state()}catch(a){throw l.url(i),l.$$state=o,a}}function u(e,t){n.$broadcast("$locationChangeSuccess",l.absUrl(),e,l.$$state,t)}var l,c;c=r.baseHref();var p,d=r.url();if(t.enabled){if(!c&&t.requireBase)throw Vi("nobase");p=d.substring(0,d.indexOf("/",d.indexOf("//")+2))+(c||"/"),c=i.history?jt:Lt}else p=Pt(d),c=Vt;var f=p.substr(0,Pt(p).lastIndexOf("/")+1);l=new c(p,f,"#"+e),l.$$parseLinkUrl(d,d),l.$$state=r.state();var h=/^\s*(javascript|mailto):/i;o.on("click",function(e){var i=t.rewriteLinks;if(i&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var a=pr(e.target);"a"!==j(a[0]);)if(a[0]===o[0]||!(a=a.parent())[0])return;if(!x(i)||!$(a.attr(i))){var i=a.prop("href"),s=a.attr("href")||a.attr("xlink:href");y(i)&&"[object SVGAnimatedString]"===i.toString()&&(i=gn(i.animVal).href),h.test(i)||!i||a.attr("target")||e.isDefaultPrevented()||!l.$$parseLinkUrl(i,s)||(e.preventDefault(),l.absUrl()!==r.url()&&n.$apply())}}}),It(l.absUrl())!==It(d)&&r.url(l.absUrl(),!0);var m=!0;return r.onUrlChange(function(e,t){At(e,f)?(n.$evalAsync(function(){var r,i=l.absUrl(),o=l.$$state;e=It(e),l.$$parse(e),l.$$state=t,r=n.$broadcast("$locationChangeStart",e,i,t,o).defaultPrevented,l.absUrl()===e&&(r?(l.$$parse(i),l.$$state=o,s(i,!1,o)):(m=!1,u(i,o)))}),n.$$phase||n.$digest()):a.location.href=e}),n.$watch(function(){if(m||l.$$urlUpdatedByLocation){l.$$urlUpdatedByLocation=!1;var e=It(r.url()),t=It(l.absUrl()),o=r.state(),a=l.$$replace,c=e!==t||l.$$html5&&i.history&&o!==l.$$state;(m||c)&&(m=!1,n.$evalAsync(function(){var t=l.absUrl(),r=n.$broadcast("$locationChangeStart",t,e,l.$$state,o).defaultPrevented;l.absUrl()===t&&(r?(l.$$parse(e),l.$$state=o):(c&&s(t,a,o===l.$$state?null:l.$$state),u(e,o)))}))}l.$$replace=!1}),l}]}function Ht(){var e=!0,t=this;this.debugEnabled=function(t){return b(t)?(e=t,this):e},this.$get=["$window",function(n){function r(e){return T(e)&&(e.stack&&a?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 i(e){var t=n.console||{},i=t[e]||t.log||h;return function(){var e=[];return o(arguments,function(t){e.push(r(t))}),Function.prototype.apply.call(i,t,e)}}var a=cr||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function _t(e){return e+""}function qt(e,t){return"undefined"!=typeof e?e:t}function Bt(e,t){return"undefined"==typeof e?t:"undefined"==typeof t?e:e+t}function zt(e,t){switch(e.type){case Bi.MemberExpression:if(e.computed)return!1;break;case Bi.UnaryExpression:return 1;case Bi.BinaryExpression:return"+"!==e.operator&&1;case Bi.CallExpression:return!1}return void 0===t?zi:t}function Wt(e,t,n){var r,i,a=e.isPure=zt(e,n);switch(e.type){case Bi.Program:r=!0,o(e.body,function(e){Wt(e.expression,t,a),r=r&&e.expression.constant}),e.constant=r;break;case Bi.Literal:e.constant=!0,e.toWatch=[];break;case Bi.UnaryExpression:Wt(e.argument,t,a),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case Bi.BinaryExpression:Wt(e.left,t,a),Wt(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case Bi.LogicalExpression:Wt(e.left,t,a),Wt(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case Bi.ConditionalExpression:Wt(e.test,t,a),Wt(e.alternate,t,a),Wt(e.consequent,t,a),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case Bi.Identifier:e.constant=!1,e.toWatch=[e];break;case Bi.MemberExpression:Wt(e.object,t,a),e.computed&&Wt(e.property,t,a),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case Bi.CallExpression:r=n=!!e.filter&&!t(e.callee.name).$stateful,i=[],o(e.arguments,function(e){Wt(e,t,a),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=n?i:[e];break;case Bi.AssignmentExpression:Wt(e.left,t,a),Wt(e.right,t,a),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case Bi.ArrayExpression:r=!0,i=[],o(e.elements,function(e){Wt(e,t,a),r=r&&e.constant,i.push.apply(i,e.toWatch)}),e.constant=r,e.toWatch=i;break;case Bi.ObjectExpression:r=!0,i=[],o(e.properties,function(e){Wt(e.value,t,a),r=r&&e.value.constant,i.push.apply(i,e.value.toWatch),e.computed&&(Wt(e.key,t,!1),r=r&&e.key.constant,i.push.apply(i,e.key.toWatch))}),e.constant=r,e.toWatch=i;break;case Bi.ThisExpression:e.constant=!1,e.toWatch=[];break;case Bi.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Yt(e){if(1===e.length){e=e[0].expression;var t=e.toWatch;return 1!==t.length?t:t[0]!==e?t:void 0}}function Gt(e){return e.type===Bi.Identifier||e.type===Bi.MemberExpression}function Kt(e){if(1===e.body.length&&Gt(e.body[0].expression))return{
type:Bi.AssignmentExpression,left:e.body[0].expression,right:{type:Bi.NGValueParameter},operator:"="}}function Zt(e){this.$filter=e}function Xt(e){this.$filter=e}function Jt(e,t,n){this.ast=new Bi(e,n),this.astCompiler=n.csp?new Xt(t):new Zt(t)}function Qt(e){return M(e.valueOf)?e.valueOf():Ui.call(e)}function en(){var e,t,n=de(),r={"true":!0,"false":!1,"null":null,undefined:void 0};this.addLiteral=function(e,t){r[e]=t},this.setIdentifierFns=function(n,r){return e=n,t=r,this},this.$get=["$filter",function(i){function a(e,t){var r,o;switch(typeof e){case"string":return o=e=e.trim(),r=n[o],r||(r=new qi(v),r=new Jt(r,i,v).parse(e),n[o]=d(r)),g(r,t);case"function":return g(e,t);default:return g(h,t)}}function s(e,t,n){return null==e||null==t?e===t:!("object"==typeof e&&(e=Qt(e),"object"==typeof e&&!n))&&(e===t||e!==e&&t!==t)}function u(e,t,n,r,i){var o,a=r.inputs;if(1===a.length){var u=s,a=a[0];return e.$watch(function(e){var t=a(e);return s(t,u,a.isPure)||(o=r(e,void 0,void 0,[t]),u=t&&Qt(t)),o},t,n,i)}for(var l=[],c=[],p=0,d=a.length;p<d;p++)l[p]=s,c[p]=null;return e.$watch(function(e){for(var t=!1,n=0,i=a.length;n<i;n++){var u=a[n](e);(t||(t=!s(u,l[n],a[n].isPure)))&&(c[n]=u,l[n]=u&&Qt(u))}return t&&(o=r(e,void 0,void 0,c)),o},t,n,i)}function l(e,t,n,r,i){function o(){l(u)&&s()}function a(e,t,n,r){return u=h&&r?r[0]:p(e,t,n,r),l(u)&&e.$$postDigest(o),f(u)}var s,u,l=r.literal?c:b,p=r.$$intercepted||r,f=r.$$interceptor||m,h=r.inputs&&!p.inputs;return a.literal=r.literal,a.constant=r.constant,a.inputs=r.inputs,d(a),s=e.$watch(a,t,n,i)}function c(e){var t=!0;return o(e,function(e){b(e)||(t=!1)}),t}function p(e,t,n,r){var i=e.$watch(function(e){return i(),r(e)},t,n);return i}function d(e){return e.constant?e.$$watchDelegate=p:e.oneTime?e.$$watchDelegate=l:e.inputs&&(e.$$watchDelegate=u),e}function f(e,t){function n(n){return t(e(n))}return n.$stateful=e.$stateful||t.$stateful,n.$$pure=e.$$pure&&t.$$pure,n}function g(e,t){if(!t)return e;e.$$interceptor&&(t=f(e.$$interceptor,t),e=e.$$intercepted);var n=!1,r=function(r,i,o,a){return r=n&&a?a[0]:e(r,i,o,a),t(r)};return r.$$intercepted=e,r.$$interceptor=t,r.literal=e.literal,r.oneTime=e.oneTime,r.constant=e.constant,t.$stateful||(n=!e.inputs,r.inputs=e.inputs?e.inputs:[e],t.$$pure||(r.inputs=r.inputs.map(function(e){return e.isPure===zi?function(t){return e(t)}:e}))),d(r)}var v={csp:Ar().noUnsafeEval,literals:L(r),isIdentifierStart:M(e)&&e,isIdentifierContinue:M(t)&&t};return a.$$getAst=function(e){var t=new qi(v);return new Jt(t,i,v).getAst(e).ast},a}]}function tn(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return rn(function(e){t.$evalAsync(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return b(t)?(e=t,this):e}}function nn(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return rn(function(e){t.defer(e)},n,e)}],this.errorOnUnhandledRejections=function(t){return b(t)?(e=t,this):e}}function rn(e,t,n){function i(){return new a}function a(){var e=this.promise=new s;this.resolve=function(t){p(e,t)},this.reject=function(t){f(e,t)},this.notify=function(t){m(e,t)}}function s(){this.$$state={status:0}}function u(){for(;!k&&C.length;){var e=C.shift();if(!e.pur){e.pur=!0;var n=e.value,n="Possibly unhandled rejection: "+("function"==typeof n?n.toString().replace(/ \{[\s\S]*$/,""):$(n)?"undefined":"string"!=typeof n?ge(n,void 0):n);T(e.value)?t(e.value,n):t(n)}}}function l(r){!n||r.pending||2!==r.status||r.pur||(0===k&&0===C.length&&e(u),C.push(r)),!r.processScheduled&&r.pending&&(r.processScheduled=!0,++k,e(function(){var i,o,a;a=r.pending,r.processScheduled=!1,r.pending=void 0;try{for(var s=0,l=a.length;s<l;++s){r.pur=!0,o=a[s][0],i=a[s][r.status];try{M(i)?p(o,i(r.value)):1===r.status?p(o,r.value):f(o,r.value)}catch(c){f(o,c),c&&!0===c.$$passToExceptionHandler&&t(c)}}}finally{--k,n&&0===k&&e(u)}}))}function p(e,t){e.$$state.status||(t===e?h(e,x("qcycle",t)):d(e,t))}function d(e,t){function n(t){a||(a=!0,d(e,t))}function r(t){a||(a=!0,h(e,t))}function i(t){m(e,t)}var o,a=!1;try{(y(t)||M(t))&&(o=t.then),M(o)?(e.$$state.status=-1,o.call(t,n,r,i)):(e.$$state.value=t,e.$$state.status=1,l(e.$$state))}catch(s){r(s)}}function f(e,t){e.$$state.status||h(e,t)}function h(e,t){e.$$state.value=t,e.$$state.status=2,l(e.$$state)}function m(n,r){var i=n.$$state.pending;0>=n.$$state.status&&i&&i.length&&e(function(){for(var e,n,o=0,a=i.length;o<a;o++){n=i[o][0],e=i[o][3];try{m(n,M(e)?e(r):r)}catch(s){t(s)}}})}function g(e){var t=new s;return f(t,e),t}function v(e,t,n){var r=null;try{M(n)&&(r=n())}catch(i){return g(i)}return r&&M(r.then)?r.then(function(){return t(e)},g):t(e)}function b(e,t,n,r){var i=new s;return p(i,e),i.then(t,n,r)}function w(e){if(!M(e))throw x("norslvr",e);var t=new s;return e(function(e){p(t,e)},function(e){f(t,e)}),t}var x=r("$q",TypeError),k=0,C=[];c(s.prototype,{then:function(e,t,n){if($(e)&&$(t)&&$(n))return this;var r=new s;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([r,e,t,n]),0<this.$$state.status&&l(this.$$state),r},"catch":function(e){return this.then(null,e)},"finally":function(e,t){return this.then(function(t){return v(t,E,e)},function(t){return v(t,g,e)},t)}});var E=b;return w.prototype=s.prototype,w.defer=i,w.reject=g,w.when=b,w.resolve=E,w.all=function(e){var t=new s,n=0,r=D(e)?[]:{};return o(e,function(e,i){n++,b(e).then(function(e){r[i]=e,--n||p(t,r)},function(e){f(t,e)})}),0===n&&p(t,r),t},w.race=function(e){var t=i();return o(e,function(e){b(e).then(t.resolve,t.reject)}),t.promise},w}function on(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,r=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,i=!!n,o=i?function(e){var t=n(e);return function(){r(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=i,o}]}function an(){function e(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=++Tr,this.$$ChildScope=null,this.$$suspended=!1}return t.prototype=e,t}var t=10,n=r("$rootScope"),a=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$exceptionHandler","$parse","$browser",function(r,u,l){function c(e){e.currentScope.$$destroyed=!0}function p(e){9===cr&&(e.$$childHead&&p(e.$$childHead),e.$$nextSibling&&p(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function d(){this.$id=++Tr,this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$suspended=this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function f(e){if(x.$$phase)throw n("inprog",x.$$phase);x.$$phase=e}function m(e,t){do e.$$watchersCount+=t;while(e=e.$parent)}function g(e,t,n){do e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n];while(e=e.$parent)}function v(){}function b(){for(;D.length;)try{D.shift()()}catch(e){r(e)}s=null}function w(){null===s&&(s=l.defer(function(){x.$apply(b)}))}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",c),r},$watch:function(e,t,n,r){var i=u(e);if(t=M(t)?t:h,i.$$watchDelegate)return i.$$watchDelegate(this,t,n,i,e);var o=this,s=o.$$watchers,l={fn:t,last:v,get:i,exp:r||e,eq:!!n};return a=null,s||(s=o.$$watchers=[],s.$$digestWatchIndex=-1),s.unshift(l),s.$$digestWatchIndex++,m(this,1),function(){var e=V(s,l);0<=e&&(m(o,-1),e<s.$$digestWatchIndex&&s.$$digestWatchIndex--),a=null}},$watchGroup:function(e,t){function n(){u=!1;try{l?(l=!1,t(i,i,s)):t(i,r,s)}finally{for(var n=0;n<e.length;n++)r[n]=i[n]}}var r=Array(e.length),i=Array(e.length),a=[],s=this,u=!1,l=!0;if(!e.length){var c=!0;return s.$evalAsync(function(){c&&t(i,i,s)}),function(){c=!1}}return 1===e.length?this.$watch(e[0],function(e,n,o){i[0]=e,r[0]=n,t(i,e===n?i:r,o)}):(o(e,function(e,t){var r=s.$watch(e,function(e){i[t]=e,u||(u=!0,s.$evalAsync(n))});a.push(r)}),function(){for(;a.length;)a.shift()()})},$watchCollection:function(e,t){function n(e){r=e;var t,n,a,s;if(!$(r)){if(y(r))if(i(r))for(o!==d&&(o=d,m=o.length=0,c++),e=r.length,m!==e&&(c++,o.length=m=e),t=0;t<e;t++)s=o[t],a=r[t],n=s!==s&&a!==a,n||s===a||(c++,o[t]=a);else{o!==f&&(o=f={},m=0,c++),e=0;for(t in r)gr.call(r,t)&&(e++,a=r[t],s=o[t],t in o?(n=s!==s&&a!==a,n||s===a||(c++,o[t]=a)):(m++,o[t]=a,c++));if(m>e)for(t in c++,o)gr.call(r,t)||(m--,delete o[t])}else o!==r&&(o=r,c++);return c}}n.$$pure=u(e).literal,n.$stateful=!n.$$pure;var r,o,a,s=this,l=1<t.length,c=0,p=u(e,n),d=[],f={},h=!0,m=0;return this.$watch(p,function(){if(h?(h=!1,t(r,r,s)):t(r,a,s),l)if(y(r))if(i(r)){a=Array(r.length);for(var e=0;e<r.length;e++)a[e]=r[e]}else for(e in a={},r)gr.call(r,e)&&(a[e]=r[e]);else a=r})},$digest:function(){var e,i,o,u,c,p,d,h,m,g,$=t,y=k.length?x:this,w=[];f("$digest"),l.$$checkUrlChange(),this===x&&null!==s&&(l.defer.cancel(s),b()),a=null;do{for(d=!1,h=y,p=0;p<k.length;p++){try{g=k[p],(u=g.fn)(g.scope,g.locals)}catch(D){r(D)}a=null}k.length=0;e:do{if(p=!h.$$suspended&&h.$$watchers)for(p.$$digestWatchIndex=p.length;p.$$digestWatchIndex--;)try{if(e=p[p.$$digestWatchIndex])if(c=e.get,(i=c(h))===(o=e.last)||(e.eq?F(i,o):Mr(i)&&Mr(o))){if(e===a){d=!1;break e}}else d=!0,a=e,e.last=e.eq?L(i,null):i,u=e.fn,u(i,o===v?i:o,h),5>$&&(m=4-$,w[m]||(w[m]=[]),w[m].push({msg:M(e.exp)?"fn: "+(e.exp.name||e.exp.toString()):e.exp,newVal:i,oldVal:o}))}catch(E){r(E)}if(!(p=!h.$$suspended&&h.$$watchersCount&&h.$$childHead||h!==y&&h.$$nextSibling))for(;h!==y&&!(p=h.$$nextSibling);)h=h.$parent}while(h=p);if((d||k.length)&&!$--)throw x.$$phase=null,n("infdig",t,w)}while(d||k.length);for(x.$$phase=null;T<C.length;)try{C[T++]()}catch(S){r(S)}C.length=T=0,l.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;this.$broadcast("$destroy"),this.$$destroyed=!0,this===x&&l.$$applicationDestroyed(),m(this,-this.$$watchersCount);for(var t in this.$$listenerCount)g(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.$$nextSibling=null,p(this)}},$eval:function(e,t){return u(e)(this,t)},$evalAsync:function(e,t){x.$$phase||k.length||l.defer(function(){k.length&&x.$digest()}),k.push({scope:this,fn:u(e),locals:t})},$$postDigest:function(e){C.push(e)},$apply:function(e){try{f("$apply");try{return this.$eval(e)}finally{x.$$phase=null}}catch(t){r(t)}finally{try{x.$digest()}catch(n){throw r(n),n}}},$applyAsync:function(e){function t(){n.$eval(e)}var n=this;e&&D.push(t),e=u(e),w()},$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&&(delete n[r],g(i,1,e))}},$emit:function(e,t){var n,i,o,a=[],s=this,u=!1,l={name:e,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=U([l],arguments,1);do{for(n=s.$$listeners[e]||a,l.currentScope=s,i=0,o=n.length;i<o;i++)if(n[i])try{n[i].apply(null,c)}catch(p){r(p)}else n.splice(i,1),i--,o--;if(u)break;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(e,t){var n=this,i=this,o={name:e,targetScope:this,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[e])return o;for(var a,s,u=U([o],arguments,1);n=i;){for(o.currentScope=n,i=n.$$listeners[e]||[],a=0,s=i.length;a<s;a++)if(i[a])try{i[a].apply(null,u)}catch(l){r(l)}else i.splice(a,1),a--,s--;if(!(i=n.$$listenerCount[e]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(i=n.$$nextSibling);)n=n.$parent}return o.currentScope=null,o}};var x=new d,k=x.$$asyncQueue=[],C=x.$$postDigestQueue=[],D=x.$$applyAsyncQueue=[],T=0;return x}]}function sn(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(t){return b(t)?(e=t,this):e},this.imgSrcSanitizationWhitelist=function(e){return b(e)?(t=e,this):t},this.$get=function(){return function(n,r){var i=r?t:e,o=gn(n&&n.trim()).href;return""===o||o.match(i)?n:"unsafe:"+o}}}function un(e){if("self"===e)return e;if(x(e)){if(-1<e.indexOf("***"))throw Yi("iwcard",e);return e=Or(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(E(e))return new RegExp("^"+e.source+"$");throw Yi("imatcher")}function ln(e){var t=[];return b(e)&&o(e,function(e){t.push(un(e))}),t}function cn(){this.SCE_CONTEXTS=Gi;var t=["self"],n=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=ln(e)),t},this.resourceUrlBlacklist=function(e){return arguments.length&&(n=ln(e)),n},this.$get=["$injector","$$sanitizeUri",function(r,i){function o(t,n){var r;return"self"===t?(r=$n(n,Qi))||(e.document.baseURI?r=e.document.baseURI:(Wi||(Wi=e.document.createElement("a"),Wi.href=".",Wi=Wi.cloneNode(!1)),r=Wi.href),r=$n(n,r)):r=!!t.exec(n.href),r}function a(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}var s=function(e){throw Yi("unsafe")};r.has("$sanitize")&&(s=r.get("$sanitize"));var u=a(),l={};return l[Gi.HTML]=a(u),l[Gi.CSS]=a(u),l[Gi.MEDIA_URL]=a(u),l[Gi.URL]=a(l[Gi.MEDIA_URL]),l[Gi.JS]=a(u),l[Gi.RESOURCE_URL]=a(l[Gi.URL]),{trustAs:function(e,t){var n=l.hasOwnProperty(e)?l[e]:null;if(!n)throw Yi("icontext",e,t);if(null===t||$(t)||""===t)return t;if("string"!=typeof t)throw Yi("itype",e);return new n(t)},getTrusted:function(e,r){if(null===r||$(r)||""===r)return r;var a=l.hasOwnProperty(e)?l[e]:null;if(a&&r instanceof a)return r.$$unwrapTrustedValue();if(M(r.$$unwrapTrustedValue)&&(r=r.$$unwrapTrustedValue()),e===Gi.MEDIA_URL||e===Gi.URL)return i(r,e===Gi.MEDIA_URL);if(e===Gi.RESOURCE_URL){var u,c,a=gn(r.toString()),p=!1;for(u=0,c=t.length;u<c;u++)if(o(t[u],a)){p=!0;break}if(p)for(u=0,c=n.length;u<c;u++)if(o(n[u],a)){p=!1;break}if(p)return r;throw Yi("insecurl",r.toString())}if(e===Gi.HTML)return s(r);throw Yi("unsafe")},valueOf:function(e){return e instanceof u?e.$$unwrapTrustedValue():e}}}]}function pn(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>cr)throw Yi("iequirks");var r=me(Gi);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 i=r.parseAs,a=r.getTrusted,s=r.trustAs;return o(Gi,function(e,t){var n=vr(t);r[("parse_as_"+n).replace(Ki,$e)]=function(t){return i(e,t)},r[("get_trusted_"+n).replace(Ki,$e)]=function(t){return a(e,t)},r[("trust_as_"+n).replace(Ki,$e)]=function(t){return s(e,t)}}),r}]}function dn(){this.$get=["$window","$document",function(e,t){var n={},r=!((!e.nw||!e.nw.process)&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id))&&e.history&&e.history.pushState,i=d((/android (\d+)/.exec(vr((e.navigator||{}).userAgent))||[])[1]),o=/Boxee/i.test((e.navigator||{}).userAgent),a=t[0]||{},s=a.body&&a.body.style,u=!1,l=!1;return s&&(u=!!("transition"in s||"webkitTransition"in s),l=!!("animation"in s||"webkitAnimation"in s)),{history:!(!r||4>i||o),hasEvent:function(e){if("input"===e&&cr)return!1;if($(n[e])){var t=a.createElement("div");n[e]="on"+e in t}return n[e]},csp:Ar(),transitions:u,animations:l,android:i}}]}function fn(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,r,i,o){function a(s,u){a.totalPendingRequests++,x(s)&&!$(n.get(s))||(s=o.getTrustedResourceUrl(s));var l=r.defaults&&r.defaults.transformResponse;return D(l)?l=l.filter(function(e){return e!==$t}):l===$t&&(l=null),r.get(s,c({cache:n,transformResponse:l},e))["finally"](function(){a.totalPendingRequests--}).then(function(e){return n.put(s,e.data)},function(e){return u||(e=Zi("tpload",s,e.status,e.statusText),t(e)),i.reject(e)})}return a.totalPendingRequests=0,a}]}function hn(){this.$get=["$rootScope","$browser","$location",function(e,t,n){return{findBindings:function(e,t,n){e=e.getElementsByClassName("ng-binding");var r=[];return o(e,function(e){var i=Dr.element(e).data("$binding");i&&o(i,function(i){n?new RegExp("(^|\\s)"+Or(t)+"(\\s|\\||$)").test(i)&&r.push(e):-1!==i.indexOf(t)&&r.push(e)})}),r},findModels:function(e,t,n){for(var r=["ng-","data-ng-","ng\\:"],i=0;i<r.length;++i){var o=e.querySelectorAll("["+r[i]+"model"+(n?"=":"*=")+'"'+t+'"]');if(o.length)return o}},getLocation:function(){return n.url()},setLocation:function(t){t!==n.url()&&(n.url(t),e.$digest())},whenStable:function(e){t.notifyWhenNoOutstandingRequests(e)}}}]}function mn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,r,i){function o(o,s,u){M(o)||(u=s,s=o,o=h);var l,c=br.call(arguments,3),p=b(u)&&!u,d=(p?r:n).defer(),f=d.promise;return l=t.defer(function(){try{d.resolve(o.apply(null,c))}catch(t){d.reject(t),i(t)}finally{delete a[f.$$timeoutId]}p||e.$apply()},s),f.$$timeoutId=l,a[l]=d,f}var a={};return o.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$timeoutId"))throw Xi("badprom");if(!a.hasOwnProperty(e.$$timeoutId))return!1;e=e.$$timeoutId;var n=a[e];return n.promise.$$state.pur=!0,n.reject("canceled"),delete a[e],t.defer.cancel(e)},o}]}function gn(e){return x(e)?(cr&&(Ji.setAttribute("href",e),e=Ji.href),Ji.setAttribute("href",e),{href:Ji.href,protocol:Ji.protocol?Ji.protocol.replace(/:$/,""):"",host:Ji.host,search:Ji.search?Ji.search.replace(/^\?/,""):"",hash:Ji.hash?Ji.hash.replace(/^#/,""):"",hostname:Ji.hostname,port:Ji.port,pathname:"/"===Ji.pathname.charAt(0)?Ji.pathname:"/"+Ji.pathname}):e}function vn(e){var t=[Qi].concat(e.map(gn));return function(e){return e=gn(e),t.some($n.bind(null,e))}}function $n(e,t){return e=gn(e),t=gn(t),e.protocol===t.protocol&&e.host===t.host}function bn(){this.$get=g(e)}function yn(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;try{e=n.cookie||""}catch(l){e=""}if(e!==i)for(i=e,e=i.split("; "),r={},a=0;a<e.length;a++)o=e[a],s=o.indexOf("="),0<s&&(u=t(o.substring(0,s)),$(r[u])&&(r[u]=t(o.substring(s+1))));return r}}function wn(){this.$get=yn}function xn(e){function t(n,r){if(y(n)){var i={};return o(n,function(e,n){i[n]=t(n,e)}),i}return e.factory(n+"Filter",r)}this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+"Filter")}}],t("currency",Mn),t("date",Rn),t("filter",kn),t("json",Fn),t("limitTo",Un),t("lowercase",ao),t("number",En),t("orderBy",_n),t("uppercase",so)}function kn(){return function(e,t,n,o){if(!i(e)){if(null==e)return e;throw r("filter")("notarray",e)}o=o||"$";var a;switch(Tn(t)){case"function":break;case"boolean":case"null":case"number":case"string":a=!0;case"object":t=Cn(t,n,o,a);break;default:return e}return Array.prototype.filter.call(e,t)}}function Cn(e,t,n,r){var i=y(e)&&n in e;return!0===t?t=F:M(t)||(t=function(e,t){return!$(e)&&(null===e||null===t?e===t:!(y(t)||y(e)&&!v(e))&&(e=vr(""+e),t=vr(""+t),-1!==e.indexOf(t)))}),function(o){return i&&!y(o)?Dn(o,e[n],t,n,!1):Dn(o,e,t,n,r)}}function Dn(e,t,n,r,i,o){var a=Tn(e),s=Tn(t);if("string"===s&&"!"===t.charAt(0))return!Dn(e,t.substring(1),n,r,i);if(D(e))return e.some(function(e){return Dn(e,t,n,r,i)});switch(a){case"object":var u;if(i){for(u in e)if(u.charAt&&"$"!==u.charAt(0)&&Dn(e[u],t,n,r,!0))return!0;return!o&&Dn(e,t,n,r,!1)}if("object"===s){for(u in t)if(o=t[u],!M(o)&&!$(o)&&(a=u===r,!Dn(a?e:e[u],o,n,r,a,a)))return!1;return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function Tn(e){return null===e?"null":typeof e}function Mn(e){var t=e.NUMBER_FORMATS;return function(e,n,r){$(n)&&(n=t.CURRENCY_SYM),$(r)&&(r=t.PATTERNS[1].maxFrac);var i=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==e?e:An(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,r).replace(i,n)}}function En(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:An(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function Sn(e){var t,n,r,i,o,a=0;for(-1<(n=e.indexOf(to))&&(e=e.replace(to,"")),0<(r=e.search(/e/i))?(0>n&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):0>n&&(n=e.length),r=0;e.charAt(r)===no;r++);if(r===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===no;)o--;for(n-=r,t=[],i=0;r<=o;r++,i++)t[i]=+e.charAt(r)}return n>eo&&(t=t.splice(0,eo-1),a=n-1,n=1),{d:t,e:a,i:n}}function On(e,t,n,r){var i=e.d,o=i.length-e.i;if(t=$(t)?Math.min(Math.max(n,o),r):+t,n=t+e.i,r=i[n],0<n){i.splice(Math.max(e.i,n));for(var a=n;a<i.length;a++)i[a]=0}else for(o=Math.max(0,o),e.i=1,i.length=Math.max(1,n=t+1),i[0]=0,a=1;a<n;a++)i[a]=0;if(5<=r)if(0>n-1){for(r=0;r>n;r--)i.unshift(0),e.i++;i.unshift(1),e.i++}else i[n-1]++;for(;o<Math.max(0,t);o++)i.push(0);(t=i.reduceRight(function(e,t,n,r){return t+=e,r[n]=t%10,Math.floor(t/10)},0))&&(i.unshift(t),e.i++)}function An(e,t,n,r,i){if(!x(e)&&!k(e)||isNaN(e))return"";var o=!isFinite(e),a=!1,s=Math.abs(e)+"",u="";if(o)u="∞";else{for(a=Sn(s),On(a,i,t.minFrac,t.maxFrac),u=a.d,s=a.i,i=a.e,o=[],a=u.reduce(function(e,t){return e&&!t},!0);0>s;)u.unshift(0),s++;for(0<s?o=u.splice(s,u.length):(o=u,u=[0]),s=[],u.length>=t.lgSize&&s.unshift(u.splice(-t.lgSize,u.length).join(""));u.length>t.gSize;)s.unshift(u.splice(-t.gSize,u.length).join(""));u.length&&s.unshift(u.join("")),u=s.join(n),o.length&&(u+=r+o.join("")),i&&(u+="e+"+i)}return 0>e&&!a?t.negPre+u+t.negSuf:t.posPre+u+t.posSuf}function Nn(e,t,n,r){var i="";for((0>e||r&&0>=e)&&(r?e=-e+1:(e=-e,i="-")),e=""+e;e.length<t;)e=no+e;return n&&(e=e.substr(e.length-t)),i+e}function Pn(e,t,n,r,i){return n=n||0,function(o){return o=o["get"+e](),(0<n||o>-n)&&(o+=n),0===o&&-12===n&&(o=12),Nn(o,t,r,i)}}function In(e,t,n){return function(r,i){var o=r["get"+e](),a=$r((n?"STANDALONE":"")+(t?"SHORT":"")+e);return i[a][o]}}function jn(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function Vn(e){return function(t){var n=jn(t.getFullYear());return t=+new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))-+n,t=1+Math.round(t/6048e5),Nn(t,e)}}function Ln(e,t){return 0>=e.getFullYear()?t.ERAS[0]:t.ERAS[1]}function Rn(e){function t(e){var t;if(t=e.match(n)){e=new Date(0);var r=0,i=0,o=t[8]?e.setUTCFullYear:e.setFullYear,a=t[8]?e.setUTCHours:e.setHours;t[9]&&(r=d(t[9]+t[10]),i=d(t[9]+t[11])),o.call(e,d(t[1]),d(t[2])-1,d(t[3])),r=d(t[4]||0)-r,i=d(t[5]||0)-i,o=d(t[6]||0),t=Math.round(1e3*parseFloat("0."+(t[7]||0))),a.call(e,r,i,o,t)}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,i){var a,s,u="",l=[];if(r=r||"mediumDate",r=e.DATETIME_FORMATS[r]||r,x(n)&&(n=oo.test(n)?d(n):t(n)),k(n)&&(n=new Date(n)),!C(n)||!isFinite(n.getTime()))return n;for(;r;)(s=io.exec(r))?(l=U(l,s,1),r=l.pop()):(l.push(r),r=null);var c=n.getTimezoneOffset();return i&&(c=z(i,c),n=Y(n,i,!0)),o(l,function(t){a=ro[t],u+=a?a(n,e.DATETIME_FORMATS,c):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function Fn(){return function(e,t){return $(t)&&(t=2),q(e,t)}}function Un(){return function(e,t,n){return t=1/0===Math.abs(Number(t))?Number(t):d(t),Mr(t)?e:(k(e)&&(e=e.toString()),i(e)?(n=!n||isNaN(n)?0:d(n),n=0>n?Math.max(0,e.length+n):n,0<=t?Hn(e,n,n+t):0===n?Hn(e,t,e.length):Hn(e,Math.max(0,n+t),n)):e)}}function Hn(e,t,n){return x(e)?e.slice(t,n):br.call(e,t,n)}function _n(e){function t(t){return t.map(function(t){var n=1,r=m;if(M(t))r=t;else if(x(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(r=e(t),r.constant)))var i=r(),r=function(e){return e[i]};return{get:r,descending:n}})}function n(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e,t){var n=0,r=e.type,i=t.type;if(r===i){var i=e.value,o=t.value;"string"===r?(i=i.toLowerCase(),o=o.toLowerCase()):"object"===r&&(y(i)&&(i=e.index),y(o)&&(o=t.index)),i!==o&&(n=i<o?-1:1)}else n="undefined"===r?1:"undefined"===i?-1:"null"===r?1:"null"===i?-1:r<i?-1:1;return n}return function(e,a,s,u){if(null==e)return e;if(!i(e))throw r("orderBy")("notarray",e);D(a)||(a=[a]),0===a.length&&(a=["+"]);var l=t(a),c=s?-1:1,p=M(u)?u:o;return e=Array.prototype.map.call(e,function(e,t){return{value:e,tieBreaker:{value:t,type:"number",index:t},predicateValues:l.map(function(r){var i=r.get(e);return r=typeof i,null===i?r="null":"object"===r&&(M(i.valueOf)&&(i=i.valueOf(),n(i))||v(i)&&(i=i.toString(),n(i))),{value:i,type:r,index:t}})}}),e.sort(function(e,t){for(var n=0,r=l.length;n<r;n++){var i=p(e.predicateValues[n],t.predicateValues[n]);if(i)return i*l[n].descending*c}return(p(e.tieBreaker,t.tieBreaker)||o(e.tieBreaker,t.tieBreaker))*c}),e=e.map(function(e){return e.value})}}function qn(e){return M(e)&&(e={link:e}),e.restrict=e.restrict||"AC",g(e)}function Bn(e,t,n,r,i){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=i(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$valid=this.$pristine=!0,this.$submitted=this.$invalid=!1,this.$$parentForm=co,this.$$element=e,this.$$animate=r,zn(this)}function zn(e){e.$$classCache={},e.$$classCache[Wo]=!(e.$$classCache[zo]=e.$$element.hasClass(zo))}function Wn(e){function t(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function n(e,n,r){n=n?"-"+oe(n,"-"):"",t(e,zo+n,!0===r),t(e,Wo+n,!1===r)}var r=e.set,i=e.unset;e.clazz.prototype.$setValidity=function(e,o,a){$(o)?(this.$pending||(this.$pending={}),r(this.$pending,e,a)):(this.$pending&&i(this.$pending,e,a),Yn(this.$pending)&&(this.$pending=void 0)),A(o)?o?(i(this.$error,e,a),r(this.$$success,e,a)):(r(this.$error,e,a),i(this.$$success,e,a)):(i(this.$error,e,a),i(this.$$success,e,a)),this.$pending?(t(this,"ng-pending",!0),this.$valid=this.$invalid=void 0,n(this,"",null)):(t(this,"ng-pending",!1),this.$valid=Yn(this.$error),this.$invalid=!this.$valid,n(this,"",this.$valid)),o=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null),n(this,e,o),this.$$parentForm.$setValidity(e,o,this)}}function Yn(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function Gn(e){e.$formatters.push(function(t){return e.$isEmpty(t)?t:t.toString()})}function Kn(e,t,n,r,i,o){var a=vr(t[0].type);if(!i.android){var s=!1;t.on("compositionstart",function(){s=!0}),t.on("compositionupdate",function(e){($(e.data)||""===e.data)&&(s=!1)}),t.on("compositionend",function(){s=!1,l()})}var u,l=function(e){if(u&&(o.defer.cancel(u),u=null),!s){var i=t.val();e=e&&e.type,"password"===a||n.ngTrim&&"false"===n.ngTrim||(i=Sr(i)),(r.$viewValue!==i||""===i&&r.$$hasNativeValidators)&&r.$setViewValue(i,e)}};if(i.hasEvent("input"))t.on("input",l);else{var c=function(e,t,n){u||(u=o.defer(function(){u=null,t&&t.value===n||l(e)}))};t.on("keydown",function(e){var t=e.keyCode;91===t||15<t&&19>t||37<=t&&40>=t||c(e,this,this.value)}),i.hasEvent("paste")&&t.on("paste cut drop",c)}t.on("change",l),Co[a]&&r.$$hasNativeValidators&&a===n.type&&t.on("keydown wheel mousedown",function(e){if(!u){var t=this.validity,n=t.badInput,r=t.typeMismatch;u=o.defer(function(){u=null,t.badInput===n&&t.typeMismatch===r||l(e)})}}),r.$render=function(){var e=r.$isEmpty(r.$viewValue)?"":r.$viewValue;t.val()!==e&&t.val(e)}}function Zn(e,t){return function(n,r){var i,a;if(C(n))return n;if(x(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),mo.test(n))return new Date(n);if(e.lastIndex=0,i=e.exec(n))return i.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},o(i,function(e,n){n<t.length&&(a[t[n]]=+e)}),i=new Date(a.yyyy,a.MM-1,a.dd,a.HH,a.mm,a.ss||0,1e3*a.sss||0),100>a.yyyy&&i.setFullYear(a.yyyy),i}return NaN}}function Xn(e,t,n,r){return function(i,o,a,s,u,l,c){function p(e){return e&&!(e.getTime&&e.getTime()!==e.getTime())}function d(e){return b(e)&&!C(e)?f(e)||void 0:e}function f(e,t){var r=s.$options.getOption("timezone");m&&m!==r&&(t=W(t,z(m)));var i=n(e,t);return!isNaN(i)&&r&&(i=Y(i,r)),i}Jn(i,o,a,s,e),Kn(i,o,a,s,u,l);var h,m;if(s.$parsers.push(function(n){return s.$isEmpty(n)?null:t.test(n)?f(n,h):void(s.$$parserName=e)}),s.$formatters.push(function(e){if(e&&!C(e))throw Ko("datefmt",e);if(p(e)){h=e;var t=s.$options.getOption("timezone");return t&&(m=t,h=Y(h,t,!0)),c("date")(e,r,t)}return m=h=null,""}),b(a.min)||a.ngMin){var g;s.$validators.min=function(e){return!p(e)||$(g)||n(e)>=g},a.$observe("min",function(e){g=d(e),s.$validate()})}if(b(a.max)||a.ngMax){var v;s.$validators.max=function(e){return!p(e)||$(v)||n(e)<=v},a.$observe("max",function(e){v=d(e),s.$validate()})}}}function Jn(e,t,n,r,i){(r.$$hasNativeValidators=y(t[0].validity))&&r.$parsers.push(function(e){var n=t.prop("validity")||{};return n.badInput||n.typeMismatch?void(r.$$parserName=i):e})}function Qn(e){e.$parsers.push(function(t){return e.$isEmpty(t)?null:$o.test(t)?parseFloat(t):void(e.$$parserName="number")}),e.$formatters.push(function(t){if(!e.$isEmpty(t)){if(!k(t))throw Ko("numfmt",t);t=t.toString()}return t})}function er(e){return b(e)&&!k(e)&&(e=parseFloat(e)),Mr(e)?void 0:e}function tr(e){var t=e.toString(),n=t.indexOf(".");return-1===n?-1<e&&1>e&&(e=/e-(\d+)$/.exec(t))?Number(e[1]):0:t.length-n-1}function nr(e,t,n){e=Number(e);var r=(0|e)!==e,i=(0|t)!==t,o=(0|n)!==n;if(r||i||o){var a=r?tr(e):0,s=i?tr(t):0,u=o?tr(n):0,a=Math.max(a,s,u),a=Math.pow(10,a);e*=a,t*=a,n*=a,r&&(e=Math.round(e)),i&&(t=Math.round(t)),o&&(n=Math.round(n))}return 0===(e-t)%n}function rr(e,t,n,r,i){if(b(r)){if(e=e(r),!e.constant)throw Ko("constexpr",n,r);return e(t)}return i}function ir(e,t){function n(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[],r=0;e:for(;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 r(e){var t=e;return D(e)?t=e.map(r).join(" "):y(e)&&(t=Object.keys(e).filter(function(t){return e[t]}).join(" ")),t}e="ngClass"+e;var i;return["$parse",function(a){return{restrict:"AC",link:function(s,u,l){function c(e,t){var n=[];return o(e,function(e){(0<t||f[e])&&(f[e]=(f[e]||0)+t,f[e]===+(0<t)&&n.push(e))}),n.join(" ")}function p(e){if(e===t){var n=d,n=c(n&&n.split(" "),1);l.$addClass(n)}else n=d,n=c(n&&n.split(" "),-1),l.$removeClass(n);h=e}var d,f=u.data("$classCounts"),h=!0;f||(f=de(),u.data("$classCounts",f)),"ngClass"!==e&&(i||(i=a("$index",function(e){return 1&e})),s.$watch(i,p)),s.$watch(a(l[e],r),function(e){if(h===t){var r=d&&d.split(" "),i=e&&e.split(" "),o=n(r,i),r=n(i,r),o=c(o,-1),r=c(r,1);l.$addClass(r),l.$removeClass(o)}d=e})}}}]}function or(e,t,n,r,i,o,a,s,u){this.$modelValue=this.$viewValue=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=u(n.name||"",!1)(e),this.$$parentForm=co,this.$options=Zo,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=i(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=e,this.$$rootScope=e.$root,this.$$attr=n,this.$$element=r,this.$$animate=o,this.$$timeout=a,this.$$parse=i,this.$$q=s,this.$$exceptionHandler=t,zn(this),ar(this)}function ar(e){e.$$scope.$watch(function(t){return t=e.$$ngModelGet(t),t===e.$modelValue||e.$modelValue!==e.$modelValue&&t!==t||e.$$setModelValue(t),t})}function sr(e){this.$$options=e}function ur(e,t){o(t,function(t,n){b(e[n])||(e[n]=t)})}function lr(e,t){e.prop("selected",t),e.attr("selected",t)}var cr,pr,dr,fr,hr={objectMaxDepth:5,urlErrorParamsEnabled:!0},mr=/^\/(.+)\/([a-z]*)$/,gr=Object.prototype.hasOwnProperty,vr=function(e){return x(e)?e.toLowerCase():e},$r=function(e){return x(e)?e.toUpperCase():e},br=[].slice,yr=[].splice,wr=[].push,xr=Object.prototype.toString,kr=Object.getPrototypeOf,Cr=r("ng"),Dr=e.angular||(e.angular={}),Tr=0;cr=e.document.documentMode;var Mr=Number.isNaN||function(e){return e!==e};h.$inject=[],m.$inject=[];var Er=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,Sr=function(e){return x(e)?e.trim():e},Or=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Ar=function(){if(!b(Ar.rules)){var t=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(t){var n=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");Ar.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else{t=Ar;try{new Function(""),n=!1}catch(r){n=!0}t.rules={noUnsafeEval:n,noInlineStyle:!1}}}return Ar.rules},Nr=function(){if(b(Nr.name_))return Nr.name_;var t,n,r,i,o=Ir.length;for(n=0;n<o;++n)if(r=Ir[n],t=e.document.querySelector("["+r.replace(":","\\:")+"jq]")){i=t.getAttribute(r+"jq");break}return Nr.name_=i},Pr=/:/g,Ir=["ng-","data-ng-","ng:","x-ng-"],jr=function(t){var n=t.currentScript;return!n||(n instanceof e.HTMLScriptElement||n instanceof e.SVGScriptElement)&&(n=n.attributes,[n.getNamedItem("src"),n.getNamedItem("href"),n.getNamedItem("xlink:href")].every(function(e){if(!e)return!0;if(!e.value)return!1;var n=t.createElement("a");if(n.href=e.value,t.location.origin===n.origin)return!0;switch(n.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}))}(e.document),Vr=/[A-Z]/g,Lr=!1,Rr=3,Fr={full:"1.7.2",major:1,minor:7,dot:2,codeName:"extreme-compatiplication"};xe.expando="ng339";var Ur=xe.cache={},Hr=1;xe._data=function(e){return this.cache[e[this.expando]]||{}};var _r=/-([a-z])/g,qr=/^-ms-/,Br={mouseleave:"mouseout",mouseenter:"mouseover"},zr=r("jqLite"),Wr=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Yr=/<|&#?\w+;/,Gr=/<([\w:-]+)/,Kr=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Zr={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,"",""]};Zr.optgroup=Zr.option,Zr.tbody=Zr.tfoot=Zr.colgroup=Zr.caption=Zr.thead,Zr.th=Zr.td;var Xr=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},Jr=xe.prototype={ready:Ue,toString:function(){var e=[];return o(this,function(t){e.push(""+t)}),"["+e.join(", ")+"]"},eq:function(e){return pr(0<=e?this[e]:this[this.length+e])},length:0,push:wr,sort:[].sort,splice:[].splice},Qr={};o("multiple selected checked disabled readOnly required open".split(" "),function(e){Qr[vr(e)]=e});var ei={};o("input select option textarea button form details".split(" "),function(e){ei[e]=!0});var ti={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};o({data:Oe,removeData:Ee,hasData:function(e){for(var t in Ur[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)Ee(e[t]),Me(e[t])}},function(e,t){xe[t]=e}),o({data:Oe,inheritedData:Ve,scope:function(e){return pr.data(e,"$scope")||Ve(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return pr.data(e,"$isolateScope")||pr.data(e,"$isolateScopeNoTemplate")},controller:je,injector:function(e){return Ve(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:Ae,css:function(e,t,n){return t=be(t.replace(qr,"ms-")),b(n)?void(e.style[t]=n):e.style[t]},attr:function(e,t,n){var r=e.nodeType;if(r!==Rr&&2!==r&&8!==r&&e.getAttribute){var r=vr(t),i=Qr[r];if(!b(n))return e=e.getAttribute(t),i&&null!==e&&(e=r),null===e?void 0:e;null===n||!1===n&&i?e.removeAttribute(t):e.setAttribute(t,i?r:n)}},prop:function(e,t,n){return b(n)?void(e[t]=n):e[t]},text:function(){function e(e,t){if($(t)){var n=e.nodeType;return 1===n||n===Rr?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if($(t)){if(e.multiple&&"select"===j(e)){var n=[];return o(e.options,function(e){e.selected&&n.push(e.value||e.text)}),n}return e.value}e.value=t},html:function(e,t){return $(t)?e.innerHTML:(Ce(e,!0),void(e.innerHTML=t))},empty:Le},function(e,t){xe.prototype[t]=function(t,n){var r,i,o=this.length;if(e!==Le&&$(2===e.length&&e!==Ae&&e!==je?t:n)){if(y(t)){for(r=0;r<o;r++)if(e===Oe)e(this[r],t);else for(i in t)e(this[r],i,t[i]);return this}for(r=e.$dv,o=$(r)?Math.min(o,1):o,i=0;i<o;i++){var a=e(this[i],t,n);r=r?r+a:a}return r}for(r=0;r<o;r++)e(this[r],t,n);return this}}),o({removeData:Ee,on:function(e,t,n,r){if(b(r))throw zr("onargs");if(ye(e)){r=Se(e,!0);var i=r.events,o=r.handle;o||(o=r.handle=_e(e,i)),r=0<=t.indexOf(" ")?t.split(" "):[t];for(var a=r.length,s=function(t,r,a){var s=i[t];s||(s=i[t]=[],s.specialHandlerWrapper=r,"$destroy"===t||a||e.addEventListener(t,o)),s.push(n)};a--;)t=r[a],Br[t]?(s(Br[t],Be),s(t,void 0,!0)):s(t)}},off:Me,one:function(e,t,n){e=pr(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;Ce(e),o(new xe(t),function(t){n?r.insertBefore(t,n.nextSibling):r.replaceChild(t,e),n=t})},children:function(e){var t=[];return o(e.childNodes,function(e){1===e.nodeType&&t.push(e)}),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){var n=e.nodeType;if(1===n||11===n){t=new xe(t);for(var n=0,r=t.length;n<r;n++)e.appendChild(t[n])}},prepend:function(e,t){if(1===e.nodeType){var n=e.firstChild;o(new xe(t),function(t){e.insertBefore(t,n)})}},wrap:function(e,t){var n=pr(t).eq(0).clone()[0],r=e.parentNode;r&&r.replaceChild(n,e),n.appendChild(e)},remove:Re,detach:function(e){Re(e,!0)},after:function(e,t){var n=e,r=e.parentNode;if(r){t=new xe(t);for(var i=0,o=t.length;i<o;i++){var a=t[i];r.insertBefore(a,n.nextSibling),n=a}}},addClass:Pe,removeClass:Ne,toggleClass:function(e,t,n){t&&o(t.split(" "),function(t){var r=n;$(r)&&(r=!Ae(e,t)),(r?Pe:Ne)(e,t)})},parent:function(e){return(e=e.parentNode)&&11!==e.nodeType?e:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:ke,triggerHandler:function(e,t,n){var r,i,a=t.type||t,s=Se(e);(s=(s=s&&s.events)&&s[a])&&(r={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:h,type:a,target:e},t.type&&(r=c(r,t)),t=me(s),i=n?[r].concat(n):[r],o(t,function(t){r.isImmediatePropagationStopped()||t.apply(e,i)}))}},function(e,t){xe.prototype[t]=function(t,n,r){for(var i,o=0,a=this.length;o<a;o++)$(i)?(i=e(this[o],t,n,r),b(i)&&(i=pr(i))):Ie(i,e(this[o],t,n,r));return b(i)?i:this}}),xe.prototype.bind=xe.prototype.on,xe.prototype.unbind=xe.prototype.off;var ni=Object.create(null);Ye.prototype={_idx:function(e){return e===this._lastKey?this._lastIndex:(this._lastKey=e,this._lastIndex=this._keys.indexOf(e))},_transformKey:function(e){return Mr(e)?ni:e},get:function(e){if(e=this._transformKey(e),e=this._idx(e),-1!==e)return this._values[e]},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},"delete":function(e){return e=this._transformKey(e),e=this._idx(e),-1!==e&&(this._keys.splice(e,1),this._values.splice(e,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var ri=Ye,ii=[function(){this.$get=[function(){return ri}]}],oi=/^([^(]+?)=>/,ai=/^[^(]*\(\s*([^)]*)\)/m,si=/,/,ui=/^\s*(_?)(\S+?)\1\s*$/,li=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,ci=r("$injector");Ze.$$annotate=function(e,t,n){var r;if("function"==typeof e){if(!(r=e.$inject)){if(r=[],e.length){if(t)throw x(n)&&n||(n=e.name||Ke(e)),ci("strictdi",n);t=Ge(e),o(t[1].split(si),function(e){e.replace(ui,function(e,t,n){r.push(n)})})}e.$inject=r}}else D(e)?(t=e.length-1,ue(e[t],"fn"),r=e.slice(0,t)):ue(e,"fn",!0);return r};var pi=r("$animate"),di=function(){this.$get=h},fi=function(){var e=new ri,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,r){function i(e,t,n){var r=!1;return t&&(t=x(t)?t.split(" "):D(t)?t:[],o(t,function(t){t&&(r=!0,e[t]=n)})),r}function a(){o(t,function(t){var n=e.get(t);if(n){var r=Qe(t.attr("class")),i="",a="";o(n,function(e,t){e!==!!r[t]&&(e?i+=(i.length?" ":"")+t:a+=(a.length?" ":"")+t)}),o(t,function(e){i&&Pe(e,i),a&&Ne(e,a)}),e["delete"](t)}}),t.length=0}return{enabled:h,on:h,off:h,pin:h,push:function(o,s,u,l){return l&&l(),u=u||{},u.from&&o.css(u.from),u.to&&o.css(u.to),(u.addClass||u.removeClass)&&(s=u.addClass,l=u.removeClass,u=e.get(o)||{},s=i(u,s,!0),l=i(u,l,!1),(s||l)&&(e.set(o,u),t.push(o),1===t.length&&r.$$postDigest(a))),o=new n,o.complete(),o}}}]},hi=["$provide",function(e){var t=this,n=null,r=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,r){if(n&&"."!==n.charAt(0))throw pi("notcsel",n);var i=n+"-animation";t.$$registeredAnimations[n.substr(1)]=i,e.factory(i,r)},this.customFilter=function(e){return 1===arguments.length&&(r=M(e)?e:null),r},this.classNameFilter=function(e){if(1===arguments.length&&(n=e instanceof RegExp?e:null)&&/[(\s|\/)]ng-animate[(\s|\/)]/.test(n.toString()))throw n=null,pi("nongcls","ng-animate");return n},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var r;e:{for(r=0;r<n.length;r++){var i=n[r];if(1===i.nodeType){r=i;break e}}r=void 0}!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.cancel&&e.cancel()},enter:function(n,r,i,o){return r=r&&pr(r),i=i&&pr(i),r=r||i.parent(),t(n,r,i),e.push(n,"enter",et(o))},move:function(n,r,i,o){return r=r&&pr(r),i=i&&pr(i),r=r||i.parent(),t(n,r,i),e.push(n,"move",et(o))},leave:function(t,n){return e.push(t,"leave",et(n),function(){t.remove()})},addClass:function(t,n,r){return r=et(r),r.addClass=Je(r.addclass,n),e.push(t,"addClass",r)},removeClass:function(t,n,r){return r=et(r),r.removeClass=Je(r.removeClass,n),e.push(t,"removeClass",r)},setClass:function(t,n,r,i){return i=et(i),i.addClass=Je(i.addClass,n),i.removeClass=Je(i.removeClass,r),e.push(t,"setClass",i)},animate:function(t,n,r,i,o){return o=et(o),o.from=o.from?c(o.from,n):n,o.to=o.to?c(o.to,r):r,o.tempClasses=Je(o.tempClasses,i||"ng-inline-animate"),e.push(t,"animate",o)}}}]}],mi=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),1<n.length||e(function(){for(var e=0;e<n.length;e++)n[e]();n=[]})}var n=[];return function(){var e=!1;return t(function(){e=!0}),function(n){e?n():t(n)}}}]},gi=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,r,i){function a(e){this.setHost(e);var t=n();this._doneCallbacks=[],this._tick=function(e){r()?i(e,0,!1):t(e)},this._state=0}return a.chain=function(e,t){function n(){r===e.length?t(!0):e[r](function(e){!1===e?t(!1):(r++,n())})}var r=0;n()},a.all=function(e,t){function n(n){i=i&&n,++r===e.length&&t(i)}var r=0,i=!0;o(e,function(e){e.done(n)})},a.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:h,getPromise:function(){if(!this.promise){var t=this;this.promise=e(function(e,n){t.done(function(t){!1===t?n():e()})})}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},"catch":function(e){return this.getPromise()["catch"](e)},"finally":function(e){return this.getPromise()["finally"](e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick(function(){t._resolve(e)}))},_resolve:function(e){2!==this._state&&(o(this._doneCallbacks,function(t){t(e)}),this._doneCallbacks.length=0,this._state=2)}},a}]},vi=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,r){function i(){return e(function(){o.addClass&&(t.addClass(o.addClass),o.addClass=null),o.removeClass&&(t.removeClass(o.removeClass),o.removeClass=null),o.to&&(t.css(o.to),o.to=null),a||s.complete(),a=!0}),s}var o=r||{};o.$$prepared||(o=L(o)),o.cleanupStyles&&(o.from=o.to=null),o.from&&(t.css(o.from),o.from=null);var a,s=new n;return{start:i,end:i}}}]},$i=r("$compile"),bi=new function(){};ot.$inject=["$provide","$$sanitizeUriProvider"],at.prototype.isFirstChange=function(){return this.previousValue===bi};var yi=/^((?:x|data)[:\-_])/i,wi=/[:\-_]+(.)/g,xi=r("$controller"),ki=/^(\S+)(\s+as\s+([\w$]+))?$/,Ci=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof pr&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},Di="application/json",Ti={"Content-Type":Di+";charset=utf-8"},Mi=/^\[|^\{(?!\{)/,Ei={"[":/]$/,"{":/}$/},Si=/^\)]\}',?\n/,Oi=r("$http"),Ai=Dr.$interpolateMinErr=r("$interpolate");Ai.throwNoconcat=function(e){throw Ai("noconcat",e)},Ai.interr=function(e,t){return Ai("interr",e,t.toString())};var Ni=r("$interval"),Pi=function(){this.$get=function(){function e(e){var t=function(e){t.data=e,t.called=!0};return t.id=e,t}var t=Dr.callbacks,n={};return{createCallback:function(r){r="_"+(t.$$counter++).toString(36);var i="angular.callbacks."+r,o=e(r);return n[i]=t[r]=o,i},wasCalled:function(e){return n[e].called},getResponse:function(e){return n[e].data},removeCallback:function(e){delete t[n[e].id],delete n[e]}}}},Ii=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,ji={http:80,https:443,ftp:21},Vi=r("$location"),Li=/^\s*[\\\/]{2,}/,Ri={$$absUrl:"",$$html5:!1,$$replace:!1,absUrl:Rt("$$absUrl"),url:function(e){if($(e))return this.$$url;var t=Ii.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:Rt("$$protocol"),host:Rt("$$host"),port:Rt("$$port"),path:Ft("$$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)||k(e))e=e.toString(),this.$$search=Z(e);else{if(!y(e))throw Vi("isrcharg");e=L(e,{}),o(e,function(t,n){null==t&&delete e[n]}),this.$$search=e}break;default:$(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:Ft("$$hash",function(e){return null!==e?e.toString():""}),replace:function(){return this.$$replace=!0,this}};o([Lt,Vt,jt],function(e){e.prototype=Object.create(Ri),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==jt||!this.$$html5)throw Vi("nostate");return this.$$state=$(t)?null:t,this.$$urlUpdatedByLocation=!0,this}});var Fi=r("$parse"),Ui={}.constructor.prototype.valueOf,Hi=de();o("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(e){Hi[e]=!0});var _i={n:"\n",f:"\f",r:"\r",t:"\t",v:"\x0B","'":"'",'"':'"'},qi=function(e){this.options=e};qi.prototype={constructor:qi,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;)if(e=this.text.charAt(this.index),'"'===e||"'"===e)this.readString(e);else if(this.isNumber(e)||"."===e&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(e,"(){}[].,;:?"))this.tokens.push({index:this.index,text:e}),this.index++;else if(this.isWhitespace(e))this.index++;else{var t=e+this.peek(),n=t+this.peek(2),r=Hi[t],i=Hi[n];Hi[e]||r||i?(e=i?n:r?t:e,this.tokens.push({index:this.index,text:e,operator:!0}),this.index+=e.length):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){return e=e||1,this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(e){return"0"<=e&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\x0B"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&"z">=e||"A"<=e&&"Z">=e||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),r=t.charCodeAt(0);return 55296<=n&&56319>=n&&56320<=r&&57343>=r?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){throw n=n||this.index,t=b(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n,Fi("lexerr",e,t,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=vr(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(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}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),r=r+o;if(i)"u"===o?(i=this.text.substring(this.index+1,this.index+5),i.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+i+"]"),this.index+=4,n+=String.fromCharCode(parseInt(i,16))):n+=_i[o]||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 Bi=function(e,t){this.lexer=e,this.options=t};Bi.Program="Program",Bi.ExpressionStatement="ExpressionStatement",Bi.AssignmentExpression="AssignmentExpression",Bi.ConditionalExpression="ConditionalExpression",Bi.LogicalExpression="LogicalExpression",Bi.BinaryExpression="BinaryExpression",Bi.UnaryExpression="UnaryExpression",Bi.CallExpression="CallExpression",Bi.MemberExpression="MemberExpression",Bi.Identifier="Identifier",Bi.Literal="Literal",Bi.ArrayExpression="ArrayExpression",Bi.Property="Property",Bi.ObjectExpression="ObjectExpression",Bi.ThisExpression="ThisExpression",Bi.LocalsExpression="LocalsExpression",Bi.NGValueParameter="NGValueParameter",Bi.prototype={ast:function(e){return this.text=e,this.tokens=this.lexer.lex(e),e=this.program(),0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program:function(){for(var e=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:Bi.Program,body:e}},expressionStatement:function(){return{type:Bi.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!Gt(e))throw Fi("lval");e={type:Bi.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:Bi.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:Bi.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:Bi.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:Bi.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:Bi.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:Bi.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:Bi.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:Bi.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.selfReferential.hasOwnProperty(this.peek().text)?e=L(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:Bi.Literal,value:this.options.literals[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:Bi.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:Bi.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:Bi.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){e=[e];for(var t={type:Bi.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return t},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do e.push(this.filterChain());while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:Bi.Identifier,name:e.text}},constant:function(){return{type:Bi.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:Bi.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:Bi.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:Bi.ObjectExpression,properties:t}},throwError:function(e,t){throw Fi("syntax",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw Fi("ueoe",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 Fi("ueoe",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){e=this.tokens[e];var o=e.text;if(o===t||o===n||o===r||o===i||!(t||n||r||i))return e}return!1},expect:function(e,t,n,r){return!!(e=this.peek(e,t,n,r))&&(this.tokens.shift(),e)},selfReferential:{"this":{type:Bi.ThisExpression},$locals:{type:Bi.LocalsExpression}}};var zi=2;Zt.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Wt(e,t.$filter);var n,r="";return this.stage="assign",(n=Kt(e))&&(this.state.computing="assign",r=this.nextId(),this.recurse(n,r),this.return_(r),r="fn.assign="+this.generateFunction("assign","s,v,l")),n=Yt(e.body),t.stage="inputs",o(n,function(e,n){var r="fn"+n;t.state[r]={vars:[],body:[],own:{}},t.state.computing=r;var i=t.nextId();t.recurse(e,i),t.return_(i),t.state.inputs.push({name:r,isPure:e.isPure}),e.watchId=n}),this.state.computing="fn",this.stage="main",this.recurse(e),e='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+r+this.watchFns()+"return fn;",e=new Function("$filter","getStringValue","ifDefined","plus",e)(this.$filter,_t,qt,Bt),this.state=this.stage=void 0,e},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return o(t,function(t){e.push("var "+t.name+"="+n.generateFunction(t.name,"s")),t.isPure&&e.push(t.name,".isPure="+JSON.stringify(t.isPure)+";")}),t.length&&e.push("fn.inputs=["+t.map(function(e){return e.name}).join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return o(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,i,a){var s,u,l,c,p,d=this;if(r=r||h,!a&&b(e.watchId))t=t||this.nextId(),this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,r,i,!0));else switch(e.type){case Bi.Program:o(e.body,function(t,n){d.recurse(t.expression,void 0,void 0,function(e){u=e}),n!==e.body.length-1?d.current().body.push(u,";"):d.return_(u)});break;case Bi.Literal:c=this.escape(e.value),this.assign(t,c),r(t||c);break;case Bi.UnaryExpression:this.recurse(e.argument,void 0,void 0,function(e){u=e}),c=e.operator+"("+this.ifDefined(u,0)+")",this.assign(t,c),r(c);break;case Bi.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}),c="+"===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,c),r(c);break;case Bi.LogicalExpression:t=t||this.nextId(),d.recurse(e.left,t),d.if_("&&"===e.operator?t:d.not(t),d.lazyRecurse(e.right,t)),r(t);break;case Bi.ConditionalExpression:t=t||this.nextId(),d.recurse(e.test,t),d.if_(t,d.lazyRecurse(e.alternate,t),d.lazyRecurse(e.consequent,t)),r(t);break;case Bi.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===d.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),d.if_("inputs"===d.stage||d.not(d.getHasOwnProperty("l",e.name)),function(){d.if_("inputs"===d.stage||"s",function(){i&&1!==i&&d.if_(d.isNull(d.nonComputedMember("s",e.name)),d.lazyAssign(d.nonComputedMember("s",e.name),"{}")),d.assign(t,d.nonComputedMember("s",e.name))})},t&&d.lazyAssign(t,d.nonComputedMember("l",e.name))),r(t);break;case Bi.MemberExpression:s=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),d.recurse(e.object,s,void 0,function(){d.if_(d.notNull(s),function(){e.computed?(u=d.nextId(),d.recurse(e.property,u),d.getStringValue(u),i&&1!==i&&d.if_(d.not(d.computedMember(s,u)),d.lazyAssign(d.computedMember(s,u),"{}")),c=d.computedMember(s,u),d.assign(t,c),n&&(n.computed=!0,n.name=u)):(i&&1!==i&&d.if_(d.isNull(d.nonComputedMember(s,e.property.name)),d.lazyAssign(d.nonComputedMember(s,e.property.name),"{}")),c=d.nonComputedMember(s,e.property.name),d.assign(t,c),n&&(n.computed=!1,n.name=e.property.name))},function(){d.assign(t,"undefined")}),r(t)},!!i);break;case Bi.CallExpression:t=t||this.nextId(),e.filter?(u=d.filter(e.callee.name),l=[],o(e.arguments,function(e){var t=d.nextId();d.recurse(e,t),l.push(t)}),c=u+"("+l.join(",")+")",d.assign(t,c),r(t)):(u=d.nextId(),s={},l=[],d.recurse(e.callee,u,s,function(){d.if_(d.notNull(u),function(){o(e.arguments,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c=s.name?d.member(s.context,s.name,s.computed)+"("+l.join(",")+")":u+"("+l.join(",")+")",d.assign(t,c)},function(){d.assign(t,"undefined")}),r(t)}));break;case Bi.AssignmentExpression:u=this.nextId(),s={},this.recurse(e.left,void 0,s,function(){d.if_(d.notNull(s.context),function(){d.recurse(e.right,u),c=d.member(s.context,s.name,s.computed)+e.operator+u,d.assign(t,c),r(t||c)})},1);break;case Bi.ArrayExpression:l=[],o(e.elements,function(t){d.recurse(t,e.constant?void 0:d.nextId(),void 0,function(e){l.push(e)})}),c="["+l.join(",")+"]",this.assign(t,c),r(t||c);break;case Bi.ObjectExpression:l=[],p=!1,o(e.properties,function(e){e.computed&&(p=!0)}),p?(t=t||this.nextId(),this.assign(t,"{}"),o(e.properties,function(e){e.computed?(s=d.nextId(),d.recurse(e.key,s)):s=e.key.type===Bi.Identifier?e.key.name:""+e.key.value,u=d.nextId(),d.recurse(e.value,u),d.assign(d.member(t,s,e.computed),u)})):(o(e.properties,function(t){d.recurse(t.value,e.constant?void 0:d.nextId(),void 0,function(e){l.push(d.escape(t.key.type===Bi.Identifier?t.key.name:""+t.key.value)+":"+e)})}),c="{"+l.join(",")+"}",this.assign(t,c)),r(t||c);break;case Bi.ThisExpression:this.assign(t,"s"),r(t||"s");break;case Bi.LocalsExpression:this.assign(t,"l"),r(t||"l");break;case Bi.NGValueParameter:this.assign(t,"v"),r(t||"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){if(e)return this.current().body.push(e,"=",t,";"),e},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(!0===e)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+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null";
},nonComputedMember:function(e,t){var n=/[^$_a-zA-Z0-9]/g;return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?e+"."+t:e+'["'+t.replace(n,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},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(k(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if("undefined"==typeof e)return"undefined";throw Fi("esc")},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]}},Xt.prototype={compile:function(e){var t=this;Wt(e,t.$filter);var n,r;(n=Kt(e))&&(r=this.recurse(n)),n=Yt(e.body);var i;n&&(i=[],o(n,function(e,n){var r=t.recurse(e);r.isPure=e.isPure,e.input=r,i.push(r),e.watchId=n}));var a=[];return o(e.body,function(e){a.push(t.recurse(e.expression))}),e=0===e.body.length?h:1===e.body.length?a[0]:function(e,t){var n;return o(a,function(r){n=r(e,t)}),n},r&&(e.assign=function(e,t,n){return r(e,n,t)}),i&&(e.inputs=i),e},recurse:function(e,t,n){var r,i,a,s=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case Bi.Literal:return this.value(e.value,t);case Bi.UnaryExpression:return i=this.recurse(e.argument),this["unary"+e.operator](i,t);case Bi.BinaryExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case Bi.LogicalExpression:return r=this.recurse(e.left),i=this.recurse(e.right),this["binary"+e.operator](r,i,t);case Bi.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case Bi.Identifier:return s.identifier(e.name,t,n);case Bi.MemberExpression:return r=this.recurse(e.object,!1,!!n),e.computed||(i=e.property.name),e.computed&&(i=this.recurse(e.property)),e.computed?this.computedMember(r,i,t,n):this.nonComputedMember(r,i,t,n);case Bi.CallExpression:return a=[],o(e.arguments,function(e){a.push(s.recurse(e))}),e.filter&&(i=this.$filter(e.callee.name)),e.filter||(i=this.recurse(e.callee,!0)),e.filter?function(e,n,r,o){for(var s=[],u=0;u<a.length;++u)s.push(a[u](e,n,r,o));return e=i.apply(void 0,s,o),t?{context:void 0,name:void 0,value:e}:e}:function(e,n,r,o){var s,u=i(e,n,r,o);if(null!=u.value){s=[];for(var l=0;l<a.length;++l)s.push(a[l](e,n,r,o));s=u.value.apply(u.context,s)}return t?{value:s}:s};case Bi.AssignmentExpression:return r=this.recurse(e.left,!0,1),i=this.recurse(e.right),function(e,n,o,a){var s=r(e,n,o,a);return e=i(e,n,o,a),s.context[s.name]=e,t?{value:e}:e};case Bi.ArrayExpression:return a=[],o(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 Bi.ObjectExpression:return a=[],o(e.properties,function(e){e.computed?a.push({key:s.recurse(e.key),computed:!0,value:s.recurse(e.value)}):a.push({key:e.key.type===Bi.Identifier?e.key.name:""+e.key.value,computed:!1,value:s.recurse(e.value)})}),function(e,n,r,i){for(var o={},s=0;s<a.length;++s)a[s].computed?o[a[s].key(e,n,r,i)]=a[s].value(e,n,r,i):o[a[s].key]=a[s].value(e,n,r,i);return t?{value:o}:o};case Bi.ThisExpression:return function(e){return t?{value:e}:e};case Bi.LocalsExpression:return function(e,n){return t?{value:n}:n};case Bi.NGValueParameter:return function(e,n,r){return t?{value:r}:r}}},"unary+":function(e,t){return function(n,r,i,o){return n=e(n,r,i,o),n=b(n)?+n:0,t?{value:n}:n}},"unary-":function(e,t){return function(n,r,i,o){return n=e(n,r,i,o),n=b(n)?-n:-0,t?{value:n}:n}},"unary!":function(e,t){return function(n,r,i,o){return n=!e(n,r,i,o),t?{value:n}:n}},"binary+":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a);return r=t(r,i,o,a),s=Bt(s,r),n?{value:s}:s}},"binary-":function(e,t,n){return function(r,i,o,a){var s=e(r,i,o,a);return r=t(r,i,o,a),s=(b(s)?s:0)-(b(r)?r:0),n?{value:s}:s}},"binary*":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)*t(r,i,o,a),n?{value:r}:r}},"binary/":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)/t(r,i,o,a),n?{value:r}:r}},"binary%":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)%t(r,i,o,a),n?{value:r}:r}},"binary===":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)===t(r,i,o,a),n?{value:r}:r}},"binary!==":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)!==t(r,i,o,a),n?{value:r}:r}},"binary==":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)==t(r,i,o,a),n?{value:r}:r}},"binary!=":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)!=t(r,i,o,a),n?{value:r}:r}},"binary<":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)<t(r,i,o,a),n?{value:r}:r}},"binary>":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)>t(r,i,o,a),n?{value:r}:r}},"binary<=":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)<=t(r,i,o,a),n?{value:r}:r}},"binary>=":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)>=t(r,i,o,a),n?{value:r}:r}},"binary&&":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)&&t(r,i,o,a),n?{value:r}:r}},"binary||":function(e,t,n){return function(r,i,o,a){return r=e(r,i,o,a)||t(r,i,o,a),n?{value:r}:r}},"ternary?:":function(e,t,n,r){return function(i,o,a,s){return i=e(i,o,a,s)?t(i,o,a,s):n(i,o,a,s),r?{value:i}:i}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(r,i,o,a){return r=i&&e in i?i:r,n&&1!==n&&r&&null==r[e]&&(r[e]={}),i=r?r[e]:void 0,t?{context:r,name:e,value:i}:i}},computedMember:function(e,t,n,r){return function(i,o,a,s){var u,l,c=e(i,o,a,s);return null!=c&&(u=t(i,o,a,s),u+="",r&&1!==r&&c&&!c[u]&&(c[u]={}),l=c[u]),n?{context:c,name:u,value:l}:l}},nonComputedMember:function(e,t,n,r){return function(i,o,a,s){return i=e(i,o,a,s),r&&1!==r&&i&&null==i[t]&&(i[t]={}),o=null!=i?i[t]:void 0,n?{context:i,name:t,value:o}:o}},inputs:function(e,t){return function(n,r,i,o){return o?o[t]:e(n,r,i)}}},Jt.prototype={constructor:Jt,parse:function(e){e=this.getAst(e);var t=this.astCompiler.compile(e.ast),n=e.ast;return t.literal=0===n.body.length||1===n.body.length&&(n.body[0].expression.type===Bi.Literal||n.body[0].expression.type===Bi.ArrayExpression||n.body[0].expression.type===Bi.ObjectExpression),t.constant=e.ast.constant,t.oneTime=e.oneTime,t},getAst:function(e){var t=!1;return e=e.trim(),":"===e.charAt(0)&&":"===e.charAt(1)&&(t=!0,e=e.substring(2)),{ast:this.ast.ast(e),oneTime:t}}};var Wi,Yi=r("$sce"),Gi={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Ki=/_([a-z])/g,Zi=r("$templateRequest"),Xi=r("$timeout"),Ji=e.document.createElement("a"),Qi=gn(e.location.href);yn.$inject=["$document"],xn.$inject=["$provide"];var eo=22,to=".",no="0";Mn.$inject=["$locale"],En.$inject=["$locale"];var ro={yyyy:Pn("FullYear",4,0,!1,!0),yy:Pn("FullYear",2,0,!0,!0),y:Pn("FullYear",1,0,!1,!0),MMMM:In("Month"),MMM:In("Month",!0),MM:Pn("Month",2,1),M:Pn("Month",1,1),LLLL:In("Month",!1,!0),dd:Pn("Date",2),d:Pn("Date",1),HH:Pn("Hours",2),H:Pn("Hours",1),hh:Pn("Hours",2,-12),h:Pn("Hours",1,-12),mm:Pn("Minutes",2),m:Pn("Minutes",1),ss:Pn("Seconds",2),s:Pn("Seconds",1),sss:Pn("Milliseconds",3),EEEE:In("Day"),EEE:In("Day",!0),a:function(e,t){return 12>e.getHours()?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){return e=-1*n,e=(0<=e?"+":"")+(Nn(Math[0<e?"floor":"ceil"](e/60),2)+Nn(Math.abs(e%60),2))},ww:Vn(2),w:Vn(1),G:Ln,GG:Ln,GGG:Ln,GGGG:function(e,t){return 0>=e.getFullYear()?t.ERANAMES[0]:t.ERANAMES[1]}},io=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,oo=/^-?\d+$/;Rn.$inject=["$locale"];var ao=g(vr),so=g($r);_n.$inject=["$parse"];var uo=g({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===xr.call(t.prop("href"))?"xlink:href":"href";t.on("click",function(e){t.attr(n)||e.preventDefault()})}}}}),lo={};o(Qr,function(e,t){function n(e,n,i){e.$watch(i[r],function(e){i.$set(t,!!e)})}if("multiple"!==e){var r=st("ng-"+t),i=n;"checked"===e&&(i=function(e,t,i){i.ngModel!==i[r]&&n(e,t,i)}),lo[r]=function(){return{restrict:"A",priority:100,link:i}}}}),o(ti,function(e,t){lo[t]=function(){return{priority:100,link:function(e,n,r){return"ngPattern"===t&&"/"===r.ngPattern.charAt(0)&&(n=r.ngPattern.match(mr))?void r.$set("ngPattern",new RegExp(n[1],n[2])):void e.$watch(r[t],function(e){r.$set(t,e)})}}}}),o(["src","srcset","href"],function(e){var t=st("ng-"+e);lo[t]=function(){return{priority:99,link:function(n,r,i){var o=e,a=e;"href"===e&&"[object SVGAnimatedString]"===xr.call(r.prop("href"))&&(a="xlinkHref",i.$attr[a]="xlink:href",o=null),i.$observe(t,function(t){t?(i.$set(a,t),cr&&o&&r.prop(o,i[a])):"href"===e&&i.$set(a,null)})}}}});var co={$addControl:h,$$renameControl:function(e,t){e.$name=t},$removeControl:h,$setValidity:h,$setDirty:h,$setPristine:h,$setSubmitted:h,$$setSubmitted:h};Bn.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Bn.prototype={$rollbackViewValue:function(){o(this.$$controls,function(e){e.$rollbackViewValue()})},$commitViewValue:function(){o(this.$$controls,function(e){e.$commitViewValue()})},$addControl:function(e){le(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],o(this.$pending,function(t,n){this.$setValidity(n,null,e)},this),o(this.$error,function(t,n){this.$setValidity(n,null,e)},this),o(this.$$success,function(t,n){this.$setValidity(n,null,e)},this),V(this.$$controls,e),e.$$parentForm=co},$setDirty:function(){this.$$animate.removeClass(this.$$element,Yo),this.$$animate.addClass(this.$$element,Go),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Yo,Go+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,o(this.$$controls,function(e){e.$setPristine()})},$setUntouched:function(){o(this.$$controls,function(e){e.$setUntouched()})},$setSubmitted:function(){for(var e=this;e.$$parentForm&&e.$$parentForm!==co;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,o(this.$$controls,function(e){e.$$setSubmitted&&e.$$setSubmitted()})}},Wn({clazz:Bn,set:function(e,t,n){var r=e[t];r?-1===r.indexOf(n)&&r.push(n):e[t]=[n]},unset:function(e,t,n){var r=e[t];r&&(V(r,n),0===r.length&&delete e[t])}});var po=function(e){return["$timeout","$parse",function(t,n){function r(e){return""===e?n('this[""]').assign:n(e).assign||h}return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:Bn,compile:function(n,i){n.addClass(Yo).addClass(zo);var o=i.name?"name":!(!e||!i.ngForm)&&"ngForm";return{pre:function(e,n,i,a){var s=a[0];if(!("action"in i)){var u=function(t){e.$apply(function(){s.$commitViewValue(),s.$setSubmitted()}),t.preventDefault()};n[0].addEventListener("submit",u),n.on("$destroy",function(){t(function(){n[0].removeEventListener("submit",u)},0,!1)})}(a[1]||s.$$parentForm).$addControl(s);var l=o?r(s.$name):h;o&&(l(e,s),i.$observe(o,function(t){s.$name!==t&&(l(e,void 0),s.$$parentForm.$$renameControl(s,t),(l=r(s.$name))(e,s))})),n.on("$destroy",function(){s.$$parentForm.$removeControl(s),l(e,void 0),c(s,co)})}}}}}]},fo=po(),ho=po(!0),mo=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,go=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:\/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,vo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+\/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,$o=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,bo=/^(\d{4,})-(\d{2})-(\d{2})$/,yo=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,wo=/^(\d{4,})-W(\d\d)$/,xo=/^(\d{4,})-(\d\d)$/,ko=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,Co=de();o(["date","datetime-local","month","time","week"],function(e){Co[e]=!0});var Do={text:function(e,t,n,r,i,o){Kn(e,t,n,r,i,o),Gn(r)},date:Xn("date",bo,Zn(bo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Xn("datetimelocal",yo,Zn(yo,"yyyy MM dd HH mm ss sss".split(" ")),"yyyy-MM-ddTHH:mm:ss.sss"),time:Xn("time",ko,Zn(ko,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Xn("week",wo,function(e,t){if(C(e))return e;if(x(e)){wo.lastIndex=0;var n=wo.exec(e);if(n){var r=+n[1],i=+n[2],o=n=0,a=0,s=0,u=jn(r),i=7*(i-1);return t&&(n=t.getHours(),o=t.getMinutes(),a=t.getSeconds(),s=t.getMilliseconds()),new Date(r,0,u.getDate()+i,n,o,a,s)}}return NaN},"yyyy-Www"),month:Xn("month",xo,Zn(xo,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,r,i,o){Jn(e,t,n,r,"number"),Qn(r),Kn(e,t,n,r,i,o);var a,s;if((b(n.min)||n.ngMin)&&(r.$validators.min=function(e,t){return r.$isEmpty(t)||$(a)||t>=a},n.$observe("min",function(e){a=er(e),r.$validate()})),(b(n.max)||n.ngMax)&&(r.$validators.max=function(e,t){return r.$isEmpty(t)||$(s)||t<=s},n.$observe("max",function(e){s=er(e),r.$validate()})),b(n.step)||n.ngStep){var u;r.$validators.step=function(e,t){return r.$isEmpty(t)||$(u)||nr(t,a||0,u)},n.$observe("step",function(e){u=er(e),r.$validate()})}},url:function(e,t,n,r,i,o){Kn(e,t,n,r,i,o),Gn(r),r.$validators.url=function(e,t){var n=e||t;return r.$isEmpty(n)||go.test(n)}},email:function(e,t,n,r,i,o){Kn(e,t,n,r,i,o),Gn(r),r.$validators.email=function(e,t){var n=e||t;return r.$isEmpty(n)||vo.test(n)}},radio:function(e,t,n,r){var i=!n.ngTrim||"false"!==Sr(n.ngTrim);$(n.name)&&t.attr("name",++Tr),t.on("change",function(e){var o;t[0].checked&&(o=n.value,i&&(o=Sr(o)),r.$setViewValue(o,e&&e.type))}),r.$render=function(){var e=n.value;i&&(e=Sr(e)),t[0].checked=e===r.$viewValue},n.$observe("value",r.$render)},range:function(e,t,n,r,i,o){function a(e,r){t.attr(e,n[e]),n.$observe(e,r)}function s(e){p=er(e),Mr(r.$modelValue)||(c?(e=t.val(),p>e&&(e=p,t.val(e)),r.$setViewValue(e)):r.$validate())}function u(e){d=er(e),Mr(r.$modelValue)||(c?(e=t.val(),d<e&&(t.val(d),e=d<p?p:d),r.$setViewValue(e)):r.$validate())}function l(e){f=er(e),Mr(r.$modelValue)||(c&&r.$viewValue!==t.val()?r.$setViewValue(t.val()):r.$validate())}Jn(e,t,n,r,"range"),Qn(r),Kn(e,t,n,r,i,o);var c=r.$$hasNativeValidators&&"range"===t[0].type,p=c?0:void 0,d=c?100:void 0,f=c?1:void 0,h=t[0].validity;e=b(n.min),i=b(n.max),o=b(n.step);var m=r.$render;r.$render=c&&b(h.rangeUnderflow)&&b(h.rangeOverflow)?function(){m(),r.$setViewValue(t.val())}:m,e&&(r.$validators.min=c?function(){return!0}:function(e,t){return r.$isEmpty(t)||$(p)||t>=p},a("min",s)),i&&(r.$validators.max=c?function(){return!0}:function(e,t){return r.$isEmpty(t)||$(d)||t<=d},a("max",u)),o&&(r.$validators.step=c?function(){return!h.stepMismatch}:function(e,t){return r.$isEmpty(t)||$(f)||nr(t,p||0,f)},a("step",l))},checkbox:function(e,t,n,r,i,o,a,s){var u=rr(s,e,"ngTrueValue",n.ngTrueValue,!0),l=rr(s,e,"ngFalseValue",n.ngFalseValue,!1);t.on("change",function(e){r.$setViewValue(t[0].checked,e&&e.type)}),r.$render=function(){t[0].checked=r.$viewValue},r.$isEmpty=function(e){return!1===e},r.$formatters.push(function(e){return F(e,u)}),r.$parsers.push(function(e){return e?u:l})},hidden:h,button:h,submit:h,reset:h,file:h},To=["$browser","$sniffer","$filter","$parse",function(e,t,n,r){return{restrict:"E",require:["?ngModel"],link:{pre:function(i,o,a,s){s[0]&&(Do[vr(a.type)]||Do.text)(i,o,a,s[0],t,e,n,r)}}}}],Mo=/^(true|false|\d+)$/,Eo=function(){function e(e,t,n){var r=b(n)?n:9===cr?"":null;e.prop("value",r),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return Mo.test(n.ngValue)?function(t,n,r){t=t.$eval(r.ngValue),e(n,r,t)}:function(t,n,r){t.$watch(r.ngValue,function(t){e(n,r,t)})}}}},So=["$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=fe(e)})}}}}],Oo=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,r,i){n=e(r.attr(i.$attr.ngBindTemplate)),t.$$addBindingInfo(r,n.expressions),r=r[0],i.$observe("ngBindTemplate",function(e){r.textContent=$(e)?"":e})}}}}],Ao=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(r,i){var o=t(i.ngBindHtml),a=t(i.ngBindHtml,function(t){return e.valueOf(t)});return n.$$addBindingClass(r),function(t,r,i){n.$$addBindingInfo(r,i.ngBindHtml),t.$watch(a,function(){var n=o(t);r.html(e.getTrustedHtml(n)||"")})}}}}],No=g({restrict:"A",require:"ngModel",link:function(e,t,n,r){r.$viewChangeListeners.push(function(){e.$eval(n.ngChange)})}}),Po=ir("",!0),Io=ir("Odd",0),jo=ir("Even",1),Vo=qn({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),Lo=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Ro={},Fo={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(e){var t=st("ng-"+e);Ro[t]=["$parse","$rootScope",function(n,r){return{restrict:"A",compile:function(i,o){var a=n(o[t]);return function(t,n){n.on(e,function(n){var i=function(){a(t,{$event:n})};Fo[e]&&r.$$phase?t.$evalAsync(i):t.$apply(i)})}}}}]});var Uo=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,r,i,o,a){var s,u,l;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)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),s&&(l=pe(s.clone),e.leave(l).done(function(e){!1!==e&&(l=null)}),s=null))})}}}],Ho=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Dr.noop,compile:function(r,i){var o=i.ngInclude||i.src,a=i.onload||"",s=i.autoscroll;return function(r,i,u,l,c){var p,d,f,h=0,m=function(){d&&(d.remove(),d=null),p&&(p.$destroy(),p=null),f&&(n.leave(f).done(function(e){!1!==e&&(d=null)}),d=f,f=null)};r.$watch(o,function(o){var u=function(e){!1===e||!b(s)||s&&!r.$eval(s)||t()},d=++h;o?(e(o,!0).then(function(e){if(!r.$$destroyed&&d===h){var t=r.$new();l.template=e,e=c(t,function(e){m(),n.enter(e,null,i).done(u)}),p=t,f=e,p.$emit("$includeContentLoaded",o),r.$eval(a)}},function(){r.$$destroyed||d!==h||(m(),r.$emit("$includeContentError",o))}),r.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],_o=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,r,i,o){xr.call(r[0]).match(/SVG/)?(r.empty(),t(we(o.template,e.document).childNodes)(n,function(e){r.append(e)},{futureParentElement:r})):(r.html(o.template),t(r.contents())(n))}}}],qo=qn({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),Bo=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,r){var i=n.ngList||", ",a="false"!==n.ngTrim,s=a?Sr(i):i;r.$parsers.push(function(e){if(!$(e)){var t=[];return e&&o(e.split(s),function(e){e&&t.push(a?Sr(e):e)}),t}}),r.$formatters.push(function(e){if(D(e))return e.join(i)}),r.$isEmpty=function(e){return!e||!e.length}}}},zo="ng-valid",Wo="ng-invalid",Yo="ng-pristine",Go="ng-dirty",Ko=r("ngModel");or.$inject="$scope $exceptionHandler $attrs $element $parse $animate $timeout $q $interpolate".split(" "),or.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return M(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){M(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw Ko("nonassign",this.$$attr.ngModel,G(this.$$element))},$render:h,$isEmpty:function(e){return $(e)||""===e||null===e||e!==e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Go),this.$$animate.addClass(this.$$element,Yo)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Yo),this.$$animate.addClass(this.$$element,Go),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!Mr(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,r=this.$modelValue,i=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,function(e){i||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==r&&o.$$writeModelToScope())})}},$$runValidators:function(e,t,n){function r(){var n=!0;return o(l.$validators,function(r,i){var o=Boolean(r(e,t));n=n&&o,a(i,o)}),!!n||(o(l.$asyncValidators,function(e,t){a(t,null)}),!1)}function i(){var n=[],r=!0;o(l.$asyncValidators,function(i,o){var s=i(e,t);if(!s||!M(s.then))throw Ko("nopromise",s);a(o,void 0),n.push(s.then(function(){a(o,!0)},function(){r=!1,a(o,!1)}))}),n.length?l.$$q.all(n).then(function(){s(r)},h):s(!0)}function a(e,t){u===l.$$currentValidationRunId&&l.$setValidity(e,t)}function s(e){u===l.$$currentValidationRunId&&n(e)}this.$$currentValidationRunId++;var u=this.$$currentValidationRunId,l=this;(function(){var e=l.$$parserName;return $(l.$$parserValid)?(a(e,null),!0):(l.$$parserValid||(o(l.$validators,function(e,t){a(t,null)}),o(l.$asyncValidators,function(e,t){a(t,null)})),a(e,l.$$parserValid),l.$$parserValid)})()&&r()?i():s(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){var e=this.$$lastCommittedViewValue,t=this;if(this.$$parserValid=!$(e)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var n=0;n<this.$parsers.length;n++)if(e=this.$parsers[n](e),$(e)){this.$$parserValid=!1;break}Mr(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var r=this.$modelValue,i=this.$options.getOption("allowInvalid");this.$$rawModelValue=e,i&&(this.$modelValue=e,t.$modelValue!==r&&t.$$writeModelToScope()),this.$$runValidators(e,this.$$lastCommittedViewValue,function(n){i||(t.$modelValue=n?e:void 0,t.$modelValue!==r&&t.$$writeModelToScope())})},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),o(this.$viewChangeListeners,function(e){try{e()}catch(t){this.$$exceptionHandler(t)}},this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");k(t[e])?t=t[e]:k(t["default"])&&-1===this.$options.getOption("updateOn").indexOf(e)?t=t["default"]:k(t["*"])&&(t=t["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;0<t?this.$$pendingDebounce=this.$$timeout(function(){n.$commitViewValue()},t):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply(function(){n.$commitViewValue()})},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e),this.$$setUpdateOnEvents()},$processModelValue:function(){var e=this.$$format();this.$viewValue!==e&&(this.$$updateEmptyClasses(e),this.$viewValue=this.$$lastCommittedViewValue=e,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,h))},$$format:function(){for(var e=this.$formatters,t=e.length,n=this.$modelValue;t--;)n=e[t](n);return n},$$setModelValue:function(e){this.$modelValue=this.$$rawModelValue=e,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),(this.$$updateEvents=this.$options.getOption("updateOn"))&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(e){this.$$debounceViewValueCommit(e&&e.type)}},Wn({clazz:or,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var Zo,Xo=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:or,priority:1,compile:function(t){return t.addClass(Yo).addClass("ng-untouched").addClass(zo),{pre:function(e,t,n,r){var i=r[0];t=r[1]||i.$$parentForm,(r=r[2])&&(i.$options=r.$options),i.$$initGetterSetters(),t.$addControl(i),n.$observe("name",function(e){i.$name!==e&&i.$$parentForm.$$renameControl(i,e)}),e.$on("$destroy",function(){i.$$parentForm.$removeControl(i)})},post:function(t,n,r,i){function o(){a.$setTouched()}var a=i[0];a.$$setUpdateOnEvents(),n.on("blur",function(){a.$touched||(e.$$phase?t.$evalAsync(o):t.$apply(o))})}}}}}],Jo=/(\s+|^)default(\s+|$)/;sr.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return e=c({},e),o(e,function(n,r){"$inherit"===n?"*"===r?t=!0:(e[r]=this.$$options[r],"updateOn"===r&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===r&&(e.updateOnDefault=!1,e[r]=Sr(n.replace(Jo,function(){return e.updateOnDefault=!0," "})))},this),t&&(delete e["*"],ur(e,this.$$options)),ur(e,Zo.$$options),new sr(e)}},Zo=new sr({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Qo=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:Zo,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},ea=qn({terminal:!0,priority:1e3}),ta=r("ngOptions"),na=/^\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]+?))?$/,ra=["$compile","$document","$parse",function(t,n,r){function a(e,t,n){function o(e,t,n,r,i){this.selectValue=e,this.viewValue=t,this.label=n,this.group=r,this.disabled=i}function a(e){var t;if(!l&&i(e))t=e;else{t=[];for(var n in e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n)}return t}var s=e.match(na);if(!s)throw ta("iexp",e,G(t));var u=s[5]||s[7],l=s[6];e=/ as /.test(s[0])&&s[1];var c=s[9];t=r(s[2]?s[1]:u);var p=e&&r(e)||t,d=c&&r(c),f=c?function(e,t){return d(n,t)}:function(e){return We(e)},h=function(e,t){return f(e,y(e,t))},m=r(s[2]||s[1]),g=r(s[3]||""),v=r(s[4]||""),$=r(s[8]),b={},y=l?function(e,t){return b[l]=t,b[u]=e,b}:function(e){return b[u]=e,b};return{trackBy:c,getTrackByValue:h,getWatchables:r($,function(e){var t=[];e=e||[];for(var r=a(e),i=r.length,o=0;o<i;o++){var u=e===r?o:r[o],l=e[u],u=y(l,u),l=f(l,u);t.push(l),(s[2]||s[1])&&(l=m(n,u),t.push(l)),s[4]&&(u=v(n,u),t.push(u))}return t}),getOptions:function(){for(var e=[],t={},r=$(n)||[],i=a(r),s=i.length,u=0;u<s;u++){var l=r===i?u:i[u],d=y(r[l],l),b=p(n,d),l=f(b,d),w=m(n,d),x=g(n,d),d=v(n,d),b=new o(l,b,w,x,d);e.push(b),t[l]=b}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[h(e)]},getViewValueFromOption:function(e){return c?L(e.viewValue):e.viewValue}}}}}var s=e.document.createElement("option"),u=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,r){r[0].registerOption=h},post:function(e,r,i,l){function c(e){var t=(e=v.getOptionFromViewValue(e))&&e.element;return t&&!t.selected&&(t.selected=!0),e}function p(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}var d=l[0],f=l[1],h=i.multiple;l=0;for(var m=r.children(),g=m.length;l<g;l++)if(""===m[l].value){d.hasEmptyOption=!0,d.emptyOption=m.eq(l);break}r.empty(),l=!!d.emptyOption,pr(s.cloneNode(!1)).val("?");var v,$=a(i.ngOptions,r,e),y=n[0].createDocumentFragment();d.generateUnknownOptionValue=function(e){return"?"},h?(d.writeValue=function(e){if(v){var t=e&&e.map(c)||[];v.items.forEach(function(e){e.element.selected&&-1===Array.prototype.indexOf.call(t,e)&&(e.element.selected=!1)})}},d.readValue=function(){var e=r.val()||[],t=[];return o(e,function(e){(e=v.selectValueMap[e])&&!e.disabled&&t.push(v.getViewValueFromOption(e))}),t},$.trackBy&&e.$watchCollection(function(){if(D(f.$viewValue))return f.$viewValue.map(function(e){return $.getTrackByValue(e)})},function(){f.$render()})):(d.writeValue=function(e){if(v){var t=r[0].options[r[0].selectedIndex],n=v.getOptionFromViewValue(e);t&&t.removeAttribute("selected"),n?(r[0].value!==n.selectValue&&(d.removeUnknownOption(),r[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):d.selectUnknownOrEmptyOption(e)}},d.readValue=function(){var e=v.selectValueMap[r.val()];return e&&!e.disabled?(d.unselectEmptyOption(),d.removeUnknownOption(),v.getViewValueFromOption(e)):null},$.trackBy&&e.$watch(function(){return $.getTrackByValue(f.$viewValue)},function(){f.$render()})),l&&(t(d.emptyOption)(e),r.prepend(d.emptyOption),8===d.emptyOption[0].nodeType?(d.hasEmptyOption=!1,d.registerOption=function(e,t){""===t.val()&&(d.hasEmptyOption=!0,d.emptyOption=t,d.emptyOption.removeClass("ng-scope"),f.$render(),t.on("$destroy",function(){var e=d.$isEmptyOptionSelected();d.hasEmptyOption=!1,d.emptyOption=void 0,e&&f.$render()}))}):d.emptyOption.removeClass("ng-scope")),e.$watchCollection($.getWatchables,function(){var e=v&&d.readValue();if(v)for(var t=v.items.length-1;0<=t;t--){var n=v.items[t];Re(b(n.group)?n.element.parentNode:n.element)}v=$.getOptions();var i={};v.items.forEach(function(e){var t;if(b(e.group)){t=i[e.group],t||(t=u.cloneNode(!1),y.appendChild(t),t.label=null===e.group?"null":e.group,i[e.group]=t);var n=s.cloneNode(!1);t.appendChild(n),p(e,n)}else t=s.cloneNode(!1),y.appendChild(t),p(e,t)}),r[0].appendChild(y),f.$render(),f.$isEmpty(e)||(t=d.readValue(),($.trackBy||h?F(e,t):e===t)||(f.$setViewValue(t),f.$render()))})}}}}],ia=["$locale","$interpolate","$log",function(e,t,n){var r=/{}/g,i=/^when(Minus)?(.+)$/;return{link:function(a,s,u){function l(e){s.text(e||"")}var c,p=u.count,d=u.$attr.when&&s.attr(u.$attr.when),f=u.offset||0,m=a.$eval(d)||{},g={},v=t.startSymbol(),b=t.endSymbol(),y=v+p+"-"+f+b,w=Dr.noop;o(u,function(e,t){var n=i.exec(t);n&&(n=(n[1]?"-":"")+vr(n[2]),m[n]=s.attr(u.$attr[t]))}),o(m,function(e,n){g[n]=t(e.replace(r,y))}),a.$watch(p,function(t){var r=parseFloat(t),i=Mr(r);i||r in m||(r=e.pluralCat(r-f)),r===c||i&&Mr(c)||(w(),i=g[r],$(i)?(null!=t&&n.debug("ngPluralize: no rule defined for '"+r+"' in "+d),w=h,l()):w=a.$watch(i,l),c=r)})}}}],oa=r("ngRef"),aa=["$parse",function(e){
return{priority:-1,restrict:"A",compile:function(t,n){var r=st(j(t)),i=e(n.ngRef),o=i.assign||function(){throw oa("nonassign",n.ngRef)};return function(e,t,a){var s;if(a.hasOwnProperty("ngRefRead")){if("$element"===a.ngRefRead)s=t;else if(s=t.data("$"+a.ngRefRead+"Controller"),!s)throw oa("noctrl",a.ngRefRead,n.ngRef)}else s=t.data("$"+r+"Controller");s=s||t,o(e,s),t.on("$destroy",function(){i(e)===s&&o(e,null)})}}}}],sa=["$parse","$animate","$compile",function(e,t,n){var a=r("ngRepeat"),s=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))};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(r,u){var l=u.ngRepeat,c=n.$$createComment("end ngRepeat",l),p=l.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/);if(!p)throw a("iexp",l);var d=p[1],f=p[2],h=p[3],m=p[4],p=d.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/);if(!p)throw a("iidexp",d);var g=p[3]||p[1],v=p[2];if(h&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(h)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(h)))throw a("badident",h);var $,b,y,w,x={$id:We};return m?$=e(m):(y=function(e,t){return We(t)},w=function(e){return e}),function(e,n,r,u,p){$&&(b=function(t,n,r){return v&&(x[v]=t),x[g]=n,x.$index=r,$(e,x)});var d=de();e.$watchCollection(f,function(r){var u,f,m,$,x,k,C,D,T,M,E=n[0],S=de();if(h&&(e[h]=r),i(r))D=r,f=b||y;else for(M in f=b||w,D=[],r)gr.call(r,M)&&"$"!==M.charAt(0)&&D.push(M);for($=D.length,M=Array($),u=0;u<$;u++)if(x=r===D?u:D[u],k=r[x],C=f(x,k,u),d[C])T=d[C],delete d[C],S[C]=T,M[u]=T;else{if(S[C])throw o(M,function(e){e&&e.scope&&(d[e.id]=e)}),a("dupes",l,C,k);M[u]={id:C,scope:void 0,clone:void 0},S[C]=!0}for(m in d){if(T=d[m],C=pe(T.clone),t.leave(C),C[0].parentNode)for(u=0,f=C.length;u<f;u++)C[u].$$NG_REMOVED=!0;T.scope.$destroy()}for(u=0;u<$;u++)if(x=r===D?u:D[u],k=r[x],T=M[u],T.scope){m=E;do m=m.nextSibling;while(m&&m.$$NG_REMOVED);T.clone[0]!==m&&t.move(pe(T.clone),null,E),E=T.clone[T.clone.length-1],s(T.scope,u,g,k,v,x,$)}else p(function(e,n){T.scope=n;var r=c.cloneNode(!1);e[e.length++]=r,t.enter(e,null,E),E=r,T.clone=e,S[T.id]=T,s(T.scope,u,g,k,v,x,$)});d=S})}}}}],ua=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngShow,function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],la=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,r){t.$watch(r.ngHide,function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],ca=qn(function(e,t,n){e.$watchCollection(n.ngStyle,function(e,n){n&&e!==n&&o(n,function(e,n){t.css(n,"")}),e&&t.css(e)})}),pa=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,r,i,a){var s=[],u=[],l=[],c=[],p=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(i.ngSwitch||i.on,function(n){for(var r,i;l.length;)e.cancel(l.pop());for(r=0,i=c.length;r<i;++r){var d=pe(u[r].clone);c[r].$destroy(),(l[r]=e.leave(d)).done(p(l,r))}u.length=0,c.length=0,(s=a.cases["!"+n]||a.cases["?"])&&o(s,function(n){n.transclude(function(r,i){c.push(i);var o=n.element;r[r.length++]=t.$$createComment("end ngSwitchWhen"),u.push({clone:r}),e.enter(r,o.parent(),o)})})})}}}],da=qn({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,r,i){e=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter(function(e,t,n){return n[t-1]!==e}),o(e,function(e){r.cases["!"+e]=r.cases["!"+e]||[],r.cases["!"+e].push({transclude:i,element:t})})}}),fa=qn({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})}}),ha=r("ngTransclude"),ma=["$compile",function(e){return{restrict:"EAC",compile:function(t){var n=e(t.contents());return t.empty(),function(e,t,r,i,o){function a(){n(e,function(e){t.append(e)})}if(!o)throw ha("orphan",G(t));r.ngTransclude===r.$attr.ngTransclude&&(r.ngTransclude=""),r=r.ngTransclude||r.ngTranscludeSlot,o(function(e,n){var r;if(r=e.length)e:{r=0;for(var i=e.length;r<i;r++){var o=e[r];if(o.nodeType!==Rr||o.nodeValue.trim()){r=!0;break e}}r=void 0}r?t.append(e):(a(),n.$destroy())},null,r),r&&!o.isSlotFilled(r)&&a()}}}}],ga=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){"text/ng-template"===n.type&&e.put(n.id,t[0].text)}}}],va={$setViewValue:h,$render:h},$a=["$element","$scope",function(t,n){function r(){s||(s=!0,n.$$postDigest(function(){s=!1,o.ngModelCtrl.$render()}))}function i(e){u||(u=!0,n.$$postDigest(function(){n.$$destroyed||(u=!1,o.ngModelCtrl.$setViewValue(o.readValue()),e&&o.ngModelCtrl.$render())}))}var o=this,a=new ri;o.selectValueMap={},o.ngModelCtrl=va,o.multiple=!1,o.unknownOption=pr(e.document.createElement("option")),o.hasEmptyOption=!1,o.emptyOption=void 0,o.renderUnknownOption=function(e){e=o.generateUnknownOptionValue(e),o.unknownOption.val(e),t.prepend(o.unknownOption),lr(o.unknownOption,!0),t.val(e)},o.updateUnknownOption=function(e){e=o.generateUnknownOptionValue(e),o.unknownOption.val(e),lr(o.unknownOption,!0),t.val(e)},o.generateUnknownOptionValue=function(e){return"? "+We(e)+" ?"},o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.selectEmptyOption=function(){o.emptyOption&&(t.val(""),lr(o.emptyOption,!0))},o.unselectEmptyOption=function(){o.hasEmptyOption&&lr(o.emptyOption,!1)},n.$on("$destroy",function(){o.renderUnknownOption=h}),o.readValue=function(){var e=t.val(),e=e in o.selectValueMap?o.selectValueMap[e]:e;return o.hasOption(e)?e:null},o.writeValue=function(e){var n=t[0].options[t[0].selectedIndex];n&&lr(pr(n),!1),o.hasOption(e)?(o.removeUnknownOption(),n=We(e),t.val(n in o.selectValueMap?n:e),lr(pr(t[0].options[t[0].selectedIndex]),!0)):o.selectUnknownOrEmptyOption(e)},o.addOption=function(e,t){if(8!==t[0].nodeType){le(e,'"option value"'),""===e&&(o.hasEmptyOption=!0,o.emptyOption=t);var n=a.get(e)||0;a.set(e,n+1),r()}},o.removeOption=function(e){var t=a.get(e);t&&(1===t?(a["delete"](e),""===e&&(o.hasEmptyOption=!1,o.emptyOption=void 0)):a.set(e,t-1))},o.hasOption=function(e){return!!a.get(e)},o.$hasEmptyOption=function(){return o.hasEmptyOption},o.$isUnknownOptionSelected=function(){return t[0].options[0]===o.unknownOption[0]},o.$isEmptyOptionSelected=function(){return o.hasEmptyOption&&t[0].options[t[0].selectedIndex]===o.emptyOption[0]},o.selectUnknownOrEmptyOption=function(e){null==e&&o.emptyOption?(o.removeUnknownOption(),o.selectEmptyOption()):o.unknownOption.parent().length?o.updateUnknownOption(e):o.renderUnknownOption(e)};var s=!1,u=!1;o.registerOption=function(e,t,n,a,s){if(n.$attr.ngValue){var u,l=NaN;n.$observe("value",function(e){var n,r=t.prop("selected");b(l)&&(o.removeOption(u),delete o.selectValueMap[l],n=!0),l=We(e),u=e,o.selectValueMap[l]=e,o.addOption(e,t),t.attr("value",l),n&&r&&i()})}else a?n.$observe("value",function(e){o.readValue();var n,r=t.prop("selected");b(u)&&(o.removeOption(u),n=!0),u=e,o.addOption(e,t),n&&r&&i()}):s?e.$watch(s,function(e,r){n.$set("value",e);var a=t.prop("selected");r!==e&&o.removeOption(r),o.addOption(e,t),r&&a&&i()}):o.addOption(n.value,t);n.$observe("disabled",function(e){("true"===e||e&&t.prop("selected"))&&(o.multiple?i(!0):(o.ngModelCtrl.$setViewValue(null),o.ngModelCtrl.$render()))}),t.on("$destroy",function(){var e=o.readValue(),t=n.value;o.removeOption(t),r(),(o.multiple&&e&&-1!==e.indexOf(t)||e===t)&&i(!0)})}}],ba=function(){return{restrict:"E",require:["select","?ngModel"],controller:$a,priority:1,link:{pre:function(e,t,n,r){var i=r[0],a=r[1];if(a){if(i.ngModelCtrl=a,t.on("change",function(){i.removeUnknownOption(),e.$apply(function(){a.$setViewValue(i.readValue())})}),n.multiple){i.multiple=!0,i.readValue=function(){var e=[];return o(t.find("option"),function(t){t.selected&&!t.disabled&&(t=t.value,e.push(t in i.selectValueMap?i.selectValueMap[t]:t))}),e},i.writeValue=function(e){o(t.find("option"),function(t){var n=!!e&&(-1!==Array.prototype.indexOf.call(e,t.value)||-1!==Array.prototype.indexOf.call(e,i.selectValueMap[t.value]));n!==t.selected&&lr(pr(t),n)})};var s,u=NaN;e.$watch(function(){u!==a.$viewValue||F(s,a.$viewValue)||(s=me(a.$viewValue),a.$render()),u=a.$viewValue}),a.$isEmpty=function(e){return!e||0===e.length}}}else i.registerOption=h},post:function(e,t,n,r){var i=r[1];if(i){var o=r[0];i.$render=function(){o.writeValue(i.$viewValue)}}}}}},ya=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var r,i;return b(n.ngValue)||(b(n.value)?r=e(n.value,!0):(i=e(t.text(),!0))||n.$set("value",t.text())),function(e,t,n){var o=t.parent();(o=o.data("$selectController")||o.parent().data("$selectController"))&&o.registerOption(e,t,n,r,i)}}}}],wa=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()}))}}},xa=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,i){if(i){var o,a=n.ngPattern||n.pattern;n.$observe("pattern",function(e){if(x(e)&&0<e.length&&(e=new RegExp("^"+e+"$")),e&&!e.test)throw r("ngPattern")("noregexp",a,e,G(t));o=e||void 0,i.$validate()}),i.$validators.pattern=function(e,t){return i.$isEmpty(t)||$(o)||o.test(t)}}}}},ka=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=-1;n.$observe("maxlength",function(e){e=d(e),i=Mr(e)?-1:e,r.$validate()}),r.$validators.maxlength=function(e,t){return 0>i||r.$isEmpty(t)||t.length<=i}}}}},Ca=function(){return{restrict:"A",require:"?ngModel",link:function(e,t,n,r){if(r){var i=0;n.$observe("minlength",function(e){i=d(e)||0,r.$validate()}),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=i}}}}};e.angular.bootstrap?e.console&&console.log("WARNING: Tried to load AngularJS more than once."):(ae(),ve(Dr),Dr.module("ngLocale",[],["$provide",function(e){function t(e){e+="";var t=e.indexOf(".");return-1==t?0:e.length-t-1}e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:"January February March April May June July August September October November December".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),STANDALONEMONTH:"January February March April May June July August September October November December".split(" "),WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a","short":"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,n){var r=0|e,i=n;return void 0===i&&(i=Math.min(t(e),3)),Math.pow(10,i),1==r&&0==i?"one":"other"}})}]),pr(function(){te(e.document,ne)}))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-hide-animate){display:none !important;}ng\\:form{display:block;}.ng-animate-shim{visibility:hidden;}.ng-anchor{position:absolute;}</style>'),angular.module("ui.bootstrap",["ngLocale","ui.bootstrap.tpls","ui.bootstrap.collapse","ui.bootstrap.tabindex","ui.bootstrap.accordion","ui.bootstrap.alert","ui.bootstrap.buttons","ui.bootstrap.carousel","ui.bootstrap.dateparser","ui.bootstrap.isClass","ui.bootstrap.datepicker","ui.bootstrap.position","ui.bootstrap.datepickerPopup","ui.bootstrap.debounce","ui.bootstrap.multiMap","ui.bootstrap.dropdown","ui.bootstrap.stackedMap","ui.bootstrap.modal","ui.bootstrap.paging","ui.bootstrap.pager","ui.bootstrap.pagination","ui.bootstrap.tooltip","ui.bootstrap.popover","ui.bootstrap.progressbar","ui.bootstrap.rating","ui.bootstrap.tabs","ui.bootstrap.timepicker","ui.bootstrap.typeahead"]),angular.module("ui.bootstrap.tpls",["uib/template/accordion/accordion-group.html","uib/template/accordion/accordion.html","uib/template/alert/alert.html","uib/template/carousel/carousel.html","uib/template/carousel/slide.html","uib/template/datepicker/datepicker.html","uib/template/datepicker/day.html","uib/template/datepicker/month.html","uib/template/datepicker/year.html","uib/template/datepickerPopup/popup.html","uib/template/modal/window.html","uib/template/pager/pager.html","uib/template/pagination/pagination.html","uib/template/tooltip/tooltip-html-popup.html","uib/template/tooltip/tooltip-popup.html","uib/template/tooltip/tooltip-template-popup.html","uib/template/popover/popover-html.html","uib/template/popover/popover-template.html","uib/template/popover/popover.html","uib/template/progressbar/bar.html","uib/template/progressbar/progress.html","uib/template/progressbar/progressbar.html","uib/template/rating/rating.html","uib/template/tabs/tab.html","uib/template/tabs/tabset.html","uib/template/timepicker/timepicker.html","uib/template/typeahead/typeahead-match.html","uib/template/typeahead/typeahead-popup.html"]),angular.module("ui.bootstrap.collapse",[]).directive("uibCollapse",["$animate","$q","$parse","$injector",function(e,t,n,r){var i=r.has("$animateCss")?r.get("$animateCss"):null;return{link:function(r,o,a){function s(){v=!!("horizontal"in a),v?($={width:""},b={width:"0"}):($={height:""},b={height:"0"}),r.$eval(a.uibCollapse)||o.addClass("in").addClass("collapse").attr("aria-expanded",!0).attr("aria-hidden",!1).css($)}function u(e){return v?{width:e.scrollWidth+"px"}:{height:e.scrollHeight+"px"}}function l(){o.hasClass("collapse")&&o.hasClass("in")||t.resolve(f(r)).then(function(){o.removeClass("collapse").addClass("collapsing").attr("aria-expanded",!0).attr("aria-hidden",!1),i?i(o,{addClass:"in",easing:"ease",css:{overflow:"hidden"},to:u(o[0])}).start()["finally"](c):e.addClass(o,"in",{css:{overflow:"hidden"},to:u(o[0])}).then(c)},angular.noop)}function c(){o.removeClass("collapsing").addClass("collapse").css($),h(r)}function p(){return o.hasClass("collapse")||o.hasClass("in")?void t.resolve(m(r)).then(function(){o.css(u(o[0])).removeClass("collapse").addClass("collapsing").attr("aria-expanded",!1).attr("aria-hidden",!0),i?i(o,{removeClass:"in",to:b}).start()["finally"](d):e.removeClass(o,"in",{to:b}).then(d)},angular.noop):d()}function d(){o.css(b),o.removeClass("collapsing").addClass("collapse"),g(r)}var f=n(a.expanding),h=n(a.expanded),m=n(a.collapsing),g=n(a.collapsed),v=!1,$={},b={};s(),r.$watch(a.uibCollapse,function(e){e?p():l()})}}}]),angular.module("ui.bootstrap.tabindex",[]).directive("uibTabindexToggle",function(){return{restrict:"A",link:function(e,t,n){n.$observe("disabled",function(e){n.$set("tabindex",e?-1:null)})}}}),angular.module("ui.bootstrap.accordion",["ui.bootstrap.collapse","ui.bootstrap.tabindex"]).constant("uibAccordionConfig",{closeOthers:!0}).controller("UibAccordionController",["$scope","$attrs","uibAccordionConfig",function(e,t,n){this.groups=[],this.closeOthers=function(r){var i=angular.isDefined(t.closeOthers)?e.$eval(t.closeOthers):n.closeOthers;i&&angular.forEach(this.groups,function(e){e!==r&&(e.isOpen=!1)})},this.addGroup=function(e){var t=this;this.groups.push(e),e.$on("$destroy",function(n){t.removeGroup(e)})},this.removeGroup=function(e){var t=this.groups.indexOf(e);t!==-1&&this.groups.splice(t,1)}}]).directive("uibAccordion",function(){return{controller:"UibAccordionController",controllerAs:"accordion",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion.html"}}}).directive("uibAccordionGroup",function(){return{require:"^uibAccordion",transclude:!0,restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/accordion/accordion-group.html"},scope:{heading:"@",panelClass:"@?",isOpen:"=?",isDisabled:"=?"},controller:function(){this.setHeading=function(e){this.heading=e}},link:function(e,t,n,r){t.addClass("panel"),r.addGroup(e),e.openClass=n.openClass||"panel-open",e.panelClass=n.panelClass||"panel-default",e.$watch("isOpen",function(n){t.toggleClass(e.openClass,!!n),n&&r.closeOthers(e)}),e.toggleOpen=function(t){e.isDisabled||t&&32!==t.which||(e.isOpen=!e.isOpen)};var i="accordiongroup-"+e.$id+"-"+Math.floor(1e4*Math.random());e.headingId=i+"-tab",e.panelId=i+"-panel"}}}).directive("uibAccordionHeading",function(){return{transclude:!0,template:"",replace:!0,require:"^uibAccordionGroup",link:function(e,t,n,r,i){r.setHeading(i(e,angular.noop))}}}).directive("uibAccordionTransclude",function(){function e(){return"uib-accordion-header,data-uib-accordion-header,x-uib-accordion-header,uib\\:accordion-header,[uib-accordion-header],[data-uib-accordion-header],[x-uib-accordion-header]"}return{require:"^uibAccordionGroup",link:function(t,n,r,i){t.$watch(function(){return i[r.uibAccordionTransclude]},function(t){if(t){var r=angular.element(n[0].querySelector(e()));r.html(""),r.append(t)}})}}}),angular.module("ui.bootstrap.alert",[]).controller("UibAlertController",["$scope","$element","$attrs","$interpolate","$timeout",function(e,t,n,r,i){e.closeable=!!n.close,t.addClass("alert"),n.$set("role","alert"),e.closeable&&t.addClass("alert-dismissible");var o=angular.isDefined(n.dismissOnTimeout)?r(n.dismissOnTimeout)(e.$parent):null;o&&i(function(){e.close()},parseInt(o,10))}]).directive("uibAlert",function(){return{controller:"UibAlertController",controllerAs:"alert",restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/alert/alert.html"},transclude:!0,scope:{close:"&"}}}),angular.module("ui.bootstrap.buttons",[]).constant("uibButtonConfig",{activeClass:"active",toggleEvent:"click"}).controller("UibButtonsController",["uibButtonConfig",function(e){this.activeClass=e.activeClass||"active",this.toggleEvent=e.toggleEvent||"click"}]).directive("uibBtnRadio",["$parse",function(e){return{require:["uibBtnRadio","ngModel"],controller:"UibButtonsController",controllerAs:"buttons",link:function(t,n,r,i){var o=i[0],a=i[1],s=e(r.uibUncheckable);n.find("input").css({display:"none"}),a.$render=function(){n.toggleClass(o.activeClass,angular.equals(a.$modelValue,t.$eval(r.uibBtnRadio)))},n.on(o.toggleEvent,function(){if(!r.disabled){var e=n.hasClass(o.activeClass);e&&!angular.isDefined(r.uncheckable)||t.$apply(function(){a.$setViewValue(e?null:t.$eval(r.uibBtnRadio)),a.$render()})}}),r.uibUncheckable&&t.$watch(s,function(e){r.$set("uncheckable",e?"":void 0)})}}}]).directive("uibBtnCheckbox",function(){return{require:["uibBtnCheckbox","ngModel"],controller:"UibButtonsController",controllerAs:"button",link:function(e,t,n,r){function i(){return a(n.btnCheckboxTrue,!0)}function o(){return a(n.btnCheckboxFalse,!1)}function a(t,n){return angular.isDefined(t)?e.$eval(t):n}var s=r[0],u=r[1];t.find("input").css({display:"none"}),u.$render=function(){t.toggleClass(s.activeClass,angular.equals(u.$modelValue,i()))},t.on(s.toggleEvent,function(){n.disabled||e.$apply(function(){u.$setViewValue(t.hasClass(s.activeClass)?o():i()),u.$render()})})}}}),angular.module("ui.bootstrap.carousel",[]).controller("UibCarouselController",["$scope","$element","$interval","$timeout","$animate",function(e,t,n,r,i){function o(e){for(var t=0;t<m.length;t++)m[t].slide.active=t===e}function a(n,r,a){if(!$){if(angular.extend(n,{direction:a}),angular.extend(m[v].slide||{},{direction:a}),i.enabled(t)&&!e.$currentTransition&&m[r].element&&h.slides.length>1){m[r].element.data(g,n.direction);var s=h.getCurrentIndex();angular.isNumber(s)&&m[s].element&&m[s].element.data(g,n.direction),e.$currentTransition=!0,i.on("addClass",m[r].element,function(t,n){"close"===n&&(e.$currentTransition=null,i.off("addClass",t))})}e.active=n.index,v=n.index,o(r),c()}}function s(e){for(var t=0;t<m.length;t++)if(m[t].slide===e)return t}function u(){d&&(n.cancel(d),d=null)}function l(t){t.length||(e.$currentTransition=null)}function c(){u();var t=+e.interval;!isNaN(t)&&t>0&&(d=n(p,t))}function p(){var t=+e.interval;f&&!isNaN(t)&&t>0&&m.length?e.next():e.pause()}var d,f,h=this,m=h.slides=e.slides=[],g="uib-slideDirection",v=e.active,$=!1;t.addClass("carousel"),h.addSlide=function(t,n){m.push({slide:t,element:n}),m.sort(function(e,t){return+e.slide.index-+t.slide.index}),(t.index===e.active||1===m.length&&!angular.isNumber(e.active))&&(e.$currentTransition&&(e.$currentTransition=null),v=t.index,e.active=t.index,o(v),h.select(m[s(t)]),1===m.length&&e.play())},h.getCurrentIndex=function(){for(var e=0;e<m.length;e++)if(m[e].slide.index===v)return e},h.next=e.next=function(){var t=(h.getCurrentIndex()+1)%m.length;return 0===t&&e.noWrap()?void e.pause():h.select(m[t],"next")},h.prev=e.prev=function(){var t=h.getCurrentIndex()-1<0?m.length-1:h.getCurrentIndex()-1;return e.noWrap()&&t===m.length-1?void e.pause():h.select(m[t],"prev")},h.removeSlide=function(t){var n=s(t);m.splice(n,1),m.length>0&&v===n?n>=m.length?(v=m.length-1,e.active=v,o(v),h.select(m[m.length-1])):(v=n,e.active=v,o(v),h.select(m[n])):v>n&&(v--,e.active=v),0===m.length&&(v=null,e.active=null)},h.select=e.select=function(t,n){var r=s(t.slide);void 0===n&&(n=r>h.getCurrentIndex()?"next":"prev"),t.slide.index===v||e.$currentTransition||a(t.slide,r,n)},e.indexOfSlide=function(e){return+e.slide.index},e.isActive=function(t){return e.active===t.slide.index},e.isPrevDisabled=function(){return 0===e.active&&e.noWrap()},e.isNextDisabled=function(){return e.active===m.length-1&&e.noWrap()},e.pause=function(){e.noPause||(f=!1,u())},e.play=function(){f||(f=!0,c())},t.on("mouseenter",e.pause),t.on("mouseleave",e.play),e.$on("$destroy",function(){$=!0,u()}),e.$watch("noTransition",function(e){i.enabled(t,!e)}),e.$watch("interval",c),e.$watchCollection("slides",l),e.$watch("active",function(e){if(angular.isNumber(e)&&v!==e){for(var t=0;t<m.length;t++)if(m[t].slide.index===e){e=t;break}var n=m[e];n&&(o(e),h.select(m[e]),v=e)}})}]).directive("uibCarousel",function(){return{transclude:!0,controller:"UibCarouselController",controllerAs:"carousel",restrict:"A",templateUrl:function(e,t){return t.templateUrl||"uib/template/carousel/carousel.html"},scope:{active:"=",interval:"=",noTransition:"=",noPause:"=",noWrap:"&"}}}).directive("uibSlide",["$animate",function(e){return{require:"^uibCarousel",restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/carousel/slide.html"},scope:{actual:"=?",index:"=?"},link:function(t,n,r,i){n.addClass("item"),i.addSlide(t,n),t.$on("$destroy",function(){i.removeSlide(t)}),t.$watch("active",function(t){e[t?"addClass":"removeClass"](n,"active")})}}}]).animation(".item",["$animateCss",function(e){function t(e,t,n){e.removeClass(t),n&&n()}var n="uib-slideDirection";return{beforeAddClass:function(r,i,o){if("active"===i){var a=!1,s=r.data(n),u="next"===s?"left":"right",l=t.bind(this,r,u+" "+s,o);return r.addClass(s),e(r,{addClass:u}).start().done(l),function(){a=!0}}o()},beforeRemoveClass:function(r,i,o){if("active"===i){var a=!1,s=r.data(n),u="next"===s?"left":"right",l=t.bind(this,r,u,o);return e(r,{addClass:u}).start().done(l),function(){a=!0}}o()}}}]),angular.module("ui.bootstrap.dateparser",[]).service("uibDateParser",["$log","$locale","dateFilter","orderByFilter","filterFilter",function(e,t,n,r,i){function o(e){return i($,{key:e},!0)[0]}function a(e){var t=[],n=e.split(""),i=e.indexOf("'");if(i>-1){var o=!1;e=e.split("");for(var a=i;a<e.length;a++)o?("'"===e[a]&&(a+1<e.length&&"'"===e[a+1]?(e[a+1]="$",n[a+1]=""):(n[a]="",o=!1)),e[a]="$"):"'"===e[a]&&(e[a]="$",n[a]="",o=!0);e=e.join("")}return angular.forEach($,function(r){var i=e.indexOf(r.key);if(i>-1){e=e.split(""),n[i]="("+r.regex+")",e[i]="$";for(var o=i+1,a=i+r.key.length;o<a;o++)n[o]="",e[o]="$";e=e.join(""),t.push({index:i,key:r.key,apply:r.apply,matcher:r.regex})}}),{regex:new RegExp("^"+n.join("")+"$"),map:r(t,"index")}}function s(e){for(var t,n,r=[],i=0;i<e.length;)if(angular.isNumber(n)){if("'"===e.charAt(i))(i+1>=e.length||"'"!==e.charAt(i+1))&&(r.push(u(e,n,i)),n=null);else if(i===e.length)for(;n<e.length;)t=l(e,n),r.push(t),n=t.endIdx;i++}else"'"!==e.charAt(i)?(t=l(e,i),r.push(t.parser),i=t.endIdx):(n=i,i++);return r}function u(e,t,n){return function(){return e.substr(t+1,n-t-1)}}function l(e,t){for(var n=e.substr(t),r=0;r<$.length;r++)if(new RegExp("^"+$[r].key).test(n)){var i=$[r];return{endIdx:t+i.key.length,parser:i.formatter}}return{endIdx:t+1,parser:function(){return n.charAt(0)}}}function c(e,t,n){return!(n<1)&&(1===t&&n>28?29===n&&(e%4===0&&e%100!==0||e%400===0):3!==t&&5!==t&&8!==t&&10!==t||n<31)}function p(e){return parseInt(e,10)}function d(e,t){return e&&t?g(e,t):e}function f(e,t){return e&&t?g(e,t,!0):e}function h(e,t){e=e.replace(/:/g,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return isNaN(n)?t:n}function m(e,t){return e=new Date(e.getTime()),e.setMinutes(e.getMinutes()+t),e}function g(e,t,n){n=n?-1:1;var r=e.getTimezoneOffset(),i=h(t,r);return m(e,n*(i-r))}var v,$,b=/[\\\^\$\*\+\?\|\[\]\(\)\.\{\}]/g;this.init=function(){v=t.id,this.parsers={},this.formatters={},$=[{key:"yyyy",regex:"\\d{4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yyyy")}},{key:"yy",regex:"\\d{2}",apply:function(e){e=+e,this.year=e<69?e+2e3:e+1900},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"yy")}},{key:"y",regex:"\\d{1,4}",apply:function(e){this.year=+e},formatter:function(e){var t=new Date;return t.setFullYear(Math.abs(e.getFullYear())),n(t,"y")}},{key:"M!",regex:"0?[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){var t=e.getMonth();return/^[0-9]$/.test(t)?n(e,"MM"):n(e,"M")}},{key:"MMMM",regex:t.DATETIME_FORMATS.MONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.MONTH.indexOf(e)},formatter:function(e){return n(e,"MMMM")}},{key:"MMM",regex:t.DATETIME_FORMATS.SHORTMONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.SHORTMONTH.indexOf(e)},formatter:function(e){return n(e,"MMM")}},{key:"MM",regex:"0[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"MM")}},{key:"M",regex:"[1-9]|1[0-2]",apply:function(e){this.month=e-1},formatter:function(e){return n(e,"M")}},{key:"d!",regex:"[0-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){var t=e.getDate();return/^[1-9]$/.test(t)?n(e,"dd"):n(e,"d")}},{key:"dd",regex:"[0-2][0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"dd")}},{key:"d",regex:"[1-2]?[0-9]{1}|3[0-1]{1}",apply:function(e){this.date=+e},formatter:function(e){return n(e,"d")}},{key:"EEEE",regex:t.DATETIME_FORMATS.DAY.join("|"),formatter:function(e){return n(e,"EEEE")}},{key:"EEE",regex:t.DATETIME_FORMATS.SHORTDAY.join("|"),formatter:function(e){return n(e,"EEE")}},{key:"HH",regex:"(?:0|1)[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"HH")}},{key:"hh",regex:"0[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"hh")}},{key:"H",regex:"1?[0-9]|2[0-3]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"H")}},{key:"h",regex:"[0-9]|1[0-2]",apply:function(e){this.hours=+e},formatter:function(e){return n(e,"h")}},{key:"mm",regex:"[0-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"mm")}},{key:"m",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.minutes=+e},formatter:function(e){return n(e,"m")}},{key:"sss",regex:"[0-9][0-9][0-9]",apply:function(e){this.milliseconds=+e},formatter:function(e){return n(e,"sss")}},{key:"ss",regex:"[0-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"ss")}},{key:"s",regex:"[0-9]|[1-5][0-9]",apply:function(e){this.seconds=+e},formatter:function(e){return n(e,"s")}},{key:"a",regex:t.DATETIME_FORMATS.AMPMS.join("|"),apply:function(e){12===this.hours&&(this.hours=0),"PM"===e&&(this.hours+=12)},formatter:function(e){return n(e,"a")}},{key:"Z",regex:"[+-]\\d{4}",apply:function(e){var t=e.match(/([+-])(\d{2})(\d{2})/),n=t[1],r=t[2],i=t[3];this.hours+=p(n+r),this.minutes+=p(n+i)},formatter:function(e){return n(e,"Z")}},{key:"ww",regex:"[0-4][0-9]|5[0-3]",formatter:function(e){return n(e,"ww")}},{key:"w",regex:"[0-9]|[1-4][0-9]|5[0-3]",formatter:function(e){return n(e,"w")}},{key:"GGGG",regex:t.DATETIME_FORMATS.ERANAMES.join("|").replace(/\s/g,"\\s"),formatter:function(e){return n(e,"GGGG")}},{key:"GGG",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GGG")}},{key:"GG",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"GG")}},{key:"G",regex:t.DATETIME_FORMATS.ERAS.join("|"),formatter:function(e){return n(e,"G")}}],angular.version.major>=1&&angular.version.minor>4&&$.push({key:"LLLL",regex:t.DATETIME_FORMATS.STANDALONEMONTH.join("|"),apply:function(e){this.month=t.DATETIME_FORMATS.STANDALONEMONTH.indexOf(e)},formatter:function(e){return n(e,"LLLL")}})},this.init(),this.getParser=function(e){var t=o(e);return t&&t.apply||null},this.overrideParser=function(e,t){var n=o(e);n&&angular.isFunction(t)&&(this.parsers={},n.apply=t)}.bind(this),this.filter=function(e,n){if(!angular.isDate(e)||isNaN(e)||!n)return"";n=t.DATETIME_FORMATS[n]||n,t.id!==v&&this.init(),this.formatters[n]||(this.formatters[n]=s(n));var r=this.formatters[n];return r.reduce(function(t,n){return t+n(e)},"")},this.parse=function(n,r,i){if(!angular.isString(n)||!r)return n;r=t.DATETIME_FORMATS[r]||r,r=r.replace(b,"\\$&"),t.id!==v&&this.init(),this.parsers[r]||(this.parsers[r]=a(r,"apply"));var o=this.parsers[r],s=o.regex,u=o.map,l=n.match(s),p=!1;if(l&&l.length){var d,f;angular.isDate(i)&&!isNaN(i.getTime())?d={year:i.getFullYear(),month:i.getMonth(),date:i.getDate(),hours:i.getHours(),minutes:i.getMinutes(),seconds:i.getSeconds(),milliseconds:i.getMilliseconds()}:(i&&e.warn("dateparser:","baseDate is not a valid date"),d={year:1900,month:0,date:1,hours:0,minutes:0,seconds:0,milliseconds:0});for(var h=1,m=l.length;h<m;h++){var g=u[h-1];"Z"===g.matcher&&(p=!0),g.apply&&g.apply.call(d,l[h])}var $=p?Date.prototype.setUTCFullYear:Date.prototype.setFullYear,y=p?Date.prototype.setUTCHours:Date.prototype.setHours;return c(d.year,d.month,d.date)&&(!angular.isDate(i)||isNaN(i.getTime())||p?(f=new Date(0),$.call(f,d.year,d.month,d.date),y.call(f,d.hours||0,d.minutes||0,d.seconds||0,d.milliseconds||0)):(f=new Date(i),$.call(f,d.year,d.month,d.date),y.call(f,d.hours,d.minutes,d.seconds,d.milliseconds))),f}},this.toTimezone=d,this.fromTimezone=f,this.timezoneToOffset=h,this.addDateMinutes=m,this.convertTimezoneToLocal=g}]),angular.module("ui.bootstrap.isClass",[]).directive("uibIsClass",["$animate",function(e){var t=/^\s*([\s\S]+?)\s+on\s+([\s\S]+?)\s*$/,n=/^\s*([\s\S]+?)\s+for\s+([\s\S]+?)\s*$/;return{restrict:"A",compile:function(r,i){function o(e,t,n){u.push(e),l.push({scope:e,element:t}),h.forEach(function(t,n){a(t,e)}),e.$on("$destroy",s)}function a(t,r){var i=t.match(n),o=r.$eval(i[1]),a=i[2],s=c[t];if(!s){var u=function(t){var n=null;l.some(function(e){var r=e.scope.$eval(d);if(r===t)return n=e,!0}),s.lastActivated!==n&&(s.lastActivated&&e.removeClass(s.lastActivated.element,o),n&&e.addClass(n.element,o),s.lastActivated=n)};c[t]=s={lastActivated:null,scope:r,watchFn:u,compareWithExp:a,watcher:r.$watch(a,u)}}s.watchFn(r.$eval(a))}function s(e){var t=e.targetScope,n=u.indexOf(t);if(u.splice(n,1),l.splice(n,1),u.length){var r=u[0];angular.forEach(c,function(e){e.scope===t&&(e.watcher=r.$watch(e.compareWithExp,e.watchFn),e.scope=r);
})}else c={}}var u=[],l=[],c={},p=i.uibIsClass.match(t),d=p[2],f=p[1],h=f.split(",");return o}}}]),angular.module("ui.bootstrap.datepicker",["ui.bootstrap.dateparser","ui.bootstrap.isClass"]).value("$datepickerSuppressError",!1).value("$datepickerLiteralWarning",!0).constant("uibDatepickerConfig",{datepickerMode:"day",formatDay:"dd",formatMonth:"MMMM",formatYear:"yyyy",formatDayHeader:"EEE",formatDayTitle:"MMMM yyyy",formatMonthTitle:"yyyy",maxDate:null,maxMode:"year",minDate:null,minMode:"day",monthColumns:3,ngModelOptions:{},shortcutPropagation:!1,showWeeks:!0,yearColumns:5,yearRows:4}).controller("UibDatepickerController",["$scope","$element","$attrs","$parse","$interpolate","$locale","$log","dateFilter","uibDatepickerConfig","$datepickerLiteralWarning","$datepickerSuppressError","uibDateParser",function(e,t,n,r,i,o,a,s,u,l,c,p){function d(t){e.datepickerMode=t,e.datepickerOptions.datepickerMode=t}function f(t){var n;if(angular.version.minor<6)n=t.$options||e.datepickerOptions.ngModelOptions||u.ngModelOptions||{},n.getOption=function(e){return n[e]};else{var r=t.$options.getOption("timezone")||(e.datepickerOptions.ngModelOptions?e.datepickerOptions.ngModelOptions.timezone:null)||(u.ngModelOptions?u.ngModelOptions.timezone:null);n=t.$options.createChild(u.ngModelOptions).createChild(e.datepickerOptions.ngModelOptions).createChild(t.$options).createChild({timezone:r})}return n}var h=this,m={$setViewValue:angular.noop},g={},v=[];t.addClass("uib-datepicker"),n.$set("role","application"),e.datepickerOptions||(e.datepickerOptions={}),this.modes=["day","month","year"],["customClass","dateDisabled","datepickerMode","formatDay","formatDayHeader","formatDayTitle","formatMonth","formatMonthTitle","formatYear","maxDate","maxMode","minDate","minMode","monthColumns","showWeeks","shortcutPropagation","startingDay","yearColumns","yearRows"].forEach(function(t){switch(t){case"customClass":case"dateDisabled":e[t]=e.datepickerOptions[t]||angular.noop;break;case"datepickerMode":e.datepickerMode=angular.isDefined(e.datepickerOptions.datepickerMode)?e.datepickerOptions.datepickerMode:u.datepickerMode;break;case"formatDay":case"formatDayHeader":case"formatDayTitle":case"formatMonth":case"formatMonthTitle":case"formatYear":h[t]=angular.isDefined(e.datepickerOptions[t])?i(e.datepickerOptions[t])(e.$parent):u[t];break;case"monthColumns":case"showWeeks":case"shortcutPropagation":case"yearColumns":case"yearRows":h[t]=angular.isDefined(e.datepickerOptions[t])?e.datepickerOptions[t]:u[t];break;case"startingDay":angular.isDefined(e.datepickerOptions.startingDay)?h.startingDay=e.datepickerOptions.startingDay:angular.isNumber(u.startingDay)?h.startingDay=u.startingDay:h.startingDay=(o.DATETIME_FORMATS.FIRSTDAYOFWEEK+8)%7;break;case"maxDate":case"minDate":e.$watch("datepickerOptions."+t,function(e){e?angular.isDate(e)?h[t]=p.fromTimezone(new Date(e),g.getOption("timezone")):(l&&a.warn("Literal date support has been deprecated, please switch to date object usage"),h[t]=new Date(s(e,"medium"))):h[t]=u[t]?p.fromTimezone(new Date(u[t]),g.getOption("timezone")):null,h.refreshView()});break;case"maxMode":case"minMode":e.datepickerOptions[t]?e.$watch(function(){return e.datepickerOptions[t]},function(n){h[t]=e[t]=angular.isDefined(n)?n:e.datepickerOptions[t],("minMode"===t&&h.modes.indexOf(e.datepickerOptions.datepickerMode)<h.modes.indexOf(h[t])||"maxMode"===t&&h.modes.indexOf(e.datepickerOptions.datepickerMode)>h.modes.indexOf(h[t]))&&(e.datepickerMode=h[t],e.datepickerOptions.datepickerMode=h[t])}):h[t]=e[t]=u[t]||null}}),e.uniqueId="datepicker-"+e.$id+"-"+Math.floor(1e4*Math.random()),e.disabled=angular.isDefined(n.disabled)||!1,angular.isDefined(n.ngDisabled)&&v.push(e.$parent.$watch(n.ngDisabled,function(t){e.disabled=t,h.refreshView()})),e.isActive=function(t){return 0===h.compare(t.date,h.activeDate)&&(e.activeDateId=t.uid,!0)},this.init=function(t){m=t,g=f(m),e.datepickerOptions.initDate?(h.activeDate=p.fromTimezone(e.datepickerOptions.initDate,g.getOption("timezone"))||new Date,e.$watch("datepickerOptions.initDate",function(e){e&&(m.$isEmpty(m.$modelValue)||m.$invalid)&&(h.activeDate=p.fromTimezone(e,g.getOption("timezone")),h.refreshView())})):h.activeDate=new Date;var n=m.$modelValue?new Date(m.$modelValue):new Date;this.activeDate=isNaN(n)?p.fromTimezone(new Date,g.getOption("timezone")):p.fromTimezone(n,g.getOption("timezone")),m.$render=function(){h.render()}},this.render=function(){if(m.$viewValue){var e=new Date(m.$viewValue),t=!isNaN(e);t?this.activeDate=p.fromTimezone(e,g.getOption("timezone")):c||a.error('Datepicker directive: "ng-model" value must be a Date object')}this.refreshView()},this.refreshView=function(){if(this.element){e.selectedDt=null,this._refreshView(),e.activeDt&&(e.activeDateId=e.activeDt.uid);var t=m.$viewValue?new Date(m.$viewValue):null;t=p.fromTimezone(t,g.getOption("timezone")),m.$setValidity("dateDisabled",!t||this.element&&!this.isDisabled(t))}},this.createDateObject=function(t,n){var r=m.$viewValue?new Date(m.$viewValue):null;r=p.fromTimezone(r,g.getOption("timezone"));var i=new Date;i=p.fromTimezone(i,g.getOption("timezone"));var o=this.compare(t,i),a={date:t,label:p.filter(t,n),selected:r&&0===this.compare(t,r),disabled:this.isDisabled(t),past:o<0,current:0===o,future:o>0,customClass:this.customClass(t)||null};return r&&0===this.compare(t,r)&&(e.selectedDt=a),h.activeDate&&0===this.compare(a.date,h.activeDate)&&(e.activeDt=a),a},this.isDisabled=function(t){return e.disabled||this.minDate&&this.compare(t,this.minDate)<0||this.maxDate&&this.compare(t,this.maxDate)>0||e.dateDisabled&&e.dateDisabled({date:t,mode:e.datepickerMode})},this.customClass=function(t){return e.customClass({date:t,mode:e.datepickerMode})},this.split=function(e,t){for(var n=[];e.length>0;)n.push(e.splice(0,t));return n},e.select=function(t){if(e.datepickerMode===h.minMode){var n=m.$viewValue?p.fromTimezone(new Date(m.$viewValue),g.getOption("timezone")):new Date(0,0,0,0,0,0,0);n.setFullYear(t.getFullYear(),t.getMonth(),t.getDate()),n=p.toTimezone(n,g.getOption("timezone")),m.$setViewValue(n),m.$render()}else h.activeDate=t,d(h.modes[h.modes.indexOf(e.datepickerMode)-1]),e.$emit("uib:datepicker.mode");e.$broadcast("uib:datepicker.focus")},e.move=function(e){var t=h.activeDate.getFullYear()+e*(h.step.years||0),n=h.activeDate.getMonth()+e*(h.step.months||0);h.activeDate.setFullYear(t,n,1),h.refreshView()},e.toggleMode=function(t){t=t||1,e.datepickerMode===h.maxMode&&1===t||e.datepickerMode===h.minMode&&t===-1||(d(h.modes[h.modes.indexOf(e.datepickerMode)+t]),e.$emit("uib:datepicker.mode"))},e.keys={13:"enter",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down"};var $=function(){h.element[0].focus()};e.$on("uib:datepicker.focus",$),e.keydown=function(t){var n=e.keys[t.which];if(n&&!t.shiftKey&&!t.altKey&&!e.disabled)if(t.preventDefault(),h.shortcutPropagation||t.stopPropagation(),"enter"===n||"space"===n){if(h.isDisabled(h.activeDate))return;e.select(h.activeDate)}else!t.ctrlKey||"up"!==n&&"down"!==n?(h.handleKeyDown(n,t),h.refreshView()):e.toggleMode("up"===n?1:-1)},t.on("keydown",function(t){e.$apply(function(){e.keydown(t)})}),e.$on("$destroy",function(){for(;v.length;)v.shift()()})}]).controller("UibDaypickerController",["$scope","$element","dateFilter",function(e,t,n){function r(e,t){return 1!==t||e%4!==0||e%100===0&&e%400!==0?o[t]:29}function i(e){var t=new Date(e);t.setDate(t.getDate()+4-(t.getDay()||7));var n=t.getTime();return t.setMonth(0),t.setDate(1),Math.floor(Math.round((n-t)/864e5)/7)+1}var o=[31,28,31,30,31,30,31,31,30,31,30,31];this.step={months:1},this.element=t,this.init=function(t){angular.extend(t,this),e.showWeeks=t.showWeeks,t.refreshView()},this.getDates=function(e,t){for(var n,r=new Array(t),i=new Date(e),o=0;o<t;)n=new Date(i),r[o++]=n,i.setDate(i.getDate()+1);return r},this._refreshView=function(){var t=this.activeDate.getFullYear(),r=this.activeDate.getMonth(),o=new Date(this.activeDate);o.setFullYear(t,r,1);var a=this.startingDay-o.getDay(),s=a>0?7-a:-a,u=new Date(o);s>0&&u.setDate(-s+1);for(var l=this.getDates(u,42),c=0;c<42;c++)l[c]=angular.extend(this.createDateObject(l[c],this.formatDay),{secondary:l[c].getMonth()!==r,uid:e.uniqueId+"-"+c});e.labels=new Array(7);for(var p=0;p<7;p++)e.labels[p]={abbr:n(l[p].date,this.formatDayHeader),full:n(l[p].date,"EEEE")};if(e.title=n(this.activeDate,this.formatDayTitle),e.rows=this.split(l,7),e.showWeeks){e.weekNumbers=[];for(var d=(11-this.startingDay)%7,f=e.rows.length,h=0;h<f;h++)e.weekNumbers.push(i(e.rows[h][d].date))}},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth(),e.getDate()),r=new Date(t.getFullYear(),t.getMonth(),t.getDate());return n.setFullYear(e.getFullYear()),r.setFullYear(t.getFullYear()),n-r},this.handleKeyDown=function(e,t){var n=this.activeDate.getDate();if("left"===e)n-=1;else if("up"===e)n-=7;else if("right"===e)n+=1;else if("down"===e)n+=7;else if("pageup"===e||"pagedown"===e){var i=this.activeDate.getMonth()+("pageup"===e?-1:1);this.activeDate.setMonth(i,1),n=Math.min(r(this.activeDate.getFullYear(),this.activeDate.getMonth()),n)}else"home"===e?n=1:"end"===e&&(n=r(this.activeDate.getFullYear(),this.activeDate.getMonth()));this.activeDate.setDate(n)}}]).controller("UibMonthpickerController",["$scope","$element","dateFilter",function(e,t,n){this.step={years:1},this.element=t,this.init=function(e){angular.extend(e,this),e.refreshView()},this._refreshView=function(){for(var t,r=new Array(12),i=this.activeDate.getFullYear(),o=0;o<12;o++)t=new Date(this.activeDate),t.setFullYear(i,o,1),r[o]=angular.extend(this.createDateObject(t,this.formatMonth),{uid:e.uniqueId+"-"+o});e.title=n(this.activeDate,this.formatMonthTitle),e.rows=this.split(r,this.monthColumns),e.yearHeaderColspan=this.monthColumns>3?this.monthColumns-2:1},this.compare=function(e,t){var n=new Date(e.getFullYear(),e.getMonth()),r=new Date(t.getFullYear(),t.getMonth());return n.setFullYear(e.getFullYear()),r.setFullYear(t.getFullYear()),n-r},this.handleKeyDown=function(e,t){var n=this.activeDate.getMonth();if("left"===e)n-=1;else if("up"===e)n-=this.monthColumns;else if("right"===e)n+=1;else if("down"===e)n+=this.monthColumns;else if("pageup"===e||"pagedown"===e){var r=this.activeDate.getFullYear()+("pageup"===e?-1:1);this.activeDate.setFullYear(r)}else"home"===e?n=0:"end"===e&&(n=11);this.activeDate.setMonth(n)}}]).controller("UibYearpickerController",["$scope","$element","dateFilter",function(e,t,n){function r(e){return parseInt((e-1)/o,10)*o+1}var i,o;this.element=t,this.yearpickerInit=function(){i=this.yearColumns,o=this.yearRows*i,this.step={years:o}},this._refreshView=function(){for(var t,n=new Array(o),a=0,s=r(this.activeDate.getFullYear());a<o;a++)t=new Date(this.activeDate),t.setFullYear(s+a,0,1),n[a]=angular.extend(this.createDateObject(t,this.formatYear),{uid:e.uniqueId+"-"+a});e.title=[n[0].label,n[o-1].label].join(" - "),e.rows=this.split(n,i),e.columns=i},this.compare=function(e,t){return e.getFullYear()-t.getFullYear()},this.handleKeyDown=function(e,t){var n=this.activeDate.getFullYear();"left"===e?n-=1:"up"===e?n-=i:"right"===e?n+=1:"down"===e?n+=i:"pageup"===e||"pagedown"===e?n+=("pageup"===e?-1:1)*o:"home"===e?n=r(this.activeDate.getFullYear()):"end"===e&&(n=r(this.activeDate.getFullYear())+o-1),this.activeDate.setFullYear(n)}}]).directive("uibDatepicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/datepicker.html"},scope:{datepickerOptions:"=?"},require:["uibDatepicker","^ngModel"],restrict:"A",controller:"UibDatepickerController",controllerAs:"datepicker",link:function(e,t,n,r){var i=r[0],o=r[1];i.init(o)}}}).directive("uibDaypicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/day.html"},require:["^uibDatepicker","uibDaypicker"],restrict:"A",controller:"UibDaypickerController",link:function(e,t,n,r){var i=r[0],o=r[1];o.init(i)}}}).directive("uibMonthpicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/month.html"},require:["^uibDatepicker","uibMonthpicker"],restrict:"A",controller:"UibMonthpickerController",link:function(e,t,n,r){var i=r[0],o=r[1];o.init(i)}}}).directive("uibYearpicker",function(){return{templateUrl:function(e,t){return t.templateUrl||"uib/template/datepicker/year.html"},require:["^uibDatepicker","uibYearpicker"],restrict:"A",controller:"UibYearpickerController",link:function(e,t,n,r){var i=r[0];angular.extend(i,r[1]),i.yearpickerInit(),i.refreshView()}}}),angular.module("ui.bootstrap.position",[]).factory("$uibPosition",["$document","$window",function(e,t){var n,r,i={normal:/(auto|scroll)/,hidden:/(auto|scroll|hidden)/},o={auto:/\s?auto?\s?/i,primary:/^(top|bottom|left|right)$/,secondary:/^(top|bottom|left|right|center)$/,vertical:/^(top|bottom)$/},a=/(HTML|BODY)/;return{getRawNode:function(e){return e.nodeName?e:e[0]||e},parseStyle:function(e){return e=parseFloat(e),isFinite(e)?e:0},offsetParent:function(n){function r(e){return"static"===(t.getComputedStyle(e).position||"static")}n=this.getRawNode(n);for(var i=n.offsetParent||e[0].documentElement;i&&i!==e[0].documentElement&&r(i);)i=i.offsetParent;return i||e[0].documentElement},scrollbarWidth:function(i){if(i){if(angular.isUndefined(r)){var o=e.find("body");o.addClass("uib-position-body-scrollbar-measure"),r=t.innerWidth-o[0].clientWidth,r=isFinite(r)?r:0,o.removeClass("uib-position-body-scrollbar-measure")}return r}if(angular.isUndefined(n)){var a=angular.element('<div class="uib-position-scrollbar-measure"></div>');e.find("body").append(a),n=a[0].offsetWidth-a[0].clientWidth,n=isFinite(n)?n:0,a.remove()}return n},scrollbarPadding:function(e){e=this.getRawNode(e);var n=t.getComputedStyle(e),r=this.parseStyle(n.paddingRight),i=this.parseStyle(n.paddingBottom),o=this.scrollParent(e,!1,!0),s=this.scrollbarWidth(a.test(o.tagName));return{scrollbarWidth:s,widthOverflow:o.scrollWidth>o.clientWidth,right:r+s,originalRight:r,heightOverflow:o.scrollHeight>o.clientHeight,bottom:i+s,originalBottom:i}},isScrollable:function(e,n){e=this.getRawNode(e);var r=n?i.hidden:i.normal,o=t.getComputedStyle(e);return r.test(o.overflow+o.overflowY+o.overflowX)},scrollParent:function(n,r,o){n=this.getRawNode(n);var a=r?i.hidden:i.normal,s=e[0].documentElement,u=t.getComputedStyle(n);if(o&&a.test(u.overflow+u.overflowY+u.overflowX))return n;var l="absolute"===u.position,c=n.parentElement||s;if(c===s||"fixed"===u.position)return s;for(;c.parentElement&&c!==s;){var p=t.getComputedStyle(c);if(l&&"static"!==p.position&&(l=!1),!l&&a.test(p.overflow+p.overflowY+p.overflowX))break;c=c.parentElement}return c},position:function(n,r){n=this.getRawNode(n);var i=this.offset(n);if(r){var o=t.getComputedStyle(n);i.top-=this.parseStyle(o.marginTop),i.left-=this.parseStyle(o.marginLeft)}var a=this.offsetParent(n),s={top:0,left:0};return a!==e[0].documentElement&&(s=this.offset(a),s.top+=a.clientTop-a.scrollTop,s.left+=a.clientLeft-a.scrollLeft),{width:Math.round(angular.isNumber(i.width)?i.width:n.offsetWidth),height:Math.round(angular.isNumber(i.height)?i.height:n.offsetHeight),top:Math.round(i.top-s.top),left:Math.round(i.left-s.left)}},offset:function(n){n=this.getRawNode(n);var r=n.getBoundingClientRect();return{width:Math.round(angular.isNumber(r.width)?r.width:n.offsetWidth),height:Math.round(angular.isNumber(r.height)?r.height:n.offsetHeight),top:Math.round(r.top+(t.pageYOffset||e[0].documentElement.scrollTop)),left:Math.round(r.left+(t.pageXOffset||e[0].documentElement.scrollLeft))}},viewportOffset:function(n,r,i){n=this.getRawNode(n),i=i!==!1;var o=n.getBoundingClientRect(),a={top:0,left:0,bottom:0,right:0},s=r?e[0].documentElement:this.scrollParent(n),u=s.getBoundingClientRect();if(a.top=u.top+s.clientTop,a.left=u.left+s.clientLeft,s===e[0].documentElement&&(a.top+=t.pageYOffset,a.left+=t.pageXOffset),a.bottom=a.top+s.clientHeight,a.right=a.left+s.clientWidth,i){var l=t.getComputedStyle(s);a.top+=this.parseStyle(l.paddingTop),a.bottom-=this.parseStyle(l.paddingBottom),a.left+=this.parseStyle(l.paddingLeft),a.right-=this.parseStyle(l.paddingRight)}return{top:Math.round(o.top-a.top),bottom:Math.round(a.bottom-o.bottom),left:Math.round(o.left-a.left),right:Math.round(a.right-o.right)}},parsePlacement:function(e){var t=o.auto.test(e);return t&&(e=e.replace(o.auto,"")),e=e.split("-"),e[0]=e[0]||"top",o.primary.test(e[0])||(e[0]="top"),e[1]=e[1]||"center",o.secondary.test(e[1])||(e[1]="center"),t?e[2]=!0:e[2]=!1,e},positionElements:function(e,n,r,i){e=this.getRawNode(e),n=this.getRawNode(n);var a=angular.isDefined(n.offsetWidth)?n.offsetWidth:n.prop("offsetWidth"),s=angular.isDefined(n.offsetHeight)?n.offsetHeight:n.prop("offsetHeight");r=this.parsePlacement(r);var u=i?this.offset(e):this.position(e),l={top:0,left:0,placement:""};if(r[2]){var c=this.viewportOffset(e,i),p=t.getComputedStyle(n),d={width:a+Math.round(Math.abs(this.parseStyle(p.marginLeft)+this.parseStyle(p.marginRight))),height:s+Math.round(Math.abs(this.parseStyle(p.marginTop)+this.parseStyle(p.marginBottom)))};if(r[0]="top"===r[0]&&d.height>c.top&&d.height<=c.bottom?"bottom":"bottom"===r[0]&&d.height>c.bottom&&d.height<=c.top?"top":"left"===r[0]&&d.width>c.left&&d.width<=c.right?"right":"right"===r[0]&&d.width>c.right&&d.width<=c.left?"left":r[0],r[1]="top"===r[1]&&d.height-u.height>c.bottom&&d.height-u.height<=c.top?"bottom":"bottom"===r[1]&&d.height-u.height>c.top&&d.height-u.height<=c.bottom?"top":"left"===r[1]&&d.width-u.width>c.right&&d.width-u.width<=c.left?"right":"right"===r[1]&&d.width-u.width>c.left&&d.width-u.width<=c.right?"left":r[1],"center"===r[1])if(o.vertical.test(r[0])){var f=u.width/2-a/2;c.left+f<0&&d.width-u.width<=c.right?r[1]="left":c.right+f<0&&d.width-u.width<=c.left&&(r[1]="right")}else{var h=u.height/2-d.height/2;c.top+h<0&&d.height-u.height<=c.bottom?r[1]="top":c.bottom+h<0&&d.height-u.height<=c.top&&(r[1]="bottom")}}switch(r[0]){case"top":l.top=u.top-s;break;case"bottom":l.top=u.top+u.height;break;case"left":l.left=u.left-a;break;case"right":l.left=u.left+u.width}switch(r[1]){case"top":l.top=u.top;break;case"bottom":l.top=u.top+u.height-s;break;case"left":l.left=u.left;break;case"right":l.left=u.left+u.width-a;break;case"center":o.vertical.test(r[0])?l.left=u.left+u.width/2-a/2:l.top=u.top+u.height/2-s/2}return l.top=Math.round(l.top),l.left=Math.round(l.left),l.placement="center"===r[1]?r[0]:r[0]+"-"+r[1],l},adjustTop:function(e,t,n,r){if(e.indexOf("top")!==-1&&n!==r)return{top:t.top-r+"px"}},positionArrow:function(e,n){e=this.getRawNode(e);var r=e.querySelector(".tooltip-inner, .popover-inner");if(r){var i=angular.element(r).hasClass("tooltip-inner"),a=i?e.querySelector(".tooltip-arrow"):e.querySelector(".arrow");if(a){var s={top:"",bottom:"",left:"",right:""};if(n=this.parsePlacement(n),"center"===n[1])return void angular.element(a).css(s);var u="border-"+n[0]+"-width",l=t.getComputedStyle(a)[u],c="border-";c+=o.vertical.test(n[0])?n[0]+"-"+n[1]:n[1]+"-"+n[0],c+="-radius";var p=t.getComputedStyle(i?r:e)[c];switch(n[0]){case"top":s.bottom=i?"0":"-"+l;break;case"bottom":s.top=i?"0":"-"+l;break;case"left":s.right=i?"0":"-"+l;break;case"right":s.left=i?"0":"-"+l}s[n[1]]=p,angular.element(a).css(s)}}}}}]),angular.module("ui.bootstrap.datepickerPopup",["ui.bootstrap.datepicker","ui.bootstrap.position"]).value("$datepickerPopupLiteralWarning",!0).constant("uibDatepickerPopupConfig",{altInputFormats:[],appendToBody:!1,clearText:"清空",closeOnDateSelection:!0,closeText:"关闭",currentText:"今天",datepickerPopup:"yyyy-MM-dd",datepickerPopupTemplateUrl:"uib/template/datepickerPopup/popup.html",datepickerTemplateUrl:"uib/template/datepicker/datepicker.html",html5Types:{date:"yyyy-MM-dd","datetime-local":"yyyy-MM-ddTHH:mm:ss.sss",month:"yyyy-MM"},onOpenFocus:!0,showButtonBar:!0,placement:"auto bottom-left"}).controller("UibDatepickerPopupController",["$scope","$element","$attrs","$compile","$log","$parse","$window","$document","$rootScope","$uibPosition","dateFilter","uibDateParser","uibDatepickerPopupConfig","$timeout","uibDatepickerConfig","$datepickerPopupLiteralWarning",function(e,t,n,r,i,o,a,s,u,l,c,p,d,f,h,m){function g(t){var n=p.parse(t,k,e.date);if(isNaN(n))for(var r=0;r<j.length;r++)if(n=p.parse(t,j[r],e.date),!isNaN(n))return n;return n}function v(e){if(angular.isNumber(e)&&(e=new Date(e)),!e)return null;if(angular.isDate(e)&&!isNaN(e))return e;if(angular.isString(e)){var t=g(e);if(!isNaN(t))return p.toTimezone(t,P.getOption("timezone"))}return P.getOption("allowInvalid")?e:void 0}function $(e,t){var r=e||t;return!n.ngRequired&&!r||(angular.isNumber(r)&&(r=new Date(r)),!r||(!(!angular.isDate(r)||isNaN(r))||!!angular.isString(r)&&!isNaN(g(r))))}function b(n){if(e.isOpen||!e.disabled){var r=I[0],i=t[0].contains(n.target),o=void 0!==r.contains&&r.contains(n.target);!e.isOpen||i||o||e.$apply(function(){e.isOpen=!1})}}function y(n){27===n.which&&e.isOpen?(n.preventDefault(),n.stopPropagation(),e.$apply(function(){e.isOpen=!1}),t[0].focus()):40!==n.which||e.isOpen||(n.preventDefault(),n.stopPropagation(),e.$apply(function(){e.isOpen=!0}))}function w(){if(e.isOpen){var r=angular.element(I[0].querySelector(".uib-datepicker-popup")),i=n.popupPlacement?n.popupPlacement:d.placement,o=l.positionElements(t,r,i,D);r.css({top:o.top+"px",left:o.left+"px"}),r.hasClass("uib-position-measure")&&r.removeClass("uib-position-measure")}}function x(e){var t;return angular.version.minor<6?(t=angular.isObject(e.$options)?e.$options:{timezone:null},t.getOption=function(e){return t[e]}):t=e.$options,t}var k,C,D,T,M,E,S,O,A,N,P,I,j,V=!1,L=[];this.init=function(i){if(N=i,P=x(N),C=angular.isDefined(n.closeOnDateSelection)?e.$parent.$eval(n.closeOnDateSelection):d.closeOnDateSelection,D=angular.isDefined(n.datepickerAppendToBody)?e.$parent.$eval(n.datepickerAppendToBody):d.appendToBody,T=angular.isDefined(n.onOpenFocus)?e.$parent.$eval(n.onOpenFocus):d.onOpenFocus,M=angular.isDefined(n.datepickerPopupTemplateUrl)?n.datepickerPopupTemplateUrl:d.datepickerPopupTemplateUrl,E=angular.isDefined(n.datepickerTemplateUrl)?n.datepickerTemplateUrl:d.datepickerTemplateUrl,j=angular.isDefined(n.altInputFormats)?e.$parent.$eval(n.altInputFormats):d.altInputFormats,e.showButtonBar=angular.isDefined(n.showButtonBar)?e.$parent.$eval(n.showButtonBar):d.showButtonBar,d.html5Types[n.type]?(k=d.html5Types[n.type],V=!0):(k=n.uibDatepickerPopup||d.datepickerPopup,n.$observe("uibDatepickerPopup",function(e,t){var n=e||d.datepickerPopup;if(n!==k&&(k=n,N.$modelValue=null,!k))throw new Error("uibDatepickerPopup must have a date format specified.")})),!k)throw new Error("uibDatepickerPopup must have a date format specified.");if(V&&n.uibDatepickerPopup)throw new Error("HTML5 date input types do not support custom formats.");S=angular.element("<div uib-datepicker-popup-wrap><div uib-datepicker></div></div>"),S.attr({"ng-model":"date","ng-change":"dateSelection(date)","template-url":M}),O=angular.element(S.children()[0]),O.attr("template-url",E),e.datepickerOptions||(e.datepickerOptions={}),V&&"month"===n.type&&(e.datepickerOptions.datepickerMode="month",e.datepickerOptions.minMode="month"),O.attr("datepicker-options","datepickerOptions"),V?N.$formatters.push(function(t){return e.date=p.fromTimezone(t,P.getOption("timezone")),t}):(N.$$parserName="date",N.$validators.date=$,N.$parsers.unshift(v),N.$formatters.push(function(t){return N.$isEmpty(t)?(e.date=t,t):(angular.isNumber(t)&&(t=new Date(t)),e.date=p.fromTimezone(t,P.getOption("timezone")),p.filter(e.date,k))})),N.$viewChangeListeners.push(function(){e.date=g(N.$viewValue)}),t.on("keydown",y),I=r(S)(e),S.remove(),D?s.find("body").append(I):t.after(I),e.$on("$destroy",function(){for(e.isOpen===!0&&(u.$$phase||e.$apply(function(){e.isOpen=!1})),I.remove(),t.off("keydown",y),s.off("click",b),A&&A.off("scroll",w),angular.element(a).off("resize",w);L.length;)L.shift()()})},e.getText=function(t){return e[t+"Text"]||d[t+"Text"]},e.isDisabled=function(t){"today"===t&&(t=p.fromTimezone(new Date,P.getOption("timezone")));var n={};return angular.forEach(["minDate","maxDate"],function(t){e.datepickerOptions[t]?angular.isDate(e.datepickerOptions[t])?n[t]=new Date(e.datepickerOptions[t]):(m&&i.warn("Literal date support has been deprecated, please switch to date object usage"),n[t]=new Date(c(e.datepickerOptions[t],"medium"))):n[t]=null}),e.datepickerOptions&&n.minDate&&e.compare(t,n.minDate)<0||n.maxDate&&e.compare(t,n.maxDate)>0},e.compare=function(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate())-new Date(t.getFullYear(),t.getMonth(),t.getDate())},e.dateSelection=function(n){e.date=n;var r=e.date?p.filter(e.date,k):null;t.val(r),N.$setViewValue(r),C&&(e.isOpen=!1,t[0].focus())},e.keydown=function(n){27===n.which&&(n.stopPropagation(),e.isOpen=!1,t[0].focus())},e.select=function(t,n){if(n.stopPropagation(),"today"===t){var r=new Date;angular.isDate(e.date)?(t=new Date(e.date),t.setFullYear(r.getFullYear(),r.getMonth(),r.getDate())):(t=p.fromTimezone(r,P.getOption("timezone")),t.setHours(0,0,0,0))}e.dateSelection(t)},e.close=function(n){n.stopPropagation(),e.isOpen=!1,t[0].focus()},e.disabled=angular.isDefined(n.disabled)||!1,n.ngDisabled&&L.push(e.$parent.$watch(o(n.ngDisabled),function(t){e.disabled=t})),e.$watch("isOpen",function(r){r?e.disabled?e.isOpen=!1:f(function(){w(),T&&e.$broadcast("uib:datepicker.focus"),s.on("click",b);var r=n.popupPlacement?n.popupPlacement:d.placement;D||l.parsePlacement(r)[2]?(A=A||angular.element(l.scrollParent(t)),A&&A.on("scroll",w)):A=null,angular.element(a).on("resize",w)},0,!1):(s.off("click",b),A&&A.off("scroll",w),angular.element(a).off("resize",w))}),e.$on("uib:datepicker.mode",function(){f(w,0,!1)})}]).directive("datepickerPopup",function(){return{require:["ngModel","datepickerPopup"],controller:"UibDatepickerPopupController",scope:{datepickerOptions:"=?",isOpen:"=?",currentText:"@",clearText:"@",closeText:"@"},link:function(e,t,n,r){var i=r[0],o=r[1];o.init(i)}}}).directive("uibDatepickerPopupWrap",function(){return{restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/datepickerPopup/popup.html"}}}),angular.module("ui.bootstrap.debounce",[]).factory("$$debounce",["$timeout",function(e){return function(t,n){var r;return function(){var i=this,o=Array.prototype.slice.call(arguments);r&&e.cancel(r),r=e(function(){t.apply(i,o)},n)}}}]),angular.module("ui.bootstrap.multiMap",[]).factory("$$multiMap",function(){return{createNew:function(){var e={};return{entries:function(){return Object.keys(e).map(function(t){return{key:t,value:e[t]}})},get:function(t){return e[t]},hasKey:function(t){return!!e[t]},keys:function(){return Object.keys(e)},put:function(t,n){e[t]||(e[t]=[]),e[t].push(n)},remove:function(t,n){var r=e[t];if(r){var i=r.indexOf(n);i!==-1&&r.splice(i,1),r.length||delete e[t]}}}}}}),angular.module("ui.bootstrap.dropdown",["ui.bootstrap.multiMap","ui.bootstrap.position"]).constant("uibDropdownConfig",{appendToOpenClass:"uib-dropdown-open",openClass:"open"}).service("uibDropdownService",["$document","$rootScope","$$multiMap",function(e,t,n){var r=null,i=n.createNew();this.isOnlyOpen=function(e,t){var n=i.get(t);if(n){var r=n.reduce(function(t,n){return n.scope===e?n:t},{});if(r)return 1===n.length}return!1},this.open=function(t,n,a){if(r||e.on("click",o),r&&r!==t&&(r.isOpen=!1),r=t,a){var s=i.get(a);if(s){var u=s.map(function(e){return e.scope});u.indexOf(t)===-1&&i.put(a,{scope:t})}else i.put(a,{scope:t})}},this.close=function(t,n,a){if(r===t&&(e.off("click",o),e.off("keydown",this.keybindFilter),r=null),a){var s=i.get(a);if(s){var u=s.reduce(function(e,n){return n.scope===t?n:e},{});u&&i.remove(a,u)}}};var o=function(e){if(r&&r.isOpen&&!(e&&"disabled"===r.getAutoClose()||e&&3===e.which)){var n=r.getToggleElement();if(!(e&&n&&n[0].contains(e.target))){var i=r.getDropdownElement();e&&"outsideClick"===r.getAutoClose()&&i&&i[0].contains(e.target)||(r.focusToggleElement(),r.isOpen=!1,t.$$phase||r.$apply())}}};this.keybindFilter=function(e){if(r){var t=r.getDropdownElement(),n=r.getToggleElement(),i=t&&t[0].contains(e.target),a=n&&n[0].contains(e.target);27===e.which?(e.stopPropagation(),r.focusToggleElement(),o()):r.isKeynavEnabled()&&[38,40].indexOf(e.which)!==-1&&r.isOpen&&(i||a)&&(e.preventDefault(),e.stopPropagation(),r.focusDropdownEntry(e.which))}}}]).controller("UibDropdownController",["$scope","$element","$attrs","$parse","uibDropdownConfig","uibDropdownService","$animate","$uibPosition","$document","$compile","$templateRequest",function(e,t,n,r,i,o,a,s,u,l,c){function p(){t.append(h.dropdownMenu)}var d,f,h=this,m=e.$new(),g=i.appendToOpenClass,v=i.openClass,$=angular.noop,b=n.onToggle?r(n.onToggle):angular.noop,y=!1,w=u.find("body");t.addClass("dropdown"),this.init=function(){n.isOpen&&(f=r(n.isOpen),$=f.assign,e.$watch(f,function(e){m.isOpen=!!e})),y=angular.isDefined(n.keyboardNav)},this.toggle=function(e){return m.isOpen=arguments.length?!!e:!m.isOpen,angular.isFunction($)&&$(m,m.isOpen),m.isOpen},this.isOpen=function(){return m.isOpen},m.getToggleElement=function(){return h.toggleElement},m.getAutoClose=function(){return n.autoClose||"always"},m.getElement=function(){return t},m.isKeynavEnabled=function(){return y},m.focusDropdownEntry=function(e){var n=h.dropdownMenu?angular.element(h.dropdownMenu).find("a"):t.find("ul").eq(0).find("a");switch(e){case 40:angular.isNumber(h.selectedOption)?h.selectedOption=h.selectedOption===n.length-1?h.selectedOption:h.selectedOption+1:h.selectedOption=0;break;case 38:angular.isNumber(h.selectedOption)?h.selectedOption=0===h.selectedOption?0:h.selectedOption-1:h.selectedOption=n.length-1}n[h.selectedOption].focus()},m.getDropdownElement=function(){return h.dropdownMenu},m.focusToggleElement=function(){h.toggleElement&&h.toggleElement[0].focus()},m.$watch("isOpen",function(i,f){var y=null,x=!1;if(angular.isDefined(n.dropdownAppendTo)){var k=r(n.dropdownAppendTo)(m);k&&(y=angular.element(k))}if(angular.isDefined(n.dropdownAppendToBody)){var C=r(n.dropdownAppendToBody)(m);C!==!1&&(x=!0)}if(x&&!y&&(y=w),y&&h.dropdownMenu&&(i?(y.append(h.dropdownMenu),t.on("$destroy",p)):(t.off("$destroy",p),p())),y&&h.dropdownMenu){var D,T,M,E=s.positionElements(t,h.dropdownMenu,"bottom-left",!0),S=0;if(D={top:E.top+"px",display:i?"block":"none"},T=h.dropdownMenu.hasClass("dropdown-menu-right"),T?(D.left="auto",M=s.scrollbarPadding(y),M.heightOverflow&&M.scrollbarWidth&&(S=M.scrollbarWidth),D.right=window.innerWidth-S-(E.left+t.prop("offsetWidth"))+"px"):(D.left=E.left+"px",D.right="auto"),!x){var O=s.offset(y);D.top=E.top-O.top+"px",T?D.right=window.innerWidth-(E.left-O.left+t.prop("offsetWidth"))+"px":D.left=E.left-O.left+"px"}h.dropdownMenu.css(D)}var A=y?y:t,N=y?g:v,P=A.hasClass(N),I=o.isOnlyOpen(e,y);if(P===!i){var j;j=y?I?"removeClass":"addClass":i?"addClass":"removeClass",a[j](A,N).then(function(){angular.isDefined(i)&&i!==f&&b(e,{open:!!i})})}if(i)h.dropdownMenuTemplateUrl?c(h.dropdownMenuTemplateUrl).then(function(e){d=m.$new(),l(e.trim())(d,function(e){var t=e;h.dropdownMenu.replaceWith(t),h.dropdownMenu=t,u.on("keydown",o.keybindFilter)})}):u.on("keydown",o.keybindFilter),m.focusToggleElement(),o.open(m,t,y);else{if(o.close(m,t,y),h.dropdownMenuTemplateUrl){d&&d.$destroy();var V=angular.element('<ul class="dropdown-menu"></ul>');h.dropdownMenu.replaceWith(V),h.dropdownMenu=V}h.selectedOption=null}angular.isFunction($)&&$(e,i)})}]).directive("uibDropdown",function(){return{controller:"UibDropdownController",link:function(e,t,n,r){r.init()}}}).directive("uibDropdownMenu",function(){return{restrict:"A",require:"?^uibDropdown",link:function(e,t,n,r){if(r&&!angular.isDefined(n.dropdownNested)){t.addClass("dropdown-menu");var i=n.templateUrl;i&&(r.dropdownMenuTemplateUrl=i),r.dropdownMenu||(r.dropdownMenu=t)}}}}).directive("uibDropdownToggle",function(){return{require:"?^uibDropdown",link:function(e,t,n,r){if(r){t.addClass("dropdown-toggle"),r.toggleElement=t;var i=function(i){i.preventDefault(),t.hasClass("disabled")||n.disabled||e.$apply(function(){
r.toggle()})};t.on("click",i),t.attr({"aria-haspopup":!0,"aria-expanded":!1}),e.$watch(r.isOpen,function(e){t.attr("aria-expanded",!!e)}),e.$on("$destroy",function(){t.off("click",i)})}}}}),angular.module("ui.bootstrap.stackedMap",[]).factory("$$stackedMap",function(){return{createNew:function(){var e=[];return{add:function(t,n){e.push({key:t,value:n})},get:function(t){for(var n=0;n<e.length;n++)if(t===e[n].key)return e[n]},keys:function(){for(var t=[],n=0;n<e.length;n++)t.push(e[n].key);return t},top:function(){return e[e.length-1]},remove:function(t){for(var n=-1,r=0;r<e.length;r++)if(t===e[r].key){n=r;break}return e.splice(n,1)[0]},removeTop:function(){return e.pop()},length:function(){return e.length}}}}}),angular.module("ui.bootstrap.modal",["ui.bootstrap.multiMap","ui.bootstrap.stackedMap","ui.bootstrap.position"]).provider("$uibResolve",function(){var e=this;this.resolver=null,this.setResolver=function(e){this.resolver=e},this.$get=["$injector","$q",function(t,n){var r=e.resolver?t.get(e.resolver):null;return{resolve:function(e,i,o,a){if(r)return r.resolve(e,i,o,a);var s=[];return angular.forEach(e,function(e){angular.isFunction(e)||angular.isArray(e)?s.push(n.resolve(t.invoke(e))):angular.isString(e)?s.push(n.resolve(t.get(e))):s.push(n.resolve(e))}),n.all(s).then(function(t){var n={},r=0;return angular.forEach(e,function(e,i){n[i]=t[r++]}),n})}}}]}).directive("uibModalBackdrop",["$animate","$injector","$uibModalStack",function(e,t,n){function r(t,r,i){i.modalInClass&&(e.addClass(r,i.modalInClass),t.$on(n.NOW_CLOSING_EVENT,function(n,o){var a=o();t.modalOptions.animation?e.removeClass(r,i.modalInClass).then(a):a()}))}return{restrict:"A",compile:function(e,t){return e.addClass(t.backdropClass),r}}}]).directive("uibModalWindow",["$uibModalStack","$q","$animateCss","$document",function(e,t,n,r){return{scope:{index:"@"},restrict:"A",transclude:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/modal/window.html"},link:function(i,o,a){o.addClass(a.windowTopClass||""),i.size=a.size,i.close=function(t){var n=e.getTop();n&&n.value.backdrop&&"static"!==n.value.backdrop&&t.target===t.currentTarget&&(t.preventDefault(),t.stopPropagation(),e.dismiss(n.key,"backdrop click"))},o.on("click",i.close),i.$isRendered=!0;var s=t.defer();i.$$postDigest(function(){s.resolve()}),s.promise.then(function(){var s=null;a.modalInClass&&(s=n(o,{addClass:a.modalInClass}).start(),i.$on(e.NOW_CLOSING_EVENT,function(e,t){var r=t();n(o,{removeClass:a.modalInClass}).start().then(r)})),t.when(s).then(function(){var t=e.getTop();if(t&&e.modalRendered(t.key),!r[0].activeElement||!o[0].contains(r[0].activeElement)){var n=o[0].querySelector("[autofocus]");n?n.focus():o[0].focus()}})})}}}]).directive("uibModalAnimationClass",function(){return{compile:function(e,t){t.modalAnimation&&e.addClass(t.uibModalAnimationClass)}}}).directive("uibModalTransclude",["$animate",function(e){return{link:function(t,n,r,i,o){o(t.$parent,function(t){n.empty(),e.enter(t,n)})}}}]).factory("$uibModalStack",["$animate","$animateCss","$document","$compile","$rootScope","$q","$$multiMap","$$stackedMap","$uibPosition",function(e,t,n,r,i,o,a,s,u){function l(e){var t="-";return e.replace(O,function(e,n){return(n?t:"")+e.toLowerCase()})}function c(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)}function p(){for(var e=-1,t=k.keys(),n=0;n<t.length;n++)k.get(t[n]).value.backdrop&&(e=n);return e>-1&&e<T&&(e=T),e}function d(e,t){var n=k.get(e).value,r=n.appendTo;k.remove(e),M=k.top(),M&&(T=parseInt(M.value.modalDomEl.attr("index"),10)),m(n.modalDomEl,n.modalScope,function(){var t=n.openedClass||x;C.remove(t,e);var i=C.hasKey(t);r.toggleClass(t,i),!i&&w&&w.heightOverflow&&w.scrollbarWidth&&(w.originalRight?r.css({paddingRight:w.originalRight+"px"}):r.css({paddingRight:""}),w=null),f(!0)},n.closedDeferred),h(),t&&t.focus?t.focus():r.focus&&r.focus()}function f(e){var t;k.length()>0&&(t=k.top().value,t.modalDomEl.toggleClass(t.windowTopClass||"",e))}function h(){if(b&&p()===-1){var e=y;m(b,y,function(){e=null}),b=void 0,y=void 0}}function m(t,n,r,i){function a(){a.done||(a.done=!0,e.leave(t).then(function(){r&&r(),t.remove(),i&&i.resolve()}),n.$destroy())}var s,u=null,l=function(){return s||(s=o.defer(),u=s.promise),function(){s.resolve()}};return n.$broadcast(D.NOW_CLOSING_EVENT,l),o.when(u).then(a)}function g(e){if(e.isDefaultPrevented())return e;var t=k.top();if(t)switch(e.which){case 27:t.value.keyboard&&(e.preventDefault(),i.$apply(function(){D.dismiss(t.key,"escape key press")}));break;case 9:var n=D.loadFocusElementList(t),r=!1;e.shiftKey?(D.isFocusInFirstItem(e,n)||D.isModalFocused(e,t))&&(r=D.focusLastFocusableElement(n)):D.isFocusInLastItem(e,n)&&(r=D.focusFirstFocusableElement(n)),r&&(e.preventDefault(),e.stopPropagation())}}function v(e,t,n){return!e.value.modalScope.$broadcast("modal.closing",t,n).defaultPrevented}function $(){Array.prototype.forEach.call(document.querySelectorAll("["+E+"]"),function(e){var t=parseInt(e.getAttribute(E),10),n=t-1;e.setAttribute(E,n),n||(e.removeAttribute(E),e.removeAttribute("aria-hidden"))})}var b,y,w,x="modal-open",k=s.createNew(),C=a.createNew(),D={NOW_CLOSING_EVENT:"modal.stack.now-closing"},T=0,M=null,E="data-bootstrap-modal-aria-hidden-count",S="a[href], area[href], input:not([disabled]):not([tabindex='-1']), button:not([disabled]):not([tabindex='-1']),select:not([disabled]):not([tabindex='-1']), textarea:not([disabled]):not([tabindex='-1']), iframe, object, embed, *[tabindex]:not([tabindex='-1']), *[contenteditable=true]",O=/[A-Z]/g;return i.$watch(p,function(e){y&&(y.index=e)}),n.on("keydown",g),i.$on("$destroy",function(){n.off("keydown",g)}),D.open=function(t,o){function a(e){function t(e){var t=e.parent()?e.parent().children():[];return Array.prototype.filter.call(t,function(t){return t!==e[0]})}if(e&&"BODY"!==e[0].tagName)return t(e).forEach(function(e){var t="true"===e.getAttribute("aria-hidden"),n=parseInt(e.getAttribute(E),10);n||(n=t?1:0),e.setAttribute(E,n+1),e.setAttribute("aria-hidden","true")}),a(e.parent())}var s=n[0].activeElement,c=o.openedClass||x;f(!1),M=k.top(),k.add(t,{deferred:o.deferred,renderDeferred:o.renderDeferred,closedDeferred:o.closedDeferred,modalScope:o.scope,backdrop:o.backdrop,keyboard:o.keyboard,openedClass:o.openedClass,windowTopClass:o.windowTopClass,animation:o.animation,appendTo:o.appendTo}),C.put(c,t);var d=o.appendTo,h=p();h>=0&&!b&&(y=i.$new(!0),y.modalOptions=o,y.index=h,b=angular.element('<div uib-modal-backdrop="modal-backdrop"></div>'),b.attr({"class":"modal-backdrop","ng-style":"{'z-index': 1040 + (index && 1 || 0) + index*10}","uib-modal-animation-class":"fade","modal-in-class":"in"}),o.backdropClass&&b.addClass(o.backdropClass),o.animation&&b.attr("modal-animation","true"),r(b)(y),e.enter(b,d),u.isScrollable(d)&&(w=u.scrollbarPadding(d),w.heightOverflow&&w.scrollbarWidth&&d.css({paddingRight:w.right+"px"})));var m;o.component?(m=document.createElement(l(o.component.name)),m=angular.element(m),m.attr({resolve:"$resolve","modal-instance":"$modalInstance",close:"$close($value)",dismiss:"$dismiss($value)"})):m=o.content,T=M?parseInt(M.value.modalDomEl.attr("index"),10)+1:0;var g=angular.element('<div uib-modal-window="modal-window"></div>');g.attr({"class":"modal","template-url":o.windowTemplateUrl,"window-top-class":o.windowTopClass,role:"dialog","aria-labelledby":o.ariaLabelledBy,"aria-describedby":o.ariaDescribedBy,size:o.size,index:T,animate:"animate","ng-style":"{'z-index': 1050 + $$topModalIndex*10, display: 'block'}",tabindex:-1,"uib-modal-animation-class":"fade","modal-in-class":"in"}).append(m),o.windowClass&&g.addClass(o.windowClass),o.animation&&g.attr("modal-animation","true"),d.addClass(c),o.scope&&(o.scope.$$topModalIndex=T),e.enter(r(g)(o.scope),d),k.top().value.modalDomEl=g,k.top().value.modalOpener=s,a(g)},D.close=function(e,t){var n=k.get(e);return $(),n&&v(n,t,!0)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.resolve(t),d(e,n.value.modalOpener),!0):!n},D.dismiss=function(e,t){var n=k.get(e);return $(),n&&v(n,t,!1)?(n.value.modalScope.$$uibDestructionScheduled=!0,n.value.deferred.reject(t),d(e,n.value.modalOpener),!0):!n},D.dismissAll=function(e){for(var t=this.getTop();t&&this.dismiss(t.key,e);)t=this.getTop()},D.getTop=function(){return k.top()},D.modalRendered=function(e){var t=k.get(e);t&&t.value.renderDeferred.resolve()},D.focusFirstFocusableElement=function(e){return e.length>0&&(e[0].focus(),!0)},D.focusLastFocusableElement=function(e){return e.length>0&&(e[e.length-1].focus(),!0)},D.isModalFocused=function(e,t){if(e&&t){var n=t.value.modalDomEl;if(n&&n.length)return(e.target||e.srcElement)===n[0]}return!1},D.isFocusInFirstItem=function(e,t){return t.length>0&&(e.target||e.srcElement)===t[0]},D.isFocusInLastItem=function(e,t){return t.length>0&&(e.target||e.srcElement)===t[t.length-1]},D.loadFocusElementList=function(e){if(e){var t=e.value.modalDomEl;if(t&&t.length){var n=t[0].querySelectorAll(S);return n?Array.prototype.filter.call(n,function(e){return c(e)}):n}}},D}]).provider("$modal",function(){var e={options:{animation:!0,backdrop:!0,keyboard:!0},$get:["$rootScope","$q","$document","$templateRequest","$controller","$uibResolve","$uibModalStack",function(t,n,r,i,o,a,s){function u(e){return e.template?n.when(e.template):i(angular.isFunction(e.templateUrl)?e.templateUrl():e.templateUrl)}var l={},c=null;return l.getPromiseChain=function(){return c},l.open=function(i){function l(){return g}var p=n.defer(),d=n.defer(),f=n.defer(),h=n.defer(),m={result:p.promise,opened:d.promise,closed:f.promise,rendered:h.promise,close:function(e){return s.close(m,e)},dismiss:function(e){return s.dismiss(m,e)}};if(i=angular.extend({},e.options,i),i.resolve=i.resolve||{},i.appendTo=i.appendTo||r.find("body").eq(0),!i.appendTo.length)throw new Error("appendTo element not found. Make sure that the element passed is in DOM.");if(!i.component&&!i.template&&!i.templateUrl)throw new Error("One of component or template or templateUrl options is required.");var g;g=i.component?n.when(a.resolve(i.resolve,{},null,null)):n.all([u(i),a.resolve(i.resolve,{},null,null)]);var v;return v=c=n.all([c]).then(l,l).then(function(e){function n(t,n,r,i){t.$scope=a,t.$scope.$resolve={},r?t.$scope.$modalInstance=m:t.$modalInstance=m;var o=n?e[1]:e;angular.forEach(o,function(e,n){i&&(t[n]=e),t.$scope.$resolve[n]=e})}var r=i.scope||t,a=r.$new();a.$close=m.close,a.$dismiss=m.dismiss,a.$on("$destroy",function(){a.$$uibDestructionScheduled||a.$dismiss("$uibUnscheduledDestruction")});var u,l,c={scope:a,deferred:p,renderDeferred:h,closedDeferred:f,animation:i.animation,backdrop:i.backdrop,keyboard:i.keyboard,backdropClass:i.backdropClass,windowTopClass:i.windowTopClass,windowClass:i.windowClass,windowTemplateUrl:i.windowTemplateUrl,ariaLabelledBy:i.ariaLabelledBy,ariaDescribedBy:i.ariaDescribedBy,size:i.size,openedClass:i.openedClass,appendTo:i.appendTo},g={},v={};i.component?(n(g,!1,!0,!1),g.name=i.component,c.component=g):i.controller&&(n(v,!0,!1,!0),l=o(i.controller,v,!0,i.controllerAs),i.controllerAs&&i.bindToController&&(u=l.instance,u.$close=a.$close,u.$dismiss=a.$dismiss,angular.extend(u,{$resolve:v.$scope.$resolve},r)),u=l(),angular.isFunction(u.$onInit)&&u.$onInit()),i.component||(c.content=e[0]),s.open(m,c),d.resolve(!0)},function(e){d.reject(e),p.reject(e)})["finally"](function(){c===v&&(c=null)}),m},l}]};return e}),angular.module("ui.bootstrap.paging",[]).factory("uibPaging",["$parse",function(e){return{create:function(t,n,r){t.setNumPages=r.numPages?e(r.numPages).assign:angular.noop,t.ngModelCtrl={$setViewValue:angular.noop},t._watchers=[],t.init=function(e,i){t.ngModelCtrl=e,t.config=i,e.$render=function(){t.render()},r.itemsPerPage?t._watchers.push(n.$parent.$watch(r.itemsPerPage,function(e){t.itemsPerPage=parseInt(e,10),n.totalPages=t.calculateTotalPages(),t.updatePage()})):t.itemsPerPage=i.itemsPerPage,n.$watch("totalItems",function(e,r){(angular.isDefined(e)||e!==r)&&(n.totalPages=t.calculateTotalPages(),t.updatePage())})},t.calculateTotalPages=function(){var e=t.itemsPerPage<1?1:Math.ceil(n.totalItems/t.itemsPerPage);return Math.max(e||0,1)},t.render=function(){n.page=parseInt(t.ngModelCtrl.$viewValue,10)||1},n.selectPage=function(e,r){r&&r.preventDefault();var i=!n.ngDisabled||!r;i&&n.page!==e&&e>0&&e<=n.totalPages&&(r&&r.target&&r.target.blur(),t.ngModelCtrl.$setViewValue(e),t.ngModelCtrl.$render())},n.choosePage=function(e,r){r&&r.preventDefault();var i=/^\d+$/;i.test(e)&&e>0&&e<=n.totalPages&&(r&&r.target&&r.target.blur(),t.ngModelCtrl.$setViewValue(e),t.ngModelCtrl.$render())},n.isNumber=function(e){var t=$(e.currentTarget);t.css("ime-mode","disabled"),t.val(t.val().replace(/\D|^0/g,"")),t.val()>n.totalPages&&(n.page=n.totalPages,t.val(n.totalPages))},n.noChoose=function(e){return e>n.totalPages||e<=0},n.getText=function(e){return n[e+"Text"]||t.config[e+"Text"]},n.noPrevious=function(){return 1===n.page},n.noNext=function(){return n.page===n.totalPages},t.updatePage=function(){t.setNumPages(n.$parent,n.totalPages),n.page>n.totalPages?n.selectPage(n.totalPages):t.ngModelCtrl.$render()},n.$on("$destroy",function(){for(;t._watchers.length;)t._watchers.shift()()})}}}]),angular.module("ui.bootstrap.pager",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPagerController",["$scope","$attrs","uibPaging","uibPagerConfig",function(e,t,n,r){e.align=angular.isDefined(t.align)?e.$parent.$eval(t.align):r.align,n.create(this,e,t)}]).constant("uibPagerConfig",{itemsPerPage:10,previousText:"« Previous",nextText:"Next »",align:!0}).directive("uibPager",["uibPagerConfig",function(e){return{scope:{totalItems:"=",previousText:"@",nextText:"@",ngDisabled:"="},require:["uibPager","?ngModel"],restrict:"A",controller:"UibPagerController",controllerAs:"pager",templateUrl:function(e,t){return t.templateUrl||"uib/template/pager/pager.html"},link:function(t,n,r,i){n.addClass("pager");var o=i[0],a=i[1];a&&o.init(a,e)}}}]),angular.module("ui.bootstrap.pagination",["ui.bootstrap.paging","ui.bootstrap.tabindex"]).controller("UibPaginationController",["$scope","$attrs","$parse","uibPaging","uibPaginationConfig",function(e,t,n,r,i){function o(e,t,n){return{number:e,text:t,active:n}}function a(e,t){var n=[],r=1,i=t,a=angular.isDefined(u)&&u<t;a&&(l?(r=Math.max(e-Math.floor(u/2),1),i=r+u-1,i>t&&(i=t,r=i-u+1)):(r=(Math.ceil(e/u)-1)*u+1,i=Math.min(r+u-1,t)));for(var s=r;s<=i;s++){var f=o(s,d(s),s===e);n.push(f)}if(a&&u>0&&(!l||c||p)){if(r>1){if(!p||r>3){var h=o(r-1,"...",!1);n.unshift(h)}if(p){if(3===r){var m=o(2,"2",!1);n.unshift(m)}var g=o(1,"1",!1);n.unshift(g)}}if(i<t){if(!p||i<t-2){var v=o(i+1,"...",!1);n.push(v)}if(p){if(i===t-2){var $=o(t-1,t-1,!1);n.push($)}var b=o(t,t,!1);n.push(b)}}}return n}var s=this,u=angular.isDefined(t.maxSize)?e.$parent.$eval(t.maxSize):i.maxSize,l=angular.isDefined(t.rotate)?e.$parent.$eval(t.rotate):i.rotate,c=angular.isDefined(t.forceEllipses)?e.$parent.$eval(t.forceEllipses):i.forceEllipses,p=angular.isDefined(t.boundaryLinkNumbers)?e.$parent.$eval(t.boundaryLinkNumbers):i.boundaryLinkNumbers,d=angular.isDefined(t.pageLabel)?function(n){return e.$parent.$eval(t.pageLabel,{$page:n})}:angular.identity;e.boundaryLinks=angular.isDefined(t.boundaryLinks)?e.$parent.$eval(t.boundaryLinks):i.boundaryLinks,e.directionLinks=angular.isDefined(t.directionLinks)?e.$parent.$eval(t.directionLinks):i.directionLinks,t.$set("role","menu"),r.create(this,e,t),t.maxSize&&s._watchers.push(e.$parent.$watch(n(t.maxSize),function(e){u=parseInt(e,10),s.render()}));var f=this.render;this.render=function(){f(),e.page>0&&e.page<=e.totalPages&&(e.pages=a(e.page,e.totalPages))}}]).constant("uibPaginationConfig",{itemsPerPage:10,boundaryLinks:!1,boundaryLinkNumbers:!1,directionLinks:!0,firstText:"First",previousText:"",nextText:"",lastText:"Last",rotate:!0,forceEllipses:!1}).directive("pagination",["$parse","uibPaginationConfig",function(e,t){return{scope:{totalItems:"=",firstText:"@",previousText:"@",nextText:"@",lastText:"@",ngDisabled:"="},require:["pagination","?ngModel"],restrict:"EA",controller:"UibPaginationController",controllerAs:"pagination",templateUrl:function(e,t){return t.templateUrl||"uib/template/pagination/pagination.html"},link:function(e,n,r,i){function o(t,n){switch(t){case"ZH_CN":case"ZH_TW":case"ZH_HK":e.i18n["new"]=e.i18n.cn;break;case"EN_HK":case"EN_US":case"EN_GB":case"EN_WW":case"EN_EU":e.i18n["new"]=e.i18n.en;break;default:n?o(xnConfig.language):e.i18n["new"]=e.i18n.cn}}n.addClass("pagination");var a=i[0],s=i[1];s&&(e.i18n={"new":{},cn:{go:"去到",ok:"确认"},en:{go:"go",ok:"confirm"}},o(e.language,!0),a.init(s,t))}}}]),angular.module("ui.bootstrap.tooltip",["ui.bootstrap.position","ui.bootstrap.stackedMap"]).provider("$uibTooltip",function(){function e(e){var t=/[A-Z]/g,n="-";return e.replace(t,function(e,t){return(t?n:"")+e.toLowerCase()})}var t={placement:"top",placementClassPrefix:"",animation:!0,popupDelay:0,popupCloseDelay:0,useContentExp:!1},n={mouseenter:"mouseleave",click:"click",outsideClick:"outsideClick",focus:"blur",none:""},r={};this.options=function(e){angular.extend(r,e)},this.setTriggers=function(e){angular.extend(n,e)},this.$get=["$window","$compile","$timeout","$document","$uibPosition","$interpolate","$rootScope","$parse","$$stackedMap",function(i,o,a,s,u,l,c,p,d){function f(e){if(27===e.which){var t=h.top();t&&(t.value.close(),t=null)}}var h=d.createNew();return s.on("keyup",f),c.$on("$destroy",function(){s.off("keyup",f)}),function(i,c,d,f){function m(e){var t=(e||f.trigger||d).split(" "),r=t.map(function(e){return n[e]||e});return{show:t,hide:r}}f=angular.extend({},t,r,f);var g=e(i),v=l.startSymbol(),$=l.endSymbol(),b="<div "+g+'-popup uib-title="'+v+"title"+$+'" '+(f.useContentExp?'content-exp="contentExp()" ':'content="'+v+"content"+$+'" ')+'origin-scope="origScope" class="uib-position-measure '+c+'" tooltip-animation-class="fade"uib-tooltip-classes ng-class="{ in: isOpen }" ></div>';return{compile:function(e,t){var n=o(b);return function(e,t,r,o){function l(){H.isOpen?g():d()}function d(){U&&!e.$eval(r[c+"Enable"])||(y(),k(),H.popupDelay?P||(P=a(v,H.popupDelay,!1)):v())}function g(){$(),H.popupCloseDelay?I||(I=a(b,H.popupCloseDelay,!1)):b()}function v(){return $(),y(),H.content?(w(),void H.$evalAsync(function(){H.isOpen=!0,C(!0),W()})):angular.noop}function $(){P&&(a.cancel(P),P=null),j&&(a.cancel(j),j=null)}function b(){H&&H.$evalAsync(function(){H&&(H.isOpen=!1,C(!1),H.animation?N||(N=a(x,150,!1)):x())})}function y(){I&&(a.cancel(I),I=null),N&&(a.cancel(N),N=null)}function w(){O||(A=H.$new(),O=n(A,function(e){R?s.find("body").append(e):t.after(e)}),h.add(H,{close:b}),D())}function x(){$(),y(),T(),O&&(O.remove(),O=null,V&&a.cancel(V)),h.remove(H),A&&(A.$destroy(),A=null)}function k(){H.title=r[c+"Title"],B?H.content=B(e):H.content=r[i],H.popupClass=r[c+"Class"],H.placement=angular.isDefined(r[c+"Placement"])?r[c+"Placement"]:f.placement;var t=u.parsePlacement(H.placement);L=t[1]?t[0]+"-"+t[1]:t[0];var n=parseInt(r[c+"PopupDelay"],10),o=parseInt(r[c+"PopupCloseDelay"],10);H.popupDelay=isNaN(n)?f.popupDelay:n,H.popupCloseDelay=isNaN(o)?f.popupCloseDelay:o}function C(t){q&&angular.isFunction(q.assign)&&q.assign(e,t)}function D(){z.length=0,B?(z.push(e.$watch(B,function(e){H.content=e,!e&&H.isOpen&&b()})),z.push(A.$watch(function(){_||(_=!0,A.$$postDigest(function(){_=!1,H&&H.isOpen&&W()}))}))):z.push(r.$observe(i,function(e){H.content=e,!e&&H.isOpen?b():W()})),z.push(r.$observe(c+"Title",function(e){H.title=e,H.isOpen&&W()})),z.push(r.$observe(c+"Placement",function(e){H.placement=e?e:f.placement,H.isOpen&&W()}))}function T(){z.length&&(angular.forEach(z,function(e){e()}),z.length=0)}function M(e){H&&H.isOpen&&O&&(t[0].contains(e.target)||O[0].contains(e.target)||g())}function E(e){27===e.which&&g()}function S(){var n=[],i=[],o=e.$eval(r[c+"Trigger"]);Y(),angular.isObject(o)?(Object.keys(o).forEach(function(e){n.push(e),i.push(o[e])}),F={show:n,hide:i}):F=m(o),"none"!==F.show&&F.show.forEach(function(e,n){"outsideClick"===e?(t.on("click",l),s.on("click",M)):e===F.hide[n]?t.on(e,l):e&&(t.on(e,d),t.on(F.hide[n],g)),t.on("keypress",E)})}var O,A,N,P,I,j,V,L,R=!!angular.isDefined(f.appendToBody)&&f.appendToBody,F=m(void 0),U=angular.isDefined(r[c+"Enable"]),H=e.$new(!0),_=!1,q=!!angular.isDefined(r[c+"IsOpen"])&&p(r[c+"IsOpen"]),B=!!f.useContentExp&&p(r[i]),z=[],W=function(){O&&O.html()&&(j||(j=a(function(){var e=u.positionElements(t,O,H.placement,R),n=angular.isDefined(O.offsetHeight)?O.offsetHeight:O.prop("offsetHeight"),r=R?u.offset(t):u.position(t);O.css({top:e.top+"px",left:e.left+"px"});var i=e.placement.split("-");O.hasClass(i[0])||(O.removeClass(L.split("-")[0]),O.addClass(i[0])),O.hasClass(f.placementClassPrefix+e.placement)||(O.removeClass(f.placementClassPrefix+L),O.addClass(f.placementClassPrefix+e.placement)),V=a(function(){var e=angular.isDefined(O.offsetHeight)?O.offsetHeight:O.prop("offsetHeight"),t=u.adjustTop(i,r,n,e);t&&O.css(t),V=null},0,!1),O.hasClass("uib-position-measure")?(u.positionArrow(O,e.placement),O.removeClass("uib-position-measure")):L!==e.placement&&u.positionArrow(O,e.placement),L=e.placement,j=null},0,!1)))};H.origScope=e,H.isOpen=!1,H.contentExp=function(){return H.content},r.$observe("disabled",function(e){e&&$(),e&&H.isOpen&&b()}),q&&e.$watch(q,function(e){H&&!e===H.isOpen&&l()});var Y=function(){F.show.forEach(function(e){"outsideClick"===e?t.off("click",l):(t.off(e,d),t.off(e,l)),t.off("keypress",E)}),F.hide.forEach(function(e){"outsideClick"===e?s.off("click",M):t.off(e,g)})};S();var G=e.$eval(r[c+"Animation"]);H.animation=angular.isDefined(G)?!!G:f.animation;var K,Z=c+"AppendToBody";K=Z in r&&void 0===r[Z]||e.$eval(r[Z]),R=angular.isDefined(K)?K:R,e.$on("$destroy",function(){Y(),x(),H=null})}}}}}]}).directive("uibTooltipTemplateTransclude",["$animate","$sce","$compile","$templateRequest",function(e,t,n,r){return{link:function(i,o,a){var s,u,l,c=i.$eval(a.tooltipTemplateTranscludeScope),p=0,d=function(){u&&(u.remove(),u=null),s&&(s.$destroy(),s=null),l&&(e.leave(l).then(function(){u=null}),u=l,l=null)};i.$watch(t.parseAsResourceUrl(a.uibTooltipTemplateTransclude),function(t){var a=++p;t?(r(t,!0).then(function(r){if(a===p){var i=c.$new(),u=r,f=n(u)(i,function(t){d(),e.enter(t,o)});s=i,l=f,s.$emit("$includeContentLoaded",t)}},function(){a===p&&(d(),i.$emit("$includeContentError",t))}),i.$emit("$includeContentRequested",t)):d()}),i.$on("$destroy",d)}}}]).directive("uibTooltipClasses",["$uibPosition",function(e){return{restrict:"A",link:function(t,n,r){if(t.placement){var i=e.parsePlacement(t.placement);n.addClass(i[0])}t.popupClass&&n.addClass(t.popupClass),t.animation&&n.addClass(r.tooltipAnimationClass)}}}]).directive("uibTooltipPopup",function(){return{restrict:"A",scope:{content:"@"},templateUrl:"uib/template/tooltip/tooltip-popup.html"}}).directive("uibTooltip",["$uibTooltip",function(e){return e("uibTooltip","tooltip","mouseenter")}]).directive("uibTooltipTemplatePopup",function(){return{restrict:"A",scope:{contentExp:"&",originScope:"&"},templateUrl:"uib/template/tooltip/tooltip-template-popup.html"}}).directive("uibTooltipTemplate",["$uibTooltip",function(e){return e("uibTooltipTemplate","tooltip","mouseenter",{useContentExp:!0})}]).directive("uibTooltipHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&"},templateUrl:"uib/template/tooltip/tooltip-html-popup.html"}}).directive("uibTooltipHtml",["$uibTooltip",function(e){return e("uibTooltipHtml","tooltip","mouseenter",{useContentExp:!0})}]),angular.module("ui.bootstrap.popover",["ui.bootstrap.tooltip"]).directive("uibPopoverTemplatePopup",function(){return{restrict:"A",scope:{uibTitle:"@",contentExp:"&",originScope:"&"},templateUrl:"uib/template/popover/popover-template.html"}}).directive("uibPopoverTemplate",["$uibTooltip",function(e){return e("uibPopoverTemplate","popover","click",{useContentExp:!0})}]).directive("uibPopoverHtmlPopup",function(){return{restrict:"A",scope:{contentExp:"&",uibTitle:"@"},templateUrl:"uib/template/popover/popover-html.html"}}).directive("uibPopoverHtml",["$uibTooltip",function(e){return e("uibPopoverHtml","popover","click",{useContentExp:!0})}]).directive("uibPopoverPopup",function(){return{restrict:"A",scope:{uibTitle:"@",content:"@"},templateUrl:"uib/template/popover/popover.html"}}).directive("uibPopover",["$uibTooltip",function(e){return e("uibPopover","popover","click")}]),angular.module("ui.bootstrap.progressbar",[]).constant("uibProgressConfig",{animate:!0,max:100}).controller("UibProgressController",["$scope","$attrs","uibProgressConfig",function(e,t,n){function r(){return angular.isDefined(e.maxParam)?e.maxParam:n.max}var i=this,o=angular.isDefined(t.animate)?e.$parent.$eval(t.animate):n.animate;this.bars=[],e.max=r(),this.addBar=function(e,t,n){o||t.css({transition:"none"}),this.bars.push(e),e.max=r(),e.title=n&&angular.isDefined(n.title)?n.title:"progressbar",e.$watch("value",function(t){e.recalculatePercentage()}),e.recalculatePercentage=function(){var t=i.bars.reduce(function(e,t){return t.percent=+(100*t.value/t.max).toFixed(2),e+t.percent},0);t>100&&(e.percent-=t-100)},e.$on("$destroy",function(){t=null,i.removeBar(e)})},this.removeBar=function(e){this.bars.splice(this.bars.indexOf(e),1),this.bars.forEach(function(e){e.recalculatePercentage()})},e.$watch("maxParam",function(e){i.bars.forEach(function(e){e.max=r(),e.recalculatePercentage()})})}]).directive("uibProgress",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",require:"uibProgress",scope:{maxParam:"=?max"},templateUrl:"uib/template/progressbar/progress.html"}}).directive("uibBar",function(){return{replace:!0,transclude:!0,require:"^uibProgress",scope:{value:"=",type:"@"},templateUrl:"uib/template/progressbar/bar.html",link:function(e,t,n,r){r.addBar(e,t,n)}}}).directive("uibProgressbar",function(){return{replace:!0,transclude:!0,controller:"UibProgressController",scope:{value:"=",maxParam:"=?max",type:"@"},templateUrl:"uib/template/progressbar/progressbar.html",link:function(e,t,n,r){r.addBar(e,angular.element(t.children()[0]),{title:n.title})}}}),angular.module("ui.bootstrap.rating",[]).constant("uibRatingConfig",{max:5,stateOn:null,stateOff:null,enableReset:!0,titles:["one","two","three","four","five"]}).controller("UibRatingController",["$scope","$attrs","uibRatingConfig",function(e,t,n){var r={$setViewValue:angular.noop},i=this;this.init=function(i){r=i,r.$render=this.render,r.$formatters.push(function(e){return angular.isNumber(e)&&e<<0!==e&&(e=Math.round(e)),e}),this.stateOn=angular.isDefined(t.stateOn)?e.$parent.$eval(t.stateOn):n.stateOn,this.stateOff=angular.isDefined(t.stateOff)?e.$parent.$eval(t.stateOff):n.stateOff,this.enableReset=angular.isDefined(t.enableReset)?e.$parent.$eval(t.enableReset):n.enableReset;var o=angular.isDefined(t.titles)?e.$parent.$eval(t.titles):n.titles;this.titles=angular.isArray(o)&&o.length>0?o:n.titles;var a=angular.isDefined(t.ratingStates)?e.$parent.$eval(t.ratingStates):new Array(angular.isDefined(t.max)?e.$parent.$eval(t.max):n.max);e.range=this.buildTemplateObjects(a)},this.buildTemplateObjects=function(e){for(var t=0,n=e.length;t<n;t++)e[t]=angular.extend({index:t},{stateOn:this.stateOn,stateOff:this.stateOff,title:this.getTitle(t)},e[t]);return e},this.getTitle=function(e){return e>=this.titles.length?e+1:this.titles[e]},e.rate=function(t){if(!e.readonly&&t>=0&&t<=e.range.length){var n=i.enableReset&&r.$viewValue===t?0:t;r.$setViewValue(n),r.$render()}},e.enter=function(t){e.readonly||(e.value=t),e.onHover({value:t})},e.reset=function(){e.value=r.$viewValue,e.onLeave()},e.onKeydown=function(t){/(37|38|39|40)/.test(t.which)&&(t.preventDefault(),t.stopPropagation(),e.rate(e.value+(38===t.which||39===t.which?1:-1)))},this.render=function(){e.value=r.$viewValue,e.title=i.getTitle(e.value-1)}}]).directive("uibRating",function(){return{require:["uibRating","ngModel"],restrict:"A",scope:{readonly:"=?readOnly",onHover:"&",onLeave:"&"},controller:"UibRatingController",templateUrl:"uib/template/rating/rating.html",link:function(e,t,n,r){var i=r[0],o=r[1];i.init(o)}}}),angular.module("ui.bootstrap.tabs",[]).controller("UibTabsetController",["$scope",function(e){function t(e){for(var t=0;t<r.tabs.length;t++)if(r.tabs[t].index===e)return t}var n,r=this;r.tabs=[],r.select=function(e,o){if(!i){var a=t(n),s=r.tabs[a];if(s){if(s.tab.onDeselect({$event:o,$selectedIndex:e}),o&&o.isDefaultPrevented())return;s.tab.active=!1}var u=r.tabs[e];u?(u.tab.onSelect({$event:o}),u.tab.active=!0,r.active=u.index,n=u.index):!u&&angular.isDefined(n)&&(r.active=null,n=null)}},r.addTab=function(e){if(r.tabs.push({tab:e,index:e.index}),r.tabs.sort(function(e,t){return e.index>t.index?1:e.index<t.index?-1:0}),e.index===r.active||!angular.isDefined(r.active)&&1===r.tabs.length){var n=t(e.index);r.select(n)}},r.removeTab=function(e){for(var t,n=0;n<r.tabs.length;n++)if(r.tabs[n].tab===e){t=n;break}if(r.tabs[t].index===r.active){var i=t===r.tabs.length-1?t-1:t+1%r.tabs.length;r.select(i)}r.tabs.splice(t,1)},e.$watch("tabset.active",function(e){angular.isDefined(e)&&e!==n&&r.select(t(e))});var i;e.$on("$destroy",function(){i=!0})}]).directive("uibTabset",function(){return{transclude:!0,replace:!0,scope:{},bindToController:{active:"=?",type:"@"},controller:"UibTabsetController",controllerAs:"tabset",templateUrl:function(e,t){return t.templateUrl||"uib/template/tabs/tabset.html"},link:function(e,t,n){e.vertical=!!angular.isDefined(n.vertical)&&e.$parent.$eval(n.vertical),e.justified=!!angular.isDefined(n.justified)&&e.$parent.$eval(n.justified)}}}).directive("uibTab",["$parse",function(e){return{require:"^uibTabset",replace:!0,templateUrl:function(e,t){return t.templateUrl||"uib/template/tabs/tab.html"},transclude:!0,scope:{heading:"@",index:"=?",classes:"@?",onSelect:"&select",onDeselect:"&deselect"},controller:function(){},controllerAs:"tab",link:function(t,n,r,i,o){t.disabled=!1,r.disable&&t.$parent.$watch(e(r.disable),function(e){t.disabled=!!e}),angular.isUndefined(r.index)&&(i.tabs&&i.tabs.length?t.index=Math.max.apply(null,i.tabs.map(function(e){return e.index}))+1:t.index=0),angular.isUndefined(r.classes)&&(t.classes=""),t.select=function(e){if(!t.disabled){for(var n,r=0;r<i.tabs.length;r++)if(i.tabs[r].tab===t){n=r;break}i.select(n,e)}},i.addTab(t),t.$on("$destroy",function(){i.removeTab(t)}),t.$transcludeFn=o}}}]).directive("uibTabHeadingTransclude",function(){return{restrict:"A",require:"^uibTab",link:function(e,t){e.$watch("headingElement",function(e){e&&(t.html(""),t.append(e))})}}}).directive("uibTabContentTransclude",function(){function e(e){return e.tagName&&(e.hasAttribute("uib-tab-heading")||e.hasAttribute("data-uib-tab-heading")||e.hasAttribute("x-uib-tab-heading")||"uib-tab-heading"===e.tagName.toLowerCase()||"data-uib-tab-heading"===e.tagName.toLowerCase()||"x-uib-tab-heading"===e.tagName.toLowerCase()||"uib:tab-heading"===e.tagName.toLowerCase())}return{restrict:"A",require:"^uibTabset",link:function(t,n,r){var i=t.$eval(r.uibTabContentTransclude).tab;i.$transcludeFn(i.$parent,function(t){angular.forEach(t,function(t){e(t)?i.headingElement=t:n.append(t)})})}}}),angular.module("ui.bootstrap.timepicker",[]).constant("uibTimepickerConfig",{hourStep:1,minuteStep:1,secondStep:1,showMeridian:!0,showSeconds:!1,meridians:null,readonlyInput:!1,mousewheel:!0,arrowkeys:!0,showSpinners:!0,templateUrl:"uib/template/timepicker/timepicker.html"}).controller("UibTimepickerController",["$scope","$element","$attrs","$parse","$log","$locale","uibTimepickerConfig",function(e,t,n,r,i,o,a){function s(){var t=+e.hours,n=e.showMeridian?t>0&&t<13:t>=0&&t<24;if(n&&""!==e.hours)return e.showMeridian&&(12===t&&(t=0),e.meridian===C[1]&&(t+=12)),t}function u(){var t=+e.minutes,n=t>=0&&t<60;if(n&&""!==e.minutes)return t}function l(){var t=+e.seconds;return t>=0&&t<60?t:void 0}function c(e,t){return null===e?"":angular.isDefined(e)&&e.toString().length<2&&!t?"0"+e:e.toString()}function p(e){d(),k.$setViewValue(new Date(w)),f(e)}function d(){$&&$.$setValidity("hours",!0),
b&&b.$setValidity("minutes",!0),y&&y.$setValidity("seconds",!0),k.$setValidity("time",!0),e.invalidHours=!1,e.invalidMinutes=!1,e.invalidSeconds=!1}function f(t){if(k.$modelValue){var n=w.getHours(),r=w.getMinutes(),i=w.getSeconds();e.showMeridian&&(n=0===n||12===n?12:n%12),e.hours="h"===t?n:c(n,!D),"m"!==t&&(e.minutes=c(r)),e.meridian=w.getHours()<12?C[0]:C[1],"s"!==t&&(e.seconds=c(i)),e.meridian=w.getHours()<12?C[0]:C[1]}else e.hours=null,e.minutes=null,e.seconds=null,e.meridian=C[0]}function h(e){w=g(w,e),p()}function m(e,t){return g(e,60*t)}function g(e,t){var n=new Date(e.getTime()+1e3*t),r=new Date(e);return r.setHours(n.getHours(),n.getMinutes(),n.getSeconds()),r}function v(){return(null===e.hours||""===e.hours)&&(null===e.minutes||""===e.minutes)&&(!e.showSeconds||e.showSeconds&&(null===e.seconds||""===e.seconds))}var $,b,y,w=new Date,x=[],k={$setViewValue:angular.noop},C=angular.isDefined(n.meridians)?e.$parent.$eval(n.meridians):a.meridians||o.DATETIME_FORMATS.AMPMS,D=!angular.isDefined(n.padHours)||e.$parent.$eval(n.padHours);e.tabindex=angular.isDefined(n.tabindex)?n.tabindex:0,t.removeAttr("tabindex"),this.init=function(t,r){k=t,k.$render=this.render,k.$formatters.unshift(function(e){return e?new Date(e):null});var i=r.eq(0),o=r.eq(1),s=r.eq(2);$=i.controller("ngModel"),b=o.controller("ngModel"),y=s.controller("ngModel");var u=angular.isDefined(n.mousewheel)?e.$parent.$eval(n.mousewheel):a.mousewheel;u&&this.setupMousewheelEvents(i,o,s);var l=angular.isDefined(n.arrowkeys)?e.$parent.$eval(n.arrowkeys):a.arrowkeys;l&&this.setupArrowkeyEvents(i,o,s),e.readonlyInput=angular.isDefined(n.readonlyInput)?e.$parent.$eval(n.readonlyInput):a.readonlyInput,this.setupInputEvents(i,o,s)};var T=a.hourStep;n.hourStep&&x.push(e.$parent.$watch(r(n.hourStep),function(e){T=+e}));var M=a.minuteStep;n.minuteStep&&x.push(e.$parent.$watch(r(n.minuteStep),function(e){M=+e}));var E;x.push(e.$parent.$watch(r(n.min),function(e){var t=new Date(e);E=isNaN(t)?void 0:t}));var S;x.push(e.$parent.$watch(r(n.max),function(e){var t=new Date(e);S=isNaN(t)?void 0:t}));var O=!1;n.ngDisabled&&x.push(e.$parent.$watch(r(n.ngDisabled),function(e){O=e})),e.noIncrementHours=function(){var e=m(w,60*T);return O||e>S||e<w&&e<E},e.noDecrementHours=function(){var e=m(w,60*-T);return O||e<E||e>w&&e>S},e.noIncrementMinutes=function(){var e=m(w,M);return O||e>S||e<w&&e<E},e.noDecrementMinutes=function(){var e=m(w,-M);return O||e<E||e>w&&e>S},e.noIncrementSeconds=function(){var e=g(w,A);return O||e>S||e<w&&e<E},e.noDecrementSeconds=function(){var e=g(w,-A);return O||e<E||e>w&&e>S},e.noToggleMeridian=function(){return w.getHours()<12?O||m(w,720)>S:O||m(w,-720)<E};var A=a.secondStep;n.secondStep&&x.push(e.$parent.$watch(r(n.secondStep),function(e){A=+e})),e.showSeconds=a.showSeconds,n.showSeconds&&x.push(e.$parent.$watch(r(n.showSeconds),function(t){e.showSeconds=!!t})),e.showMeridian=a.showMeridian,n.showMeridian&&x.push(e.$parent.$watch(r(n.showMeridian),function(t){if(e.showMeridian=!!t,k.$error.time){var n=s(),r=u();angular.isDefined(n)&&angular.isDefined(r)&&(w.setHours(n),p())}else f()})),this.setupMousewheelEvents=function(t,n,r){var i=function(e){e.originalEvent&&(e=e.originalEvent);var t=e.wheelDelta?e.wheelDelta:-e.deltaY;return e.detail||t>0};t.on("mousewheel wheel",function(t){O||e.$apply(i(t)?e.incrementHours():e.decrementHours()),t.preventDefault()}),n.on("mousewheel wheel",function(t){O||e.$apply(i(t)?e.incrementMinutes():e.decrementMinutes()),t.preventDefault()}),r.on("mousewheel wheel",function(t){O||e.$apply(i(t)?e.incrementSeconds():e.decrementSeconds()),t.preventDefault()})},this.setupArrowkeyEvents=function(t,n,r){t.on("keydown",function(t){O||(38===t.which?(t.preventDefault(),e.incrementHours(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementHours(),e.$apply()))}),n.on("keydown",function(t){O||(38===t.which?(t.preventDefault(),e.incrementMinutes(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementMinutes(),e.$apply()))}),r.on("keydown",function(t){O||(38===t.which?(t.preventDefault(),e.incrementSeconds(),e.$apply()):40===t.which&&(t.preventDefault(),e.decrementSeconds(),e.$apply()))})},this.setupInputEvents=function(t,n,r){if(e.readonlyInput)return e.updateHours=angular.noop,e.updateMinutes=angular.noop,void(e.updateSeconds=angular.noop);var i=function(t,n,r){k.$setViewValue(null),k.$setValidity("time",!1),angular.isDefined(t)&&(e.invalidHours=t,$&&$.$setValidity("hours",!1)),angular.isDefined(n)&&(e.invalidMinutes=n,b&&b.$setValidity("minutes",!1)),angular.isDefined(r)&&(e.invalidSeconds=r,y&&y.$setValidity("seconds",!1))};e.updateHours=function(){var e=s(),t=u();k.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(w.setHours(e),w.setMinutes(t),w<E||w>S?i(!0):p("h")):i(!0)},t.on("blur",function(t){k.$setTouched(),v()?d():null===e.hours||""===e.hours?i(!0):!e.invalidHours&&e.hours<10&&e.$apply(function(){e.hours=c(e.hours,!D)})}),e.updateMinutes=function(){var e=u(),t=s();k.$setDirty(),angular.isDefined(e)&&angular.isDefined(t)?(w.setHours(t),w.setMinutes(e),w<E||w>S?i(void 0,!0):p("m")):i(void 0,!0)},n.on("blur",function(t){k.$setTouched(),v()?d():null===e.minutes?i(void 0,!0):!e.invalidMinutes&&e.minutes<10&&e.$apply(function(){e.minutes=c(e.minutes)})}),e.updateSeconds=function(){var e=l();k.$setDirty(),angular.isDefined(e)?(w.setSeconds(e),p("s")):i(void 0,void 0,!0)},r.on("blur",function(t){v()?d():!e.invalidSeconds&&e.seconds<10&&e.$apply(function(){e.seconds=c(e.seconds)})})},this.render=function(){var t=k.$viewValue;isNaN(t)?(k.$setValidity("time",!1),i.error('Timepicker directive: "ng-model" value must be a Date object, a number of milliseconds since 01.01.1970 or a string representing an RFC2822 or ISO 8601 date.')):(t&&(w=t),w<E||w>S?(k.$setValidity("time",!1),e.invalidHours=!0,e.invalidMinutes=!0):d(),f())},e.showSpinners=angular.isDefined(n.showSpinners)?e.$parent.$eval(n.showSpinners):a.showSpinners,e.incrementHours=function(){e.noIncrementHours()||h(60*T*60)},e.decrementHours=function(){e.noDecrementHours()||h(60*-T*60)},e.incrementMinutes=function(){e.noIncrementMinutes()||h(60*M)},e.decrementMinutes=function(){e.noDecrementMinutes()||h(60*-M)},e.incrementSeconds=function(){e.noIncrementSeconds()||h(A)},e.decrementSeconds=function(){e.noDecrementSeconds()||h(-A)},e.toggleMeridian=function(){var t=u(),n=s();e.noToggleMeridian()||(angular.isDefined(t)&&angular.isDefined(n)?h(720*(w.getHours()<12?60:-60)):e.meridian=e.meridian===C[0]?C[1]:C[0])},e.blur=function(){k.$setTouched()},e.$on("$destroy",function(){for(;x.length;)x.shift()()})}]).directive("uibTimepicker",["uibTimepickerConfig",function(e){return{require:["uibTimepicker","?^ngModel"],restrict:"A",controller:"UibTimepickerController",controllerAs:"timepicker",scope:{},templateUrl:function(t,n){return n.templateUrl||e.templateUrl},link:function(e,t,n,r){var i=r[0],o=r[1];o&&i.init(o,t.find("input"))}}}]),angular.module("ui.bootstrap.typeahead",["ui.bootstrap.debounce","ui.bootstrap.position"]).factory("uibTypeaheadParser",["$parse",function(e){var t=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w\d]*))\s+in\s+([\s\S]+?)$/;return{parse:function(n){var r=n.match(t);if(!r)throw new Error('Expected typeahead specification in form of "_modelValue_ (as _label_)? for _item_ in _collection_" but got "'+n+'".');return{itemName:r[3],source:e(r[4]),viewMapper:e(r[2]||r[1]),modelMapper:e(r[1])}}}}]).controller("UibTypeaheadController",["$scope","$element","$attrs","$compile","$parse","$q","$timeout","$document","$window","$rootScope","$$debounce","$uibPosition","uibTypeaheadParser",function(e,t,n,r,i,o,a,s,u,l,c,p,d){function f(){H.moveInProgress||(H.moveInProgress=!0,H.$digest()),J()}function h(){H.position=A?p.offset(t):p.position(t),H.position.top+=t.prop("offsetHeight")}function m(e){var t;return angular.version.minor<6?(t=e.$options||{},t.getOption=function(e){return t[e]}):t=e.$options,t}var g,v,$=[9,13,27,38,40],b=200,y=e.$eval(n.typeaheadMinLength);y||0===y||(y=1),e.$watch(n.typeaheadMinLength,function(e){y=e||0===e?e:1});var w=e.$eval(n.typeaheadWaitMs)||0,x=e.$eval(n.typeaheadEditable)!==!1;e.$watch(n.typeaheadEditable,function(e){x=e!==!1});var k,C,D=i(n.typeaheadLoading).assign||angular.noop,T=n.typeaheadShouldSelect?i(n.typeaheadShouldSelect):function(e,t){var n=t.$event;return 13===n.which||9===n.which},M=i(n.typeaheadOnSelect),E=!!angular.isDefined(n.typeaheadSelectOnBlur)&&e.$eval(n.typeaheadSelectOnBlur),S=i(n.typeaheadNoResults).assign||angular.noop,O=n.typeaheadInputFormatter?i(n.typeaheadInputFormatter):void 0,A=!!n.typeaheadAppendToBody&&e.$eval(n.typeaheadAppendToBody),N=n.typeaheadAppendTo?e.$eval(n.typeaheadAppendTo):null,P=e.$eval(n.typeaheadFocusFirst)!==!1,I=!!n.typeaheadSelectOnExact&&e.$eval(n.typeaheadSelectOnExact),j=i(n.typeaheadIsOpen).assign||angular.noop,V=e.$eval(n.typeaheadShowHint)||!1,L=i(n.ngModel),R=i(n.ngModel+"($$$p)"),F=function(t,n){return angular.isFunction(L(e))&&v.getOption("getterSetter")?R(t,{$$$p:n}):L.assign(t,n)},U=d.parse(n.uibTypeahead),H=e.$new(),_=e.$on("$destroy",function(){H.$destroy()});H.$on("$destroy",_);var q="typeahead-"+H.$id+"-"+Math.floor(1e4*Math.random());t.attr({"aria-autocomplete":"list","aria-expanded":!1,"aria-owns":q});var B,z;V&&(B=angular.element("<div></div>"),B.css("position","relative"),t.after(B),z=t.clone(),z.attr("placeholder",""),z.attr("tabindex","-1"),z.val(""),z.css({position:"absolute",top:"0px",left:"0px","border-color":"transparent","box-shadow":"none",opacity:1,background:"none 0% 0% / auto repeat scroll padding-box border-box rgb(255, 255, 255)",color:"#999"}),t.css({position:"relative","vertical-align":"top","background-color":"transparent"}),z.attr("id")&&z.removeAttr("id"),B.append(z),z.after(t));var W=angular.element("<div uib-typeahead-popup></div>");W.attr({id:q,matches:"matches",active:"activeIdx",select:"select(activeIdx, evt)","move-in-progress":"moveInProgress",query:"query",position:"position","assign-is-open":"assignIsOpen(isOpen)",debounce:"debounceUpdate"}),angular.isDefined(n.typeaheadTemplateUrl)&&W.attr("template-url",n.typeaheadTemplateUrl),angular.isDefined(n.typeaheadPopupTemplateUrl)&&W.attr("popup-template-url",n.typeaheadPopupTemplateUrl);var Y=function(){V&&z.val("")},G=function(){H.matches=[],H.activeIdx=-1,t.attr("aria-expanded",!1),Y()},K=function(e){return q+"-option-"+e};H.$watch("activeIdx",function(e){e<0?t.removeAttr("aria-activedescendant"):t.attr("aria-activedescendant",K(e))});var Z=function(e,t){return!!(H.matches.length>t&&e)&&e.toUpperCase()===H.matches[t].label.toUpperCase()},X=function(n,r){var i={$viewValue:n};D(e,!0),S(e,!1),o.when(U.source(e,i)).then(function(o){var a=n===g.$viewValue;if(a&&k)if(o&&o.length>0){H.activeIdx=P?0:-1,S(e,!1),H.matches.length=0;for(var s=0;s<o.length;s++)i[U.itemName]=o[s],H.matches.push({id:K(s),label:U.viewMapper(H,i),model:o[s]});if(H.query=n,h(),t.attr("aria-expanded",!0),I&&1===H.matches.length&&Z(n,0)&&(angular.isNumber(H.debounceUpdate)||angular.isObject(H.debounceUpdate)?c(function(){H.select(0,r)},angular.isNumber(H.debounceUpdate)?H.debounceUpdate:H.debounceUpdate["default"]):H.select(0,r)),V){var u=H.matches[0].label;angular.isString(n)&&n.length>0&&u.slice(0,n.length).toUpperCase()===n.toUpperCase()?z.val(n+u.slice(n.length)):z.val("")}}else G(),S(e,!0);a&&D(e,!1)},function(){G(),D(e,!1),S(e,!0)})};A&&(angular.element(u).on("resize",f),s.find("body").on("scroll",f));var J=c(function(){H.matches.length&&h(),H.moveInProgress=!1},b);H.moveInProgress=!1,H.query=void 0;var Q,ee=function(e){Q=a(function(){X(e)},w)},te=function(){Q&&a.cancel(Q)};G(),H.assignIsOpen=function(t){j(e,t)},H.select=function(r,i){var o,s,u={};C=!0,u[U.itemName]=s=H.matches[r].model,o=U.modelMapper(e,u),F(e,o),g.$setValidity("editable",!0),g.$setValidity("parse",!0),M(e,{$item:s,$model:o,$label:U.viewMapper(e,u),$event:i}),G(),H.$eval(n.typeaheadFocusOnSelect)!==!1&&a(function(){t[0].focus()},0,!1)},t.on("keydown",function(t){if(0!==H.matches.length&&$.indexOf(t.which)!==-1){var n=T(e,{$event:t});if(H.activeIdx===-1&&n||9===t.which&&t.shiftKey)return G(),void H.$digest();t.preventDefault();var r;switch(t.which){case 27:t.stopPropagation(),G(),e.$digest();break;case 38:H.activeIdx=(H.activeIdx>0?H.activeIdx:H.matches.length)-1,H.$digest(),r=W[0].querySelectorAll(".uib-typeahead-match")[H.activeIdx],r.parentNode.scrollTop=r.offsetTop;break;case 40:H.activeIdx=(H.activeIdx+1)%H.matches.length,H.$digest(),r=W[0].querySelectorAll(".uib-typeahead-match")[H.activeIdx],r.parentNode.scrollTop=r.offsetTop;break;default:n&&H.$apply(function(){angular.isNumber(H.debounceUpdate)||angular.isObject(H.debounceUpdate)?c(function(){H.select(H.activeIdx,t)},angular.isNumber(H.debounceUpdate)?H.debounceUpdate:H.debounceUpdate["default"]):H.select(H.activeIdx,t)})}}}),t.on("focus",function(e){k=!0,0!==y||g.$viewValue||a(function(){X(g.$viewValue,e)},0)}),t.on("blur",function(e){E&&H.matches.length&&H.activeIdx!==-1&&!C&&(C=!0,H.$apply(function(){angular.isObject(H.debounceUpdate)&&angular.isNumber(H.debounceUpdate.blur)?c(function(){H.select(H.activeIdx,e)},H.debounceUpdate.blur):H.select(H.activeIdx,e)})),!x&&g.$error.editable&&(g.$setViewValue(),H.$apply(function(){g.$setValidity("editable",!0),g.$setValidity("parse",!0)}),t.val("")),k=!1,C=!1});var ne=function(n){t[0]!==n.target&&3!==n.which&&0!==H.matches.length&&(G(),l.$$phase||e.$digest())};s.on("click",ne),e.$on("$destroy",function(){s.off("click",ne),(A||N)&&re.remove(),A&&(angular.element(u).off("resize",f),s.find("body").off("scroll",f)),W.remove(),V&&B.remove()});var re=r(W)(H);A?s.find("body").append(re):N?angular.element(N).eq(0).append(re):t.after(re),this.init=function(t){g=t,v=m(g),H.debounceUpdate=i(v.getOption("debounce"))(e),g.$parsers.unshift(function(t){return k=!0,0===y||t&&t.length>=y?w>0?(te(),ee(t)):X(t):(D(e,!1),te(),G()),x?t:t?void g.$setValidity("editable",!1):(g.$setValidity("editable",!0),null)}),g.$formatters.push(function(t){var n,r,i={};return x||g.$setValidity("editable",!0),O?(i.$model=t,O(e,i)):(i[U.itemName]=t,n=U.viewMapper(e,i),i[U.itemName]=void 0,r=U.viewMapper(e,i),n!==r?n:t)})}}]).directive("uibTypeahead",function(){return{controller:"UibTypeaheadController",require:["ngModel","uibTypeahead"],link:function(e,t,n,r){r[1].init(r[0])}}}).directive("uibTypeaheadPopup",["$$debounce",function(e){return{scope:{matches:"=",query:"=",active:"=",position:"&",moveInProgress:"=",select:"&",assignIsOpen:"&",debounce:"&"},replace:!0,templateUrl:function(e,t){return t.popupTemplateUrl||"uib/template/typeahead/typeahead-popup.html"},link:function(t,n,r){t.templateUrl=r.templateUrl,t.isOpen=function(){var e=t.matches.length>0;return t.assignIsOpen({isOpen:e}),e},t.isActive=function(e){return t.active===e},t.selectActive=function(e){t.active=e},t.selectMatch=function(n,r){var i=t.debounce();angular.isNumber(i)||angular.isObject(i)?e(function(){t.select({activeIdx:n,evt:r})},angular.isNumber(i)?i:i["default"]):t.select({activeIdx:n,evt:r})}}}}]).directive("uibTypeaheadMatch",["$templateRequest","$compile","$parse",function(e,t,n){return{scope:{index:"=",match:"=",query:"="},link:function(r,i,o){var a=n(o.templateUrl)(r.$parent)||"uib/template/typeahead/typeahead-match.html";e(a).then(function(e){var n=angular.element(e.trim());i.replaceWith(n),t(n)(r)})}}}]).filter("uibTypeaheadHighlight",["$sce","$injector","$log",function(e,t,n){function r(e){return e.replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1")}function i(e){return/<.*>/g.test(e)}var o;return o=t.has("$sanitize"),function(t,a){return!o&&i(t)&&n.warn("Unsafe use of typeahead please use ngSanitize"),t=a?(""+t).replace(new RegExp(r(a),"gi"),"<strong>$&</strong>"):t,o||(t=e.trustAsHtml(t)),t}}]),angular.module("uib/template/accordion/accordion-group.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion-group.html",'<div role="tab" id="{{::headingId}}" aria-selected="{{isOpen}}" class="panel-heading" ng-keypress="toggleOpen($event)">\n  <h4 class="panel-title">\n    <a role="button" data-toggle="collapse" href aria-expanded="{{isOpen}}" aria-controls="{{::panelId}}" tabindex="0" class="accordion-toggle" ng-click="toggleOpen()" uib-accordion-transclude="heading" ng-disabled="isDisabled" uib-tabindex-toggle><span uib-accordion-header ng-class="{\'text-muted\': isDisabled}">{{heading}}</span></a>\n  </h4>\n</div>\n<div id="{{::panelId}}" aria-labelledby="{{::headingId}}" aria-hidden="{{!isOpen}}" role="tabpanel" class="panel-collapse collapse" uib-collapse="!isOpen">\n  <div class="panel-body" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/accordion/accordion.html",[]).run(["$templateCache",function(e){e.put("uib/template/accordion/accordion.html",'<div role="tablist" class="panel-group" ng-transclude></div>')}]),angular.module("uib/template/alert/alert.html",[]).run(["$templateCache",function(e){e.put("uib/template/alert/alert.html",'<button ng-show="closeable" type="button" class="close" ng-click="close({$event: $event})">\n  <span aria-hidden="true">&times;</span>\n  <span class="sr-only">Close</span>\n</button>\n<div ng-transclude></div>\n')}]),angular.module("uib/template/carousel/carousel.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/carousel.html",'<div class="carousel-inner" ng-transclude></div>\n<a role="button" href class="left carousel-control" ng-click="prev()" ng-class="{ disabled: isPrevDisabled() }" ng-show="slides.length > 1">\n  <span aria-hidden="true" class="glyphicon glyphicon-chevron-left"></span>\n  <span class="sr-only">previous</span>\n</a>\n<a role="button" href class="right carousel-control" ng-click="next()" ng-class="{ disabled: isNextDisabled() }" ng-show="slides.length > 1">\n  <span aria-hidden="true" class="glyphicon glyphicon-chevron-right"></span>\n  <span class="sr-only">next</span>\n</a>\n<ol class="carousel-indicators" ng-show="slides.length > 1">\n  <li ng-repeat="slide in slides | orderBy:indexOfSlide track by $index" ng-class="{ active: isActive(slide) }" ng-click="select(slide)">\n    <span class="sr-only">slide {{ $index + 1 }} of {{ slides.length }}<span ng-if="isActive(slide)">, currently active</span></span>\n  </li>\n</ol>\n')}]),angular.module("uib/template/carousel/slide.html",[]).run(["$templateCache",function(e){e.put("uib/template/carousel/slide.html",'<div class="text-center" ng-transclude></div>\n')}]),angular.module("uib/template/datepicker/datepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/datepicker.html",'<div ng-switch="datepickerMode">\n  <div uib-daypicker ng-switch-when="day" tabindex="0" class="uib-daypicker"></div>\n  <div uib-monthpicker ng-switch-when="month" tabindex="0" class="uib-monthpicker"></div>\n  <div uib-yearpicker ng-switch-when="year" tabindex="0" class="uib-yearpicker"></div>\n</div>\n')}]),angular.module("uib/template/datepicker/day.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/day.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n      <th colspan="{{::5 + showWeeks}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></button></th>\n    </tr>\n    <tr>\n      <th ng-if="showWeeks" class="text-center"></th>\n      <th ng-repeat="label in ::labels track by $index" class="text-center"><small aria-label="{{::label.full}}">{{::label.abbr}}</small></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-weeks" ng-repeat="row in rows track by $index" role="row">\n      <td ng-if="showWeeks" class="text-center h6"><em>{{ weekNumbers[$index] }}</em></td>\n      <td ng-repeat="dt in row" class="uib-day text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" class="btn btn-default btn-sm"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-muted\': dt.secondary, \'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/month.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/month.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n      <th colspan="{{::yearHeaderColspan}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></i></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-months" ng-repeat="row in rows track by $index" role="row">\n      <td ng-repeat="dt in row" class="uib-month text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" class="btn btn-default"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/datepicker/year.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepicker/year.html",'<table role="grid" aria-labelledby="{{::uniqueId}}-title" aria-activedescendant="{{activeDateId}}">\n  <thead>\n    <tr>\n      <th><button type="button" class="btn btn-default btn-sm pull-left uib-left" ng-click="move(-1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-left"></i><span class="sr-only">previous</span></button></th>\n      <th colspan="{{::columns - 2}}"><button id="{{::uniqueId}}-title" role="heading" aria-live="assertive" aria-atomic="true" type="button" class="btn btn-default btn-sm uib-title" ng-click="toggleMode()" ng-disabled="datepickerMode === maxMode" tabindex="-1"><strong>{{title}}</strong></button></th>\n      <th><button type="button" class="btn btn-default btn-sm pull-right uib-right" ng-click="move(1)" tabindex="-1"><i aria-hidden="true" class="glyphicon glyphicon-chevron-right"></i><span class="sr-only">next</span></button></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr class="uib-years" ng-repeat="row in rows track by $index" role="row">\n      <td ng-repeat="dt in row" class="uib-year text-center" role="gridcell"\n        id="{{::dt.uid}}"\n        ng-class="::dt.customClass">\n        <button type="button" class="btn btn-default"\n          uib-is-class="\n            \'btn-info\' for selectedDt,\n            \'active\' for activeDt\n            on dt"\n          ng-click="select(dt.date)"\n          ng-disabled="::dt.disabled"\n          tabindex="-1"><span ng-class="::{\'text-info\': dt.current}">{{::dt.label}}</span></button>\n      </td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/datepickerPopup/popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/datepickerPopup/popup.html",'<ul role="presentation" class="uib-datepicker-popup dropdown-menu uib-position-measure" dropdown-nested ng-if="isOpen" ng-keydown="keydown($event)" ng-click="$event.stopPropagation()">\n  <li ng-transclude></li>\n  <li ng-if="showButtonBar" class="uib-button-bar">\n    <span class="btn-group pull-left">\n      <button type="button" class="btn btn-sm btn-info uib-datepicker-current" ng-click="select(\'today\', $event)" ng-disabled="isDisabled(\'today\')">{{ getText(\'current\') }}</button>\n      <button type="button" class="btn btn-sm btn-danger uib-clear" ng-click="select(null, $event)">{{ getText(\'clear\') }}</button>\n    </span>\n    <button type="button" class="btn btn-sm btn-success pull-right uib-close" ng-click="close($event)">{{ getText(\'close\') }}</button>\n  </li>\n</ul>\n')}]),angular.module("uib/template/modal/window.html",[]).run(["$templateCache",function(e){e.put("uib/template/modal/window.html","<div class=\"modal-dialog {{size ? 'modal-' + size : ''}}\"><div class=\"modal-content\" uib-modal-transclude></div></div>\n")}]),angular.module("uib/template/pager/pager.html",[]).run(["$templateCache",function(e){e.put("uib/template/pager/pager.html",'<li ng-class="{disabled: noPrevious()||ngDisabled, previous: align}"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li ng-class="{disabled: noNext()||ngDisabled, next: align}"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n')}]),angular.module("uib/template/pagination/pagination.html",[]).run(["$templateCache",function(e){e.put("uib/template/pagination/pagination.html",'<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-first"><a href ng-click="selectPage(1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'first\')}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noPrevious()||ngDisabled}" class="pagination-prev"><a href ng-click="selectPage(page - 1, $event)" ng-disabled="noPrevious()||ngDisabled" uib-tabindex-toggle>{{::getText(\'previous\')}}</a></li>\n<li role="menuitem" ng-repeat="page in pages track by $index" ng-class="{active: page.active,disabled: ngDisabled&&!page.active}" class="pagination-page"><a href ng-click="selectPage(page.number, $event)" ng-disabled="ngDisabled&&!page.active" uib-tabindex-toggle>{{page.text}}</a></li>\n<li role="menuitem" ng-if="::directionLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-next"><a href ng-click="selectPage(page + 1, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'next\')}}</a></li>\n<li role="menuitem" ng-if="::boundaryLinks" ng-class="{disabled: noNext()||ngDisabled}" class="pagination-last"><a href ng-click="selectPage(totalPages, $event)" ng-disabled="noNext()||ngDisabled" uib-tabindex-toggle>{{::getText(\'last\')}}</a></li>\n<div class="selectPage"><span>{{i18n.new.go}}</span><input ng-keyup="isNumber($event)" ng-model="page" type="text" /><a href ng-class="{disabled: noChoose()}" ng-click="choosePage(page,$event)">{{i18n.new.ok}}</a></div>\n')}]),angular.module("uib/template/tooltip/tooltip-html-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-html-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind-html="contentExp()"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner" ng-bind="content"></div>\n')}]),angular.module("uib/template/tooltip/tooltip-template-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/tooltip/tooltip-template-popup.html",'<div class="tooltip-arrow"></div>\n<div class="tooltip-inner"\n  uib-tooltip-template-transclude="contentExp()"\n  tooltip-template-transclude-scope="originScope()"></div>\n')}]),angular.module("uib/template/popover/popover-html.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-html.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n    <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n    <div class="popover-content" ng-bind-html="contentExp()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover-template.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover-template.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n    <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n    <div class="popover-content"\n      uib-tooltip-template-transclude="contentExp()"\n      tooltip-template-transclude-scope="originScope()"></div>\n</div>\n')}]),angular.module("uib/template/popover/popover.html",[]).run(["$templateCache",function(e){e.put("uib/template/popover/popover.html",'<div class="arrow"></div>\n\n<div class="popover-inner">\n    <h3 class="popover-title" ng-bind="uibTitle" ng-if="uibTitle"></h3>\n    <div class="popover-content" ng-bind="content"></div>\n</div>\n')}]),angular.module("uib/template/progressbar/bar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/bar.html",'<div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n')}]),angular.module("uib/template/progressbar/progress.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progress.html",'<div class="progress" ng-transclude aria-labelledby="{{::title}}"></div>')}]),angular.module("uib/template/progressbar/progressbar.html",[]).run(["$templateCache",function(e){e.put("uib/template/progressbar/progressbar.html",'<div class="progress">\n  <div class="progress-bar" ng-class="type && \'progress-bar-\' + type" role="progressbar" aria-valuenow="{{value}}" aria-valuemin="0" aria-valuemax="{{max}}" ng-style="{width: (percent < 100 ? percent : 100) + \'%\'}" aria-valuetext="{{percent | number:0}}%" aria-labelledby="{{::title}}" ng-transclude></div>\n</div>\n')}]),angular.module("uib/template/rating/rating.html",[]).run(["$templateCache",function(e){e.put("uib/template/rating/rating.html",'<span ng-mouseleave="reset()" ng-keydown="onKeydown($event)" tabindex="0" role="slider" aria-valuemin="0" aria-valuemax="{{range.length}}" aria-valuenow="{{value}}" aria-valuetext="{{title}}">\n    <span ng-repeat-start="r in range track by $index" class="sr-only">({{ $index < value ? \'*\' : \' \' }})</span>\n    <i ng-repeat-end ng-mouseenter="enter($index + 1)" ng-click="rate($index + 1)" class="glyphicon" ng-class="$index < value && (r.stateOn || \'glyphicon-star\') || (r.stateOff || \'glyphicon-star-empty\')" ng-attr-title="{{r.title}}"></i>\n</span>\n')}]),angular.module("uib/template/tabs/tab.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tab.html",'<li ng-class="[{active: active, disabled: disabled}, classes]" class="uib-tab nav-item">\n  <a href ng-click="select($event)" class="nav-link" uib-tab-heading-transclude>{{heading}}</a>\n</li>\n')}]),angular.module("uib/template/tabs/tabset.html",[]).run(["$templateCache",function(e){e.put("uib/template/tabs/tabset.html",'<div>\n  <ul class="nav nav-{{tabset.type || \'tabs\'}}" ng-class="{\'nav-stacked\': vertical, \'nav-justified\': justified}" ng-transclude></ul>\n  <div class="tab-content">\n    <div class="tab-pane"\n         ng-repeat="tab in tabset.tabs"\n         ng-class="{active: tabset.active === tab.index}"\n         uib-tab-content-transclude="tab">\n    </div>\n  </div>\n</div>\n');
}]),angular.module("uib/template/timepicker/timepicker.html",[]).run(["$templateCache",function(e){e.put("uib/template/timepicker/timepicker.html",'<table class="uib-timepicker">\n  <tbody>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td class="uib-increment hours"><a ng-click="incrementHours()" ng-class="{disabled: noIncrementHours()}" class="btn btn-link" ng-disabled="noIncrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td>&nbsp;</td>\n      <td class="uib-increment minutes"><a ng-click="incrementMinutes()" ng-class="{disabled: noIncrementMinutes()}" class="btn btn-link" ng-disabled="noIncrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td ng-show="showSeconds">&nbsp;</td>\n      <td ng-show="showSeconds" class="uib-increment seconds"><a ng-click="incrementSeconds()" ng-class="{disabled: noIncrementSeconds()}" class="btn btn-link" ng-disabled="noIncrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-up"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n    <tr>\n      <td class="form-group uib-time hours" ng-class="{\'has-error\': invalidHours}">\n        <input type="text" placeholder="HH" ng-model="hours" ng-change="updateHours()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementHours()" ng-blur="blur()">\n      </td>\n      <td class="uib-separator">:</td>\n      <td class="form-group uib-time minutes" ng-class="{\'has-error\': invalidMinutes}">\n        <input type="text" placeholder="MM" ng-model="minutes" ng-change="updateMinutes()" class="form-control text-center" ng-readonly="::readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementMinutes()" ng-blur="blur()">\n      </td>\n      <td ng-show="showSeconds" class="uib-separator">:</td>\n      <td class="form-group uib-time seconds" ng-class="{\'has-error\': invalidSeconds}" ng-show="showSeconds">\n        <input type="text" placeholder="SS" ng-model="seconds" ng-change="updateSeconds()" class="form-control text-center" ng-readonly="readonlyInput" maxlength="2" tabindex="{{::tabindex}}" ng-disabled="noIncrementSeconds()" ng-blur="blur()">\n      </td>\n      <td ng-show="showMeridian" class="uib-time am-pm"><button type="button" ng-class="{disabled: noToggleMeridian()}" class="btn btn-default text-center" ng-click="toggleMeridian()" ng-disabled="noToggleMeridian()" tabindex="{{::tabindex}}">{{meridian}}</button></td>\n    </tr>\n    <tr class="text-center" ng-show="::showSpinners">\n      <td class="uib-decrement hours"><a ng-click="decrementHours()" ng-class="{disabled: noDecrementHours()}" class="btn btn-link" ng-disabled="noDecrementHours()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td>&nbsp;</td>\n      <td class="uib-decrement minutes"><a ng-click="decrementMinutes()" ng-class="{disabled: noDecrementMinutes()}" class="btn btn-link" ng-disabled="noDecrementMinutes()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td ng-show="showSeconds">&nbsp;</td>\n      <td ng-show="showSeconds" class="uib-decrement seconds"><a ng-click="decrementSeconds()" ng-class="{disabled: noDecrementSeconds()}" class="btn btn-link" ng-disabled="noDecrementSeconds()" tabindex="-1"><span class="glyphicon glyphicon-chevron-down"></span></a></td>\n      <td ng-show="showMeridian"></td>\n    </tr>\n  </tbody>\n</table>\n')}]),angular.module("uib/template/typeahead/typeahead-match.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-match.html",'<a href\n   tabindex="-1"\n   ng-bind-html="match.label | uibTypeaheadHighlight:query"\n   ng-attr-title="{{match.label}}"></a>\n')}]),angular.module("uib/template/typeahead/typeahead-popup.html",[]).run(["$templateCache",function(e){e.put("uib/template/typeahead/typeahead-popup.html",'<ul class="dropdown-menu" ng-show="isOpen() && !moveInProgress" ng-style="{top: position().top+\'px\', left: position().left+\'px\'}" role="listbox" aria-hidden="{{!isOpen()}}">\n    <li class="uib-typeahead-match" ng-repeat="match in matches track by $index" ng-class="{active: isActive($index) }" ng-mouseenter="selectActive($index)" ng-click="selectMatch($index, $event)" role="option" id="{{::match.id}}">\n        <div uib-typeahead-match index="$index" match="match" query="query" template-url="templateUrl"></div>\n    </li>\n</ul>\n')}]),angular.module("ui.bootstrap.carousel").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibCarouselCss&&angular.element(document).find("head").prepend('<style type="text/css">.ng-animate.item:not(.left):not(.right){-webkit-transition:0s ease-in-out left;transition:0s ease-in-out left}</style>'),angular.$$uibCarouselCss=!0}),angular.module("ui.bootstrap.datepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker .uib-title{width:100%;}.uib-day button,.uib-month button,.uib-year button{min-width:100%;}.uib-left,.uib-right{width:100%}</style>'),angular.$$uibDatepickerCss=!0}),angular.module("ui.bootstrap.position").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibPositionCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-position-measure{display:block !important;visibility:hidden !important;position:absolute !important;top:-9999px !important;left:-9999px !important;}.uib-position-scrollbar-measure{position:absolute !important;top:-9999px !important;width:50px !important;height:50px !important;overflow:scroll !important;}.uib-position-body-scrollbar-measure{overflow:scroll !important;}</style>'),angular.$$uibPositionCss=!0}),angular.module("ui.bootstrap.datepickerPopup").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibDatepickerpopupCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-datepicker-popup.dropdown-menu{display:block;float:none;margin:0;}.uib-button-bar{padding:10px 9px 2px;}</style>'),angular.$$uibDatepickerpopupCss=!0}),angular.module("ui.bootstrap.tooltip").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTooltipCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-tooltip-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-html-popup].tooltip.right-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.top-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-left > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.bottom-right > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.left-bottom > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-top > .tooltip-arrow,[uib-tooltip-template-popup].tooltip.right-bottom > .tooltip-arrow,[uib-popover-popup].popover.top-left > .arrow,[uib-popover-popup].popover.top-right > .arrow,[uib-popover-popup].popover.bottom-left > .arrow,[uib-popover-popup].popover.bottom-right > .arrow,[uib-popover-popup].popover.left-top > .arrow,[uib-popover-popup].popover.left-bottom > .arrow,[uib-popover-popup].popover.right-top > .arrow,[uib-popover-popup].popover.right-bottom > .arrow,[uib-popover-html-popup].popover.top-left > .arrow,[uib-popover-html-popup].popover.top-right > .arrow,[uib-popover-html-popup].popover.bottom-left > .arrow,[uib-popover-html-popup].popover.bottom-right > .arrow,[uib-popover-html-popup].popover.left-top > .arrow,[uib-popover-html-popup].popover.left-bottom > .arrow,[uib-popover-html-popup].popover.right-top > .arrow,[uib-popover-html-popup].popover.right-bottom > .arrow,[uib-popover-template-popup].popover.top-left > .arrow,[uib-popover-template-popup].popover.top-right > .arrow,[uib-popover-template-popup].popover.bottom-left > .arrow,[uib-popover-template-popup].popover.bottom-right > .arrow,[uib-popover-template-popup].popover.left-top > .arrow,[uib-popover-template-popup].popover.left-bottom > .arrow,[uib-popover-template-popup].popover.right-top > .arrow,[uib-popover-template-popup].popover.right-bottom > .arrow{top:auto;bottom:auto;left:auto;right:auto;margin:0;}[uib-popover-popup].popover,[uib-popover-html-popup].popover,[uib-popover-template-popup].popover{display:block !important;}</style>'),angular.$$uibTooltipCss=!0}),angular.module("ui.bootstrap.timepicker").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTimepickerCss&&angular.element(document).find("head").prepend('<style type="text/css">.uib-time input{width:50px;}</style>'),angular.$$uibTimepickerCss=!0}),angular.module("ui.bootstrap.typeahead").run(function(){!angular.$$csp().noInlineStyle&&!angular.$$uibTypeaheadCss&&angular.element(document).find("head").prepend('<style type="text/css">[uib-typeahead-popup].dropdown-menu{display:block;}</style>'),angular.$$uibTypeaheadCss=!0}),angular.module("ngLocale",[],["$provide",function(e){var t={ZERO:"zero",ONE:"one",TWO:"two",FEW:"few",MANY:"many",OTHER:"other"};e.value("$locale",{DATETIME_FORMATS:{AMPMS:["上午","下午"],DAY:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],ERANAMES:["公元前","公元"],ERAS:["公元前","公元"],FIRSTDAYOFWEEK:6,MONTH:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],SHORTDAY:["周日","周一","周二","周三","周四","周五","周六"],SHORTMONTH:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],STANDALONEMONTH:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],WEEKENDRANGE:[5,6],fullDate:"y年M月d日EEEE",longDate:"y年M月d日",medium:"y年M月d日 ah:mm:ss",mediumDate:"y年M月d日",mediumTime:"ah:mm:ss","short":"y/M/d ah:mm",shortDate:"y/M/d",shortTime:"ah:mm"},NUMBER_FORMATS:{CURRENCY_SYM:"¥",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"zh",localeID:"zh",pluralCat:function(e,n){return t.OTHER}})}]),function(e){"use strict";var t={};t.dialog={success:function(e){alert(e)},warn:function(e){alert(e)},error:function(e){alert(e)},tip:function(e){alert(e)},info:function(e){alert(e)}},t.convert={toString:function(e){return null===e||void 0===e?"":e}},e.xn=t,e.getMousePoint=function(t){var n={x:0,y:0};return"undefined"!=typeof e.pageYOffset?(n.x=e.pageXOffset,n.y=e.pageYOffset):"undefined"!=typeof document.compatMode&&"BackCompat"!=document.compatMode?(n.x=document.documentElement.scrollLeft,n.y=document.documentElement.scrollTop):"undefined"!=typeof document.body&&(n.x=document.body.scrollLeft,n.y=document.body.scrollTop),n.x+=t.clientX,n.y+=t.clientY,n},e.messageWatcher=function(e){var t=angular.element("#bady_controller").scope();t.$apply(function(){t.messages&&5<=t.messages.length&&t.messages.pop(),t.messages.unshift(e),t.messageCount++})},e.getPreurl=function(){return document.referrer}}(window),function(e,t){function n(e,t){this._d=e,this._isUTC=!!t}function r(e,t){for(var n=e+"";n.length<t;)n="0"+n;return n}function i(t,n,r,i){var o,a,s,u,l="string"==typeof n,c=l?{}:n;return l&&i&&(c[n]=+i),o=(c.ms||c.milliseconds||0)+1e3*(c.s||c.seconds||0)+6e4*(c.m||c.minutes||0)+36e5*(c.h||c.hours||0),a=(c.d||c.days||0)+7*(c.w||c.weeks||0),s=(c.M||c.months||0)+12*(c.y||c.years||0),o&&t.setTime(+t+o*r),a&&t.setDate(t.getDate()+a*r),s&&(u=t.getDate(),t.setDate(1),t.setMonth(t.getMonth()+s*r),t.setDate(Math.min(new e(t.getFullYear(),t.getMonth()+1,0).getDate(),u))),t}function o(e){return"[object Array]"===Object.prototype.toString.call(e)}function a(t){return new e(t[0],t[1]||0,t[2]||1,t[3]||0,t[4]||0,t[5]||0,t[6]||0)}function s(t,n){function i(n){var v,$;switch(n){case"M":return o+1;case"Mo":return o+1+h(o+1);case"MM":return r(o+1,2);case"MMM":return m.monthsShort[o];case"MMMM":return m.months[o];case"D":return a;case"Do":return a+h(a);case"DD":return r(a,2);case"DDD":return v=new e(u,o,a),$=new e(u,0,1),~~((v-$)/864e5+1.5);case"DDDo":return v=i("DDD"),v+h(v);case"DDDD":return r(i("DDD"),3);case"d":return l;case"do":return l+h(l);case"ddd":return m.weekdaysShort[l];case"dddd":return m.weekdays[l];case"w":return v=new e(u,o,a-l+5),$=new e(v.getFullYear(),0,4),~~((v-$)/864e5/7+1.5);case"wo":return v=i("w"),v+h(v);case"ww":return r(i("w"),2);case"YY":return r(u%100,2);case"YYYY":return u;case"a":return c>11?g.pm:g.am;case"A":return c>11?g.PM:g.AM;case"H":return c;case"HH":return r(c,2);case"h":return c%12||12;case"hh":return r(c%12||12,2);case"m":return p;case"mm":return r(p,2);case"s":return d;case"ss":return r(d,2);case"zz":case"z":return(t._d.toString().match(C)||[""])[0].replace(k,"");case"Z":return(f<0?"-":"+")+r(~~(Math.abs(f)/60),2)+":"+r(~~(Math.abs(f)%60),2);case"ZZ":return(f<0?"-":"+")+r(~~(10*Math.abs(f)/6),4);case"L":case"LL":case"LLL":case"LLLL":case"LT":return s(t,m.longDateFormat[n]);default:return n.replace(/(^\[)|(\\)|\]$/g,"")}}var o=t.month(),a=t.date(),u=t.year(),l=t.day(),c=t.hours(),p=t.minutes(),d=t.seconds(),f=-t.zone(),h=m.ordinal,g=m.meridiem;return n.replace(x,i)}function u(t,n){function r(e,t){var n;switch(e){case"M":case"MM":s[1]=~~t-1;break;case"MMM":case"MMMM":for(n=0;n<12;n++)if(m.monthsParse[n].test(t)){s[1]=n;break}break;case"D":case"DD":case"DDD":case"DDDD":s[2]=~~t;break;case"YY":t=~~t,s[0]=t+(t>70?1900:2e3);break;case"YYYY":s[0]=~~Math.abs(t);break;case"a":case"A":o="pm"===t.toLowerCase();break;case"H":case"HH":case"h":case"hh":s[3]=~~t;break;case"m":case"mm":s[4]=~~t;break;case"s":case"ss":s[5]=~~t;break;case"Z":case"ZZ":c=!0,n=(t||"").match(O),n&&n[1]&&(u=~~n[1]),n&&n[2]&&(l=~~n[2]),n&&"+"===n[0]&&(u=-u,l=-l)}}var i,o,s=[0,0,1,0,0,0,0],u=0,l=0,c=!1,p=t.match(T),d=n.match(D),f=Math.min(p.length,d.length);for(i=0;i<f;i++)r(d[i],p[i]);return o&&s[3]<12&&(s[3]+=12),o===!1&&12===s[3]&&(s[3]=0),s[3]+=u,s[4]+=l,c?new e(e.UTC.apply({},s)):a(s)}function l(e,t){var n,r=Math.min(e.length,t.length),i=Math.abs(e.length-t.length),o=0;for(n=0;n<r;n++)~~e[n]!==~~t[n]&&o++;return o+i}function c(e,t){var r,i,o,a,c=e.match(T),p=99;for(i=0;i<t.length;i++)o=u(e,t[i]),a=l(c,s(new n(o),t[i]).match(T)),a<p&&(p=a,r=o);return r}function p(t){var n,r="YYYY-MM-DDT";if(M.exec(t)){for(n=0;n<3;n++)if(S[n][1].exec(t)){r+=S[n][0];break}return u(t,r+"Z")}return new e(t)}function d(e,t,n){var r=m.relativeTime[e];return"function"==typeof r?r(t||1,!!n,e):r.replace(/%d/i,t||1)}function f(e,t){var n=v(Math.abs(e)/1e3),r=v(n/60),i=v(r/60),o=v(i/24),a=v(o/365),s=n<45&&["s",n]||1===r&&["m"]||r<45&&["mm",r]||1===i&&["h"]||i<22&&["hh",i]||1===o&&["d"]||o<=25&&["dd",o]||o<=45&&["M"]||o<345&&["MM",v(o/30)]||1===a&&["y"]||["yy",a];return s[2]=t,d.apply({},s)}function h(e,t){m.fn[e]=function(e){var n=this._isUTC?"UTC":"";return null!=e?(this._d["set"+n+t](e),this):this._d["get"+n+t]()}}var m,g,v=Math.round,$={},b="undefined"!=typeof module,y="months|monthsShort|monthsParse|weekdays|weekdaysShort|longDateFormat|calendar|relativeTime|ordinal|meridiem".split("|"),w=/^\/?Date\((\-?\d+)/i,x=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|dddd?|do?|w[o|w]?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|zz?|ZZ?|LT|LL?L?L?)/g,k=/[^A-Z]/g,C=/\([A-Za-z ]+\)|:[0-9]{2} [A-Z]{3} /g,D=/(\\)?(MM?M?M?|dd?d?d|DD?D?D?|YYYY|YY|a|A|hh?|HH?|mm?|ss?|ZZ?|T)/g,T=/(\\)?([0-9]+|([a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+|([\+\-]\d\d:?\d\d))/gi,M=/\d{4}.\d\d.\d\d(T(\d\d(.\d\d(.\d\d)?)?)?([\+\-]\d\d:?\d\d)?)?/,E="YYYY-MM-DDTHH:mm:ssZ",S=[["HH:mm:ss",/T\d\d:\d\d:\d\d/],["HH:mm",/T\d\d:\d\d/],["HH",/T\d\d/]],O=/([\+\-]|\d\d)/gi,A="1.5.0",N="Month|Date|Hours|Minutes|Seconds|Milliseconds".split("|");for(m=function(r,i){if(null===r||""===r)return null;var s,l;return r&&r._d instanceof e?s=new e((+r._d)):i?s=o(i)?c(r,i):u(r,i):(l=w.exec(r),s=r===t?new e:l?new e((+l[1])):r instanceof e?r:o(r)?a(r):"string"==typeof r?p(r):new e(r)),new n(s)},m.utc=function(t,r){return o(t)?new n(new e(e.UTC.apply({},t)),(!0)):r&&t?m(t+" 0",r+" Z").utc():m(t).utc()},m.humanizeDuration=function(e,t,n){var r,i=+e,o=m.relativeTime;switch(t){case"seconds":i*=1e3;break;case"minutes":i*=6e4;break;case"hours":i*=36e5;break;case"days":i*=864e5;break;case"weeks":i*=6048e5;break;case"months":i*=2592e6;break;case"years":i*=31536e6;break;default:n=!!t}return r=f(i,!n),n?(i<=0?o.past:o.future).replace(/%s/i,r):r},m.version=A,m.defaultFormat=E,m.lang=function(e,t){var n,r,i,o=[];if(t){for(n=0;n<12;n++)o[n]=new RegExp("^"+t.months[n]+"|^"+t.monthsShort[n].replace(".",""),"i");t.monthsParse=t.monthsParse||o,$[e]=t}if($[e])for(n=0;n<y.length;n++)r=y[n],m[r]=$[e][r]||m[r];else b&&(i=require("./lang/"+e),m.lang(e,i))},m.lang("en",{months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},meridiem:{AM:"AM",am:"am",PM:"PM",pm:"pm"},calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[last] dddd [at] LT",sameElse:"L"},relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},ordinal:function(e){var t=e%10;return 1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th"}}),m.isMoment=function(e){return e instanceof n},m.fn=n.prototype={clone:function(){return m(this)},valueOf:function(){return+this._d},"native":function(){return this._d},toString:function(){return this._d.toString()},toDate:function(){return this._d},utc:function(){return this._isUTC=!0,this},local:function(){return this._isUTC=!1,this},format:function(e){return s(this,e?e:m.defaultFormat)},add:function(e,t){return this._d=i(this._d,e,1,t),this},subtract:function(e,t){return this._d=i(this._d,e,-1,t),this},diff:function(e,t,n){var r,i=m(e),o=6e4*(this.zone()-i.zone()),a=this._d-i._d-o,s=this.year()-i.year(),u=this.month()-i.month(),l=this.date()-i.date();return r="months"===t?12*s+u+l/30:"years"===t?s+u/12:"seconds"===t?a/1e3:"minutes"===t?a/6e4:"hours"===t?a/36e5:"days"===t?a/864e5:"weeks"===t?a/6048e5:a,n?r:v(r)},from:function(e,t){return m.humanizeDuration(this.diff(e),!t)},fromNow:function(e){return this.from(m(),e)},calendar:function(){var e=this.diff(m().sod(),"days",!0),t=m.calendar,n=t.sameElse,r=e<-6?n:e<-1?t.lastWeek:e<0?t.lastDay:e<1?t.sameDay:e<2?t.nextDay:e<7?t.nextWeek:n;return this.format("function"==typeof r?r.apply(this):r)},isLeapYear:function(){var e=this.year();return e%4===0&&e%100!==0||e%400===0},isDST:function(){return this.zone()<m([this.year()]).zone()||this.zone()<m([this.year(),5]).zone()},day:function(e){var t=this._d.getDay();return null==e?t:this.add({d:e-t})},sod:function(){return this.clone().hours(0).minutes(0).seconds(0).milliseconds(0)},eod:function(){return this.sod().add({d:1,ms:-1})},zone:function(){return this._isUTC?0:this._d.getTimezoneOffset()},daysInMonth:function(){return this.clone().month(this.month()+1).date(0).date()}},g=0;g<N.length;g++)h(N[g].toLowerCase(),N[g]);h("year","FullYear"),b&&(module.exports=m),"undefined"!=typeof window&&(window.moment=m),"function"==typeof define&&define.amd&&define("moment",[],function(){return m}),e.prototype.format=function(e){var t={"M+":this.getMonth()+1,"d+":this.getDate(),"h+":this.getHours(),"m+":this.getMinutes(),"s+":this.getSeconds(),"q+":Math.floor((this.getMonth()+3)/3),S:this.getMilliseconds()};/(y+)/.test(e)&&(e=e.replace(RegExp.$1,(this.getFullYear()+"").substr(4-RegExp.$1.length)));for(var n in t)new RegExp("("+n+")").test(e)&&(e=e.replace(RegExp.$1,1==RegExp.$1.length?t[n]:("00"+t[n]).substr((""+t[n]).length)));return e},e.prototype.formatLongToDate=function(){var t=this;return"string"==typeof t&&(t=Number(t)),t=new e(t),t.format("yyyy-MM-dd")},e.prototype.formatToDate=function(){return this.format("yyyy-MM-dd")},e.prototype.formatLongToMinute=function(){var t=this;return"string"==typeof t&&(t=Number(t)),t=new e(t),t.format("yyyy-MM-dd HH:mm")},e.prototype.formatToMinute=function(){return this.format("yyyy-MM-dd HH:mm")},e.prototype.formatLongToSecond=function(){var t=this;return"string"==typeof t&&(t=Number(t)),t=new e(t),t.format("yyyy-MM-dd HH:mm:ss")},e.prototype.formatToSecond=function(){return this.format("yyyy-MM-dd HH:mm:ss")}}(Date),function(e){e.prototype.toPercent=function(e){var e=e||0;return(Math.round(this*Math.pow(10,e+2))/Math.pow(10,e)).toFixed(e)+"%"}}(Number),function(){var e=this,t=e._,n=Array.prototype,r=Object.prototype,i=Function.prototype,o=n.push,a=n.slice,s=n.concat,u=r.toString,l=r.hasOwnProperty,c=Array.isArray,p=Object.keys,d=i.bind,f=function(e){return e instanceof f?e:this instanceof f?void(this._wrapped=e):new f(e)};"undefined"!=typeof exports?("undefined"!=typeof module&&module.exports&&(exports=module.exports=f),exports._=f):e._=f,f.VERSION="1.7.0";var h=function(e,t,n){if(void 0===t)return e;switch(null==n?3:n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)};case 4:return function(n,r,i,o){return e.call(t,n,r,i,o)}}return function(){return e.apply(t,arguments)}};f.iteratee=function(e,t,n){return null==e?f.identity:f.isFunction(e)?h(e,t,n):f.isObject(e)?f.matches(e):f.property(e)},f.each=f.forEach=function(e,t,n){if(null==e)return e;t=h(t,n);var r,i=e.length;if(i===+i)for(r=0;r<i;r++)t(e[r],r,e);else{var o=f.keys(e);for(r=0,i=o.length;r<i;r++)t(e[o[r]],o[r],e)}return e},f.map=f.collect=function(e,t,n){if(null==e)return[];t=f.iteratee(t,n);for(var r,i=e.length!==+e.length&&f.keys(e),o=(i||e).length,a=Array(o),s=0;s<o;s++)r=i?i[s]:s,a[s]=t(e[r],r,e);return a};var m="Reduce of empty array with no initial value";f.reduce=f.foldl=f.inject=function(e,t,n,r){null==e&&(e=[]),t=h(t,r,4);var i,o=e.length!==+e.length&&f.keys(e),a=(o||e).length,s=0;if(arguments.length<3){if(!a)throw new TypeError(m);n=e[o?o[s++]:s++]}for(;s<a;s++)i=o?o[s]:s,n=t(n,e[i],i,e);return n},f.reduceRight=f.foldr=function(e,t,n,r){null==e&&(e=[]),t=h(t,r,4);var i,o=e.length!==+e.length&&f.keys(e),a=(o||e).length;if(arguments.length<3){if(!a)throw new TypeError(m);n=e[o?o[--a]:--a]}for(;a--;)i=o?o[a]:a,n=t(n,e[i],i,e);return n},f.find=f.detect=function(e,t,n){var r;return t=f.iteratee(t,n),f.some(e,function(e,n,i){if(t(e,n,i))return r=e,!0}),r},f.filter=f.select=function(e,t,n){var r=[];return null==e?r:(t=f.iteratee(t,n),f.each(e,function(e,n,i){t(e,n,i)&&r.push(e)}),r)},f.reject=function(e,t,n){return f.filter(e,f.negate(f.iteratee(t)),n)},f.every=f.all=function(e,t,n){if(null==e)return!0;t=f.iteratee(t,n);var r,i,o=e.length!==+e.length&&f.keys(e),a=(o||e).length;for(r=0;r<a;r++)if(i=o?o[r]:r,!t(e[i],i,e))return!1;return!0},f.some=f.any=function(e,t,n){if(null==e)return!1;t=f.iteratee(t,n);var r,i,o=e.length!==+e.length&&f.keys(e),a=(o||e).length;for(r=0;r<a;r++)if(i=o?o[r]:r,t(e[i],i,e))return!0;return!1},f.contains=f.include=function(e,t){return null!=e&&(e.length!==+e.length&&(e=f.values(e)),f.indexOf(e,t)>=0)},f.invoke=function(e,t){var n=a.call(arguments,2),r=f.isFunction(t);return f.map(e,function(e){return(r?t:e[t]).apply(e,n)})},f.pluck=function(e,t){return f.map(e,f.property(t))},f.where=function(e,t){return f.filter(e,f.matches(t))},f.findWhere=function(e,t){return f.find(e,f.matches(t))},f.max=function(e,t,n){var r,i,o=-(1/0),a=-(1/0);if(null==t&&null!=e){e=e.length===+e.length?e:f.values(e);for(var s=0,u=e.length;s<u;s++)r=e[s],r>o&&(o=r)}else t=f.iteratee(t,n),f.each(e,function(e,n,r){i=t(e,n,r),(i>a||i===-(1/0)&&o===-(1/0))&&(o=e,a=i)});return o},f.min=function(e,t,n){var r,i,o=1/0,a=1/0;if(null==t&&null!=e){e=e.length===+e.length?e:f.values(e);for(var s=0,u=e.length;s<u;s++)r=e[s],r<o&&(o=r)}else t=f.iteratee(t,n),f.each(e,function(e,n,r){i=t(e,n,r),(i<a||i===1/0&&o===1/0)&&(o=e,a=i)});return o},f.shuffle=function(e){for(var t,n=e&&e.length===+e.length?e:f.values(e),r=n.length,i=Array(r),o=0;o<r;o++)t=f.random(0,o),t!==o&&(i[o]=i[t]),i[t]=n[o];return i},f.sample=function(e,t,n){return null==t||n?(e.length!==+e.length&&(e=f.values(e)),e[f.random(e.length-1)]):f.shuffle(e).slice(0,Math.max(0,t))},f.sortBy=function(e,t,n){return t=f.iteratee(t,n),f.pluck(f.map(e,function(e,n,r){return{value:e,index:n,criteria:t(e,n,r)}}).sort(function(e,t){var n=e.criteria,r=t.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return e.index-t.index}),"value")};var g=function(e){return function(t,n,r){var i={};return n=f.iteratee(n,r),f.each(t,function(r,o){var a=n(r,o,t);e(i,r,a)}),i}};f.groupBy=g(function(e,t,n){f.has(e,n)?e[n].push(t):e[n]=[t]}),f.indexBy=g(function(e,t,n){e[n]=t}),f.countBy=g(function(e,t,n){f.has(e,n)?e[n]++:e[n]=1}),f.sortedIndex=function(e,t,n,r){n=f.iteratee(n,r,1);for(var i=n(t),o=0,a=e.length;o<a;){var s=o+a>>>1;n(e[s])<i?o=s+1:a=s}return o},f.toArray=function(e){return e?f.isArray(e)?a.call(e):e.length===+e.length?f.map(e,f.identity):f.values(e):[]},f.size=function(e){return null==e?0:e.length===+e.length?e.length:f.keys(e).length},f.partition=function(e,t,n){t=f.iteratee(t,n);var r=[],i=[];return f.each(e,function(e,n,o){(t(e,n,o)?r:i).push(e)}),[r,i]},f.first=f.head=f.take=function(e,t,n){if(null!=e)return null==t||n?e[0]:t<0?[]:a.call(e,0,t)},f.initial=function(e,t,n){return a.call(e,0,Math.max(0,e.length-(null==t||n?1:t)))},f.last=function(e,t,n){if(null!=e)return null==t||n?e[e.length-1]:a.call(e,Math.max(e.length-t,0))},f.rest=f.tail=f.drop=function(e,t,n){return a.call(e,null==t||n?1:t)},f.compact=function(e){return f.filter(e,f.identity)};var v=function(e,t,n,r){if(t&&f.every(e,f.isArray))return s.apply(r,e);for(var i=0,a=e.length;i<a;i++){var u=e[i];f.isArray(u)||f.isArguments(u)?t?o.apply(r,u):v(u,t,n,r):n||r.push(u)}return r};f.flatten=function(e,t){return v(e,t,!1,[])},f.without=function(e){return f.difference(e,a.call(arguments,1))},f.uniq=f.unique=function(e,t,n,r){if(null==e)return[];f.isBoolean(t)||(r=n,n=t,t=!1),null!=n&&(n=f.iteratee(n,r));for(var i=[],o=[],a=0,s=e.length;a<s;a++){var u=e[a];if(t)a&&o===u||i.push(u),o=u;else if(n){var l=n(u,a,e);f.indexOf(o,l)<0&&(o.push(l),i.push(u))}else f.indexOf(i,u)<0&&i.push(u)}return i},f.union=function(){return f.uniq(v(arguments,!0,!0,[]))},f.intersection=function(e){if(null==e)return[];for(var t=[],n=arguments.length,r=0,i=e.length;r<i;r++){var o=e[r];if(!f.contains(t,o)){for(var a=1;a<n&&f.contains(arguments[a],o);a++);a===n&&t.push(o)}}return t},f.difference=function(e){var t=v(a.call(arguments,1),!0,!0,[]);return f.filter(e,function(e){return!f.contains(t,e)})},f.zip=function(e){if(null==e)return[];for(var t=f.max(arguments,"length").length,n=Array(t),r=0;r<t;r++)n[r]=f.pluck(arguments,r);return n},f.object=function(e,t){if(null==e)return{};for(var n={},r=0,i=e.length;r<i;r++)t?n[e[r]]=t[r]:n[e[r][0]]=e[r][1];return n},f.indexOf=function(e,t,n){if(null==e)return-1;var r=0,i=e.length;if(n){if("number"!=typeof n)return r=f.sortedIndex(e,t),e[r]===t?r:-1;r=n<0?Math.max(0,i+n):n}for(;r<i;r++)if(e[r]===t)return r;return-1},f.lastIndexOf=function(e,t,n){if(null==e)return-1;var r=e.length;for("number"==typeof n&&(r=n<0?r+n+1:Math.min(r,n+1));--r>=0;)if(e[r]===t)return r;return-1},f.range=function(e,t,n){arguments.length<=1&&(t=e||0,e=0),n=n||1;for(var r=Math.max(Math.ceil((t-e)/n),0),i=Array(r),o=0;o<r;o++,e+=n)i[o]=e;return i};var $=function(){};f.bind=function(e,t){var n,r;if(d&&e.bind===d)return d.apply(e,a.call(arguments,1));if(!f.isFunction(e))throw new TypeError("Bind must be called on a function");return n=a.call(arguments,2),r=function(){if(!(this instanceof r))return e.apply(t,n.concat(a.call(arguments)));$.prototype=e.prototype;var i=new $;$.prototype=null;var o=e.apply(i,n.concat(a.call(arguments)));return f.isObject(o)?o:i}},f.partial=function(e){var t=a.call(arguments,1);return function(){for(var n=0,r=t.slice(),i=0,o=r.length;i<o;i++)r[i]===f&&(r[i]=arguments[n++]);for(;n<arguments.length;)r.push(arguments[n++]);return e.apply(this,r)}},f.bindAll=function(e){var t,n,r=arguments.length;if(r<=1)throw new Error("bindAll must be passed function names");for(t=1;t<r;t++)n=arguments[t],e[n]=f.bind(e[n],e);return e},f.memoize=function(e,t){var n=function(r){var i=n.cache,o=t?t.apply(this,arguments):r;return f.has(i,o)||(i[o]=e.apply(this,arguments)),i[o]};return n.cache={},n},f.delay=function(e,t){var n=a.call(arguments,2);return setTimeout(function(){return e.apply(null,n)},t)},f.defer=function(e){return f.delay.apply(f,[e,1].concat(a.call(arguments,1)))},f.throttle=function(e,t,n){var r,i,o,a=null,s=0;n||(n={});var u=function(){s=n.leading===!1?0:f.now(),a=null,o=e.apply(r,i),a||(r=i=null)};return function(){var l=f.now();s||n.leading!==!1||(s=l);var c=t-(l-s);return r=this,i=arguments,c<=0||c>t?(clearTimeout(a),a=null,s=l,o=e.apply(r,i),a||(r=i=null)):a||n.trailing===!1||(a=setTimeout(u,c)),o}},f.debounce=function(e,t,n){var r,i,o,a,s,u=function(){var l=f.now()-a;l<t&&l>0?r=setTimeout(u,t-l):(r=null,n||(s=e.apply(o,i),r||(o=i=null)))};return function(){o=this,i=arguments,a=f.now();var l=n&&!r;return r||(r=setTimeout(u,t)),l&&(s=e.apply(o,i),o=i=null),s}},f.wrap=function(e,t){return f.partial(t,e)},f.negate=function(e){return function(){return!e.apply(this,arguments)}},f.compose=function(){var e=arguments,t=e.length-1;return function(){for(var n=t,r=e[t].apply(this,arguments);n--;)r=e[n].call(this,r);return r}},f.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},f.before=function(e,t){var n;return function(){return--e>0?n=t.apply(this,arguments):t=null,n}},f.once=f.partial(f.before,2),f.keys=function(e){if(!f.isObject(e))return[];if(p)return p(e);var t=[];for(var n in e)f.has(e,n)&&t.push(n);return t},f.values=function(e){for(var t=f.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=e[t[i]];return r},f.pairs=function(e){for(var t=f.keys(e),n=t.length,r=Array(n),i=0;i<n;i++)r[i]=[t[i],e[t[i]]];return r},f.invert=function(e){for(var t={},n=f.keys(e),r=0,i=n.length;r<i;r++)t[e[n[r]]]=n[r];return t},f.functions=f.methods=function(e){var t=[];for(var n in e)f.isFunction(e[n])&&t.push(n);return t.sort()},f.extend=function(e){if(!f.isObject(e))return e;for(var t,n,r=1,i=arguments.length;r<i;r++){t=arguments[r];for(n in t)l.call(t,n)&&(e[n]=t[n])}return e},f.pick=function(e,t,n){var r,i={};if(null==e)return i;if(f.isFunction(t)){t=h(t,n);for(r in e){var o=e[r];t(o,r,e)&&(i[r]=o)}}else{var u=s.apply([],a.call(arguments,1));e=new Object(e);for(var l=0,c=u.length;l<c;l++)r=u[l],r in e&&(i[r]=e[r])}return i},f.omit=function(e,t,n){if(f.isFunction(t))t=f.negate(t);else{var r=f.map(s.apply([],a.call(arguments,1)),String);t=function(e,t){return!f.contains(r,t)}}return f.pick(e,t,n)},f.defaults=function(e){if(!f.isObject(e))return e;for(var t=1,n=arguments.length;t<n;t++){var r=arguments[t];for(var i in r)void 0===e[i]&&(e[i]=r[i])}return e},f.clone=function(e){return f.isObject(e)?f.isArray(e)?e.slice():f.extend({},e):e},f.tap=function(e,t){
return t(e),e};var b=function(e,t,n,r){if(e===t)return 0!==e||1/e===1/t;if(null==e||null==t)return e===t;e instanceof f&&(e=e._wrapped),t instanceof f&&(t=t._wrapped);var i=u.call(e);if(i!==u.call(t))return!1;switch(i){case"[object RegExp]":case"[object String]":return""+e==""+t;case"[object Number]":return+e!==+e?+t!==+t:0===+e?1/+e===1/t:+e===+t;case"[object Date]":case"[object Boolean]":return+e===+t}if("object"!=typeof e||"object"!=typeof t)return!1;for(var o=n.length;o--;)if(n[o]===e)return r[o]===t;var a=e.constructor,s=t.constructor;if(a!==s&&"constructor"in e&&"constructor"in t&&!(f.isFunction(a)&&a instanceof a&&f.isFunction(s)&&s instanceof s))return!1;n.push(e),r.push(t);var l,c;if("[object Array]"===i){if(l=e.length,c=l===t.length)for(;l--&&(c=b(e[l],t[l],n,r)););}else{var p,d=f.keys(e);if(l=d.length,c=f.keys(t).length===l)for(;l--&&(p=d[l],c=f.has(t,p)&&b(e[p],t[p],n,r)););}return n.pop(),r.pop(),c};f.isEqual=function(e,t){return b(e,t,[],[])},f.isEmpty=function(e){if(null==e)return!0;if(f.isArray(e)||f.isString(e)||f.isArguments(e))return 0===e.length;for(var t in e)if(f.has(e,t))return!1;return!0},f.isElement=function(e){return!(!e||1!==e.nodeType)},f.isArray=c||function(e){return"[object Array]"===u.call(e)},f.isObject=function(e){var t=typeof e;return"function"===t||"object"===t&&!!e},f.each(["Arguments","Function","String","Number","Date","RegExp"],function(e){f["is"+e]=function(t){return u.call(t)==="[object "+e+"]"}}),f.isArguments(arguments)||(f.isArguments=function(e){return f.has(e,"callee")}),"function"!=typeof/./&&(f.isFunction=function(e){return"function"==typeof e||!1}),f.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},f.isNaN=function(e){return f.isNumber(e)&&e!==+e},f.isBoolean=function(e){return e===!0||e===!1||"[object Boolean]"===u.call(e)},f.isNull=function(e){return null===e},f.isUndefined=function(e){return void 0===e},f.has=function(e,t){return null!=e&&l.call(e,t)},f.noConflict=function(){return e._=t,this},f.identity=function(e){return e},f.constant=function(e){return function(){return e}},f.noop=function(){},f.property=function(e){return function(t){return t[e]}},f.matches=function(e){var t=f.pairs(e),n=t.length;return function(e){if(null==e)return!n;e=new Object(e);for(var r=0;r<n;r++){var i=t[r],o=i[0];if(i[1]!==e[o]||!(o in e))return!1}return!0}},f.times=function(e,t,n){var r=Array(Math.max(0,e));t=h(t,n,1);for(var i=0;i<e;i++)r[i]=t(i);return r},f.random=function(e,t){return null==t&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))},f.now=Date.now||function(){return(new Date).getTime()};var y={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},w=f.invert(y),x=function(e){var t=function(t){return e[t]},n="(?:"+f.keys(e).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(e){return e=null==e?"":""+e,r.test(e)?e.replace(i,t):e}};f.escape=x(y),f.unescape=x(w),f.result=function(e,t){if(null!=e){var n=e[t];return f.isFunction(n)?e[t]():n}};var k=0;f.uniqueId=function(e){var t=++k+"";return e?e+t:t},f.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var C=/(.)^/,D={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},T=/\\|'|\r|\n|\u2028|\u2029/g,M=function(e){return"\\"+D[e]};f.template=function(e,t,n){!t&&n&&(t=n),t=f.defaults({},t,f.templateSettings);var r=RegExp([(t.escape||C).source,(t.interpolate||C).source,(t.evaluate||C).source].join("|")+"|$","g"),i=0,o="__p+='";e.replace(r,function(t,n,r,a,s){return o+=e.slice(i,s).replace(T,M),i=s+t.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":a&&(o+="';\n"+a+"\n__p+='"),t}),o+="';\n",t.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{var a=new Function(t.variable||"obj","_",o)}catch(s){throw s.source=o,s}var u=function(e){return a.call(this,e,f)},l=t.variable||"obj";return u.source="function("+l+"){\n"+o+"}",u},f.chain=function(e){var t=f(e);return t._chain=!0,t};var E=function(e){return this._chain?f(e).chain():e};f.mixin=function(e){f.each(f.functions(e),function(t){var n=f[t]=e[t];f.prototype[t]=function(){var e=[this._wrapped];return o.apply(e,arguments),E.call(this,n.apply(f,e))}})},f.mixin(f),f.each(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=n[e];f.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),"shift"!==e&&"splice"!==e||0!==n.length||delete n[0],E.call(this,n)}}),f.each(["concat","join","slice"],function(e){var t=n[e];f.prototype[e]=function(){return E.call(this,t.apply(this._wrapped,arguments))}}),f.prototype.value=function(){return this._wrapped},"function"==typeof define&&define.amd&&define("underscore",[],function(){return f})}.call(this);var browser_info=getBrowser(),browser_name=browser_info[0],browser_version=browser_info[1];"msie"==browser_name&&browser_version<9&&(window.location="browser.htm");