   !function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){var n=[],i=n.slice,r=n.concat,o=n.push,s=n.indexOf,a={},u=a.toString,l=a.hasOwnProperty,c={},h="1.11.3",f=function(t,e){return new f.fn.init(t,e)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,d=/^-ms-/,m=/-([\da-z])/gi,g=function(t,e){return e.toUpperCase()};function v(t){var e="length"in t&&t.length,n=f.type(t);return"function"!==n&&!f.isWindow(t)&&(!(1!==t.nodeType||!e)||("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t))}f.fn=f.prototype={jquery:h,constructor:f,selector:"",length:0,toArray:function(){return i.call(this)},get:function(t){return null!=t?0>t?this[t+this.length]:this[t]:i.call(this)},pushStack:function(t){var e=f.merge(this.constructor(),t);return e.prevObject=this,e.context=this.context,e},each:function(t,e){return f.each(this,t,e)},map:function(t){return this.pushStack(f.map(this,function(e,n){return t.call(e,n,e)}))},slice:function(){return this.pushStack(i.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(t){var e=this.length,n=+t+(0>t?e:0);return this.pushStack(n>=0&&e>n?[this[n]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:o,sort:n.sort,splice:n.splice},f.extend=f.fn.extend=function(){var t,e,n,i,r,o,s=arguments[0]||{},a=1,u=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||f.isFunction(s)||(s={}),a===u&&(s=this,a--);u>a;a++)if(null!=(r=arguments[a]))for(i in r)t=s[i],s!==(n=r[i])&&(l&&n&&(f.isPlainObject(n)||(e=f.isArray(n)))?(e?(e=!1,o=t&&f.isArray(t)?t:[]):o=t&&f.isPlainObject(t)?t:{},s[i]=f.extend(l,o,n)):void 0!==n&&(s[i]=n));return s},f.extend({expando:"jQuery"+(h+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isFunction:function(t){return"function"===f.type(t)},isArray:Array.isArray||function(t){return"array"===f.type(t)},isWindow:function(t){return null!=t&&t==t.window},isNumeric:function(t){return!f.isArray(t)&&t-parseFloat(t)+1>=0},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},isPlainObject:function(t){var e;if(!t||"object"!==f.type(t)||t.nodeType||f.isWindow(t))return!1;try{if(t.constructor&&!l.call(t,"constructor")&&!l.call(t.constructor.prototype,"isPrototypeOf"))return!1}catch(t){return!1}if(c.ownLast)for(e in t)return l.call(t,e);for(e in t);return void 0===e||l.call(t,e)},type:function(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?a[u.call(t)]||"object":typeof t},globalEval:function(e){e&&f.trim(e)&&(t.execScript||function(e){t.eval.call(t,e)})(e)},camelCase:function(t){return t.replace(d,"ms-").replace(m,g)},nodeName:function(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()},each:function(t,e,n){var i=0,r=t.length,o=v(t);if(n){if(o)for(;r>i&&!1!==e.apply(t[i],n);i++);else for(i in t)if(!1===e.apply(t[i],n))break}else if(o)for(;r>i&&!1!==e.call(t[i],i,t[i]);i++);else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},trim:function(t){return null==t?"":(t+"").replace(p,"")},makeArray:function(t,e){var n=e||[];return null!=t&&(v(Object(t))?f.merge(n,"string"==typeof t?[t]:t):o.call(n,t)),n},inArray:function(t,e,n){var i;if(e){if(s)return s.call(e,t,n);for(i=e.length,n=n?0>n?Math.max(0,i+n):n:0;i>n;n++)if(n in e&&e[n]===t)return n}return-1},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;n>i;)t[r++]=e[i++];if(n!=n)for(;void 0!==e[i];)t[r++]=e[i++];return t.length=r,t},grep:function(t,e,n){for(var i=[],r=0,o=t.length,s=!n;o>r;r++)!e(t[r],r)!==s&&i.push(t[r]);return i},map:function(t,e,n){var i,o=0,s=t.length,a=[];if(v(t))for(;s>o;o++)null!=(i=e(t[o],o,n))&&a.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&a.push(i);return r.apply([],a)},guid:1,proxy:function(t,e){var n,r,o;return"string"==typeof e&&(o=t[e],e=t,t=o),f.isFunction(t)?(n=i.call(arguments,2),(r=function(){return t.apply(e||this,n.concat(i.call(arguments)))}).guid=t.guid=t.guid||f.guid++,r):void 0},now:function(){return+new Date},support:c}),f.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(t,e){a["[object "+e+"]"]=e.toLowerCase()});var y=function(t){var e,n,i,r,o,s,a,u,l,c,h,f,p,d,m,g,v,y,$,b="sizzle"+1*new Date,x=t.document,w=0,E=0,S=st(),T=st(),C=st(),k=function(t,e){return t===e&&(h=!0),0},A=1<<31,N={}.hasOwnProperty,_=[],P=_.pop,O=_.push,M=_.push,D=_.slice,L=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1},j="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",I="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",H=R.replace("w","w#"),z="\\["+I+"*("+R+")(?:"+I+"*([*^$|!~]?=)"+I+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+H+"))|)"+I+"*\\]",q=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",F=new RegExp(I+"+","g"),B=new RegExp("^"+I+"+|((?:^|[^\\\\])(?:\\\\.)*)"+I+"+$","g"),V=new RegExp("^"+I+"*,"+I+"*"),W=new RegExp("^"+I+"*([>+~]|"+I+")"+I+"*"),X=new RegExp("="+I+"*([^\\]'\"]*?)"+I+"*\\]","g"),Y=new RegExp(q),U=new RegExp("^"+H+"$"),G={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R.replace("w","w*")+")"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+I+"*(even|odd|(([+-]|)(\\d*)n|)"+I+"*(?:([+-]|)"+I+"*(\\d+)|))"+I+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+I+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+I+"*((?:-\\d)?\\d*)"+I+"*\\)|)(?=[^-]|$)","i")},J=/^(?:input|select|textarea|button)$/i,K=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=/'|\\/g,nt=new RegExp("\\\\([\\da-f]{1,6}"+I+"?|("+I+")|.)","ig"),it=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:0>i?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},rt=function(){f()};try{M.apply(_=D.call(x.childNodes),x.childNodes),_[x.childNodes.length].nodeType}catch(t){M={apply:_.length?function(t,e){O.apply(t,D.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}function ot(t,e,i,r){var o,a,l,c,h,d,v,y,w,E;if((e?e.ownerDocument||e:x)!==p&&f(e),i=i||[],c=(e=e||p).nodeType,"string"!=typeof t||!t||1!==c&&9!==c&&11!==c)return i;if(!r&&m){if(11!==c&&(o=Z.exec(t)))if(l=o[1]){if(9===c){if(!(a=e.getElementById(l))||!a.parentNode)return i;if(a.id===l)return i.push(a),i}else if(e.ownerDocument&&(a=e.ownerDocument.getElementById(l))&&$(e,a)&&a.id===l)return i.push(a),i}else{if(o[2])return M.apply(i,e.getElementsByTagName(t)),i;if((l=o[3])&&n.getElementsByClassName)return M.apply(i,e.getElementsByClassName(l)),i}if(n.qsa&&(!g||!g.test(t))){if(y=v=b,w=e,E=1!==c&&t,1===c&&"object"!==e.nodeName.toLowerCase()){for(d=s(t),(v=e.getAttribute("id"))?y=v.replace(et,"\\$&"):e.setAttribute("id",y),y="[id='"+y+"'] ",h=d.length;h--;)d[h]=y+gt(d[h]);w=tt.test(t)&&dt(e.parentNode)||e,E=d.join(",")}if(E)try{return M.apply(i,w.querySelectorAll(E)),i}catch(t){}finally{v||e.removeAttribute("id")}}}return u(t.replace(B,"$1"),e,i,r)}function st(){var t=[];return function e(n,r){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=r}}function at(t){return t[b]=!0,t}function ut(t){var e=p.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function lt(t,e){for(var n=t.split("|"),r=t.length;r--;)i.attrHandle[n[r]]=e}function ct(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||A)-(~t.sourceIndex||A);if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ht(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ft(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function pt(t){return at(function(e){return e=+e,at(function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function dt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ot.support={},o=ot.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},f=ot.setDocument=function(t){var e,r,s=t?t.ownerDocument||t:x;return s!==p&&9===s.nodeType&&s.documentElement?(p=s,d=s.documentElement,(r=s.defaultView)&&r!==r.top&&(r.addEventListener?r.addEventListener("unload",rt,!1):r.attachEvent&&r.attachEvent("onunload",rt)),m=!o(s),n.attributes=ut(function(t){return t.className="i",!t.getAttribute("className")}),n.getElementsByTagName=ut(function(t){return t.appendChild(s.createComment("")),!t.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(s.getElementsByClassName),n.getById=ut(function(t){return d.appendChild(t).id=b,!s.getElementsByName||!s.getElementsByName(b).length}),n.getById?(i.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var n=e.getElementById(t);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(t){var e=t.replace(nt,it);return function(t){return t.getAttribute("id")===e}}):(delete i.find.ID,i.filter.ID=function(t){var e=t.replace(nt,it);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}}),i.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(t,e){return m?e.getElementsByClassName(t):void 0},v=[],g=[],(n.qsa=Q.test(s.querySelectorAll))&&(ut(function(t){d.appendChild(t).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\f]' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+I+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||g.push("\\["+I+"*(?:value|"+j+")"),t.querySelectorAll("[id~="+b+"-]").length||g.push("~="),t.querySelectorAll(":checked").length||g.push(":checked"),t.querySelectorAll("a#"+b+"+*").length||g.push(".#.+[+~]")}),ut(function(t){var e=s.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&g.push("name"+I+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||g.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),g.push(",.*:")})),(n.matchesSelector=Q.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ut(function(t){n.disconnectedMatch=y.call(t,"div"),y.call(t,"[s!='']:x"),v.push("!=",q)}),g=g.length&&new RegExp(g.join("|")),v=v.length&&new RegExp(v.join("|")),e=Q.test(d.compareDocumentPosition),$=e||Q.test(d.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},k=e?function(t,e){if(t===e)return h=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===i?t===s||t.ownerDocument===x&&$(x,t)?-1:e===s||e.ownerDocument===x&&$(x,e)?1:c?L(c,t)-L(c,e):0:4&i?-1:1)}:function(t,e){if(t===e)return h=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],u=[e];if(!r||!o)return t===s?-1:e===s?1:r?-1:o?1:c?L(c,t)-L(c,e):0;if(r===o)return ct(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;a[i]===u[i];)i++;return i?ct(a[i],u[i]):a[i]===x?-1:u[i]===x?1:0},s):p},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if((t.ownerDocument||t)!==p&&f(t),e=e.replace(X,"='$1']"),!(!n.matchesSelector||!m||v&&v.test(e)||g&&g.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return ot(e,p,null,[t]).length>0},ot.contains=function(t,e){return(t.ownerDocument||t)!==p&&f(t),$(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!==p&&f(t);var r=i.attrHandle[e.toLowerCase()],o=r&&N.call(i.attrHandle,e.toLowerCase())?r(t,e,!m):void 0;return void 0!==o?o:n.attributes||!m?t.getAttribute(e):(o=t.getAttributeNode(e))&&o.specified?o.value:null},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,i=[],r=0,o=0;if(h=!n.detectDuplicates,c=!n.sortStable&&t.slice(0),t.sort(k),h){for(;e=t[o++];)e===t[o]&&(r=i.push(o));for(;r--;)t.splice(i[r],1)}return c=null,t},r=ot.getText=function(t){var e,n="",i=0,o=t.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===o||4===o)return t.nodeValue}else for(;e=t[i++];)n+=r(e);return n},(i=ot.selectors={cacheLength:50,createPseudo:at,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(nt,it),t[3]=(t[3]||t[4]||t[5]||"").replace(nt,it),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&Y.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(nt,it).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+I+")"+t+"("+I+"|$)"))&&S(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,e,n){return function(i){var r=ot.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace(F," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,u){var l,c,h,f,p,d,m=o!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!u&&!a;if(g){if(o){for(;m;){for(h=e;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;d=m="only"===t&&!d&&"nextSibling"}return!0}if(d=[s?g.firstChild:g.lastChild],s&&y){for(p=(l=(c=g[b]||(g[b]={}))[t]||[])[0]===w&&l[1],f=l[0]===w&&l[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(f=p=0)||d.pop();)if(1===h.nodeType&&++f&&h===e){c[t]=[w,p,f];break}}else if(y&&(l=(e[b]||(e[b]={}))[t])&&l[0]===w)f=l[1];else for(;(h=++p&&h&&h[m]||(f=p=0)||d.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++f||(y&&((h[b]||(h[b]={}))[t]=[w,f]),h!==e)););return(f-=r)===i||f%i==0&&f/i>=0}}},PSEUDO:function(t,e){var n,r=i.pseudos[t]||i.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return r[b]?r(e):r.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?at(function(t,n){for(var i,o=r(t,e),s=o.length;s--;)t[i=L(t,o[s])]=!(n[i]=o[s])}):function(t){return r(t,0,n)}):r}},pseudos:{not:at(function(t){var e=[],n=[],i=a(t.replace(B,"$1"));return i[b]?at(function(t,e,n,r){for(var o,s=i(t,null,r,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,r,o){return e[0]=t,i(e,null,o,n),e[0]=null,!n.pop()}}),has:at(function(t){return function(e){return ot(t,e).length>0}}),contains:at(function(t){return t=t.replace(nt,it),function(e){return(e.textContent||e.innerText||r(e)).indexOf(t)>-1}}),lang:at(function(t){return U.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(nt,it).toLowerCase(),function(e){var n;do{if(n=m?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===d},focus:function(t){return t===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:function(t){return!1===t.disabled},disabled:function(t){return!0===t.disabled},checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos.empty(t)},header:function(t){return K.test(t.nodeName)},input:function(t){return J.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:pt(function(){return[0]}),last:pt(function(t,e){return[e-1]}),eq:pt(function(t,e,n){return[0>n?n+e:n]}),even:pt(function(t,e){for(var n=0;e>n;n+=2)t.push(n);return t}),odd:pt(function(t,e){for(var n=1;e>n;n+=2)t.push(n);return t}),lt:pt(function(t,e,n){for(var i=0>n?n+e:n;--i>=0;)t.push(i);return t}),gt:pt(function(t,e,n){for(var i=0>n?n+e:n;++i<e;)t.push(i);return t})}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=ht(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=ft(e);function mt(){}function gt(t){for(var e=0,n=t.length,i="";n>e;e++)i+=t[e].value;return i}function vt(t,e,n){var i=e.dir,r=n&&"parentNode"===i,o=E++;return e.first?function(e,n,o){for(;e=e[i];)if(1===e.nodeType||r)return t(e,n,o)}:function(e,n,s){var a,u,l=[w,o];if(s){for(;e=e[i];)if((1===e.nodeType||r)&&t(e,n,s))return!0}else for(;e=e[i];)if(1===e.nodeType||r){if((a=(u=e[b]||(e[b]={}))[i])&&a[0]===w&&a[1]===o)return l[2]=a[2];if(u[i]=l,l[2]=t(e,n,s))return!0}}}function yt(t){return t.length>1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function $t(t,e,n,i,r){for(var o,s=[],a=0,u=t.length,l=null!=e;u>a;a++)(o=t[a])&&(!n||n(o,i,r))&&(s.push(o),l&&e.push(a));return s}function bt(t,e,n,i,r,o){return i&&!i[b]&&(i=bt(i)),r&&!r[b]&&(r=bt(r,o)),at(function(o,s,a,u){var l,c,h,f=[],p=[],d=s.length,m=o||function(t,e,n){for(var i=0,r=e.length;r>i;i++)ot(t,e[i],n);return n}(e||"*",a.nodeType?[a]:a,[]),g=!t||!o&&e?m:$t(m,f,t,a,u),v=n?r||(o?t:d||i)?[]:s:g;if(n&&n(g,v,a,u),i)for(l=$t(v,p),i(l,[],a,u),c=l.length;c--;)(h=l[c])&&(v[p[c]]=!(g[p[c]]=h));if(o){if(r||t){if(r){for(l=[],c=v.length;c--;)(h=v[c])&&l.push(g[c]=h);r(null,v=[],l,u)}for(c=v.length;c--;)(h=v[c])&&(l=r?L(o,h):f[c])>-1&&(o[l]=!(s[l]=h))}}else v=$t(v===s?v.splice(d,v.length):v),r?r(null,s,v,u):M.apply(s,v)})}function xt(t){for(var e,n,r,o=t.length,s=i.relative[t[0].type],a=s||i.relative[" "],u=s?1:0,c=vt(function(t){return t===e},a,!0),h=vt(function(t){return L(e,t)>-1},a,!0),f=[function(t,n,i){var r=!s&&(i||n!==l)||((e=n).nodeType?c(t,n,i):h(t,n,i));return e=null,r}];o>u;u++)if(n=i.relative[t[u].type])f=[vt(yt(f),n)];else{if((n=i.filter[t[u].type].apply(null,t[u].matches))[b]){for(r=++u;o>r&&!i.relative[t[r].type];r++);return bt(u>1&&yt(f),u>1&&gt(t.slice(0,u-1).concat({value:" "===t[u-2].type?"*":""})).replace(B,"$1"),n,r>u&&xt(t.slice(u,r)),o>r&&xt(t=t.slice(r)),o>r&&gt(t))}f.push(n)}return yt(f)}function wt(t,e){var n=e.length>0,r=t.length>0,o=function(o,s,a,u,c){var h,f,d,m=0,g="0",v=o&&[],y=[],$=l,b=o||r&&i.find.TAG("*",c),x=w+=null==$?1:Math.random()||.1,E=b.length;for(c&&(l=s!==p&&s);g!==E&&null!=(h=b[g]);g++){if(r&&h){for(f=0;d=t[f++];)if(d(h,s,a)){u.push(h);break}c&&(w=x)}n&&((h=!d&&h)&&m--,o&&v.push(h))}if(m+=g,n&&g!==m){for(f=0;d=e[f++];)d(v,y,s,a);if(o){if(m>0)for(;g--;)v[g]||y[g]||(y[g]=P.call(u));y=$t(y)}M.apply(u,y),c&&!o&&y.length>0&&m+e.length>1&&ot.uniqueSort(u)}return c&&(w=x,l=$),v};return n?at(o):o}return mt.prototype=i.filters=i.pseudos,i.setFilters=new mt,s=ot.tokenize=function(t,e){var n,r,o,s,a,u,l,c=T[t+" "];if(c)return e?0:c.slice(0);for(a=t,u=[],l=i.preFilter;a;){for(s in(!n||(r=V.exec(a)))&&(r&&(a=a.slice(r[0].length)||a),u.push(o=[])),n=!1,(r=W.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(B," ")}),a=a.slice(n.length)),i.filter)!(r=G[s].exec(a))||l[s]&&!(r=l[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return e?a.length:a?ot.error(t):T(t,u).slice(0)},a=ot.compile=function(t,e){var n,i=[],r=[],o=C[t+" "];if(!o){for(e||(e=s(t)),n=e.length;n--;)(o=xt(e[n]))[b]?i.push(o):r.push(o);(o=C(t,wt(r,i))).selector=t}return o},u=ot.select=function(t,e,r,o){var u,l,c,h,f,p="function"==typeof t&&t,d=!o&&s(t=p.selector||t);if(r=r||[],1===d.length){if((l=d[0]=d[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&n.getById&&9===e.nodeType&&m&&i.relative[l[1].type]){if(!(e=(i.find.ID(c.matches[0].replace(nt,it),e)||[])[0]))return r;p&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(u=G.needsContext.test(t)?0:l.length;u--&&(c=l[u],!i.relative[h=c.type]);)if((f=i.find[h])&&(o=f(c.matches[0].replace(nt,it),tt.test(l[0].type)&&dt(e.parentNode)||e))){if(l.splice(u,1),!(t=o.length&&gt(l)))return M.apply(r,o),r;break}}return(p||a(t,d))(o,e,!m,r,tt.test(t)&&dt(e.parentNode)||e),r},n.sortStable=b.split("").sort(k).join("")===b,n.detectDuplicates=!!h,f(),n.sortDetached=ut(function(t){return 1&t.compareDocumentPosition(p.createElement("div"))}),ut(function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")})||lt("type|href|height|width",function(t,e,n){return n?void 0:t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),n.attributes&&ut(function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||lt("value",function(t,e,n){return n||"input"!==t.nodeName.toLowerCase()?void 0:t.defaultValue}),ut(function(t){return null==t.getAttribute("disabled")})||lt(j,function(t,e,n){var i;return n?void 0:!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),ot}(t);f.find=y,f.expr=y.selectors,f.expr[":"]=f.expr.pseudos,f.unique=y.uniqueSort,f.text=y.getText,f.isXMLDoc=y.isXML,f.contains=y.contains;var $=f.expr.match.needsContext,b=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,x=/^.[^:#\[\.,]*$/;function w(t,e,n){if(f.isFunction(e))return f.grep(t,function(t,i){return!!e.call(t,i,t)!==n});if(e.nodeType)return f.grep(t,function(t){return t===e!==n});if("string"==typeof e){if(x.test(e))return f.filter(e,t,n);e=f.filter(e,t)}return f.grep(t,function(t){return f.inArray(t,e)>=0!==n})}f.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?f.find.matchesSelector(i,t)?[i]:[]:f.find.matches(t,f.grep(e,function(t){return 1===t.nodeType}))},f.fn.extend({find:function(t){var e,n=[],i=this,r=i.length;if("string"!=typeof t)return this.pushStack(f(t).filter(function(){for(e=0;r>e;e++)if(f.contains(i[e],this))return!0}));for(e=0;r>e;e++)f.find(t,i[e],n);return(n=this.pushStack(r>1?f.unique(n):n)).selector=this.selector?this.selector+" "+t:t,n},filter:function(t){return this.pushStack(w(this,t||[],!1))},not:function(t){return this.pushStack(w(this,t||[],!0))},is:function(t){return!!w(this,"string"==typeof t&&$.test(t)?f(t):t||[],!1).length}});var E,S=t.document,T=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(f.fn.init=function(t,e){var n,i;if(!t)return this;if("string"==typeof t){if(!(n="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&t.length>=3?[null,t,null]:T.exec(t))||!n[1]&&e)return!e||e.jquery?(e||E).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof f?e[0]:e,f.merge(this,f.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:S,!0)),b.test(n[1])&&f.isPlainObject(e))for(n in e)f.isFunction(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}if((i=S.getElementById(n[2]))&&i.parentNode){if(i.id!==n[2])return E.find(t);this.length=1,this[0]=i}return this.context=S,this.selector=t,this}return t.nodeType?(this.context=this[0]=t,this.length=1,this):f.isFunction(t)?void 0!==E.ready?E.ready(t):t(f):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),f.makeArray(t,this))}).prototype=f.fn,E=f(S);var C=/^(?:parents|prev(?:Until|All))/,k={children:!0,contents:!0,next:!0,prev:!0};function A(t,e){do{t=t[e]}while(t&&1!==t.nodeType);return t}f.extend({dir:function(t,e,n){for(var i=[],r=t[e];r&&9!==r.nodeType&&(void 0===n||1!==r.nodeType||!f(r).is(n));)1===r.nodeType&&i.push(r),r=r[e];return i},sibling:function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n}}),f.fn.extend({has:function(t){var e,n=f(t,this),i=n.length;return this.filter(function(){for(e=0;i>e;e++)if(f.contains(this,n[e]))return!0})},closest:function(t,e){for(var n,i=0,r=this.length,o=[],s=$.test(t)||"string"!=typeof t?f(t,e||this.context):0;r>i;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&f.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?f.unique(o):o)},index:function(t){return t?"string"==typeof t?f.inArray(this[0],f(t)):f.inArray(t.jquery?t[0]:t,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(f.unique(f.merge(this.get(),f(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),f.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return f.dir(t,"parentNode")},parentsUntil:function(t,e,n){return f.dir(t,"parentNode",n)},next:function(t){return A(t,"nextSibling")},prev:function(t){return A(t,"previousSibling")},nextAll:function(t){return f.dir(t,"nextSibling")},prevAll:function(t){return f.dir(t,"previousSibling")},nextUntil:function(t,e,n){return f.dir(t,"nextSibling",n)},prevUntil:function(t,e,n){return f.dir(t,"previousSibling",n)},siblings:function(t){return f.sibling((t.parentNode||{}).firstChild,t)},children:function(t){return f.sibling(t.firstChild)},contents:function(t){return f.nodeName(t,"iframe")?t.contentDocument||t.contentWindow.document:f.merge([],t.childNodes)}},function(t,e){f.fn[t]=function(n,i){var r=f.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=f.filter(i,r)),this.length>1&&(k[t]||(r=f.unique(r)),C.test(t)&&(r=r.reverse())),this.pushStack(r)}});var N,_=/\S+/g,P={};function O(){S.addEventListener?(S.removeEventListener("DOMContentLoaded",M,!1),t.removeEventListener("load",M,!1)):(S.detachEvent("onreadystatechange",M),t.detachEvent("onload",M))}function M(){(S.addEventListener||"load"===event.type||"complete"===S.readyState)&&(O(),f.ready())}f.Callbacks=function(t){t="string"==typeof t?P[t]||function(t){var e=P[t]={};return f.each(t.match(_)||[],function(t,n){e[n]=!0}),e}(t):f.extend({},t);var e,n,i,r,o,s,a=[],u=!t.once&&[],l=function(h){for(n=t.memory&&h,i=!0,o=s||0,s=0,r=a.length,e=!0;a&&r>o;o++)if(!1===a[o].apply(h[0],h[1])&&t.stopOnFalse){n=!1;break}e=!1,a&&(u?u.length&&l(u.shift()):n?a=[]:c.disable())},c={add:function(){if(a){var i=a.length;!function e(n){f.each(n,function(n,i){var r=f.type(i);"function"===r?t.unique&&c.has(i)||a.push(i):i&&i.length&&"string"!==r&&e(i)})}(arguments),e?r=a.length:n&&(s=i,l(n))}return this},remove:function(){return a&&f.each(arguments,function(t,n){for(var i;(i=f.inArray(n,a,i))>-1;)a.splice(i,1),e&&(r>=i&&r--,o>=i&&o--)}),this},has:function(t){return t?f.inArray(t,a)>-1:!(!a||!a.length)},empty:function(){return a=[],r=0,this},disable:function(){return a=u=n=void 0,this},disabled:function(){return!a},lock:function(){return u=void 0,n||c.disable(),this},locked:function(){return!u},fireWith:function(t,n){return!a||i&&!u||(n=[t,(n=n||[]).slice?n.slice():n],e?u.push(n):l(n)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},f.extend({Deferred:function(t){var e=[["resolve","done",f.Callbacks("once memory"),"resolved"],["reject","fail",f.Callbacks("once memory"),"rejected"],["notify","progress",f.Callbacks("memory")]],n="pending",i={state:function(){return n},always:function(){return r.done(arguments).fail(arguments),this},then:function(){var t=arguments;return f.Deferred(function(n){f.each(e,function(e,o){var s=f.isFunction(t[e])&&t[e];r[o[1]](function(){var t=s&&s.apply(this,arguments);t&&f.isFunction(t.promise)?t.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[o[0]+"With"](this===i?n.promise():this,s?[t]:arguments)})}),t=null}).promise()},promise:function(t){return null!=t?f.extend(t,i):i}},r={};return i.pipe=i.then,f.each(e,function(t,o){var s=o[2],a=o[3];i[o[1]]=s.add,a&&s.add(function(){n=a},e[1^t][2].disable,e[2][2].lock),r[o[0]]=function(){return r[o[0]+"With"](this===r?i:this,arguments),this},r[o[0]+"With"]=s.fireWith}),i.promise(r),t&&t.call(r,r),r},when:function(t){var e,n,r,o=0,s=i.call(arguments),a=s.length,u=1!==a||t&&f.isFunction(t.promise)?a:0,l=1===u?t:f.Deferred(),c=function(t,n,r){return function(o){n[t]=this,r[t]=arguments.length>1?i.call(arguments):o,r===e?l.notifyWith(n,r):--u||l.resolveWith(n,r)}};if(a>1)for(e=new Array(a),n=new Array(a),r=new Array(a);a>o;o++)s[o]&&f.isFunction(s[o].promise)?s[o].promise().done(c(o,r,s)).fail(l.reject).progress(c(o,n,e)):--u;return u||l.resolveWith(r,s),l.promise()}}),f.fn.ready=function(t){return f.ready.promise().done(t),this},f.extend({isReady:!1,readyWait:1,holdReady:function(t){t?f.readyWait++:f.ready(!0)},ready:function(t){if(!0===t?!--f.readyWait:!f.isReady){if(!S.body)return setTimeout(f.ready);f.isReady=!0,!0!==t&&--f.readyWait>0||(N.resolveWith(S,[f]),f.fn.triggerHandler&&(f(S).triggerHandler("ready"),f(S).off("ready")))}}}),f.ready.promise=function(e){if(!N)if(N=f.Deferred(),"complete"===S.readyState)setTimeout(f.ready);else if(S.addEventListener)S.addEventListener("DOMContentLoaded",M,!1),t.addEventListener("load",M,!1);else{S.attachEvent("onreadystatechange",M),t.attachEvent("onload",M);var n=!1;try{n=null==t.frameElement&&S.documentElement}catch(t){}n&&n.doScroll&&function t(){if(!f.isReady){try{n.doScroll("left")}catch(e){return setTimeout(t,50)}O(),f.ready()}}()}return N.promise(e)};var D,L="undefined";for(D in f(c))break;c.ownLast="0"!==D,c.inlineBlockNeedsLayout=!1,f(function(){var t,e,n,i;(n=S.getElementsByTagName("body")[0])&&n.style&&(e=S.createElement("div"),(i=S.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==L&&(e.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",c.inlineBlockNeedsLayout=t=3===e.offsetWidth,t&&(n.style.zoom=1)),n.removeChild(i))}),function(){var t=S.createElement("div");if(null==c.deleteExpando){c.deleteExpando=!0;try{delete t.test}catch(t){c.deleteExpando=!1}}t=null}(),f.acceptData=function(t){var e=f.noData[(t.nodeName+" ").toLowerCase()],n=+t.nodeType||1;return(1===n||9===n)&&(!e||!0!==e&&t.getAttribute("classid")===e)};var j=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,I=/([A-Z])/g;function R(t,e,n){if(void 0===n&&1===t.nodeType){var i="data-"+e.replace(I,"-$1").toLowerCase();if("string"==typeof(n=t.getAttribute(i))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:j.test(n)?f.parseJSON(n):n)}catch(t){}f.data(t,e,n)}else n=void 0}return n}function H(t){var e;for(e in t)if(("data"!==e||!f.isEmptyObject(t[e]))&&"toJSON"!==e)return!1;return!0}function z(t,e,i,r){if(f.acceptData(t)){var o,s,a=f.expando,u=t.nodeType,l=u?f.cache:t,c=u?t[a]:t[a]&&a;if(c&&l[c]&&(r||l[c].data)||void 0!==i||"string"!=typeof e)return c||(c=u?t[a]=n.pop()||f.guid++:a),l[c]||(l[c]=u?{}:{toJSON:f.noop}),("object"==typeof e||"function"==typeof e)&&(r?l[c]=f.extend(l[c],e):l[c].data=f.extend(l[c].data,e)),s=l[c],r||(s.data||(s.data={}),s=s.data),void 0!==i&&(s[f.camelCase(e)]=i),"string"==typeof e?null==(o=s[e])&&(o=s[f.camelCase(e)]):o=s,o}}function q(t,e,n){if(f.acceptData(t)){var i,r,o=t.nodeType,s=o?f.cache:t,a=o?t[f.expando]:f.expando;if(s[a]){if(e&&(i=n?s[a]:s[a].data)){f.isArray(e)?e=e.concat(f.map(e,f.camelCase)):e in i?e=[e]:e=(e=f.camelCase(e))in i?[e]:e.split(" "),r=e.length;for(;r--;)delete i[e[r]];if(n?!H(i):!f.isEmptyObject(i))return}(n||(delete s[a].data,H(s[a])))&&(o?f.cleanData([t],!0):c.deleteExpando||s!=s.window?delete s[a]:s[a]=null)}}}f.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(t){return!!(t=t.nodeType?f.cache[t[f.expando]]:t[f.expando])&&!H(t)},data:function(t,e,n){return z(t,e,n)},removeData:function(t,e){return q(t,e)},_data:function(t,e,n){return z(t,e,n,!0)},_removeData:function(t,e){return q(t,e,!0)}}),f.fn.extend({data:function(t,e){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(r=f.data(o),1===o.nodeType&&!f._data(o,"parsedAttrs"))){for(n=s.length;n--;)s[n]&&(0===(i=s[n].name).indexOf("data-")&&R(o,i=f.camelCase(i.slice(5)),r[i]));f._data(o,"parsedAttrs",!0)}return r}return"object"==typeof t?this.each(function(){f.data(this,t)}):arguments.length>1?this.each(function(){f.data(this,t,e)}):o?R(o,t,f.data(o,t)):void 0},removeData:function(t){return this.each(function(){f.removeData(this,t)})}}),f.extend({queue:function(t,e,n){var i;return t?(e=(e||"fx")+"queue",i=f._data(t,e),n&&(!i||f.isArray(n)?i=f._data(t,e,f.makeArray(n)):i.push(n)),i||[]):void 0},dequeue:function(t,e){e=e||"fx";var n=f.queue(t,e),i=n.length,r=n.shift(),o=f._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,function(){f.dequeue(t,e)},o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return f._data(t,n)||f._data(t,n,{empty:f.Callbacks("once memory").add(function(){f._removeData(t,e+"queue"),f._removeData(t,n)})})}}),f.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?f.queue(this[0],t):void 0===e?this:this.each(function(){var n=f.queue(this,t,e);f._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&f.dequeue(this,t)})},dequeue:function(t){return this.each(function(){f.dequeue(this,t)})},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=f.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=f._data(o[s],t+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var F=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,B=["Top","Right","Bottom","Left"],V=function(t,e){return t=e||t,"none"===f.css(t,"display")||!f.contains(t.ownerDocument,t)},W=f.access=function(t,e,n,i,r,o,s){var a=0,u=t.length,l=null==n;if("object"===f.type(n))for(a in r=!0,n)f.access(t,e,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,f.isFunction(i)||(s=!0),l&&(s?(e.call(t,i),e=null):(l=e,e=function(t,e,n){return l.call(f(t),n)})),e))for(;u>a;a++)e(t[a],n,s?i:i.call(t[a],a,e(t[a],n)));return r?t:l?e.call(t):u?e(t[0],n):o},X=/^(?:checkbox|radio)$/i;!function(){var t=S.createElement("input"),e=S.createElement("div"),n=S.createDocumentFragment();if(e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",c.leadingWhitespace=3===e.firstChild.nodeType,c.tbody=!e.getElementsByTagName("tbody").length,c.htmlSerialize=!!e.getElementsByTagName("link").length,c.html5Clone="<:nav></:nav>"!==S.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,n.appendChild(t),c.appendChecked=t.checked,e.innerHTML="<textarea>x</textarea>",c.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,n.appendChild(e),e.innerHTML="<input type='radio' checked='checked' name='t'/>",c.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,c.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){c.noCloneEvent=!1}),e.cloneNode(!0).click()),null==c.deleteExpando){c.deleteExpando=!0;try{delete e.test}catch(t){c.deleteExpando=!1}}}(),function(){var e,n,i=S.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})n="on"+e,(c[e+"Bubbles"]=n in t)||(i.setAttribute(n,"t"),c[e+"Bubbles"]=!1===i.attributes[n].expando);i=null}();var Y=/^(?:input|select|textarea)$/i,U=/^key/,G=/^(?:mouse|pointer|contextmenu)|click/,J=/^(?:focusinfocus|focusoutblur)$/,K=/^([^.]*)(?:\.(.+)|)$/;function Q(){return!0}function Z(){return!1}function tt(){try{return S.activeElement}catch(t){}}function et(t){var e=nt.split("|"),n=t.createDocumentFragment();if(n.createElement)for(;e.length;)n.createElement(e.pop());return n}f.event={global:{},add:function(t,e,n,i,r){var o,s,a,u,l,c,h,p,d,m,g,v=f._data(t);if(v){for(n.handler&&(n=(u=n).handler,r=u.selector),n.guid||(n.guid=f.guid++),(s=v.events)||(s=v.events={}),(c=v.handle)||((c=v.handle=function(t){return typeof f===L||t&&f.event.triggered===t.type?void 0:f.event.dispatch.apply(c.elem,arguments)}).elem=t),a=(e=(e||"").match(_)||[""]).length;a--;)d=g=(o=K.exec(e[a])||[])[1],m=(o[2]||"").split(".").sort(),d&&(l=f.event.special[d]||{},d=(r?l.delegateType:l.bindType)||d,l=f.event.special[d]||{},h=f.extend({type:d,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&f.expr.match.needsContext.test(r),namespace:m.join(".")},u),(p=s[d])||((p=s[d]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,i,m,c)||(t.addEventListener?t.addEventListener(d,c,!1):t.attachEvent&&t.attachEvent("on"+d,c))),l.add&&(l.add.call(t,h),h.handler.guid||(h.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,h):p.push(h),f.event.global[d]=!0);t=null}},remove:function(t,e,n,i,r){var o,s,a,u,l,c,h,p,d,m,g,v=f.hasData(t)&&f._data(t);if(v&&(c=v.events)){for(l=(e=(e||"").match(_)||[""]).length;l--;)if(d=g=(a=K.exec(e[l])||[])[1],m=(a[2]||"").split(".").sort(),d){for(h=f.event.special[d]||{},p=c[d=(i?h.delegateType:h.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=p.length;o--;)s=p[o],!r&&g!==s.origType||n&&n.guid!==s.guid||a&&!a.test(s.namespace)||i&&i!==s.selector&&("**"!==i||!s.selector)||(p.splice(o,1),s.selector&&p.delegateCount--,h.remove&&h.remove.call(t,s));u&&!p.length&&(h.teardown&&!1!==h.teardown.call(t,m,v.handle)||f.removeEvent(t,d,v.handle),delete c[d])}else for(d in c)f.event.remove(t,d+e[l],n,i,!0);f.isEmptyObject(c)&&(delete v.handle,f._removeData(t,"events"))}},trigger:function(e,n,i,r){var o,s,a,u,c,h,p,d=[i||S],m=l.call(e,"type")?e.type:e,g=l.call(e,"namespace")?e.namespace.split("."):[];if(a=h=i=i||S,3!==i.nodeType&&8!==i.nodeType&&!J.test(m+f.event.triggered)&&(m.indexOf(".")>=0&&(g=m.split("."),m=g.shift(),g.sort()),s=m.indexOf(":")<0&&"on"+m,(e=e[f.expando]?e:new f.Event(m,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),n=null==n?[e]:f.makeArray(n,[e]),c=f.event.special[m]||{},r||!c.trigger||!1!==c.trigger.apply(i,n))){if(!r&&!c.noBubble&&!f.isWindow(i)){for(u=c.delegateType||m,J.test(u+m)||(a=a.parentNode);a;a=a.parentNode)d.push(a),h=a;h===(i.ownerDocument||S)&&d.push(h.defaultView||h.parentWindow||t)}for(p=0;(a=d[p++])&&!e.isPropagationStopped();)e.type=p>1?u:c.bindType||m,(o=(f._data(a,"events")||{})[e.type]&&f._data(a,"handle"))&&o.apply(a,n),(o=s&&a[s])&&o.apply&&f.acceptData(a)&&(e.result=o.apply(a,n),!1===e.result&&e.preventDefault());if(e.type=m,!r&&!e.isDefaultPrevented()&&(!c._default||!1===c._default.apply(d.pop(),n))&&f.acceptData(i)&&s&&i[m]&&!f.isWindow(i)){(h=i[s])&&(i[s]=null),f.event.triggered=m;try{i[m]()}catch(t){}f.event.triggered=void 0,h&&(i[s]=h)}return e.result}},dispatch:function(t){t=f.event.fix(t);var e,n,r,o,s,a=[],u=i.call(arguments),l=(f._data(this,"events")||{})[t.type]||[],c=f.event.special[t.type]||{};if(u[0]=t,t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){for(a=f.event.handlers.call(this,t,l),e=0;(o=a[e++])&&!t.isPropagationStopped();)for(t.currentTarget=o.elem,s=0;(r=o.handlers[s++])&&!t.isImmediatePropagationStopped();)(!t.namespace_re||t.namespace_re.test(r.namespace))&&(t.handleObj=r,t.data=r.data,void 0!==(n=((f.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,u))&&!1===(t.result=n)&&(t.preventDefault(),t.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,i,r,o,s=[],a=e.delegateCount,u=t.target;if(a&&u.nodeType&&(!t.button||"click"!==t.type))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==t.type)){for(r=[],o=0;a>o;o++)void 0===r[n=(i=e[o]).selector+" "]&&(r[n]=i.needsContext?f(n,this).index(u)>=0:f.find(n,this,null,[u]).length),r[n]&&r.push(i);r.length&&s.push({elem:u,handlers:r})}return a<e.length&&s.push({elem:this,handlers:e.slice(a)}),s},fix:function(t){if(t[f.expando])return t;var e,n,i,r=t.type,o=t,s=this.fixHooks[r];for(s||(this.fixHooks[r]=s=G.test(r)?this.mouseHooks:U.test(r)?this.keyHooks:{}),i=s.props?this.props.concat(s.props):this.props,t=new f.Event(o),e=i.length;e--;)t[n=i[e]]=o[n];return t.target||(t.target=o.srcElement||S),3===t.target.nodeType&&(t.target=t.target.parentNode),t.metaKey=!!t.metaKey,s.filter?s.filter(t,o):t},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(t,e){return null==t.which&&(t.which=null!=e.charCode?e.charCode:e.keyCode),t}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(t,e){var n,i,r,o=e.button,s=e.fromElement;return null==t.pageX&&null!=e.clientX&&(r=(i=t.target.ownerDocument||S).documentElement,n=i.body,t.pageX=e.clientX+(r&&r.scrollLeft||n&&n.scrollLeft||0)-(r&&r.clientLeft||n&&n.clientLeft||0),t.pageY=e.clientY+(r&&r.scrollTop||n&&n.scrollTop||0)-(r&&r.clientTop||n&&n.clientTop||0)),!t.relatedTarget&&s&&(t.relatedTarget=s===t.target?e.toElement:s),t.which||void 0===o||(t.which=1&o?1:2&o?3:4&o?2:0),t}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==tt()&&this.focus)try{return this.focus(),!1}catch(t){}},delegateType:"focusin"},blur:{trigger:function(){return this===tt()&&this.blur?(this.blur(),!1):void 0},delegateType:"focusout"},click:{trigger:function(){return f.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):void 0},_default:function(t){return f.nodeName(t.target,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}},simulate:function(t,e,n,i){var r=f.extend(new f.Event,n,{type:t,isSimulated:!0,originalEvent:{}});i?f.event.trigger(r,null,e):f.event.dispatch.call(e,r),r.isDefaultPrevented()&&n.preventDefault()}},f.removeEvent=S.removeEventListener?function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n,!1)}:function(t,e,n){var i="on"+e;t.detachEvent&&(typeof t[i]===L&&(t[i]=null),t.detachEvent(i,n))},f.Event=function(t,e){return this instanceof f.Event?(t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Q:Z):this.type=t,e&&f.extend(this,e),this.timeStamp=t&&t.timeStamp||f.now(),void(this[f.expando]=!0)):new f.Event(t,e)},f.Event.prototype={isDefaultPrevented:Z,isPropagationStopped:Z,isImmediatePropagationStopped:Z,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Q,t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Q,t&&(t.stopPropagation&&t.stopPropagation(),t.cancelBubble=!0)},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Q,t&&t.stopImmediatePropagation&&t.stopImmediatePropagation(),this.stopPropagation()}},f.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(t,e){f.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,i=t.relatedTarget,r=t.handleObj;return(!i||i!==this&&!f.contains(this,i))&&(t.type=r.origType,n=r.handler.apply(this,arguments),t.type=e),n}}}),c.submitBubbles||(f.event.special.submit={setup:function(){return!f.nodeName(this,"form")&&void f.event.add(this,"click._submit keypress._submit",function(t){var e=t.target,n=f.nodeName(e,"input")||f.nodeName(e,"button")?e.form:void 0;n&&!f._data(n,"submitBubbles")&&(f.event.add(n,"submit._submit",function(t){t._submit_bubble=!0}),f._data(n,"submitBubbles",!0))})},postDispatch:function(t){t._submit_bubble&&(delete t._submit_bubble,this.parentNode&&!t.isTrigger&&f.event.simulate("submit",this.parentNode,t,!0))},teardown:function(){return!f.nodeName(this,"form")&&void f.event.remove(this,"._submit")}}),c.changeBubbles||(f.event.special.change={setup:function(){return Y.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(f.event.add(this,"propertychange._change",function(t){"checked"===t.originalEvent.propertyName&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(t){this._just_changed&&!t.isTrigger&&(this._just_changed=!1),f.event.simulate("change",this,t,!0)})),!1):void f.event.add(this,"beforeactivate._change",function(t){var e=t.target;Y.test(e.nodeName)&&!f._data(e,"changeBubbles")&&(f.event.add(e,"change._change",function(t){!this.parentNode||t.isSimulated||t.isTrigger||f.event.simulate("change",this.parentNode,t,!0)}),f._data(e,"changeBubbles",!0))})},handle:function(t){var e=t.target;return this!==e||t.isSimulated||t.isTrigger||"radio"!==e.type&&"checkbox"!==e.type?t.handleObj.handler.apply(this,arguments):void 0},teardown:function(){return f.event.remove(this,"._change"),!Y.test(this.nodeName)}}),c.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(t,e){var n=function(t){f.event.simulate(e,t.target,f.event.fix(t),!0)};f.event.special[e]={setup:function(){var i=this.ownerDocument||this,r=f._data(i,e);r||i.addEventListener(t,n,!0),f._data(i,e,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this,r=f._data(i,e)-1;r?f._data(i,e,r):(i.removeEventListener(t,n,!0),f._removeData(i,e))}}}),f.fn.extend({on:function(t,e,n,i,r){var o,s;if("object"==typeof t){for(o in"string"!=typeof e&&(n=n||e,e=void 0),t)this.on(o,e,n,t[o],r);return this}if(null==n&&null==i?(i=e,n=e=void 0):null==i&&("string"==typeof e?(i=n,n=void 0):(i=n,n=e,e=void 0)),!1===i)i=Z;else if(!i)return this;return 1===r&&(s=i,(i=function(t){return f().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=f.guid++)),this.each(function(){f.event.add(this,t,i,n,e)})},one:function(t,e,n,i){return this.on(t,e,n,i,1)},off:function(t,e,n){var i,r;if(t&&t.preventDefault&&t.handleObj)return i=t.handleObj,f(t.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return(!1===e||"function"==typeof e)&&(n=e,e=void 0),!1===n&&(n=Z),this.each(function(){f.event.remove(this,t,n,e)})},trigger:function(t,e){return this.each(function(){f.event.trigger(t,e,this)})},triggerHandler:function(t,e){var n=this[0];return n?f.event.trigger(t,e,n,!0):void 0}});var nt="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",it=/ jQuery\d+="(?:null|\d+)"/g,rt=new RegExp("<(?:"+nt+")[\\s/>]","i"),ot=/^\s+/,st=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,at=/<([\w:]+)/,ut=/<tbody/i,lt=/<|&#?\w+;/,ct=/<(?:script|style|link)/i,ht=/checked\s*(?:[^=]|=\s*.checked.)/i,ft=/^$|\/(?:java|ecma)script/i,pt=/^true\/(.*)/,dt=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,mt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:c.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},gt=et(S).appendChild(S.createElement("div"));function vt(t,e){var n,i,r=0,o=typeof t.getElementsByTagName!==L?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==L?t.querySelectorAll(e||"*"):void 0;if(!o)for(o=[],n=t.childNodes||t;null!=(i=n[r]);r++)!e||f.nodeName(i,e)?o.push(i):f.merge(o,vt(i,e));return void 0===e||e&&f.nodeName(t,e)?f.merge([t],o):o}function yt(t){X.test(t.type)&&(t.defaultChecked=t.checked)}function $t(t,e){return f.nodeName(t,"table")&&f.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function bt(t){return t.type=(null!==f.find.attr(t,"type"))+"/"+t.type,t}function xt(t){var e=pt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function wt(t,e){for(var n,i=0;null!=(n=t[i]);i++)f._data(n,"globalEval",!e||f._data(e[i],"globalEval"))}function Et(t,e){if(1===e.nodeType&&f.hasData(t)){var n,i,r,o=f._data(t),s=f._data(e,o),a=o.events;if(a)for(n in delete s.handle,s.events={},a)for(i=0,r=a[n].length;r>i;i++)f.event.add(e,n,a[n][i]);s.data&&(s.data=f.extend({},s.data))}}function St(t,e){var n,i,r;if(1===e.nodeType){if(n=e.nodeName.toLowerCase(),!c.noCloneEvent&&e[f.expando]){for(i in(r=f._data(e)).events)f.removeEvent(e,i,r.handle);e.removeAttribute(f.expando)}"script"===n&&e.text!==t.text?(bt(e).text=t.text,xt(e)):"object"===n?(e.parentNode&&(e.outerHTML=t.outerHTML),c.html5Clone&&t.innerHTML&&!f.trim(e.innerHTML)&&(e.innerHTML=t.innerHTML)):"input"===n&&X.test(t.type)?(e.defaultChecked=e.checked=t.checked,e.value!==t.value&&(e.value=t.value)):"option"===n?e.defaultSelected=e.selected=t.defaultSelected:("input"===n||"textarea"===n)&&(e.defaultValue=t.defaultValue)}}mt.optgroup=mt.option,mt.tbody=mt.tfoot=mt.colgroup=mt.caption=mt.thead,mt.th=mt.td,f.extend({clone:function(t,e,n){var i,r,o,s,a,u=f.contains(t.ownerDocument,t);if(c.html5Clone||f.isXMLDoc(t)||!rt.test("<"+t.nodeName+">")?o=t.cloneNode(!0):(gt.innerHTML=t.outerHTML,gt.removeChild(o=gt.firstChild)),!(c.noCloneEvent&&c.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||f.isXMLDoc(t)))for(i=vt(o),a=vt(t),s=0;null!=(r=a[s]);++s)i[s]&&St(r,i[s]);if(e)if(n)for(a=a||vt(t),i=i||vt(o),s=0;null!=(r=a[s]);s++)Et(r,i[s]);else Et(t,o);return(i=vt(o,"script")).length>0&&wt(i,!u&&vt(t,"script")),i=a=r=null,o},buildFragment:function(t,e,n,i){for(var r,o,s,a,u,l,h,p=t.length,d=et(e),m=[],g=0;p>g;g++)if((o=t[g])||0===o)if("object"===f.type(o))f.merge(m,o.nodeType?[o]:o);else if(lt.test(o)){for(a=a||d.appendChild(e.createElement("div")),u=(at.exec(o)||["",""])[1].toLowerCase(),h=mt[u]||mt._default,a.innerHTML=h[1]+o.replace(st,"<$1></$2>")+h[2],r=h[0];r--;)a=a.lastChild;if(!c.leadingWhitespace&&ot.test(o)&&m.push(e.createTextNode(ot.exec(o)[0])),!c.tbody)for(r=(o="table"!==u||ut.test(o)?"<table>"!==h[1]||ut.test(o)?0:a:a.firstChild)&&o.childNodes.length;r--;)f.nodeName(l=o.childNodes[r],"tbody")&&!l.childNodes.length&&o.removeChild(l);for(f.merge(m,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=d.lastChild}else m.push(e.createTextNode(o));for(a&&d.removeChild(a),c.appendChecked||f.grep(vt(m,"input"),yt),g=0;o=m[g++];)if((!i||-1===f.inArray(o,i))&&(s=f.contains(o.ownerDocument,o),a=vt(d.appendChild(o),"script"),s&&wt(a),n))for(r=0;o=a[r++];)ft.test(o.type||"")&&n.push(o);return a=null,d},cleanData:function(t,e){for(var i,r,o,s,a=0,u=f.expando,l=f.cache,h=c.deleteExpando,p=f.event.special;null!=(i=t[a]);a++)if((e||f.acceptData(i))&&(s=(o=i[u])&&l[o])){if(s.events)for(r in s.events)p[r]?f.event.remove(i,r):f.removeEvent(i,r,s.handle);l[o]&&(delete l[o],h?delete i[u]:typeof i.removeAttribute!==L?i.removeAttribute(u):i[u]=null,n.push(o))}}}),f.fn.extend({text:function(t){return W(this,function(t){return void 0===t?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||S).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||$t(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=$t(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var n,i=t?f.filter(t,this):this,r=0;null!=(n=i[r]);r++)e||1!==n.nodeType||f.cleanData(vt(n)),n.parentNode&&(e&&f.contains(n.ownerDocument,n)&&wt(vt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&f.cleanData(vt(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&f.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return f.clone(this,t,e)})},html:function(t){return W(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(it,""):void 0;if(!("string"!=typeof t||ct.test(t)||!c.htmlSerialize&&rt.test(t)||!c.leadingWhitespace&&ot.test(t)||mt[(at.exec(t)||["",""])[1].toLowerCase()])){t=t.replace(st,"<$1></$2>");try{for(;i>n;n++)1===(e=this[n]||{}).nodeType&&(f.cleanData(vt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)},null,t,arguments.length)},replaceWith:function(){var t=arguments[0];return this.domManip(arguments,function(e){t=this.parentNode,f.cleanData(vt(this)),t&&t.replaceChild(e,this)}),t&&(t.length||t.nodeType)?this:this.remove()},detach:function(t){return this.remove(t,!0)},domManip:function(t,e){t=r.apply([],t);var n,i,o,s,a,u,l=0,h=this.length,p=this,d=h-1,m=t[0],g=f.isFunction(m);if(g||h>1&&"string"==typeof m&&!c.checkClone&&ht.test(m))return this.each(function(n){var i=p.eq(n);g&&(t[0]=m.call(this,n,i.html())),i.domManip(t,e)});if(h&&(n=(u=f.buildFragment(t,this[0].ownerDocument,!1,this)).firstChild,1===u.childNodes.length&&(u=n),n)){for(o=(s=f.map(vt(u,"script"),bt)).length;h>l;l++)i=u,l!==d&&(i=f.clone(i,!0,!0),o&&f.merge(s,vt(i,"script"))),e.call(this[l],i,l);if(o)for(a=s[s.length-1].ownerDocument,f.map(s,xt),l=0;o>l;l++)i=s[l],ft.test(i.type||"")&&!f._data(i,"globalEval")&&f.contains(a,i)&&(i.src?f._evalUrl&&f._evalUrl(i.src):f.globalEval((i.text||i.textContent||i.innerHTML||"").replace(dt,"")));u=n=null}return this}}),f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){f.fn[t]=function(t){for(var n,i=0,r=[],s=f(t),a=s.length-1;a>=i;i++)n=i===a?this:this.clone(!0),f(s[i])[e](n),o.apply(r,n.get());return this.pushStack(r)}});var Tt,Ct={};function kt(e,n){var i,r=f(n.createElement(e)).appendTo(n.body),o=t.getDefaultComputedStyle&&(i=t.getDefaultComputedStyle(r[0]))?i.display:f.css(r[0],"display");return r.detach(),o}function At(t){var e=S,n=Ct[t];return n||("none"!==(n=kt(t,e))&&n||((e=((Tt=(Tt||f("<iframe frameborder='0' width='0' height='0'/>")).appendTo(e.documentElement))[0].contentWindow||Tt[0].contentDocument).document).write(),e.close(),n=kt(t,e),Tt.detach()),Ct[t]=n),n}!function(){var t;c.shrinkWrapBlocks=function(){return null!=t?t:(t=!1,(n=S.getElementsByTagName("body")[0])&&n.style?(e=S.createElement("div"),(i=S.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),typeof e.style.zoom!==L&&(e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",e.appendChild(S.createElement("div")).style.width="5px",t=3!==e.offsetWidth),n.removeChild(i),t):void 0);var e,n,i}}();var Nt,_t,Pt=/^margin/,Ot=new RegExp("^("+F+")(?!px)[a-z%]+$","i"),Mt=/^(top|right|bottom|left)$/;function Dt(t,e){return{get:function(){var n=t();if(null!=n)return n?void delete this.get:(this.get=e).apply(this,arguments)}}}t.getComputedStyle?(Nt=function(e){return e.ownerDocument.defaultView.opener?e.ownerDocument.defaultView.getComputedStyle(e,null):t.getComputedStyle(e,null)},_t=function(t,e,n){var i,r,o,s,a=t.style;return s=(n=n||Nt(t))?n.getPropertyValue(e)||n[e]:void 0,n&&(""!==s||f.contains(t.ownerDocument,t)||(s=f.style(t,e)),Ot.test(s)&&Pt.test(e)&&(i=a.width,r=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=i,a.minWidth=r,a.maxWidth=o)),void 0===s?s:s+""}):S.documentElement.currentStyle&&(Nt=function(t){return t.currentStyle},_t=function(t,e,n){var i,r,o,s,a=t.style;return null==(s=(n=n||Nt(t))?n[e]:void 0)&&a&&a[e]&&(s=a[e]),Ot.test(s)&&!Mt.test(e)&&(i=a.left,(o=(r=t.runtimeStyle)&&r.left)&&(r.left=t.currentStyle.left),a.left="fontSize"===e?"1em":s,s=a.pixelLeft+"px",a.left=i,o&&(r.left=o)),void 0===s?s:s+""||"auto"}),function(){var e,n,i,r,o,s,a;if((e=S.createElement("div")).innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=(i=e.getElementsByTagName("a")[0])&&i.style){function u(){var e,n,i,u;(n=S.getElementsByTagName("body")[0])&&n.style&&(e=S.createElement("div"),(i=S.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(i).appendChild(e),e.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",r=o=!1,a=!0,t.getComputedStyle&&(r="1%"!==(t.getComputedStyle(e,null)||{}).top,o="4px"===(t.getComputedStyle(e,null)||{width:"4px"}).width,(u=e.appendChild(S.createElement("div"))).style.cssText=e.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",u.style.marginRight=u.style.width="0",e.style.width="1px",a=!parseFloat((t.getComputedStyle(u,null)||{}).marginRight),e.removeChild(u)),e.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(u=e.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(s=0===u[0].offsetHeight)&&(u[0].style.display="",u[1].style.display="none",s=0===u[0].offsetHeight),n.removeChild(i))}n.cssText="float:left;opacity:.5",c.opacity="0.5"===n.opacity,c.cssFloat=!!n.cssFloat,e.style.backgroundClip="content-box",e.cloneNode(!0).style.backgroundClip="",c.clearCloneStyle="content-box"===e.style.backgroundClip,c.boxSizing=""===n.boxSizing||""===n.MozBoxSizing||""===n.WebkitBoxSizing,f.extend(c,{reliableHiddenOffsets:function(){return null==s&&u(),s},boxSizingReliable:function(){return null==o&&u(),o},pixelPosition:function(){return null==r&&u(),r},reliableMarginRight:function(){return null==a&&u(),a}})}}(),f.swap=function(t,e,n,i){var r,o,s={};for(o in e)s[o]=t.style[o],t.style[o]=e[o];for(o in r=n.apply(t,i||[]),e)t.style[o]=s[o];return r};var Lt=/alpha\([^)]*\)/i,jt=/opacity\s*=\s*([^)]*)/,It=/^(none|table(?!-c[ea]).+)/,Rt=new RegExp("^("+F+")(.*)$","i"),Ht=new RegExp("^([+-])=("+F+")","i"),zt={position:"absolute",visibility:"hidden",display:"block"},qt={letterSpacing:"0",fontWeight:"400"},Ft=["Webkit","O","Moz","ms"];function Bt(t,e){if(e in t)return e;for(var n=e.charAt(0).toUpperCase()+e.slice(1),i=e,r=Ft.length;r--;)if((e=Ft[r]+n)in t)return e;return i}function Vt(t,e){for(var n,i,r,o=[],s=0,a=t.length;a>s;s++)(i=t[s]).style&&(o[s]=f._data(i,"olddisplay"),n=i.style.display,e?(o[s]||"none"!==n||(i.style.display=""),""===i.style.display&&V(i)&&(o[s]=f._data(i,"olddisplay",At(i.nodeName)))):(r=V(i),(n&&"none"!==n||!r)&&f._data(i,"olddisplay",r?n:f.css(i,"display"))));for(s=0;a>s;s++)(i=t[s]).style&&(e&&"none"!==i.style.display&&""!==i.style.display||(i.style.display=e?o[s]||"":"none"));return t}function Wt(t,e,n){var i=Rt.exec(e);return i?Math.max(0,i[1]-(n||0))+(i[2]||"px"):e}function Xt(t,e,n,i,r){for(var o=n===(i?"border":"content")?4:"width"===e?1:0,s=0;4>o;o+=2)"margin"===n&&(s+=f.css(t,n+B[o],!0,r)),i?("content"===n&&(s-=f.css(t,"padding"+B[o],!0,r)),"margin"!==n&&(s-=f.css(t,"border"+B[o]+"Width",!0,r))):(s+=f.css(t,"padding"+B[o],!0,r),"padding"!==n&&(s+=f.css(t,"border"+B[o]+"Width",!0,r)));return s}function Yt(t,e,n){var i=!0,r="width"===e?t.offsetWidth:t.offsetHeight,o=Nt(t),s=c.boxSizing&&"border-box"===f.css(t,"boxSizing",!1,o);if(0>=r||null==r){if((0>(r=_t(t,e,o))||null==r)&&(r=t.style[e]),Ot.test(r))return r;i=s&&(c.boxSizingReliable()||r===t.style[e]),r=parseFloat(r)||0}return r+Xt(t,e,n||(s?"border":"content"),i,o)+"px"}function Ut(t,e,n,i,r){return new Ut.prototype.init(t,e,n,i,r)}f.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=_t(t,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{float:c.cssFloat?"cssFloat":"styleFloat"},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,s,a=f.camelCase(e),u=t.style;if(e=f.cssProps[a]||(f.cssProps[a]=Bt(u,a)),s=f.cssHooks[e]||f.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(t,!1,i))?r:u[e];if("string"===(o=typeof n)&&(r=Ht.exec(n))&&(n=(r[1]+1)*r[2]+parseFloat(f.css(t,e)),o="number"),null!=n&&n==n&&("number"!==o||f.cssNumber[a]||(n+="px"),c.clearCloneStyle||""!==n||0!==e.indexOf("background")||(u[e]="inherit"),!(s&&"set"in s&&void 0===(n=s.set(t,n,i)))))try{u[e]=n}catch(t){}}},css:function(t,e,n,i){var r,o,s,a=f.camelCase(e);return e=f.cssProps[a]||(f.cssProps[a]=Bt(t.style,a)),(s=f.cssHooks[e]||f.cssHooks[a])&&"get"in s&&(o=s.get(t,!0,n)),void 0===o&&(o=_t(t,e,i)),"normal"===o&&e in qt&&(o=qt[e]),""===n||n?(r=parseFloat(o),!0===n||f.isNumeric(r)?r||0:o):o}}),f.each(["height","width"],function(t,e){f.cssHooks[e]={get:function(t,n,i){return n?It.test(f.css(t,"display"))&&0===t.offsetWidth?f.swap(t,zt,function(){return Yt(t,e,i)}):Yt(t,e,i):void 0},set:function(t,n,i){var r=i&&Nt(t);return Wt(0,n,i?Xt(t,e,i,c.boxSizing&&"border-box"===f.css(t,"boxSizing",!1,r),r):0)}}}),c.opacity||(f.cssHooks.opacity={get:function(t,e){return jt.test((e&&t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":e?"1":""},set:function(t,e){var n=t.style,i=t.currentStyle,r=f.isNumeric(e)?"alpha(opacity="+100*e+")":"",o=i&&i.filter||n.filter||"";n.zoom=1,(e>=1||""===e)&&""===f.trim(o.replace(Lt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===e||i&&!i.filter)||(n.filter=Lt.test(o)?o.replace(Lt,r):o+" "+r)}}),f.cssHooks.marginRight=Dt(c.reliableMarginRight,function(t,e){return e?f.swap(t,{display:"inline-block"},_t,[t,"marginRight"]):void 0}),f.each({margin:"",padding:"",border:"Width"},function(t,e){f.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];4>i;i++)r[t+B[i]+e]=o[i]||o[i-2]||o[0];return r}},Pt.test(t)||(f.cssHooks[t+e].set=Wt)}),f.fn.extend({css:function(t,e){return W(this,function(t,e,n){var i,r,o={},s=0;if(f.isArray(e)){for(i=Nt(t),r=e.length;r>s;s++)o[e[s]]=f.css(t,e[s],!1,i);return o}return void 0!==n?f.style(t,e,n):f.css(t,e)},t,e,arguments.length>1)},show:function(){return Vt(this,!0)},hide:function(){return Vt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each(function(){V(this)?f(this).show():f(this).hide()})}}),f.Tween=Ut,Ut.prototype={constructor:Ut,init:function(t,e,n,i,r,o){this.elem=t,this.prop=n,this.easing=r||"swing",this.options=e,this.start=this.now=this.cur(),this.end=i,this.unit=o||(f.cssNumber[n]?"":"px")},cur:function(){var t=Ut.propHooks[this.prop];return t&&t.get?t.get(this):Ut.propHooks._default.get(this)},run:function(t){var e,n=Ut.propHooks[this.prop];return this.options.duration?this.pos=e=f.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Ut.propHooks._default.set(this),this}},Ut.prototype.init.prototype=Ut.prototype,Ut.propHooks={_default:{get:function(t){var e;return null==t.elem[t.prop]||t.elem.style&&null!=t.elem.style[t.prop]?(e=f.css(t.elem,t.prop,""))&&"auto"!==e?e:0:t.elem[t.prop]},set:function(t){f.fx.step[t.prop]?f.fx.step[t.prop](t):t.elem.style&&(null!=t.elem.style[f.cssProps[t.prop]]||f.cssHooks[t.prop])?f.style(t.elem,t.prop,t.now+t.unit):t.elem[t.prop]=t.now}}},Ut.propHooks.scrollTop=Ut.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},f.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2}},f.fx=Ut.prototype.init,f.fx.step={};var Gt,Jt,Kt=/^(?:toggle|show|hide)$/,Qt=new RegExp("^(?:([+-])=|)("+F+")([a-z%]*)$","i"),Zt=/queueHooks$/,te=[function(t,e,n){var i,r,o,s,a,u,l,h=this,p={},d=t.style,m=t.nodeType&&V(t),g=f._data(t,"fxshow");for(i in n.queue||(null==(a=f._queueHooks(t,"fx")).unqueued&&(a.unqueued=0,u=a.empty.fire,a.empty.fire=function(){a.unqueued||u()}),a.unqueued++,h.always(function(){h.always(function(){a.unqueued--,f.queue(t,"fx").length||a.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],l=f.css(t,"display"),"inline"===("none"===l?f._data(t,"olddisplay")||At(t.nodeName):l)&&"none"===f.css(t,"float")&&(c.inlineBlockNeedsLayout&&"inline"!==At(t.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",c.shrinkWrapBlocks()||h.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]})),e)if(r=e[i],Kt.exec(r)){if(delete e[i],o=o||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[i])continue;m=!0}p[i]=g&&g[i]||f.style(t,i)}else l=void 0;if(f.isEmptyObject(p))"inline"===("none"===l?At(t.nodeName):l)&&(d.display=l);else for(i in g?"hidden"in g&&(m=g.hidden):g=f._data(t,"fxshow",{}),o&&(g.hidden=!m),m?f(t).show():h.done(function(){f(t).hide()}),h.done(function(){var e;for(e in f._removeData(t,"fxshow"),p)f.style(t,e,p[e])}),p)s=re(m?g[i]:0,i,h),i in g||(g[i]=s.start,m&&(s.end=s.start,s.start="width"===i||"height"===i?1:0))}],ee={"*":[function(t,e){var n=this.createTween(t,e),i=n.cur(),r=Qt.exec(e),o=r&&r[3]||(f.cssNumber[t]?"":"px"),s=(f.cssNumber[t]||"px"!==o&&+i)&&Qt.exec(f.css(n.elem,t)),a=1,u=20;if(s&&s[3]!==o){o=o||s[3],r=r||[],s=+i||1;do{s/=a=a||".5",f.style(n.elem,t,s+o)}while(a!==(a=n.cur()/i)&&1!==a&&--u)}return r&&(s=n.start=+s||+i||0,n.unit=o,n.end=r[1]?s+(r[1]+1)*r[2]:+r[2]),n}]};function ne(){return setTimeout(function(){Gt=void 0}),Gt=f.now()}function ie(t,e){var n,i={height:t},r=0;for(e=e?1:0;4>r;r+=2-e)i["margin"+(n=B[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function re(t,e,n){for(var i,r=(ee[e]||[]).concat(ee["*"]),o=0,s=r.length;s>o;o++)if(i=r[o].call(n,e,t))return i}function oe(t,e,n){var i,r,o=0,s=te.length,a=f.Deferred().always(function(){delete u.elem}),u=function(){if(r)return!1;for(var e=Gt||ne(),n=Math.max(0,l.startTime+l.duration-e),i=1-(n/l.duration||0),o=0,s=l.tweens.length;s>o;o++)l.tweens[o].run(i);return a.notifyWith(t,[l,i,n]),1>i&&s?n:(a.resolveWith(t,[l]),!1)},l=a.promise({elem:t,props:f.extend({},e),opts:f.extend(!0,{specialEasing:{}},n),originalProperties:e,originalOptions:n,startTime:Gt||ne(),duration:n.duration,tweens:[],createTween:function(e,n){var i=f.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(i),i},stop:function(e){var n=0,i=e?l.tweens.length:0;if(r)return this;for(r=!0;i>n;n++)l.tweens[n].run(1);return e?a.resolveWith(t,[l,e]):a.rejectWith(t,[l,e]),this}}),c=l.props;for(function(t,e){var n,i,r,o,s;for(n in t)if(r=e[i=f.camelCase(n)],o=t[n],f.isArray(o)&&(r=o[1],o=t[n]=o[0]),n!==i&&(t[i]=o,delete t[n]),(s=f.cssHooks[i])&&"expand"in s)for(n in o=s.expand(o),delete t[i],o)n in t||(t[n]=o[n],e[n]=r);else e[i]=r}(c,l.opts.specialEasing);s>o;o++)if(i=te[o].call(l,t,c,l.opts))return i;return f.map(c,re,l),f.isFunction(l.opts.start)&&l.opts.start.call(t,l),f.fx.timer(f.extend(u,{elem:t,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}f.Animation=f.extend(oe,{tweener:function(t,e){f.isFunction(t)?(e=t,t=["*"]):t=t.split(" ");for(var n,i=0,r=t.length;r>i;i++)n=t[i],ee[n]=ee[n]||[],ee[n].unshift(e)},prefilter:function(t,e){e?te.unshift(t):te.push(t)}}),f.speed=function(t,e,n){var i=t&&"object"==typeof t?f.extend({},t):{complete:n||!n&&e||f.isFunction(t)&&t,duration:t,easing:n&&e||e&&!f.isFunction(e)&&e};return i.duration=f.fx.off?0:"number"==typeof i.duration?i.duration:i.duration in f.fx.speeds?f.fx.speeds[i.duration]:f.fx.speeds._default,(null==i.queue||!0===i.queue)&&(i.queue="fx"),i.old=i.complete,i.complete=function(){f.isFunction(i.old)&&i.old.call(this),i.queue&&f.dequeue(this,i.queue)},i},f.fn.extend({fadeTo:function(t,e,n,i){return this.filter(V).css("opacity",0).show().end().animate({opacity:e},t,n,i)},animate:function(t,e,n,i){var r=f.isEmptyObject(t),o=f.speed(e,n,i),s=function(){var e=oe(this,f.extend({},t),o);(r||f._data(this,"finish"))&&e.stop(!0)};return s.finish=s,r||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var i=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&!1!==t&&this.queue(t||"fx",[]),this.each(function(){var e=!0,r=null!=t&&t+"queueHooks",o=f.timers,s=f._data(this);if(r)s[r]&&s[r].stop&&i(s[r]);else for(r in s)s[r]&&s[r].stop&&Zt.test(r)&&i(s[r]);for(r=o.length;r--;)o[r].elem!==this||null!=t&&o[r].queue!==t||(o[r].anim.stop(n),e=!1,o.splice(r,1));(e||!n)&&f.dequeue(this,t)})},finish:function(t){return!1!==t&&(t=t||"fx"),this.each(function(){var e,n=f._data(this),i=n[t+"queue"],r=n[t+"queueHooks"],o=f.timers,s=i?i.length:0;for(n.finish=!0,f.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;s>e;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete n.finish})}}),f.each(["toggle","show","hide"],function(t,e){var n=f.fn[e];f.fn[e]=function(t,i,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ie(e,!0),t,i,r)}}),f.each({slideDown:ie("show"),slideUp:ie("hide"),slideToggle:ie("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(t,e){f.fn[t]=function(t,n,i){return this.animate(e,t,n,i)}}),f.timers=[],f.fx.tick=function(){var t,e=f.timers,n=0;for(Gt=f.now();n<e.length;n++)(t=e[n])()||e[n]!==t||e.splice(n--,1);e.length||f.fx.stop(),Gt=void 0},f.fx.timer=function(t){f.timers.push(t),t()?f.fx.start():f.timers.pop()},f.fx.interval=13,f.fx.start=function(){Jt||(Jt=setInterval(f.fx.tick,f.fx.interval))},f.fx.stop=function(){clearInterval(Jt),Jt=null},f.fx.speeds={slow:600,fast:200,_default:400},f.fn.delay=function(t,e){return t=f.fx&&f.fx.speeds[t]||t,e=e||"fx",this.queue(e,function(e,n){var i=setTimeout(e,t);n.stop=function(){clearTimeout(i)}})},function(){var t,e,n,i,r;(e=S.createElement("div")).setAttribute("className","t"),e.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",i=e.getElementsByTagName("a")[0],r=(n=S.createElement("select")).appendChild(S.createElement("option")),t=e.getElementsByTagName("input")[0],i.style.cssText="top:1px",c.getSetAttribute="t"!==e.className,c.style=/top/.test(i.getAttribute("style")),c.hrefNormalized="/a"===i.getAttribute("href"),c.checkOn=!!t.value,c.optSelected=r.selected,c.enctype=!!S.createElement("form").enctype,n.disabled=!0,c.optDisabled=!r.disabled,(t=S.createElement("input")).setAttribute("value",""),c.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),c.radioValue="t"===t.value}();var se=/\r/g;f.fn.extend({val:function(t){var e,n,i,r=this[0];return arguments.length?(i=f.isFunction(t),this.each(function(n){var r;1===this.nodeType&&(null==(r=i?t.call(this,n,f(this).val()):t)?r="":"number"==typeof r?r+="":f.isArray(r)&&(r=f.map(r,function(t){return null==t?"":t+""})),(e=f.valHooks[this.type]||f.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))})):r?(e=f.valHooks[r.type]||f.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(se,""):null==n?"":n:void 0}}),f.extend({valHooks:{option:{get:function(t){var e=f.find.attr(t,"value");return null!=e?e:f.trim(f.text(t))}},select:{get:function(t){for(var e,n,i=t.options,r=t.selectedIndex,o="select-one"===t.type||0>r,s=o?null:[],a=o?r+1:i.length,u=0>r?a:o?r:0;a>u;u++)if(!(!(n=i[u]).selected&&u!==r||(c.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&f.nodeName(n.parentNode,"optgroup"))){if(e=f(n).val(),o)return e;s.push(e)}return s},set:function(t,e){for(var n,i,r=t.options,o=f.makeArray(e),s=r.length;s--;)if(i=r[s],f.inArray(f.valHooks.option.get(i),o)>=0)try{i.selected=n=!0}catch(t){i.scrollHeight}else i.selected=!1;return n||(t.selectedIndex=-1),r}}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]={set:function(t,e){return f.isArray(e)?t.checked=f.inArray(f(t).val(),e)>=0:void 0}},c.checkOn||(f.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})});var ae,ue,le=f.expr.attrHandle,ce=/^(?:checked|selected)$/i,he=c.getSetAttribute,fe=c.input;f.fn.extend({attr:function(t,e){return W(this,f.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each(function(){f.removeAttr(this,t)})}}),f.extend({attr:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return typeof t.getAttribute===L?f.prop(t,e,n):(1===o&&f.isXMLDoc(t)||(e=e.toLowerCase(),i=f.attrHooks[e]||(f.expr.match.bool.test(e)?ue:ae)),void 0===n?i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=f.find.attr(t,e))?void 0:r:null!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):void f.removeAttr(t,e))},removeAttr:function(t,e){var n,i,r=0,o=e&&e.match(_);if(o&&1===t.nodeType)for(;n=o[r++];)i=f.propFix[n]||n,f.expr.match.bool.test(n)?fe&&he||!ce.test(n)?t[i]=!1:t[f.camelCase("default-"+n)]=t[i]=!1:f.attr(t,n,""),t.removeAttribute(he?n:i)},attrHooks:{type:{set:function(t,e){if(!c.radioValue&&"radio"===e&&f.nodeName(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}}}),ue={set:function(t,e,n){return!1===e?f.removeAttr(t,n):fe&&he||!ce.test(n)?t.setAttribute(!he&&f.propFix[n]||n,n):t[f.camelCase("default-"+n)]=t[n]=!0,n}},f.each(f.expr.match.bool.source.match(/\w+/g),function(t,e){var n=le[e]||f.find.attr;le[e]=fe&&he||!ce.test(e)?function(t,e,i){var r,o;return i||(o=le[e],le[e]=r,r=null!=n(t,e,i)?e.toLowerCase():null,le[e]=o),r}:function(t,e,n){return n?void 0:t[f.camelCase("default-"+e)]?e.toLowerCase():null}}),fe&&he||(f.attrHooks.value={set:function(t,e,n){return f.nodeName(t,"input")?void(t.defaultValue=e):ae&&ae.set(t,e,n)}}),he||(ae={set:function(t,e,n){var i=t.getAttributeNode(n);return i||t.setAttributeNode(i=t.ownerDocument.createAttribute(n)),i.value=e+="","value"===n||e===t.getAttribute(n)?e:void 0}},le.id=le.name=le.coords=function(t,e,n){var i;return n?void 0:(i=t.getAttributeNode(e))&&""!==i.value?i.value:null},f.valHooks.button={get:function(t,e){var n=t.getAttributeNode(e);return n&&n.specified?n.value:void 0},set:ae.set},f.attrHooks.contenteditable={set:function(t,e,n){ae.set(t,""!==e&&e,n)}},f.each(["width","height"],function(t,e){f.attrHooks[e]={set:function(t,n){return""===n?(t.setAttribute(e,"auto"),n):void 0}}})),c.style||(f.attrHooks.style={get:function(t){return t.style.cssText||void 0},set:function(t,e){return t.style.cssText=e+""}});var pe=/^(?:input|select|textarea|button|object)$/i,de=/^(?:a|area)$/i;f.fn.extend({prop:function(t,e){return W(this,f.prop,t,e,arguments.length>1)},removeProp:function(t){return t=f.propFix[t]||t,this.each(function(){try{this[t]=void 0,delete this[t]}catch(t){}})}}),f.extend({propFix:{for:"htmlFor",class:"className"},prop:function(t,e,n){var i,r,o=t.nodeType;if(t&&3!==o&&8!==o&&2!==o)return(1!==o||!f.isXMLDoc(t))&&(e=f.propFix[e]||e,r=f.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(t,n,e))?i:t[e]=n:r&&"get"in r&&null!==(i=r.get(t,e))?i:t[e]},propHooks:{tabIndex:{get:function(t){var e=f.find.attr(t,"tabindex");return e?parseInt(e,10):pe.test(t.nodeName)||de.test(t.nodeName)&&t.href?0:-1}}}}),c.hrefNormalized||f.each(["href","src"],function(t,e){f.propHooks[e]={get:function(t){return t.getAttribute(e,4)}}}),c.optSelected||(f.propHooks.selected={get:function(t){var e=t.parentNode;return e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex),null}}),f.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){f.propFix[this.toLowerCase()]=this}),c.enctype||(f.propFix.enctype="encoding");var me=/[\t\r\n\f]/g;f.fn.extend({addClass:function(t){var e,n,i,r,o,s,a=0,u=this.length,l="string"==typeof t&&t;if(f.isFunction(t))return this.each(function(e){f(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(_)||[];u>a;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(me," "):" ")){for(o=0;r=e[o++];)i.indexOf(" "+r+" ")<0&&(i+=r+" ");s=f.trim(i),n.className!==s&&(n.className=s)}return this},removeClass:function(t){var e,n,i,r,o,s,a=0,u=this.length,l=0===arguments.length||"string"==typeof t&&t;if(f.isFunction(t))return this.each(function(e){f(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(_)||[];u>a;a++)if(i=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(me," "):"")){for(o=0;r=e[o++];)for(;i.indexOf(" "+r+" ")>=0;)i=i.replace(" "+r+" "," ");s=t?f.trim(i):"",n.className!==s&&(n.className=s)}return this},toggleClass:function(t,e){var n=typeof t;return"boolean"==typeof e&&"string"===n?e?this.addClass(t):this.removeClass(t):this.each(f.isFunction(t)?function(n){f(this).toggleClass(t.call(this,n,this.className,e),e)}:function(){if("string"===n)for(var e,i=0,r=f(this),o=t.match(_)||[];e=o[i++];)r.hasClass(e)?r.removeClass(e):r.addClass(e);else(n===L||"boolean"===n)&&(this.className&&f._data(this,"__className__",this.className),this.className=this.className||!1===t?"":f._data(this,"__className__")||"")})},hasClass:function(t){for(var e=" "+t+" ",n=0,i=this.length;i>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(me," ").indexOf(e)>=0)return!0;return!1}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(t,e){f.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}),f.fn.extend({hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)},bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,i){return this.on(e,t,n,i)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)}});var ge=f.now(),ve=/\?/,ye=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;f.parseJSON=function(e){if(t.JSON&&t.JSON.parse)return t.JSON.parse(e+"");var n,i=null,r=f.trim(e+"");return r&&!f.trim(r.replace(ye,function(t,e,r,o){return n&&e&&(i=0),0===i?t:(n=r||e,i+=!o-!r,"")}))?Function("return "+r)():f.error("Invalid JSON: "+e)},f.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{t.DOMParser?n=(new DOMParser).parseFromString(e,"text/xml"):((n=new ActiveXObject("Microsoft.XMLDOM")).async="false",n.loadXML(e))}catch(t){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||f.error("Invalid XML: "+e),n};var $e,be,xe=/#.*$/,we=/([?&])_=[^&]*/,Ee=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Se=/^(?:GET|HEAD)$/,Te=/^\/\//,Ce=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ke={},Ae={},Ne="*/".concat("*");try{be=location.href}catch(t){(be=S.createElement("a")).href="",be=be.href}function _e(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var i,r=0,o=e.toLowerCase().match(_)||[];if(f.isFunction(n))for(;i=o[r++];)"+"===i.charAt(0)?(i=i.slice(1)||"*",(t[i]=t[i]||[]).unshift(n)):(t[i]=t[i]||[]).push(n)}}function Pe(t,e,n,i){var r={},o=t===Ae;function s(a){var u;return r[a]=!0,f.each(t[a]||[],function(t,a){var l=a(e,n,i);return"string"!=typeof l||o||r[l]?o?!(u=l):void 0:(e.dataTypes.unshift(l),s(l),!1)}),u}return s(e.dataTypes[0])||!r["*"]&&s("*")}function Oe(t,e){var n,i,r=f.ajaxSettings.flatOptions||{};for(i in e)void 0!==e[i]&&((r[i]?t:n||(n={}))[i]=e[i]);return n&&f.extend(!0,t,n),t}$e=Ce.exec(be.toLowerCase())||[],f.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:be,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test($e[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ne,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Oe(Oe(t,f.ajaxSettings),e):Oe(f.ajaxSettings,t)},ajaxPrefilter:_e(ke),ajaxTransport:_e(Ae),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i,r,o,s,a,u,l,c=f.ajaxSetup({},e),h=c.context||c,p=c.context&&(h.nodeType||h.jquery)?f(h):f.event,d=f.Deferred(),m=f.Callbacks("once memory"),g=c.statusCode||{},v={},y={},$=0,b="canceled",x={readyState:0,getResponseHeader:function(t){var e;if(2===$){if(!l)for(l={};e=Ee.exec(o);)l[e[1].toLowerCase()]=e[2];e=l[t.toLowerCase()]}return null==e?null:e},getAllResponseHeaders:function(){return 2===$?o:null},setRequestHeader:function(t,e){var n=t.toLowerCase();return $||(t=y[n]=y[n]||t,v[t]=e),this},overrideMimeType:function(t){return $||(c.mimeType=t),this},statusCode:function(t){var e;if(t)if(2>$)for(e in t)g[e]=[g[e],t[e]];else x.always(t[x.status]);return this},abort:function(t){var e=t||b;return u&&u.abort(e),w(0,e),this}};if(d.promise(x).complete=m.add,x.success=x.done,x.error=x.fail,c.url=((t||c.url||be)+"").replace(xe,"").replace(Te,$e[1]+"//"),c.type=e.method||e.type||c.method||c.type,c.dataTypes=f.trim(c.dataType||"*").toLowerCase().match(_)||[""],null==c.crossDomain&&(n=Ce.exec(c.url.toLowerCase()),c.crossDomain=!(!n||n[1]===$e[1]&&n[2]===$e[2]&&(n[3]||("http:"===n[1]?"80":"443"))===($e[3]||("http:"===$e[1]?"80":"443")))),c.data&&c.processData&&"string"!=typeof c.data&&(c.data=f.param(c.data,c.traditional)),Pe(ke,c,e,x),2===$)return x;for(i in(a=f.event&&c.global)&&0==f.active++&&f.event.trigger("ajaxStart"),c.type=c.type.toUpperCase(),c.hasContent=!Se.test(c.type),r=c.url,c.hasContent||(c.data&&(r=c.url+=(ve.test(r)?"&":"?")+c.data,delete c.data),!1===c.cache&&(c.url=we.test(r)?r.replace(we,"$1_="+ge++):r+(ve.test(r)?"&":"?")+"_="+ge++)),c.ifModified&&(f.lastModified[r]&&x.setRequestHeader("If-Modified-Since",f.lastModified[r]),f.etag[r]&&x.setRequestHeader("If-None-Match",f.etag[r])),(c.data&&c.hasContent&&!1!==c.contentType||e.contentType)&&x.setRequestHeader("Content-Type",c.contentType),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+("*"!==c.dataTypes[0]?", "+Ne+"; q=0.01":""):c.accepts["*"]),c.headers)x.setRequestHeader(i,c.headers[i]);if(c.beforeSend&&(!1===c.beforeSend.call(h,x,c)||2===$))return x.abort();for(i in b="abort",{success:1,error:1,complete:1})x[i](c[i]);if(u=Pe(Ae,c,e,x)){x.readyState=1,a&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(s=setTimeout(function(){x.abort("timeout")},c.timeout));try{$=1,u.send(v,w)}catch(t){if(!(2>$))throw t;w(-1,t)}}else w(-1,"No Transport");function w(t,e,n,i){var l,v,y,b,w,E=e;2!==$&&($=2,s&&clearTimeout(s),u=void 0,o=i||"",x.readyState=t>0?4:0,l=t>=200&&300>t||304===t,n&&(b=function(t,e,n){for(var i,r,o,s,a=t.contents,u=t.dataTypes;"*"===u[0];)u.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(s in a)if(a[s]&&a[s].test(r)){u.unshift(s);break}if(u[0]in n)o=u[0];else{for(s in n){if(!u[0]||t.converters[s+" "+u[0]]){o=s;break}i||(i=s)}o=o||i}return o?(o!==u[0]&&u.unshift(o),n[o]):void 0}(c,x,n)),b=function(t,e,n,i){var r,o,s,a,u,l={},c=t.dataTypes.slice();if(c[1])for(s in t.converters)l[s.toLowerCase()]=t.converters[s];for(o=c.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!u&&i&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(s=l[u+" "+o]||l["* "+o]))for(r in l)if((a=r.split(" "))[1]===o&&(s=l[u+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[r]:!0!==l[r]&&(o=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+u+" to "+o}}}return{state:"success",data:e}}(c,b,x,l),l?(c.ifModified&&((w=x.getResponseHeader("Last-Modified"))&&(f.lastModified[r]=w),(w=x.getResponseHeader("etag"))&&(f.etag[r]=w)),204===t||"HEAD"===c.type?E="nocontent":304===t?E="notmodified":(E=b.state,v=b.data,l=!(y=b.error))):(y=E,(t||!E)&&(E="error",0>t&&(t=0))),x.status=t,x.statusText=(e||E)+"",l?d.resolveWith(h,[v,E,x]):d.rejectWith(h,[x,E,y]),x.statusCode(g),g=void 0,a&&p.trigger(l?"ajaxSuccess":"ajaxError",[x,c,l?v:y]),m.fireWith(h,[x,E]),a&&(p.trigger("ajaxComplete",[x,c]),--f.active||f.event.trigger("ajaxStop")))}return x},getJSON:function(t,e,n){return f.get(t,e,n,"json")},getScript:function(t,e){return f.get(t,void 0,e,"script")}}),f.each(["get","post"],function(t,e){f[e]=function(t,n,i,r){return f.isFunction(n)&&(r=r||i,i=n,n=void 0),f.ajax({url:t,type:e,dataType:r,data:n,success:i})}}),f._evalUrl=function(t){return f.ajax({url:t,type:"GET",dataType:"script",async:!1,global:!1,throws:!0})},f.fn.extend({wrapAll:function(t){if(f.isFunction(t))return this.each(function(e){f(this).wrapAll(t.call(this,e))});if(this[0]){var e=f(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var t=this;t.firstChild&&1===t.firstChild.nodeType;)t=t.firstChild;return t}).append(this)}return this},wrapInner:function(t){return this.each(f.isFunction(t)?function(e){f(this).wrapInner(t.call(this,e))}:function(){var e=f(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)})},wrap:function(t){var e=f.isFunction(t);return this.each(function(n){f(this).wrapAll(e?t.call(this,n):t)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()}}),f.expr.filters.hidden=function(t){return t.offsetWidth<=0&&t.offsetHeight<=0||!c.reliableHiddenOffsets()&&"none"===(t.style&&t.style.display||f.css(t,"display"))},f.expr.filters.visible=function(t){return!f.expr.filters.hidden(t)};var Me=/%20/g,De=/\[\]$/,Le=/\r?\n/g,je=/^(?:submit|button|image|reset|file)$/i,Ie=/^(?:input|select|textarea|keygen)/i;function Re(t,e,n,i){var r;if(f.isArray(e))f.each(e,function(e,r){n||De.test(t)?i(t,r):Re(t+"["+("object"==typeof r?e:"")+"]",r,n,i)});else if(n||"object"!==f.type(e))i(t,e);else for(r in e)Re(t+"["+r+"]",e[r],n,i)}f.param=function(t,e){var n,i=[],r=function(t,e){e=f.isFunction(e)?e():null==e?"":e,i[i.length]=encodeURIComponent(t)+"="+encodeURIComponent(e)};if(void 0===e&&(e=f.ajaxSettings&&f.ajaxSettings.traditional),f.isArray(t)||t.jquery&&!f.isPlainObject(t))f.each(t,function(){r(this.name,this.value)});else for(n in t)Re(n,t[n],e,r);return i.join("&").replace(Me,"+")},f.fn.extend({serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var t=f.prop(this,"elements");return t?f.makeArray(t):this}).filter(function(){var t=this.type;return this.name&&!f(this).is(":disabled")&&Ie.test(this.nodeName)&&!je.test(t)&&(this.checked||!X.test(t))}).map(function(t,e){var n=f(this).val();return null==n?null:f.isArray(n)?f.map(n,function(t){return{name:e.name,value:t.replace(Le,"\r\n")}}):{name:e.name,value:n.replace(Le,"\r\n")}}).get()}}),f.ajaxSettings.xhr=void 0!==t.ActiveXObject?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Fe()||function(){try{return new t.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}()}:Fe;var He=0,ze={},qe=f.ajaxSettings.xhr();function Fe(){try{return new t.XMLHttpRequest}catch(t){}}t.attachEvent&&t.attachEvent("onunload",function(){for(var t in ze)ze[t](void 0,!0)}),c.cors=!!qe&&"withCredentials"in qe,(qe=c.ajax=!!qe)&&f.ajaxTransport(function(t){var e;if(!t.crossDomain||c.cors)return{send:function(n,i){var r,o=t.xhr(),s=++He;if(o.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(r in t.xhrFields)o[r]=t.xhrFields[r];for(r in t.mimeType&&o.overrideMimeType&&o.overrideMimeType(t.mimeType),t.crossDomain||n["X-Requested-With"]||(n["X-Requested-With"]="XMLHttpRequest"),n)void 0!==n[r]&&o.setRequestHeader(r,n[r]+"");o.send(t.hasContent&&t.data||null),e=function(n,r){var a,u,l;if(e&&(r||4===o.readyState))if(delete ze[s],e=void 0,o.onreadystatechange=f.noop,r)4!==o.readyState&&o.abort();else{l={},a=o.status,"string"==typeof o.responseText&&(l.text=o.responseText);try{u=o.statusText}catch(t){u=""}a||!t.isLocal||t.crossDomain?1223===a&&(a=204):a=l.text?200:404}l&&i(a,u,l,o.getAllResponseHeaders())},t.async?4===o.readyState?setTimeout(e):o.onreadystatechange=ze[s]=e:e()},abort:function(){e&&e(void 0,!0)}}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(t){return f.globalEval(t),t}}}),f.ajaxPrefilter("script",function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET",t.global=!1)}),f.ajaxTransport("script",function(t){if(t.crossDomain){var e,n=S.head||f("head")[0]||S.documentElement;return{send:function(i,r){(e=S.createElement("script")).async=!0,t.scriptCharset&&(e.charset=t.scriptCharset),e.src=t.url,e.onload=e.onreadystatechange=function(t,n){(n||!e.readyState||/loaded|complete/.test(e.readyState))&&(e.onload=e.onreadystatechange=null,e.parentNode&&e.parentNode.removeChild(e),e=null,n||r(200,"success"))},n.insertBefore(e,n.firstChild)},abort:function(){e&&e.onload(void 0,!0)}}}});var Be=[],Ve=/(=)\?(?=&|$)|\?\?/;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Be.pop()||f.expando+"_"+ge++;return this[t]=!0,t}}),f.ajaxPrefilter("json jsonp",function(e,n,i){var r,o,s,a=!1!==e.jsonp&&(Ve.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ve.test(e.data)&&"data");return a||"jsonp"===e.dataTypes[0]?(r=e.jsonpCallback=f.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ve,"$1"+r):!1!==e.jsonp&&(e.url+=(ve.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||f.error(r+" was not called"),s[0]},e.dataTypes[0]="json",o=t[r],t[r]=function(){s=arguments},i.always(function(){t[r]=o,e[r]&&(e.jsonpCallback=n.jsonpCallback,Be.push(r)),s&&f.isFunction(o)&&o(s[0]),s=o=void 0}),"script"):void 0}),f.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||S;var i=b.exec(t),r=!n&&[];return i?[e.createElement(i[1])]:(i=f.buildFragment([t],e,r),r&&r.length&&f(r).remove(),f.merge([],i.childNodes))};var We=f.fn.load;f.fn.load=function(t,e,n){if("string"!=typeof t&&We)return We.apply(this,arguments);var i,r,o,s=this,a=t.indexOf(" ");return a>=0&&(i=f.trim(t.slice(a,t.length)),t=t.slice(0,a)),f.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(o="POST"),s.length>0&&f.ajax({url:t,type:o,dataType:"html",data:e}).done(function(t){r=arguments,s.html(i?f("<div>").append(f.parseHTML(t)).find(i):t)}).complete(n&&function(t,e){s.each(n,r||[t.responseText,e,t])}),this},f.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){f.fn[e]=function(t){return this.on(e,t)}}),f.expr.filters.animated=function(t){return f.grep(f.timers,function(e){return t===e.elem}).length};var Xe=t.document.documentElement;function Ye(t){return f.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}f.offset={setOffset:function(t,e,n){var i,r,o,s,a,u,l=f.css(t,"position"),c=f(t),h={};"static"===l&&(t.style.position="relative"),a=c.offset(),o=f.css(t,"top"),u=f.css(t,"left"),("absolute"===l||"fixed"===l)&&f.inArray("auto",[o,u])>-1?(s=(i=c.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(u)||0),f.isFunction(e)&&(e=e.call(t,n,a)),null!=e.top&&(h.top=e.top-a.top+s),null!=e.left&&(h.left=e.left-a.left+r),"using"in e?e.using.call(t,h):c.css(h)}},f.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){f.offset.setOffset(this,t,e)});var e,n,i={top:0,left:0},r=this[0],o=r&&r.ownerDocument;return o?(e=o.documentElement,f.contains(e,r)?(typeof r.getBoundingClientRect!==L&&(i=r.getBoundingClientRect()),n=Ye(o),{top:i.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:i.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):i):void 0},position:function(){if(this[0]){var t,e,n={top:0,left:0},i=this[0];return"fixed"===f.css(i,"position")?e=i.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),f.nodeName(t[0],"html")||(n=t.offset()),n.top+=f.css(t[0],"borderTopWidth",!0),n.left+=f.css(t[0],"borderLeftWidth",!0)),{top:e.top-n.top-f.css(i,"marginTop",!0),left:e.left-n.left-f.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent||Xe;t&&!f.nodeName(t,"html")&&"static"===f.css(t,"position");)t=t.offsetParent;return t||Xe})}}),f.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var n=/Y/.test(e);f.fn[t]=function(i){return W(this,function(t,i,r){var o=Ye(t);return void 0===r?o?e in o?o[e]:o.document.documentElement[i]:t[i]:void(o?o.scrollTo(n?f(o).scrollLeft():r,n?r:f(o).scrollTop()):t[i]=r)},t,i,arguments.length,null)}}),f.each(["top","left"],function(t,e){f.cssHooks[e]=Dt(c.pixelPosition,function(t,n){return n?(n=_t(t,e),Ot.test(n)?f(t).position()[e]+"px":n):void 0})}),f.each({Height:"height",Width:"width"},function(t,e){f.each({padding:"inner"+t,content:e,"":"outer"+t},function(n,i){f.fn[i]=function(i,r){var o=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===r?"margin":"border");return W(this,function(e,n,i){var r;return f.isWindow(e)?e.document.documentElement["client"+t]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+t],r["scroll"+t],e.body["offset"+t],r["offset"+t],r["client"+t])):void 0===i?f.css(e,n,s):f.style(e,n,i,s)},e,o?i:void 0,o,null)}})}),f.fn.size=function(){return this.length},f.fn.andSelf=f.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return f});var Ue=t.jQuery,Ge=t.$;return f.noConflict=function(e){return t.$===f&&(t.$=Ge),e&&t.jQuery===f&&(t.jQuery=Ue),f},typeof e===L&&(t.jQuery=t.$=f),f}),function(){"use strict";var t=[],e=$(window);$.fn.scrollfix=function(e){this.each(function(){this.style.overflow="hidden";var n=this.getBoundingClientRect();if(this.style.overflow="initial",this.sf={top:n.top-document.body.getBoundingClientRect().top,marginTop:e.marginTop||0,height:n.height,limit:e.limit,fixed:!1},!this.sf.height){var i=this.firstElementChild;if(i){var r=i.id.match(/\d+x(\d{2,})/);r&&(this.sf.height=parseFloat(r[1]))}}this.style.width=n.width+"px";for(var o=t.length;o--&&t[o].sf.limit!==this.sf.limit;);t.splice(-1==o?0:1,0,this)})},e.on("scroll",function(){setTimeout(function(){var n,i,r=e.scrollTop();if("web"!=Config.platform)var o=174;else o=42;for(var s=t.length;s--;){n=t[s];var a=$(n);if(!n.getAttribute("data-static")){$(a).height();"fixed"!=n.style.position&&"relative"!=n.style.position&&(t[s].sf.top=n.getBoundingClientRect().top-document.body.getBoundingClientRect().top);var u=$(".header").is(".header-thin")?50:100,l=$(".header").is(".is-closed")||$(n).hasClass("ignore-header")?0:u;if(-1==n.className.indexOf("no-scroll"))if(i=".title-content"==n.sf.limit.selector||".blog-header"==n.sf.limit.selector?o:n.sf.limit.offset().top+n.sf.limit.outerHeight()-n.sf.height,r+n.sf.marginTop>=n.sf.top&&r+l<=i)n.style.top=n.sf.marginTop+l+"px",n.style.position="fixed";else if(r+n.sf.marginTop<n.sf.top)"static"!=n.style.position&&(n.style.position="static",n.style.top="0");else if("absolute"!=n.style.position&&"relative"!=n.style.position){var c=$(n).parents(".article");if(0==$(n).height())var h=$(n).children().first().height();else h=$(n).height();c.css("position","relative"),n.style.position="relative",n.style.transition="none",n.style.margin=0;var f=n.sf.marginTop+n.sf.limit.offset().top+n.sf.limit.height()-($(n).offset().top+h);if(f<0&&(f*=-1),".title-content"==n.sf.limit.selector||".blog-header"==n.sf.limit.selector){var p=parseInt($("body").css("padding-top"));n.style.top=o-p+"px"}else n.style.top=f-20+"px"}}}},50)})}(),function(){"use strict";$.fn.toggleAttr=function(t,e,n){return this.each(function(){var i=$(this);i.attr(t)==e?i.attr(t,n):i.attr(t,e)})}}(),function(t,e,n){"use strict";function i(t){return function(){var e,n=arguments[0];for(e="["+(t?t+":":"")+n+"] http://errors.angularjs.org/1.4.5/"+(t?t+"/":"")+n,n=1;n<arguments.length;n++){var i;e=e+(1==n?"?":"&")+"p"+(n-1)+"=",e+=encodeURIComponent(i="function"==typeof(i=arguments[n])?i.toString().replace(/ \{[\s\S]*$/,""):void 0===i?"undefined":"string"!=typeof i?JSON.stringify(i):i)}return Error(e)}}function r(t){if(null==t||k(t))return!1;var e="length"in Object(t)&&t.length;return!(t.nodeType!==Un||!e)||(w(t)||Hn(t)||0===e||"number"==typeof e&&0<e&&e-1 in t)}function o(t,e,n){var i,s;if(t)if(T(t))for(i in t)"prototype"==i||"length"==i||"name"==i||t.hasOwnProperty&&!t.hasOwnProperty(i)||e.call(n,t[i],i,t);else if(Hn(t)||r(t)){var a="object"!=typeof t;for(i=0,s=t.length;i<s;i++)(a||i in t)&&e.call(n,t[i],i,t)}else if(t.forEach&&t.forEach!==o)t.forEach(e,n,t);else if(x(t))for(i in t)e.call(n,t[i],i,t);else if("function"==typeof t.hasOwnProperty)for(i in t)t.hasOwnProperty(i)&&e.call(n,t[i],i,t);else for(i in t)An.call(t,i)&&e.call(n,t[i],i,t);return t}function s(t,e,n){for(var i=Object.keys(t).sort(),r=0;r<i.length;r++)e.call(n,t[i[r]],i[r]);return i}function a(t){return function(e,n){t(n,e)}}function u(t,e){e?t.$$hashKey=e:delete t.$$hashKey}function l(t,e,n){for(var i=t.$$hashKey,r=0,o=e.length;r<o;++r){var s=e[r];if(b(s)||T(s))for(var a=Object.keys(s),c=0,h=a.length;c<h;c++){var f=a[c],p=s[f];n&&b(p)?S(p)?t[f]=new Date(p.valueOf()):C(p)?t[f]=new RegExp(p):(b(t[f])||(t[f]=Hn(p)?[]:{}),l(t[f],[p],!0)):t[f]=p}}return u(t,i),t}function c(t){return l(t,_n.call(arguments,1),!1)}function h(t){return l(t,_n.call(arguments,1),!0)}function f(t){return parseInt(t,10)}function p(t,e){return c(Object.create(t),e)}function d(){}function m(t){return t}function g(t){return function(){return t}}function v(t){return T(t.toString)&&t.toString!==Object.prototype.toString}function y(t){return void 0===t}function $(t){return void 0!==t}function b(t){return null!==t&&"object"==typeof t}function x(t){return null!==t&&"object"==typeof t&&!Dn(t)}function w(t){return"string"==typeof t}function E(t){return"number"==typeof t}function S(t){return"[object Date]"===Mn.call(t)}function T(t){return"function"==typeof t}function C(t){return"[object RegExp]"===Mn.call(t)}function k(t){return t&&t.window===t}function A(t){return t&&t.$evalAsync&&t.$watch}function N(t){return"boolean"==typeof t}function _(t){return!(!t||!(t.nodeName||t.prop&&t.attr&&t.find))}function P(t){return kn(t.nodeName||t[0]&&t[0].nodeName)}function O(t,e){var n=t.indexOf(e);return 0<=n&&t.splice(n,1),n}function M(t,e,n,i){if(k(t)||A(t))throw Ln("cpws");if(zn.test(Mn.call(e)))throw Ln("cpta");if(e){if(t===e)throw Ln("cpi");var r;if(n=n||[],i=i||[],b(t)&&(n.push(t),i.push(e)),Hn(t))for(r=e.length=0;r<t.length;r++)e.push(M(t[r],null,n,i));else{var s=e.$$hashKey;if(Hn(e)?e.length=0:o(e,function(t,n){delete e[n]}),x(t))for(r in t)e[r]=M(t[r],null,n,i);else if(t&&"function"==typeof t.hasOwnProperty)for(r in t)t.hasOwnProperty(r)&&(e[r]=M(t[r],null,n,i));else for(r in t)An.call(t,r)&&(e[r]=M(t[r],null,n,i));u(e,s)}}else if(e=t,b(t)){if(n&&-1!==(s=n.indexOf(t)))return i[s];if(Hn(t))return M(t,[],n,i);if(zn.test(Mn.call(t)))e=new t.constructor(t);else if(S(t))e=new Date(t.getTime());else{if(!C(t))return M(t,r=Object.create(Dn(t)),n,i);(e=new RegExp(t.source,t.toString().match(/[^\/]*$/)[0])).lastIndex=t.lastIndex}i&&(n.push(t),i.push(e))}return e}function D(t,e){if(Hn(t)){e=e||[];for(var n=0,i=t.length;n<i;n++)e[n]=t[n]}else if(b(t))for(n in e=e||{},t)"$"===n.charAt(0)&&"$"===n.charAt(1)||(e[n]=t[n]);return e||t}function L(t,e){if(t===e)return!0;if(null===t||null===e)return!1;if(t!=t&&e!=e)return!0;var i,r=typeof t;if(r==typeof e&&"object"==r){if(!Hn(t)){if(S(t))return!!S(e)&&L(t.getTime(),e.getTime());if(C(t))return!!C(e)&&t.toString()==e.toString();if(A(t)||A(e)||k(t)||k(e)||Hn(e)||S(e)||C(e))return!1;for(i in r=ot(),t)if("$"!==i.charAt(0)&&!T(t[i])){if(!L(t[i],e[i]))return!1;r[i]=!0}for(i in e)if(!(i in r||"$"===i.charAt(0)||e[i]===n||T(e[i])))return!1;return!0}if(!Hn(e))return!1;if((r=t.length)==e.length){for(i=0;i<r;i++)if(!L(t[i],e[i]))return!1;return!0}}return!1}function j(t,e,n){return t.concat(_n.call(e,n))}function I(t,e){var n=2<arguments.length?_n.call(arguments,2):[];return!T(e)||e instanceof RegExp?e:n.length?function(){return arguments.length?e.apply(t,j(n,arguments,0)):e.apply(t,n)}:function(){return arguments.length?e.apply(t,arguments):e.call(t)}}function R(t,i){var r=i;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?r=n:k(i)?r="$WINDOW":i&&e===i?r="$DOCUMENT":A(i)&&(r="$SCOPE"),r}function H(t,e){return void 0===t?n:(E(e)||(e=e?2:null),JSON.stringify(t,R,e))}function z(t){return w(t)?JSON.parse(t):t}function q(t,e){var n=Date.parse("Jan 01, 1970 00:00:00 "+t)/6e4;return isNaN(n)?e:n}function F(t,e,n){n=n?-1:1;var i=q(e,t.getTimezoneOffset());return e=t,t=n*(i-t.getTimezoneOffset()),(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}function B(t){t=En(t).clone();try{t.empty()}catch(t){}var e=En("<div>").append(t).html();try{return t[0].nodeType===Gn?kn(e):e.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(t,e){return"<"+kn(e)})}catch(t){return kn(e)}}function V(t){try{return decodeURIComponent(t)}catch(t){}}function W(t){var e={};return o((t||"").split("&"),function(t){var n,i,r;t&&(i=t=t.replace(/\+/g,"%20"),-1!==(n=t.indexOf("="))&&(i=t.substring(0,n),r=t.substring(n+1)),$(i=V(i))&&(r=!$(r)||V(r),An.call(e,i)?Hn(e[i])?e[i].push(r):e[i]=[e[i],r]:e[i]=r))}),e}function X(t){var e=[];return o(t,function(t,n){Hn(t)?o(t,function(t){e.push(U(n,!0)+(!0===t?"":"="+U(t,!0)))}):e.push(U(n,!0)+(!0===t?"":"="+U(t,!0)))}),e.length?e.join("&"):""}function Y(t){return U(t,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function U(t,e){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,e?"%20":"+")}function G(t,e){var n,i,r={};o(Wn,function(e){e+="app",!n&&t.hasAttribute&&t.hasAttribute(e)&&(n=t,i=t.getAttribute(e))}),o(Wn,function(e){var r;e+="app",!n&&(r=t.querySelector("["+e.replace(":","\\:")+"]"))&&(n=r,i=r.getAttribute(e))}),n&&(r.strictDi=null!==function(t,e){var n,i,r=Wn.length;for(i=0;i<r;++i)if(n=Wn[i]+e,w(n=t.getAttribute(n)))return n;return null}(n,"strict-di"),e(n,i?[i]:[],r))}function J(n,i,r){b(r)||(r={}),r=c({strictDi:!1},r);var s=function(){if((n=En(n)).injector()){var t=n[0]===e?"document":B(n);throw Ln("btstrpd",t.replace(/</,"&lt;").replace(/>/,"&gt;"))}return(i=i||[]).unshift(["$provide",function(t){t.value("$rootElement",n)}]),r.debugInfoEnabled&&i.push(["$compileProvider",function(t){t.debugInfoEnabled(!0)}]),i.unshift("ng"),(t=At(i,r.strictDi)).invoke(["$rootScope","$rootElement","$compile","$injector",function(t,e,n,i){t.$apply(function(){e.data("$injector",i),n(e)(t)})}]),t},a=/^NG_ENABLE_DEBUG_INFO!/,u=/^NG_DEFER_BOOTSTRAP!/;if(t&&a.test(t.name)&&(r.debugInfoEnabled=!0,t.name=t.name.replace(a,"")),t&&!u.test(t.name))return s();t.name=t.name.replace(u,""),jn.resumeBootstrap=function(t){return o(t,function(t){i.push(t)}),s()},T(jn.resumeDeferredBootstrap)&&jn.resumeDeferredBootstrap()}function K(){t.name="NG_ENABLE_DEBUG_INFO!"+t.name,t.location.reload()}function Q(t){if(!(t=jn.element(t).injector()))throw Ln("test");return t.get("$$testability")}function Z(t,e){return e=e||"_",t.replace(Xn,function(t,n){return(n?e:"")+t.toLowerCase()})}function tt(t,e,n){if(!t)throw Ln("areq",e||"?",n||"required");return t}function et(t,e,n){return n&&Hn(t)&&(t=t[t.length-1]),tt(T(t),e,"not a function, got "+(t&&"object"==typeof t?t.constructor.name||"Object":typeof t)),t}function nt(t,e){if("hasOwnProperty"===t)throw Ln("badname",e)}function it(t,e,n){if(!e)return t;for(var i,r=t,o=(e=e.split(".")).length,s=0;s<o;s++)i=e[s],t&&(t=(r=t)[i]);return!n&&T(t)?I(r,t):t}function rt(t){var e=t[0];t=t[t.length-1];var n=[e];do{if(!(e=e.nextSibling))break;n.push(e)}while(e!==t);return En(n)}function ot(){return Object.create(null)}function st(t){return t.replace(Zn,function(t,e,n,i){return i?n.toUpperCase():n}).replace(ti,"Moz$1")}function at(t){return(t=t.nodeType)===Un||!t||9===t}function ut(t,e){var n,i,r=e.createDocumentFragment(),s=[];if(ri.test(t)){for(n=n||r.appendChild(e.createElement("div")),i=(oi.exec(t)||["",""])[1].toLowerCase(),i=ai[i]||ai._default,n.innerHTML=i[1]+t.replace(si,"<$1></$2>")+i[2],i=i[0];i--;)n=n.lastChild;s=j(s,n.childNodes),(n=r.firstChild).textContent=""}else s.push(e.createTextNode(t));return r.textContent="",r.innerHTML="",o(s,function(t){r.appendChild(t)}),r}function lt(t){if(t instanceof lt)return t;var n,i;if(w(t)&&(t=qn(t),n=!0),!(this instanceof lt)){if(n&&"<"!=t.charAt(0))throw ni("nosel");return new lt(t)}n&&(n=e,t=(i=ii.exec(t))?[n.createElement(i[1])]:(i=ut(t,n))?i.childNodes:[]);$t(this,t)}function ct(t){return t.cloneNode(!0)}function ht(t,e){if(e||pt(t),t.querySelectorAll)for(var n=t.querySelectorAll("*"),i=0,r=n.length;i<r;i++)pt(n[i])}function ft(t,e,n,i){if($(i))throw ni("offargs");var r=(i=dt(t))&&i.events,s=i&&i.handle;if(s)if(e)o(e.split(" "),function(e){if($(n)){var i=r[e];if(O(i||[],n),i&&0<i.length)return}t.removeEventListener(e,s,!1),delete r[e]});else for(e in r)"$destroy"!==e&&t.removeEventListener(e,s,!1),delete r[e]}function pt(t,e){var i=t.ng339,r=i&&Kn[i];r&&(e?delete r.data[e]:(r.handle&&(r.events.$destroy&&r.handle({},"$destroy"),ft(t)),delete Kn[i],t.ng339=n))}function dt(t,e){var i=(i=t.ng339)&&Kn[i];return e&&!i&&(t.ng339=i=++Qn,i=Kn[i]={events:{},data:{},handle:n}),i}function mt(t,e,n){if(at(t)){var i=$(n),r=!i&&e&&!b(e),o=!e;if(t=(t=dt(t,!r))&&t.data,i)t[e]=n;else{if(o)return t;if(r)return t&&t[e];c(t,e)}}}function gt(t,e){return!!t.getAttribute&&-1<(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+e+" ")}function vt(t,e){e&&t.setAttribute&&o(e.split(" "),function(e){t.setAttribute("class",qn((" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+qn(e)+" "," ")))})}function yt(t,e){if(e&&t.setAttribute){var n=(" "+(t.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");o(e.split(" "),function(t){t=qn(t),-1===n.indexOf(" "+t+" ")&&(n+=t+" ")}),t.setAttribute("class",qn(n))}}function $t(t,e){if(e)if(e.nodeType)t[t.length++]=e;else{var n=e.length;if("number"==typeof n&&e.window!==e){if(n)for(var i=0;i<n;i++)t[t.length++]=e[i]}else t[t.length++]=e}}function bt(t,e){return xt(t,"$"+(e||"ngController")+"Controller")}function xt(t,e,i){for(9==t.nodeType&&(t=t.documentElement),e=Hn(e)?e:[e];t;){for(var r=0,o=e.length;r<o;r++)if((i=En.data(t,e[r]))!==n)return i;t=t.parentNode||11===t.nodeType&&t.host}}function wt(t){for(ht(t,!0);t.firstChild;)t.removeChild(t.firstChild)}function Et(t,e){e||ht(t);var n=t.parentNode;n&&n.removeChild(t)}function St(t,e){var n=li[e.toLowerCase()];return n&&ci[P(t)]&&n}function Tt(){this.$get=function(){return c(lt,{hasClass:function(t,e){return t.attr&&(t=t[0]),gt(t,e)},addClass:function(t,e){return t.attr&&(t=t[0]),yt(t,e)},removeClass:function(t,e){return t.attr&&(t=t[0]),vt(t,e)}})}}function Ct(t,e){var n=t&&t.$$hashKey;return n?("function"==typeof n&&(n=t.$$hashKey()),n):"function"==(n=typeof t)||"object"==n&&null!==t?t.$$hashKey=n+":"+(e||function(){return++In})():n+":"+t}function kt(t,e){if(e){var n=0;this.nextUid=function(){return++n}}o(t,this.put,this)}function At(t,e){function i(t){return function(e,n){if(!b(e))return t(e,n);o(e,a(t))}}function r(t,e){if(nt(t,"service"),(T(e)||Hn(e))&&(e=d.instantiate(e)),!e.$get)throw vi("pget",t);return p[t+"Provider"]=e}function s(t,e){return function(){var n=v.invoke(e,this);if(y(n))throw vi("undef",t);return n}}function u(t,e,n){return r(t,{$get:!1!==n?s(t,e):e})}function l(t,n){function i(e,i){if(t.hasOwnProperty(e)){if(t[e]===c)throw vi("cdep",e+" <- "+h.join(" <- "));return t[e]}try{return h.unshift(e),t[e]=c,t[e]=n(e,i)}catch(n){throw t[e]===c&&delete t[e],n}finally{h.shift()}}function r(t,n,r,o){"string"==typeof r&&(o=r,r=null);var s,a,u,l=[],c=At.$$annotate(t,e,o);for(a=0,s=c.length;a<s;a++){if("string"!=typeof(u=c[a]))throw vi("itkn",u);l.push(r&&r.hasOwnProperty(u)?r[u]:i(u,o))}return Hn(t)&&(t=t[s]),t.apply(n,l)}return{invoke:r,instantiate:function(t,e,n){var i=Object.create((Hn(t)?t[t.length-1]:t).prototype||null);return b(t=r(t,i,e,n))||T(t)?t:i},get:i,annotate:At.$$annotate,has:function(e){return p.hasOwnProperty(e+"Provider")||t.hasOwnProperty(e)}}}e=!0===e;var c={},h=[],f=new kt([],!0),p={$provide:{provider:i(r),factory:i(u),service:i(function(t,e){return u(t,["$injector",function(t){return t.instantiate(e)}])}),value:i(function(t,e){return u(t,g(e),!1)}),constant:i(function(t,e){nt(t,"constant"),p[t]=e,m[t]=e}),decorator:function(t,e){var n=d.get(t+"Provider"),i=n.$get;n.$get=function(){var t=v.invoke(i,n);return v.invoke(e,null,{$delegate:t})}}}},d=p.$injector=l(p,function(t,e){throw jn.isString(e)&&h.push(e),vi("unpr",h.join(" <- "))}),m={},v=m.$injector=l(m,function(t,e){var i=d.get(t+"Provider",e);return v.invoke(i.$get,i,n,t)});return o(function t(e){tt(y(e)||Hn(e),"modulesToLoad","not an array");var n,i=[];return o(e,function(e){function r(t){var e,n;for(e=0,n=t.length;e<n;e++){var i=t[e],r=d.get(i[0]);r[i[1]].apply(r,i[2])}}if(!f.get(e)){f.put(e,!0);try{w(e)?(n=Tn(e),i=i.concat(t(n.requires)).concat(n._runBlocks),r(n._invokeQueue),r(n._configBlocks)):T(e)?i.push(d.invoke(e)):Hn(e)?i.push(d.invoke(e)):et(e,"module")}catch(t){throw Hn(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1==t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),vi("modulerr",e,t.stack||t.message||t)}}}),i}(t),function(t){t&&v.invoke(t)}),v}function Nt(){var e=!0;this.disableAutoScrolling=function(){e=!1},this.$get=["$window","$location","$rootScope",function(n,i,r){function o(t){var e;t?(t.scrollIntoView(),T(e=s.yOffset)?e=e():_(e)?(e=e[0],e="fixed"!==n.getComputedStyle(e).position?0:e.getBoundingClientRect().bottom):E(e)||(e=0),e&&(t=t.getBoundingClientRect().top,n.scrollBy(0,t-e))):n.scrollTo(0,0)}function s(t){var e;(t=w(t)?t:i.hash())?(e=a.getElementById(t))?o(e):(e=function(t){var e=null;return Array.prototype.some.call(t,function(t){if("a"===P(t))return e=t,!0}),e}(a.getElementsByName(t)))?o(e):"top"===t&&o(null):o(null)}var a=n.document;return e&&r.$watch(function(){return i.hash()},function(e,n){e===n&&""===e||function(e,n){"complete"===(n=n||t).document.readyState?n.setTimeout(e):En(n).on("load",e)}(function(){r.$evalAsync(s)})}),s}]}function _t(t,e){return t||e?t?e?(Hn(t)&&(t=t.join(" ")),Hn(e)&&(e=e.join(" ")),t+" "+e):t:e:""}function Pt(t){return b(t)?t:{}}function Ot(t,e,n,i){function r(t){try{t.apply(null,_n.call(arguments,1))}finally{if(0===--g)for(;v.length;)try{v.pop()()}catch(t){n.error(t)}}}function s(){a(),u()}function a(){t:{try{$=h.state;break t}catch(t){}$=void 0}L($=y($)?null:$,C)&&($=C),C=$}function u(){x===l.url()&&b===$||(x=l.url(),b=$,o(S,function(t){t(l.url(),$)}))}var l=this,c=t.location,h=t.history,f=t.setTimeout,p=t.clearTimeout,m={};l.isMock=!1;var g=0,v=[];l.$$completeOutstandingRequest=r,l.$$incOutstandingRequestCount=function(){g++},l.notifyWhenNoOutstandingRequests=function(t){0===g?t():v.push(t)};var $,b,x=c.href,w=e.find("base"),E=null;a(),b=$,l.url=function(e,n,r){if(y(r)&&(r=null),c!==t.location&&(c=t.location),h!==t.history&&(h=t.history),e){var o=b===r;if(x===e&&(!i.history||o))return l;var s=x&&oe(x)===oe(e);return x=e,b=r,!i.history||s&&o?(s&&!E||(E=e),n?c.replace(e):s?(n=c,r=e.indexOf("#"),e=-1===r?"":e.substr(r),n.hash=e):c.href=e):(h[n?"replaceState":"pushState"](r,"",e),a(),b=$),l}return E||c.href.replace(/%27/g,"'")},l.state=function(){return $};var S=[],T=!1,C=null;l.onUrlChange=function(e){return T||(i.history&&En(t).on("popstate",s),En(t).on("hashchange",s),T=!0),S.push(e),e},l.$$applicationDestroyed=function(){En(t).off("hashchange popstate",s)},l.$$checkUrlChange=u,l.baseHref=function(){var t=w.attr("href");return t?t.replace(/^(https?\:)?\/\/[^\/]*/,""):""},l.defer=function(t,e){var n;return g++,n=f(function(){delete m[n],r(t)},e||0),m[n]=!0,n},l.defer.cancel=function(t){return!!m[t]&&(delete m[t],p(t),r(d),!0)}}function Mt(){this.$get=["$window","$log","$sniffer","$document",function(t,e,n,i){return new Ot(t,i,e,n)}]}function Dt(){this.$get=function(){function t(t,n){function r(t){t!=f&&(p?p==t&&(p=t.n):p=t,o(t.n,t.p),o(t,f),(f=t).n=null)}function o(t,e){t!=e&&(t&&(t.p=e),e&&(e.n=t))}if(t in e)throw i("$cacheFactory")("iid",t);var s=0,a=c({},n,{id:t}),u={},l=n&&n.capacity||Number.MAX_VALUE,h={},f=null,p=null;return e[t]={put:function(t,e){if(!y(e)){if(l<Number.MAX_VALUE)r(h[t]||(h[t]={key:t}));return t in u||s++,u[t]=e,s>l&&this.remove(p.key),e}},get:function(t){if(l<Number.MAX_VALUE){var e=h[t];if(!e)return;r(e)}return u[t]},remove:function(t){if(l<Number.MAX_VALUE){var e=h[t];if(!e)return;e==f&&(f=e.p),e==p&&(p=e.n),o(e.n,e.p),delete h[t]}delete u[t],s--},removeAll:function(){u={},s=0,h={},f=p=null},destroy:function(){h=a=u=null,delete e[t]},info:function(){return c({},a,{size:s})}}}var e={};return t.info=function(){var t={};return o(e,function(e,n){t[n]=e.info()}),t},t.get=function(t){return e[t]},t}}function Lt(){this.$get=["$cacheFactory",function(t){return t("templates")}]}function jt(t,i){function r(t,e,n){var i=/^\s*([@&]|=(\*?))(\??)\s*(\w*)\s*$/,r={};return o(t,function(t,o){var s=t.match(i);if(!s)throw Ei("iscp",e,o,t,n?"controller bindings definition":"isolate scope definition");r[o]={mode:s[1][0],collection:"*"===s[2],optional:"?"===s[3],attrName:s[4]||o}}),r}var s={},u=/^\s*directive\:\s*([\w\-]+)\s+(.*)$/,l=/(([\w\-]+)(?:\:([^;]+))?;?)/,h=function(t){var e,n={};for(t=t.split(","),e=0;e<t.length;e++)n[t[e]]=!0;return n}("ngSrc,ngSrcset,src,srcset"),f=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,v=/^(on[a-z]+|formaction)$/;this.directive=function e(n,i){return nt(n,"directive"),w(n)?(function(t){var e=t.charAt(0);if(!e||e!==kn(e))throw Ei("baddir",t);if(t!==t.trim())throw Ei("baddir",t)}(n),tt(i,"directiveFactory"),s.hasOwnProperty(n)||(s[n]=[],t.factory(n+"Directive",["$injector","$exceptionHandler",function(t,e){var i=[];return o(s[n],function(o,s){try{var a=t.invoke(o);T(a)?a={compile:g(a)}:!a.compile&&a.link&&(a.compile=g(a.link)),a.priority=a.priority||0,a.index=s,a.name=a.name||n,a.require=a.require||a.controller&&a.name,a.restrict=a.restrict||"EA";var u=a,l=a,c=a.name,h={isolateScope:null,bindToController:null};if(b(l.scope)&&(!0===l.bindToController?(h.bindToController=r(l.scope,c,!0),h.isolateScope={}):h.isolateScope=r(l.scope,c,!1)),b(l.bindToController)&&(h.bindToController=r(l.bindToController,c,!0)),b(h.bindToController)){var f,p=l.controller,d=l.controllerAs;if(!p)throw Ei("noctrl",c);t:if(d&&w(d))f=d;else{if(w(p)){var m=Ci.exec(p);if(m){f=m[3];break t}}f=void 0}if(!f)throw Ei("noident",c)}var v=u.$$bindings=h;b(v.isolateScope)&&(a.$$isolateBindings=v.isolateScope),a.$$moduleName=o.$$moduleName,i.push(a)}catch(t){e(t)}}),i}])),s[n].push(i)):o(n,a(e)),this},this.aHrefSanitizationWhitelist=function(t){return $(t)?(i.aHrefSanitizationWhitelist(t),this):i.aHrefSanitizationWhitelist()},this.imgSrcSanitizationWhitelist=function(t){return $(t)?(i.imgSrcSanitizationWhitelist(t),this):i.imgSrcSanitizationWhitelist()};var x=!0;this.debugInfoEnabled=function(t){return $(t)?(x=t,this):x},this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(t,i,r,a,g,$,E,S,C,k,N){function _(t,e){try{t.addClass(e)}catch(t){}}function M(t,e,n,i,r){t instanceof En||(t=En(t)),o(t,function(e,n){e.nodeType==Gn&&e.nodeValue.match(/\S+/)&&(t[n]=En(e).wrap("<span></span>").parent()[0])});var s=D(t,e,t,n,i,r);M.$$addScopeClass(t);var a=null;return function(e,n,i){tt(e,"scope");var r=(i=i||{}).parentBoundTranscludeFn,o=i.transcludeControllers;if(i=i.futureParentElement,r&&r.$$boundTransclude&&(r=r.$$boundTransclude),a||(a=(i=i&&i[0])&&"foreignobject"!==P(i)&&i.toString().match(/SVG/)?"svg":"html"),i="html"!==a?En(J(a,En("<div>").append(t).html())):n?ui.clone.call(t):t,o)for(var u in o)i.data("$"+u+"Controller",o[u].instance);return M.$$addScopeInfo(i,e),n&&n(i,e),s&&s(e,i,i,r),i}}function D(t,e,i,r,o,s){for(var a,u,l,c,h,f=[],p=0;p<t.length;p++)a=new rt,(s=(u=I(t[p],[],a,0===p?r:n,o)).length?z(u,t[p],a,e,i,null,[],[],s):null)&&s.scope&&M.$$addScopeClass(a.$$element),a=s&&s.terminal||!(l=t[p].childNodes)||!l.length?null:D(l,s?(s.transcludeOnThisElement||!s.templateOnThisElement)&&s.transclude:e),(s||a)&&(f.push(p,s,a),c=!0,h=h||s),s=null;return c?function(t,i,r,o){var s,a,u,l,c,p,d;if(h)for(d=Array(i.length),l=0;l<f.length;l+=3)d[s=f[l]]=i[s];else d=i;for(l=0,c=f.length;l<c;)a=d[f[l++]],i=f[l++],s=f[l++],i?(i.scope?(u=t.$new(),M.$$addScopeInfo(En(a),u),(p=i.$$destroyBindings)&&(i.$$destroyBindings=null,u.$on("$destroyed",p))):u=t,i(s,u,a,r,p=i.transcludeOnThisElement?j(t,i.transclude,o):!i.templateOnThisElement&&o?o:!o&&e?j(t,e):null,i)):s&&s(t,a.childNodes,n,o)}:null}function j(t,e,n){return function(i,r,o,s,a){return i||((i=t.$new(!1,a)).$$transcluded=!0),e(i,r,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:s})}}function I(t,e,n,i,r){var o,s=n.$attr;switch(t.nodeType){case Un:F(e,It(P(t)),"E",i,r);for(var a,c,h,f=t.attributes,p=0,d=f&&f.length;p<d;p++){var m=!1,g=!1;o=(a=f[p]).name,c=qn(a.value),a=It(o),(h=lt.test(a))&&(o=o.replace(Si,"").substr(8).replace(/_(.)/g,function(t,e){return e.toUpperCase()}));var v=a.replace(/(Start|End)$/,"");V(v)&&a===v+"Start"&&(m=o,g=o.substr(0,o.length-5)+"end",o=o.substr(0,o.length-6)),s[a=It(o.toLowerCase())]=o,!h&&n.hasOwnProperty(a)||(n[a]=c,St(t,a)&&(n[a]=!0)),K(t,e,c,a,h),F(e,a,"A",i,r,m,g)}if(b(t=t.className)&&(t=t.animVal),w(t)&&""!==t)for(;o=l.exec(t);)F(e,a=It(o[2]),"C",i,r)&&(n[a]=qn(o[3])),t=t.substr(o.index+o[0].length);break;case Gn:if(11===wn)for(;t.parentNode&&t.nextSibling&&t.nextSibling.nodeType===Gn;)t.nodeValue+=t.nextSibling.nodeValue,t.parentNode.removeChild(t.nextSibling);G(e,t.nodeValue);break;case 8:try{(o=u.exec(t.nodeValue))&&(F(e,a=It(o[1]),"M",i,r)&&(n[a]=qn(o[2])))}catch(t){}}return e.sort(Y),e}function R(t,e,n){var i=[],r=0;if(e&&t.hasAttribute&&t.hasAttribute(e))do{if(!t)throw Ei("uterdir",e,n);t.nodeType==Un&&(t.hasAttribute(e)&&r++,t.hasAttribute(n)&&r--),i.push(t),t=t.nextSibling}while(0<r);else i.push(t);return En(i)}function H(t,e,n){return function(i,r,o,s,a){return r=R(r[0],e,n),t(i,r,o,s,a)}}function z(t,i,o,s,a,u,l,c,h){function p(t,e,n,i){t&&(n&&(t=H(t,n,i)),t.require=v.require,t.directiveName=y,(N===v||v.$$isolateScope)&&(t=et(t,{isolateScope:!0})),l.push(t)),e&&(n&&(e=H(e,n,i)),e.require=v.require,e.directiveName=y,(N===v||v.$$isolateScope)&&(e=et(e,{isolateScope:!0})),c.push(e))}function d(t,e,n,i){var r;if(w(e)){var o=e.match(f);e=e.substring(o[0].length);var s=o[1]||o[3];o="?"===o[2];if("^^"===s?n=n.parent():r=(r=i&&i[e])&&r.instance,r||(i="$"+e+"Controller",r=s?n.inheritedData(i):n.data(i)),!r&&!o)throw Ei("ctreq",e,t)}else if(Hn(e))for(r=[],s=0,o=e.length;s<o;s++)r[s]=d(t,e[s],n,i);return r||null}function m(t,e,n,i,r,o){var s,a=ot();for(s in i){var u=i[s],l={$scope:u===N||u.$$isolateScope?r:o,$element:t,$attrs:e,$transclude:n},c=u.controller;"@"==c&&(c=e[u.name]),l=$(c,l,!0,u.controllerAs),a[u.name]=l,L||t.data("$"+u.name+"Controller",l.instance)}return a}function g(t,e,r,s,a,u){var h,f,p,g,v,y,$;if(i===r?(s=o,$=o.$$element):($=En(r),s=new rt($,o)),N&&(g=e.$new(!0)),a&&((y=function(t,e,i){var r;return A(t)||(i=e,e=t,t=n),L&&(r=v),i||(i=L?$.parent():$),a(t,e,r,i,E)}).$$boundTransclude=a),k&&(v=m($,s,y,k,g,e)),N&&(M.$$addScopeInfo($,g,!0,!(_&&(_===N||_===N.$$originalDirective))),M.$$addScopeClass($,!0),g.$$isolateBindings=N.$$isolateBindings,it(e,s,g,g.$$isolateBindings,N,g)),v){var b,x=N||C;for(h in x&&v[x.name]&&(f=x.$$bindings.bindToController,(p=v[x.name])&&p.identifier&&f&&(b=p,u.$$destroyBindings=it(e,s,p.instance,f,x))),v){var w=(p=v[h])();w!==p.instance&&(p.instance=w,$.data("$"+h+"Controller",w),p===b&&(u.$$destroyBindings(),u.$$destroyBindings=it(e,s,w,f,x)))}}for(h=0,u=l.length;h<u;h++)nt(f=l[h],f.isolateScope?g:e,$,s,f.require&&d(f.directiveName,f.require,$,v),y);var E=e;for(N&&(N.template||null===N.templateUrl)&&(E=g),t&&t(E,r.childNodes,n,a),h=c.length-1;0<=h;h--)nt(f=c[h],f.isolateScope?g:e,$,s,f.require&&d(f.directiveName,f.require,$,v),y)}h=h||{};for(var v,y,x,E,S=-Number.MAX_VALUE,C=h.newScopeDirective,k=h.controllerDirectives,N=h.newIsolateScopeDirective,_=h.templateDirective,P=h.nonTlbTranscludeDirective,O=!1,D=!1,L=h.hasElementTranscludeDirective,j=o.$$element=En(i),z=s,F=0,V=t.length;F<V;F++){var Y=(v=t[F]).$$start,G=v.$$end;if(Y&&(j=R(i,Y,G)),x=n,S>v.priority)break;if((x=v.scope)&&(v.templateUrl||(b(x)?(U("new/isolated scope",N||C,v,j),N=v):U("new/isolated scope",N,v,j)),C=C||v),y=v.name,!v.templateUrl&&v.controller&&(x=v.controller,k=k||ot(),U("'"+y+"' controller",k[y],v,j),k[y]=v),(x=v.transclude)&&(O=!0,v.$$tlb||(U("transclusion",P,v,j),P=v),"element"==x?(L=!0,S=v.priority,x=j,j=o.$$element=En(e.createComment(" "+y+": "+o[y]+" ")),i=j[0],Q(a,_n.call(x,0),i),z=M(x,s,S,u&&u.name,{nonTlbTranscludeDirective:P})):(x=En(ct(i)).contents(),j.empty(),z=M(x,s))),v.template)if(D=!0,U("template",_,v,j),_=v,x=T(v.template)?v.template(j,o):v.template,x=ut(x),v.replace){if(u=v,x=ri.test(x)?Ht(J(v.templateNamespace,qn(x))):[],i=x[0],1!=x.length||i.nodeType!==Un)throw Ei("tplrt",y,"");Q(a,j,i),x=I(i,[],V={$attr:{}});var K=t.splice(F+1,t.length-(F+1));N&&q(x),t=t.concat(x).concat(K),W(o,V),V=t.length}else j.html(x);if(v.templateUrl)D=!0,U("template",_,v,j),_=v,v.replace&&(u=v),g=X(t.splice(F,t.length-F),j,o,a,O&&z,l,c,{controllerDirectives:k,newScopeDirective:C!==v&&C,newIsolateScopeDirective:N,templateDirective:_,nonTlbTranscludeDirective:P}),V=t.length;else if(v.compile)try{T(E=v.compile(j,o,z))?p(null,E,Y,G):E&&p(E.pre,E.post,Y,G)}catch(t){r(t,B(j))}v.terminal&&(g.terminal=!0,S=Math.max(S,v.priority))}return g.scope=C&&!0===C.scope,g.transcludeOnThisElement=O,g.templateOnThisElement=D,g.transclude=z,h.hasElementTranscludeDirective=L,g}function q(t){for(var e=0,n=t.length;e<n;e++)t[e]=p(t[e],{$$isolateScope:!0})}function F(e,i,o,a,u,l,c){if(i===u)return null;if(u=null,s.hasOwnProperty(i))for(var h,f=0,d=(i=t.get(i+"Directive")).length;f<d;f++)try{h=i[f],(a===n||a>h.priority)&&-1!=h.restrict.indexOf(o)&&(l&&(h=p(h,{$$start:l,$$end:c})),e.push(h),u=h)}catch(t){r(t)}return u}function V(e){if(s.hasOwnProperty(e))for(var n=t.get(e+"Directive"),i=0,r=n.length;i<r;i++)if((e=n[i]).multiElement)return!0;return!1}function W(t,e){var n=e.$attr,i=t.$attr,r=t.$$element;o(t,function(i,r){"$"!=r.charAt(0)&&(e[r]&&e[r]!==i&&(i+=("style"===r?";":" ")+e[r]),t.$set(r,i,!0,n[r]))}),o(e,function(e,o){"class"==o?(_(r,e),t.class=(t.class?t.class+" ":"")+e):"style"==o?(r.attr("style",r.attr("style")+";"+e),t.style=(t.style?t.style+";":"")+e):"$"==o.charAt(0)||t.hasOwnProperty(o)||(t[o]=e,i[o]=n[o])})}function X(t,e,n,i,r,s,u,l){var c,h,f=[],d=e[0],m=t.shift(),g=p(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),v=T(m.templateUrl)?m.templateUrl(e,n):m.templateUrl,y=m.templateNamespace;return e.empty(),a(v).then(function(a){var p,$;if(a=ut(a),m.replace){if(a=ri.test(a)?Ht(J(y,qn(a))):[],p=a[0],1!=a.length||p.nodeType!==Un)throw Ei("tplrt",m.name,v);a={$attr:{}},Q(i,e,p);var x=I(p,[],a);b(m.scope)&&q(x),t=x.concat(t),W(n,a)}else p=d,e.html(a);for(t.unshift(g),c=z(t,p,n,r,e,m,s,u,l),o(i,function(t,n){t==p&&(i[n]=e[0])}),h=D(e[0].childNodes,r);f.length;){a=f.shift(),$=f.shift();var w=f.shift(),E=f.shift();x=e[0];if(!a.$$destroyed){if($!==d){var S=$.className;l.hasElementTranscludeDirective&&m.replace||(x=ct(p)),Q(w,En($),x),_(En(x),S)}$=c.transcludeOnThisElement?j(a,c.transclude,E):E,c(h,a,x,i,$,c)}}f=null}),function(t,e,n,i,r){t=r,e.$$destroyed||(f?f.push(e,n,i,t):(c.transcludeOnThisElement&&(t=j(e,c.transclude,r)),c(h,e,n,i,t,c)))}}function Y(t,e){var n=e.priority-t.priority;return 0!==n?n:t.name!==e.name?t.name<e.name?-1:1:t.index-e.index}function U(t,e,n,i){function r(t){return t?" (module: "+t+")":""}if(e)throw Ei("multidir",e.name,r(e.$$moduleName),n.name,r(n.$$moduleName),t,B(i))}function G(t,e){var n=i(e,!0);n&&t.push({priority:0,compile:function(t){var e=!!(t=t.parent()).length;return e&&M.$$addBindingClass(t),function(t,i){var r=i.parent();e||M.$$addBindingClass(r),M.$$addBindingInfo(r,n.expressions),t.$watch(n,function(t){i[0].nodeValue=t})}}})}function J(t,n){switch(t=kn(t||"html")){case"svg":case"math":var i=e.createElement("div");return i.innerHTML="<"+t+">"+n+"</"+t+">",i.childNodes[0].childNodes;default:return n}}function K(t,e,n,r,o){var s=function(t,e){if("srcdoc"==e)return C.HTML;var n=P(t);return"xlinkHref"==e||"form"==n&&"action"==e||"img"!=n&&("src"==e||"ngSrc"==e)?C.RESOURCE_URL:void 0}(t,r);o=h[r]||o;var a=i(n,!0,s,o);if(a){if("multiple"===r&&"select"===P(t))throw Ei("selmulti",B(t));e.push({priority:100,compile:function(){return{pre:function(t,e,u){if(e=u.$$observers||(u.$$observers={}),v.test(r))throw Ei("nodomevents");var l=u[r];l!==n&&(a=l&&i(l,!0,s,o),n=l),a&&(u[r]=a(t),(e[r]||(e[r]=[])).$$inter=!0,(u.$$observers&&u.$$observers[r].$$scope||t).$watch(a,function(t,e){"class"===r&&t!=e?u.$updateClass(t,e):u.$set(r,t)}))}}}})}}function Q(t,n,i){var r,o,s=n[0],a=n.length,u=s.parentNode;if(t)for(r=0,o=t.length;r<o;r++)if(t[r]==s){t[r++]=i,o=r+a-1;for(var l=t.length;r<l;r++,o++)o<l?t[r]=t[o]:delete t[r];t.length-=a-1,t.context===s&&(t.context=i);break}for(u&&u.replaceChild(i,s),(t=e.createDocumentFragment()).appendChild(s),En.hasData(s)&&(En(i).data(En(s).data()),Sn?(Rn=!0,Sn.cleanData([s])):delete En.cache[s[En.expando]]),s=1,a=n.length;s<a;s++)u=n[s],En(u).remove(),t.appendChild(u),delete n[s];n[0]=i,n.length=1}function et(t,e){return c(function(){return t.apply(null,arguments)},t,e)}function nt(t,e,n,i,o,s){try{t(e,n,i,o,s)}catch(t){r(t,B(n))}}function it(t,e,n,r,s,a){var u;return o(r,function(r,o){var a,l,c,h,f=r.attrName,p=r.optional;switch(r.mode){case"@":p||An.call(e,f)||(n[o]=e[f]=void 0),e.$observe(f,function(t){w(t)&&(n[o]=t)}),e.$$observers[f].$$scope=t,w(e[f])&&(n[o]=i(e[f])(t));break;case"=":if(!An.call(e,f)){if(p)break;e[f]=void 0}if(p&&!e[f])break;l=g(e[f]),h=l.literal?L:function(t,e){return t===e||t!=t&&e!=e},c=l.assign||function(){throw a=n[o]=l(t),Ei("nonassign",e[f],s.name)},a=n[o]=l(t),(p=function(e){return h(e,n[o])||(h(e,a)?c(t,e=n[o]):n[o]=e),a=e}).$stateful=!0,p=r.collection?t.$watchCollection(e[f],p):t.$watch(g(e[f],p),null,l.literal),(u=u||[]).push(p);break;case"&":if((l=e.hasOwnProperty(f)?g(e[f]):d)===d&&p)break;n[o]=function(e){return l(t,e)}}}),r=u?function(){for(var t=0,e=u.length;t<e;++t)u[t]()}:d,a&&r!==d?(a.$on("$destroy",r),d):r}var rt=function(t,e){if(e){var n,i,r,o=Object.keys(e);for(n=0,i=o.length;n<i;n++)this[r=o[n]]=e[r]}else this.$attr={};this.$$element=t};rt.prototype={$normalize:It,$addClass:function(t){t&&0<t.length&&k.addClass(this.$$element,t)},$removeClass:function(t){t&&0<t.length&&k.removeClass(this.$$element,t)},$updateClass:function(t,e){var n=Rt(t,e);n&&n.length&&k.addClass(this.$$element,n),(n=Rt(e,t))&&n.length&&k.removeClass(this.$$element,n)},$set:function(t,e,i,s){var a=St(l=this.$$element[0],t),u=function(t,e){var n=t.nodeName;return("INPUT"===n||"TEXTAREA"===n)&&hi[e]}(l,t),l=t;if(a?(this.$$element.prop(t,e),s=a):u&&(this[u]=e,l=u),this[t]=e,s?this.$attr[t]=s:(s=this.$attr[t])||(this.$attr[t]=s=Z(t,"-")),"a"===(a=P(this.$$element))&&"href"===t||"img"===a&&"src"===t)this[t]=e=N(e,"src"===t);else if("img"===a&&"srcset"===t){a="",u=qn(e);for(var c=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,h=(c=/\s/.test(u)?c:/(,)/,u=u.split(c),c=Math.floor(u.length/2),0);h<c;h++){var f=2*h;a=(a=a+N(qn(u[f]),!0))+" "+qn(u[f+1])}u=qn(u[2*h]).split(/\s/),a+=N(qn(u[0]),!0),2===u.length&&(a+=" "+qn(u[1])),this[t]=e=a}!1!==i&&(null===e||e===n?this.$$element.removeAttr(s):this.$$element.attr(s,e)),(t=this.$$observers)&&o(t[l],function(t){try{t(e)}catch(t){r(t)}})},$observe:function(t,e){var n=this,i=n.$$observers||(n.$$observers=ot()),r=i[t]||(i[t]=[]);return r.push(e),E.$evalAsync(function(){r.$$inter||!n.hasOwnProperty(t)||y(n[t])||e(n[t])}),function(){O(r,e)}}};var st=i.startSymbol(),at=i.endSymbol(),ut="{{"==st||"}}"==at?m:function(t){return t.replace(/\{\{/g,st).replace(/}}/g,at)},lt=/^ngAttr[A-Z]/;return M.$$addBindingInfo=x?function(t,e){var n=t.data("$binding")||[];Hn(e)?n=n.concat(e):n.push(e),t.data("$binding",n)}:d,M.$$addBindingClass=x?function(t){_(t,"ng-binding")}:d,M.$$addScopeInfo=x?function(t,e,n,i){t.data(n?i?"$isolateScopeNoTemplate":"$isolateScope":"$scope",e)}:d,M.$$addScopeClass=x?function(t,e){_(t,e?"ng-isolate-scope":"ng-scope")}:d,M}]}function It(t){return st(t.replace(Si,""))}function Rt(t,e){var n="",i=t.split(/\s+/),r=e.split(/\s+/),o=0;t:for(;o<i.length;o++){for(var s=i[o],a=0;a<r.length;a++)if(s==r[a])continue t;n+=(0<n.length?" ":"")+s}return n}function Ht(t){var e=(t=En(t)).length;if(1>=e)return t;for(;e--;)8===t[e].nodeType&&Pn.call(t,e,1);return t}function zt(){var t={},e=!1;this.register=function(e,n){nt(e,"controller"),b(e)?c(t,e):t[e]=n},this.allowGlobals=function(){e=!0},this.$get=["$injector","$window",function(r,o){function s(t,e,n,r){if(!t||!b(t.$scope))throw i("$controller")("noscp",r,e);t.$scope[e]=n}return function(i,a,u,l){var h,f,p;if(u=!0===u,l&&w(l)&&(p=l),w(i)){if(!(l=i.match(Ci)))throw Ti("ctrlfmt",i);f=l[1],p=p||l[3],et(i=t.hasOwnProperty(f)?t[f]:it(a.$scope,f,!0)||(e?it(o,f,!0):n),f,!0)}return u?(u=(Hn(i)?i[i.length-1]:i).prototype,h=Object.create(u||null),p&&s(a,p,h,f||i.name),c(function(){var t=r.invoke(i,h,a,f);return t!==h&&(b(t)||T(t))&&(h=t,p&&s(a,p,h,f||i.name)),h},{instance:h,identifier:p})):(h=r.instantiate(i,a,f),p&&s(a,p,h,f||i.name),h)}}]}function qt(){this.$get=["$window",function(t){return En(t.document)}]}function Ft(){this.$get=["$log",function(t){return function(e,n){t.error.apply(t,arguments)}}]}function Bt(t){return b(t)?S(t)?t.toISOString():H(t):t}function Vt(){this.$get=function(){return function(t){if(!t)return"";var e=[];return s(t,function(t,n){null===t||y(t)||(Hn(t)?o(t,function(t,i){e.push(U(n)+"="+U(Bt(t)))}):e.push(U(n)+"="+U(Bt(t))))}),e.join("&")}}}function Wt(){this.$get=function(){return function(t){if(!t)return"";var e=[];return function t(n,i,r){null===n||y(n)||(Hn(n)?o(n,function(e,n){t(e,i+"["+(b(e)?n:"")+"]")}):b(n)&&!S(n)?s(n,function(e,n){t(e,i+(r?"":"[")+n+(r?"":"]"))}):e.push(U(i)+"="+U(Bt(n))))}(t,"",!0),e.join("&")}}}function Xt(t,e){if(w(t)){var n=t.replace(Oi,"").trim();if(n){var i=e("Content-Type");(i=i&&0===i.indexOf(Ai))||(i=(i=n.match(_i))&&Pi[i[0]].test(n)),i&&(t=z(n))}}return t}function Yt(t){var e,n=ot();return w(t)?o(t.split("\n"),function(t){e=t.indexOf(":");var i=kn(qn(t.substr(0,e)));t=qn(t.substr(e+1)),i&&(n[i]=n[i]?n[i]+", "+t:t)}):b(t)&&o(t,function(t,e){var i=kn(e),r=qn(t);i&&(n[i]=n[i]?n[i]+", "+r:r)}),n}function Ut(t){var e;return function(n){return e||(e=Yt(t)),n?(void 0===(n=e[kn(n)])&&(n=null),n):e}}function Gt(t,e,n,i){return T(i)?i(t,e,n):(o(i,function(i){t=i(t,e,n)}),t)}function Jt(){var t=this.defaults={transformResponse:[Xt],transformRequest:[function(t){return b(t)&&"[object File]"!==Mn.call(t)&&"[object Blob]"!==Mn.call(t)&&"[object FormData]"!==Mn.call(t)?H(t):t}],headers:{common:{Accept:"application/json, text/plain, */*"},post:D(Ni),put:D(Ni),patch:D(Ni)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer"},e=!1;this.useApplyAsync=function(t){return $(t)?(e=!!t,this):e};var r=!0;this.useLegacyPromiseExtensions=function(t){return $(t)?(r=!!t,this):r};var s=this.interceptors=[];this.$get=["$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector",function(a,u,l,h,f,p){function d(e){function s(t){var e=c({},t);return e.data=t.data?Gt(t.data,t.headers,t.status,a.transformResponse):t.data,200<=(t=t.status)&&300>t?e:f.reject(e)}if(!jn.isObject(e))throw i("$http")("badreq",e);var a=c({method:"get",transformRequest:t.transformRequest,transformResponse:t.transformResponse,paramSerializer:t.paramSerializer},e);a.headers=function(e){var n,i,r,s=t.headers,a=c({},e.headers);s=c({},s.common,s[kn(e.method)]);t:for(n in s){for(r in i=kn(n),a)if(kn(r)===i)continue t;a[n]=s[n]}return function(t,e){var n,i={};return o(t,function(t,r){T(t)?null!=(n=t(e))&&(i[r]=n):i[r]=t}),i}(a,D(e))}(e),a.method=Nn(a.method),a.paramSerializer=w(a.paramSerializer)?p.get(a.paramSerializer):a.paramSerializer;var u=[function(e){var i=e.headers,r=Gt(e.data,Ut(i),n,e.transformRequest);return y(r)&&o(i,function(t,e){"content-type"===kn(e)&&delete i[e]}),y(e.withCredentials)&&!y(t.withCredentials)&&(e.withCredentials=t.withCredentials),m(e,r).then(s,s)},n],l=f.when(a);for(o(v,function(t){(t.request||t.requestError)&&u.unshift(t.request,t.requestError),(t.response||t.responseError)&&u.push(t.response,t.responseError)});u.length;){e=u.shift();var h=u.shift();l=l.then(e,h)}return r?(l.success=function(t){return et(t,"fn"),l.then(function(e){t(e.data,e.status,e.headers,a)}),l},l.error=function(t){return et(t,"fn"),l.then(null,function(e){t(e.data,e.status,e.headers,a)}),l}):(l.success=Di("success"),l.error=Di("error")),l}function m(i,r){function o(t,e,n,r){(200<=(e=Math.max(e,0))&&300>e?m.resolve:m.reject)({data:t,status:e,headers:Ut(n),config:i,statusText:r})}function s(t){o(t.data,t.status,D(t.headers()),t.statusText)}function l(){var t=d.pendingRequests.indexOf(i);-1!==t&&d.pendingRequests.splice(t,1)}var c,p,m=f.defer(),v=m.promise,x=i.headers,w=function(t,e){return 0<e.length&&(t+=(-1==t.indexOf("?")?"?":"&")+e),t}(i.url,i.paramSerializer(i.params));return d.pendingRequests.push(i),v.then(l,l),!i.cache&&!t.cache||!1===i.cache||"GET"!==i.method&&"JSONP"!==i.method||(c=b(i.cache)?i.cache:b(t.cache)?t.cache:g),c&&($(p=c.get(w))?p&&T(p.then)?p.then(s,s):Hn(p)?o(p[1],p[0],D(p[2]),p[3]):o(p,200,{},"OK"):c.put(w,v)),y(p)&&((p=Be(i.url)?u()[i.xsrfCookieName||t.xsrfCookieName]:n)&&(x[i.xsrfHeaderName||t.xsrfHeaderName]=p),a(i.method,w,r,function(t,n,i,r){function s(){o(n,t,i,r)}c&&(200<=t&&300>t?c.put(w,[t,n,Yt(i),r]):c.remove(w)),e?h.$applyAsync(s):(s(),h.$$phase||h.$apply())},x,i.timeout,i.withCredentials,i.responseType)),v}var g=l("$http");t.paramSerializer=w(t.paramSerializer)?p.get(t.paramSerializer):t.paramSerializer;var v=[];return o(s,function(t){v.unshift(w(t)?p.get(t):p.invoke(t))}),d.pendingRequests=[],function(t){o(arguments,function(t){d[t]=function(e,n){return d(c({},n||{},{method:t,url:e}))}})}("get","delete","head","jsonp"),function(t){o(arguments,function(t){d[t]=function(e,n,i){return d(c({},i||{},{method:t,url:e,data:n}))}})}("post","put","patch"),d.defaults=t,d}]}function Kt(){return new t.XMLHttpRequest}function Qt(){this.$get=["$browser","$window","$document",function(t,e,i){return function(t,e,i,r,s){function a(t,e,n){var i=s.createElement("script"),o=null;return i.type="text/javascript",i.src=t,i.async=!0,o=function(t){i.removeEventListener("load",o,!1),i.removeEventListener("error",o,!1),s.body.removeChild(i),i=null;var a=-1,u="unknown";t&&("load"!==t.type||r[e].called||(t={type:"error"}),u=t.type,a="error"===t.type?404:200),n&&n(a,u)},i.addEventListener("load",o,!1),i.addEventListener("error",o,!1),s.body.appendChild(i),o}return function(s,u,l,c,h,f,p,m){function g(){b&&b(),x&&x.abort()}function v(e,r,o,s,a){w!==n&&i.cancel(w),b=x=null,e(r,o,s,a),t.$$completeOutstandingRequest(d)}if(t.$$incOutstandingRequestCount(),u=u||t.url(),"jsonp"==kn(s)){var y="_"+(r.counter++).toString(36);r[y]=function(t){r[y].data=t,r[y].called=!0};var b=a(u.replace("JSON_CALLBACK","angular.callbacks."+y),y,function(t,e){v(c,t,r[y].data,"",e),r[y]=d})}else{var x=e();if(x.open(s,u,!0),o(h,function(t,e){$(t)&&x.setRequestHeader(e,t)}),x.onload=function(){var t=x.statusText||"",e="response"in x?x.response:x.responseText,n=1223===x.status?204:x.status;0===n&&(n=e?200:"file"==Fe(u).protocol?404:0),v(c,n,e,x.getAllResponseHeaders(),t)},s=function(){v(c,-1,null,null,"")},x.onerror=s,x.onabort=s,p&&(x.withCredentials=!0),m)try{x.responseType=m}catch(t){if("json"!==m)throw t}x.send(l)}if(0<f)var w=i(g,f);else f&&T(f.then)&&f.then(g)}}(t,Kt,t.defer,e.angular.callbacks,i[0])}]}function Zt(){var t="{{",e="}}";this.startSymbol=function(e){return e?(t=e,this):t},this.endSymbol=function(t){return t?(e=t,this):e},this.$get=["$parse","$exceptionHandler","$sce",function(n,i,r){function o(t){return"\\\\\\"+t}function s(n){return n.replace(h,t).replace(f,e)}function a(o,a,h,f){function p(t){try{var e,n=t;if(t=h?r.getTrusted(h,n):r.valueOf(n),f&&!$(t))e=t;else if(null==t)e="";else{switch(typeof t){case"string":break;case"number":t=""+t;break;default:t=H(t)}e=t}return e}catch(t){i(Li.interr(o,t))}}f=!!f;for(var d,m,g=0,v=[],b=[],x=o.length,w=[],E=[];g<x;){if(-1==(d=o.indexOf(t,g))||-1==(m=o.indexOf(e,d+u))){g!==x&&w.push(s(o.substring(g)));break}g!==d&&w.push(s(o.substring(g,d))),g=o.substring(d+u,m),v.push(g),b.push(n(g,p)),g=m+l,E.push(w.length),w.push("")}if(h&&1<w.length&&Li.throwNoconcat(o),!a||v.length){var S=function(t){for(var e=0,n=v.length;e<n;e++){if(f&&y(t[e]))return;w[E[e]]=t[e]}return w.join("")};return c(function(t){var e=0,n=v.length,r=Array(n);try{for(;e<n;e++)r[e]=b[e](t);return S(r)}catch(t){i(Li.interr(o,t))}},{exp:o,expressions:v,$$watchDelegate:function(t,e){var n;return t.$watchGroup(b,function(i,r){var o=S(i);T(e)&&e.call(this,o,i!==r?n:o,t),n=o})}})}}var u=t.length,l=e.length,h=new RegExp(t.replace(/./g,o),"g"),f=new RegExp(e.replace(/./g,o),"g");return a.startSymbol=function(){return t},a.endSymbol=function(){return e},a}]}function te(){this.$get=["$rootScope","$window","$q","$$q",function(t,e,n,i){function r(r,s,a,u){var l=4<arguments.length,c=l?_n.call(arguments,4):[],h=e.setInterval,f=e.clearInterval,p=0,d=$(u)&&!u,m=(d?i:n).defer(),g=m.promise;return a=$(a)?a:0,g.then(null,null,l?function(){r.apply(null,c)}:r),g.$$intervalId=h(function(){m.notify(p++),0<a&&p>=a&&(m.resolve(p),f(g.$$intervalId),delete o[g.$$intervalId]),d||t.$apply()},s),o[g.$$intervalId]=m,g}var o={};return r.cancel=function(t){return!!(t&&t.$$intervalId in o)&&(o[t.$$intervalId].reject("canceled"),e.clearInterval(t.$$intervalId),delete o[t.$$intervalId],!0)},r}]}function ee(t){for(var e=(t=t.split("/")).length;e--;)t[e]=Y(t[e]);return t.join("/")}function ne(t,e){var n=Fe(t);e.$$protocol=n.protocol,e.$$host=n.hostname,e.$$port=f(n.port)||Ii[n.protocol]||null}function ie(t,e){var n="/"!==t.charAt(0);n&&(t="/"+t);var i=Fe(t);e.$$path=decodeURIComponent(n&&"/"===i.pathname.charAt(0)?i.pathname.substring(1):i.pathname),e.$$search=W(i.search),e.$$hash=decodeURIComponent(i.hash),e.$$path&&"/"!=e.$$path.charAt(0)&&(e.$$path="/"+e.$$path)}function re(t,e){if(0===e.indexOf(t))return e.substr(t.length)}function oe(t){var e=t.indexOf("#");return-1==e?t:t.substr(0,e)}function se(t){return t.replace(/(#.+)|#$/,"$1")}function ae(t,e,i){this.$$html5=!0,i=i||"",ne(t,this),this.$$parse=function(t){var n=re(e,t);if(!w(n))throw Ri("ipthprfx",t,e);ie(n,this),this.$$path||(this.$$path="/"),this.$$compose()},this.$$compose=function(){var t=X(this.$$search),n=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=ee(this.$$path)+(t?"?"+t:"")+n,this.$$absUrl=e+this.$$url.substr(1)},this.$$parseLinkUrl=function(r,o){return o&&"#"===o[0]?(this.hash(o.slice(1)),!0):((s=re(t,r))!==n?(a=s,a=(s=re(i,s))!==n?e+(re("/",s)||s):t+a):(s=re(e,r))!==n?a=e+s:e==r+"/"&&(a=e),a&&this.$$parse(a),!!a);var s,a}}function ue(t,e,n){ne(t,this),this.$$parse=function(i){var r;y(o=re(t,i)||re(e,i))||"#"!==o.charAt(0)?this.$$html5?r=o:(r="",y(o)&&(t=i,this.replace())):y(r=re(n,o))&&(r=o),ie(r,this),i=this.$$path;var o=t,s=/^\/[A-Z]:(\/.*)/;0===r.indexOf(o)&&(r=r.replace(o,"")),s.exec(r)||(i=(r=s.exec(i))?r[1]:i),this.$$path=i,this.$$compose()},this.$$compose=function(){var e=X(this.$$search),i=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=ee(this.$$path)+(e?"?"+e:"")+i,this.$$absUrl=t+(this.$$url?n+this.$$url:"")},this.$$parseLinkUrl=function(e,n){return oe(t)==oe(e)&&(this.$$parse(e),!0)}}function le(t,e,n){this.$$html5=!0,ue.apply(this,arguments),this.$$parseLinkUrl=function(i,r){return r&&"#"===r[0]?(this.hash(r.slice(1)),!0):(t==oe(i)?o=i:(s=re(e,i))?o=t+n+s:e===i+"/"&&(o=e),o&&this.$$parse(o),!!o);var o,s},this.$$compose=function(){var e=X(this.$$search),i=this.$$hash?"#"+Y(this.$$hash):"";this.$$url=ee(this.$$path)+(e?"?"+e:"")+i,this.$$absUrl=t+n+this.$$url}}function ce(t){return function(){return this[t]}}function he(t,e){return function(n){return y(n)?this[t]:(this[t]=e(n),this.$$compose(),this)}}function fe(){var t="",e={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(e){return $(e)?(t=e,this):t},this.html5Mode=function(t){return N(t)?(e.enabled=t,this):b(t)?(N(t.enabled)&&(e.enabled=t.enabled),N(t.requireBase)&&(e.requireBase=t.requireBase),N(t.rewriteLinks)&&(e.rewriteLinks=t.rewriteLinks),this):e},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,i,r,o,s){function a(t,e,n){var r=l.url(),o=l.$$state;try{i.url(t,e,n),l.$$state=i.state()}catch(t){throw l.url(r),l.$$state=o,t}}function u(t,e){n.$broadcast("$locationChangeSuccess",l.absUrl(),t,l.$$state,e)}var l,c;c=i.baseHref();var h,f=i.url();if(e.enabled){if(!c&&e.requireBase)throw Ri("nobase");h=f.substring(0,f.indexOf("/",f.indexOf("//")+2))+(c||"/"),c=r.history?ae:le}else h=oe(f),c=ue;var p=h.substr(0,oe(h).lastIndexOf("/")+1);(l=new c(h,p,"#"+t)).$$parseLinkUrl(f,f),l.$$state=i.state();var d=/^\s*(javascript|mailto):/i;o.on("click",function(t){if(e.rewriteLinks&&!t.ctrlKey&&!t.metaKey&&!t.shiftKey&&2!=t.which&&2!=t.button){for(var r=En(t.target);"a"!==P(r[0]);)if(r[0]===o[0]||!(r=r.parent())[0])return;var a=r.prop("href"),u=r.attr("href")||r.attr("xlink:href");b(a)&&"[object SVGAnimatedString]"===a.toString()&&(a=Fe(a.animVal).href),d.test(a)||!a||r.attr("target")||t.isDefaultPrevented()||!l.$$parseLinkUrl(a,u)||(t.preventDefault(),l.absUrl()!=i.url()&&(n.$apply(),s.angular["ff-684208-preventDefault"]=!0))}}),se(l.absUrl())!=se(f)&&i.url(l.absUrl(),!0);var m=!0;return i.onUrlChange(function(t,e){y(re(p,t))?s.location.href=t:(n.$evalAsync(function(){var i,r=l.absUrl(),o=l.$$state;l.$$parse(t),l.$$state=e,i=n.$broadcast("$locationChangeStart",t,r,e,o).defaultPrevented,l.absUrl()===t&&(i?(l.$$parse(r),l.$$state=o,a(r,!1,o)):(m=!1,u(r,o)))}),n.$$phase||n.$digest())}),n.$watch(function(){var t=se(i.url()),e=se(l.absUrl()),o=i.state(),s=l.$$replace,c=t!==e||l.$$html5&&r.history&&o!==l.$$state;(m||c)&&(m=!1,n.$evalAsync(function(){var e=l.absUrl(),i=n.$broadcast("$locationChangeStart",e,t,l.$$state,o).defaultPrevented;l.absUrl()===e&&(i?(l.$$parse(t),l.$$state=o):(c&&a(e,s,o===l.$$state?null:l.$$state),u(t,o)))})),l.$$replace=!1}),l}]}function pe(){var t=!0,e=this;this.debugEnabled=function(e){return $(e)?(t=e,this):t},this.$get=["$window",function(n){function i(t){var e=n.console||{},i=e[t]||e.log||d;t=!1;try{t=!!i.apply}catch(t){}return t?function(){var t=[];return o(arguments,function(e){t.push(function(t){return t instanceof Error&&(t.stack?t=t.message&&-1===t.stack.indexOf(t.message)?"Error: "+t.message+"\n"+t.stack:t.stack:t.sourceURL&&(t=t.message+"\n"+t.sourceURL+":"+t.line)),t}(e))}),i.apply(e,t)}:function(t,e){i(t,null==e?"":e)}}return{log:i("log"),info:i("info"),warn:i("warn"),error:i("error"),debug:function(){var n=i("debug");return function(){t&&n.apply(e,arguments)}}()}}]}function de(t,e){if("__defineGetter__"===t||"__defineSetter__"===t||"__lookupGetter__"===t||"__lookupSetter__"===t||"__proto__"===t)throw zi("isecfld",e);return t}function me(t,e){if(t){if(t.constructor===t)throw zi("isecfn",e);if(t.window===t)throw zi("isecwindow",e);if(t.children&&(t.nodeName||t.prop&&t.attr&&t.find))throw zi("isecdom",e);if(t===Object)throw zi("isecobj",e)}return t}function ge(t,e){if(t){if(t.constructor===t)throw zi("isecfn",e);if(t===qi||t===Fi||t===Bi)throw zi("isecff",e)}}function ve(t,e){return void 0!==t?t:e}function ye(t,e){return void 0===t?e:void 0===e?t:t+e}function $e(t,e){var n,i;switch(t.type){case Yi.Program:n=!0,o(t.body,function(t){$e(t.expression,e),n=n&&t.expression.constant}),t.constant=n;break;case Yi.Literal:t.constant=!0,t.toWatch=[];break;case Yi.UnaryExpression:$e(t.argument,e),t.constant=t.argument.constant,t.toWatch=t.argument.toWatch;break;case Yi.BinaryExpression:$e(t.left,e),$e(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.left.toWatch.concat(t.right.toWatch);break;case Yi.LogicalExpression:$e(t.left,e),$e(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=t.constant?[]:[t];break;case Yi.ConditionalExpression:$e(t.test,e),$e(t.alternate,e),$e(t.consequent,e),t.constant=t.test.constant&&t.alternate.constant&&t.consequent.constant,t.toWatch=t.constant?[]:[t];break;case Yi.Identifier:t.constant=!1,t.toWatch=[t];break;case Yi.MemberExpression:$e(t.object,e),t.computed&&$e(t.property,e),t.constant=t.object.constant&&(!t.computed||t.property.constant),t.toWatch=[t];break;case Yi.CallExpression:n=!!t.filter&&!e(t.callee.name).$stateful,i=[],o(t.arguments,function(t){$e(t,e),n=n&&t.constant,t.constant||i.push.apply(i,t.toWatch)}),t.constant=n,t.toWatch=t.filter&&!e(t.callee.name).$stateful?i:[t];break;case Yi.AssignmentExpression:$e(t.left,e),$e(t.right,e),t.constant=t.left.constant&&t.right.constant,t.toWatch=[t];break;case Yi.ArrayExpression:n=!0,i=[],o(t.elements,function(t){$e(t,e),n=n&&t.constant,t.constant||i.push.apply(i,t.toWatch)}),t.constant=n,t.toWatch=i;break;case Yi.ObjectExpression:n=!0,i=[],o(t.properties,function(t){$e(t.value,e),n=n&&t.value.constant,t.value.constant||i.push.apply(i,t.value.toWatch)}),t.constant=n,t.toWatch=i;break;case Yi.ThisExpression:t.constant=!1,t.toWatch=[]}}function be(t){if(1==t.length){var e=(t=t[0].expression).toWatch;return 1!==e.length?e:e[0]!==t?e:n}}function xe(t){return t.type===Yi.Identifier||t.type===Yi.MemberExpression}function we(t){if(1===t.body.length&&xe(t.body[0].expression))return{type:Yi.AssignmentExpression,left:t.body[0].expression,right:{type:Yi.NGValueParameter},operator:"="}}function Ee(t){return 0===t.body.length||1===t.body.length&&(t.body[0].expression.type===Yi.Literal||t.body[0].expression.type===Yi.ArrayExpression||t.body[0].expression.type===Yi.ObjectExpression)}function Se(t,e){this.astBuilder=t,this.$filter=e}function Te(t,e){this.astBuilder=t,this.$filter=e}function Ce(t){return"constructor"==t}function ke(t){return T(t.valueOf)?t.valueOf():Gi.call(t)}function Ae(){var t=ot(),e=ot();this.$get=["$filter",function(i){function r(t,e){return null==t||null==e?t===e:("object"!=typeof t||"object"!=typeof(t=ke(t)))&&(t===e||t!=t&&e!=e)}function s(t,e,i,o,s){var a;if(1===(l=o.inputs).length){var u=r,l=l[0];return t.$watch(function(t){var e=l(t);return r(e,u)||(a=o(t,n,n,[e]),u=e&&ke(e)),a},e,i,s)}for(var c=[],h=[],f=0,p=l.length;f<p;f++)c[f]=r,h[f]=null;return t.$watch(function(t){for(var e=!1,i=0,s=l.length;i<s;i++){var u=l[i](t);(e||(e=!r(u,c[i])))&&(h[i]=u,c[i]=u&&ke(u))}return e&&(a=o(t,n,n,h)),a},e,i,s)}function a(t,e,n,i){var r,o;return r=t.$watch(function(t){return i(t)},function(t,n,i){o=t,T(e)&&e.apply(this,arguments),$(t)&&i.$$postDigest(function(){$(o)&&r()})},n)}function u(t,e,n,i){function r(t){var e=!0;return o(t,function(t){$(t)||(e=!1)}),e}var s,a;return s=t.$watch(function(t){return i(t)},function(t,n,i){a=t,T(e)&&e.call(this,t,n,i),r(t)&&i.$$postDigest(function(){r(a)&&s()})},n)}function l(t,e,n,i){var r;return r=t.$watch(function(t){return i(t)},function(t,n,i){T(e)&&e.apply(this,arguments),r()},n)}function c(t,e){if(!e)return t;var n=(n=t.$$watchDelegate)!==u&&n!==a?function(n,i,r,o){return r=t(n,i,r,o),e(r,n,i)}:function(n,i,r,o){return r=t(n,i,r,o),n=e(r,n,i),$(r)?n:r};return t.$$watchDelegate&&t.$$watchDelegate!==s?n.$$watchDelegate=t.$$watchDelegate:e.$stateful||(n.$$watchDelegate=s,n.inputs=t.inputs?t.inputs:[t]),n}var h=Bn().noUnsafeEval,f={csp:h,expensiveChecks:!1},p={csp:h,expensiveChecks:!0};return function(n,r,o){var h,m,g;switch(typeof n){case"string":g=n=n.trim();var v=o?e:t;return(h=v[g])||(":"===n.charAt(0)&&":"===n.charAt(1)&&(m=!0,n=n.substring(2)),h=new Xi(o=o?p:f),(h=new Ui(h,i,o).parse(n)).constant?h.$$watchDelegate=l:m?h.$$watchDelegate=h.literal?u:a:h.inputs&&(h.$$watchDelegate=s),v[g]=h),c(h,r);case"function":return c(n,r);default:return d}}}]}function Ne(){this.$get=["$rootScope","$exceptionHandler",function(t,e){return Pe(function(e){t.$evalAsync(e)},e)}]}function _e(){this.$get=["$browser","$exceptionHandler",function(t,e){return Pe(function(e){t.defer(e)},e)}]}function Pe(t,e){function r(){this.$$state={status:0}}function s(t,e){return function(n){e.call(t,n)}}function a(i){!i.processScheduled&&i.pending&&(i.processScheduled=!0,t(function(){var t,r,o;o=i.pending,i.processScheduled=!1,i.pending=n;for(var s=0,a=o.length;s<a;++s){r=o[s][0],t=o[s][i.status];try{T(t)?r.resolve(t(i.value)):1===i.status?r.resolve(i.value):r.reject(i.value)}catch(t){r.reject(t),e(t)}}}))}function u(){this.promise=new r,this.resolve=s(this,this.resolve),this.reject=s(this,this.reject),this.notify=s(this,this.notify)}var l=i("$q",TypeError);c(r.prototype,{then:function(t,e,n){if(y(t)&&y(e)&&y(n))return this;var i=new u;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([i,t,e,n]),0<this.$$state.status&&a(this.$$state),i.promise},catch:function(t){return this.then(null,t)},finally:function(t,e){return this.then(function(e){return f(e,!0,t)},function(e){return f(e,!1,t)},e)}}),c(u.prototype,{resolve:function(t){this.promise.$$state.status||(t===this.promise?this.$$reject(l("qcycle",t)):this.$$resolve(t))},$$resolve:function(t){var n,i;i=function(t,e,n){function i(e){return function(n){r||(r=!0,e.call(t,n))}}var r=!1;return[i(e),i(n)]}(this,this.$$resolve,this.$$reject);try{(b(t)||T(t))&&(n=t&&t.then),T(n)?(this.promise.$$state.status=-1,n.call(t,i[0],i[1],this.notify)):(this.promise.$$state.value=t,this.promise.$$state.status=1,a(this.promise.$$state))}catch(t){i[1](t),e(t)}},reject:function(t){this.promise.$$state.status||this.$$reject(t)},$$reject:function(t){this.promise.$$state.value=t,this.promise.$$state.status=2,a(this.promise.$$state)},notify:function(n){var i=this.promise.$$state.pending;0>=this.promise.$$state.status&&i&&i.length&&t(function(){for(var t,r,o=0,s=i.length;o<s;o++){r=i[o][0],t=i[o][3];try{r.notify(T(t)?t(n):n)}catch(t){e(t)}}})}});var h=function(t,e){var n=new u;return e?n.resolve(t):n.reject(t),n.promise},f=function(t,e,n){var i=null;try{T(n)&&(i=n())}catch(t){return h(t,!1)}return i&&T(i.then)?i.then(function(){return h(t,e)},function(t){return h(t,!1)}):h(t,e)},p=function(t,e,n,i){var r=new u;return r.resolve(t),r.promise.then(e,n,i)},d=function t(e){if(!T(e))throw l("norslvr",e);if(!(this instanceof t))return new t(e);var n=new u;return e(function(t){n.resolve(t)},function(t){n.reject(t)}),n.promise};return d.defer=function(){return new u},d.reject=function(t){var e=new u;return e.reject(t),e.promise},d.when=p,d.resolve=p,d.all=function(t){var e=new u,n=0,i=Hn(t)?[]:{};return o(t,function(t,r){n++,p(t).then(function(t){i.hasOwnProperty(r)||(i[r]=t,--n||e.resolve(i))},function(t){i.hasOwnProperty(r)||e.reject(t)})}),0===n&&e.resolve(i),e.promise},d}function Oe(){this.$get=["$window","$timeout",function(t,e){var n=t.requestAnimationFrame||t.webkitRequestAnimationFrame,i=t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.webkitCancelRequestAnimationFrame,r=!!n,o=r?function(t){var e=n(t);return function(){i(e)}}:function(t){var n=e(t,16.66,!1);return function(){e.cancel(n)}};return o.supported=r,o}]}function Me(){var t=10,e=i("$rootScope"),n=null,s=null;this.digestTtl=function(e){return arguments.length&&(t=e),t},this.$get=["$injector","$exceptionHandler","$parse","$browser",function(i,a,u,l){function c(t){t.currentScope.$$destroyed=!0}function h(){this.$id=++In,this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function f(t){if($.$$phase)throw e("inprog",$.$$phase);$.$$phase=t}function p(t,e){do{t.$$watchersCount+=e}while(t=t.$parent)}function m(t,e,n){do{t.$$listenerCount[n]-=e,0===t.$$listenerCount[n]&&delete t.$$listenerCount[n]}while(t=t.$parent)}function g(){}function v(){for(;E.length;)try{E.shift()()}catch(t){a(t)}s=null}h.prototype={constructor:h,$new:function(t,e){var n;return e=e||this,t?(n=new h).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(t){function e(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=++In,this.$$ChildScope=null}return e.prototype=t,e}(this)),n=new this.$$ChildScope),n.$parent=e,n.$$prevSibling=e.$$childTail,e.$$childHead?(e.$$childTail.$$nextSibling=n,e.$$childTail=n):e.$$childHead=e.$$childTail=n,(t||e!=this)&&n.$on("$destroy",c),n},$watch:function(t,e,i,r){var o=u(t);if(o.$$watchDelegate)return o.$$watchDelegate(this,e,i,o,t);var s=this,a=s.$$watchers,l={fn:e,last:g,get:o,exp:r||t,eq:!!i};return n=null,T(e)||(l.fn=d),a||(a=s.$$watchers=[]),a.unshift(l),p(this,1),function(){0<=O(a,l)&&p(s,-1),n=null}},$watchGroup:function(t,e){function n(){u=!1,l?(l=!1,e(r,r,a)):e(r,i,a)}var i=Array(t.length),r=Array(t.length),s=[],a=this,u=!1,l=!0;if(!t.length){var c=!0;return a.$evalAsync(function(){c&&e(r,r,a)}),function(){c=!1}}return 1===t.length?this.$watch(t[0],function(t,n,o){r[0]=t,i[0]=n,e(r,t===n?r:i,o)}):(o(t,function(t,e){var o=a.$watch(t,function(t,o){r[e]=t,i[e]=o,u||(u=!0,a.$evalAsync(n))});s.push(o)}),function(){for(;s.length;)s.shift()()})},$watchCollection:function(t,e){function n(t){var e,n,s;if(!y(i=t)){if(b(i))if(r(i))for(o!==f&&(m=(o=f).length=0,c++),t=i.length,m!==t&&(c++,o.length=m=t),e=0;e<t;e++)s=o[e],n=i[e],s!=s&&n!=n||s===n||(c++,o[e]=n);else{for(e in o!==p&&(o=p={},m=0,c++),t=0,i)i.hasOwnProperty(e)&&(t++,n=i[e],s=o[e],e in o?s!=s&&n!=n||s===n||(c++,o[e]=n):(m++,o[e]=n,c++));if(m>t)for(e in c++,o)i.hasOwnProperty(e)||(m--,delete o[e])}else o!==i&&(o=i,c++);return c}}n.$stateful=!0;var i,o,s,a=this,l=1<e.length,c=0,h=u(t,n),f=[],p={},d=!0,m=0;return this.$watch(h,function(){if(d?(d=!1,e(i,i,a)):e(i,s,a),l)if(b(i))if(r(i)){s=Array(i.length);for(var t=0;t<i.length;t++)s[t]=i[t]}else for(t in s={},i)An.call(i,t)&&(s[t]=i[t]);else s=i})},$digest:function(){var i,r,o,u,c,h,p,d,m,y=t,b=[];f("$digest"),l.$$checkUrlChange(),this===$&&null!==s&&(l.defer.cancel(s),v()),n=null;do{for(h=!1,p=this;x.length;){try{(m=x.shift()).scope.$eval(m.expression,m.locals)}catch(t){a(t)}n=null}t:do{if(u=p.$$watchers)for(c=u.length;c--;)try{if(i=u[c])if((r=i.get(p))===(o=i.last)||(i.eq?L(r,o):"number"==typeof r&&"number"==typeof o&&isNaN(r)&&isNaN(o))){if(i===n){h=!1;break t}}else h=!0,n=i,i.last=i.eq?M(r,null):r,i.fn(r,o===g?r:o,p),5>y&&(b[d=4-y]||(b[d]=[]),b[d].push({msg:T(i.exp)?"fn: "+(i.exp.name||i.exp.toString()):i.exp,newVal:r,oldVal:o}))}catch(t){a(t)}if(!(u=p.$$watchersCount&&p.$$childHead||p!==this&&p.$$nextSibling))for(;p!==this&&!(u=p.$$nextSibling);)p=p.$parent}while(p=u);if((h||x.length)&&!y--)throw $.$$phase=null,e("infdig",t,b)}while(h||x.length);for($.$$phase=null;w.length;)try{w.shift()()}catch(t){a(t)}},$destroy:function(){if(!this.$$destroyed){var t=this.$parent;for(var e in this.$broadcast("$destroy"),this.$$destroyed=!0,this===$&&l.$$applicationDestroyed(),p(this,-this.$$watchersCount),this.$$listenerCount)m(this,this.$$listenerCount[e],e);t&&t.$$childHead==this&&(t.$$childHead=this.$$nextSibling),t&&t.$$childTail==this&&(t.$$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=d,this.$on=this.$watch=this.$watchGroup=function(){return d},this.$$listeners={},this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=this.$$watchers=null}},$eval:function(t,e){return u(t)(this,e)},$evalAsync:function(t,e){$.$$phase||x.length||l.defer(function(){x.length&&$.$digest()}),x.push({scope:this,expression:t,locals:e})},$$postDigest:function(t){w.push(t)},$apply:function(t){try{f("$apply");try{return this.$eval(t)}finally{$.$$phase=null}}catch(t){a(t)}finally{try{$.$digest()}catch(t){throw a(t),t}}},$applyAsync:function(t){var e=this;t&&E.push(function(){e.$eval(t)}),null===s&&(s=l.defer(function(){$.$apply(v)}))},$on:function(t,e){var n=this.$$listeners[t];n||(this.$$listeners[t]=n=[]),n.push(e);var i=this;do{i.$$listenerCount[t]||(i.$$listenerCount[t]=0),i.$$listenerCount[t]++}while(i=i.$parent);var r=this;return function(){var i=n.indexOf(e);-1!==i&&(n[i]=null,m(r,1,t))}},$emit:function(t,e){var n,i,r,o=[],s=this,u=!1,l={name:t,targetScope:s,stopPropagation:function(){u=!0},preventDefault:function(){l.defaultPrevented=!0},defaultPrevented:!1},c=j([l],arguments,1);do{for(n=s.$$listeners[t]||o,l.currentScope=s,i=0,r=n.length;i<r;i++)if(n[i])try{n[i].apply(null,c)}catch(t){a(t)}else n.splice(i,1),i--,r--;if(u)return l.currentScope=null,l;s=s.$parent}while(s);return l.currentScope=null,l},$broadcast:function(t,e){var n=this,i=this,r={name:t,targetScope:this,preventDefault:function(){r.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[t])return r;for(var o,s,u=j([r],arguments,1);n=i;){for(r.currentScope=n,o=0,s=(i=n.$$listeners[t]||[]).length;o<s;o++)if(i[o])try{i[o].apply(null,u)}catch(t){a(t)}else i.splice(o,1),o--,s--;if(!(i=n.$$listenerCount[t]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(i=n.$$nextSibling);)n=n.$parent}return r.currentScope=null,r}};var $=new h,x=$.$$asyncQueue=[],w=$.$$postDigestQueue=[],E=$.$$applyAsyncQueue=[];return $}]}function De(){var t=/^\s*(https?|ftp|mailto|tel|file):/,e=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationWhitelist=function(e){return $(e)?(t=e,this):t},this.imgSrcSanitizationWhitelist=function(t){return $(t)?(e=t,this):e},this.$get=function(){return function(n,i){var r,o=i?e:t;return""===(r=Fe(n).href)||r.match(o)?n:"unsafe:"+r}}}function Le(t){var e=[];return $(t)&&o(t,function(t){e.push(function(t){if("self"===t)return t;if(w(t)){if(-1<t.indexOf("***"))throw Ji("iwcard",t);return t=Fn(t).replace("\\*\\*",".*").replace("\\*","[^:/.?&;]*"),new RegExp("^"+t+"$")}if(C(t))return new RegExp("^"+t.source+"$");throw Ji("imatcher")}(t))}),e}function je(){this.SCE_CONTEXTS=Ki;var t=["self"],e=[];this.resourceUrlWhitelist=function(e){return arguments.length&&(t=Le(e)),t},this.resourceUrlBlacklist=function(t){return arguments.length&&(e=Le(t)),e},this.$get=["$injector",function(i){function r(t,e){return"self"===t?Be(e):!!t.exec(e.href)}function o(t){var e=function(t){this.$$unwrapTrustedValue=function(){return t}};return t&&(e.prototype=new t),e.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},e.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},e}var s=function(t){throw Ji("unsafe")};i.has("$sanitize")&&(s=i.get("$sanitize"));var a=o(),u={};return u[Ki.HTML]=o(a),u[Ki.CSS]=o(a),u[Ki.URL]=o(a),u[Ki.JS]=o(a),u[Ki.RESOURCE_URL]=o(u[Ki.URL]),{trustAs:function(t,e){var i=u.hasOwnProperty(t)?u[t]:null;if(!i)throw Ji("icontext",t,e);if(null===e||e===n||""===e)return e;if("string"!=typeof e)throw Ji("itype",t);return new i(e)},getTrusted:function(i,o){if(null===o||o===n||""===o)return o;if((c=u.hasOwnProperty(i)?u[i]:null)&&o instanceof c)return o.$$unwrapTrustedValue();if(i===Ki.RESOURCE_URL){var a,l,c=Fe(o.toString()),h=!1;for(a=0,l=t.length;a<l;a++)if(r(t[a],c)){h=!0;break}if(h)for(a=0,l=e.length;a<l;a++)if(r(e[a],c)){h=!1;break}if(h)return o;throw Ji("insecurl",o.toString())}if(i===Ki.HTML)return s(o);throw Ji("unsafe")},valueOf:function(t){return t instanceof a?t.$$unwrapTrustedValue():t}}}]}function Ie(){var t=!0;this.enabled=function(e){return arguments.length&&(t=!!e),t},this.$get=["$parse","$sceDelegate",function(e,n){if(t&&8>wn)throw Ji("iequirks");var i=D(Ki);i.isEnabled=function(){return t},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,t||(i.trustAs=i.getTrusted=function(t,e){return e},i.valueOf=m),i.parseAs=function(t,n){var r=e(n);return r.literal&&r.constant?r:e(n,function(e){return i.getTrusted(t,e)})};var r=i.parseAs,s=i.getTrusted,a=i.trustAs;return o(Ki,function(t,e){var n=kn(e);i[st("parse_as_"+n)]=function(e){return r(t,e)},i[st("get_trusted_"+n)]=function(e){return s(t,e)},i[st("trust_as_"+n)]=function(e){return a(t,e)}}),i}]}function Re(){this.$get=["$window","$document",function(t,e){var n,i={},r=f((/android (\d+)/.exec(kn((t.navigator||{}).userAgent))||[])[1]),o=/Boxee/i.test((t.navigator||{}).userAgent),s=e[0]||{},a=/^(Moz|webkit|ms)(?=[A-Z])/,u=s.body&&s.body.style,l=!1,c=!1;if(u){for(var h in u)if(l=a.exec(h)){n=(n=l[0]).substr(0,1).toUpperCase()+n.substr(1);break}n||(n="WebkitOpacity"in u&&"webkit"),l=!!("transition"in u||n+"Transition"in u),c=!!("animation"in u||n+"Animation"in u),!r||l&&c||(l=w(u.webkitTransition),c=w(u.webkitAnimation))}return{history:!(!t.history||!t.history.pushState||4>r||o),hasEvent:function(t){if("input"===t&&11>=wn)return!1;if(y(i[t])){var e=s.createElement("div");i[t]="on"+t in e}return i[t]},csp:Bn(),vendorPrefix:n,transitions:l,animations:c,android:r}}]}function He(){this.$get=["$templateCache","$http","$q","$sce",function(t,e,n,i){function r(o,s){r.totalPendingRequests++,w(o)&&t.get(o)||(o=i.getTrustedResourceUrl(o));var a=e.defaults&&e.defaults.transformResponse;return Hn(a)?a=a.filter(function(t){return t!==Xt}):a===Xt&&(a=null),e.get(o,{cache:t,transformResponse:a}).finally(function(){r.totalPendingRequests--}).then(function(e){return t.put(o,e.data),e.data},function(t){if(!s)throw Ei("tpload",o,t.status,t.statusText);return n.reject(t)})}return r.totalPendingRequests=0,r}]}function ze(){this.$get=["$rootScope","$browser","$location",function(t,e,n){return{findBindings:function(t,e,n){t=t.getElementsByClassName("ng-binding");var i=[];return o(t,function(t){var r=jn.element(t).data("$binding");r&&o(r,function(r){n?new RegExp("(^|\\s)"+Fn(e)+"(\\s|\\||$)").test(r)&&i.push(t):-1!=r.indexOf(e)&&i.push(t)})}),i},findModels:function(t,e,n){for(var i=["ng-","data-ng-","ng\\:"],r=0;r<i.length;++r){var o=t.querySelectorAll("["+i[r]+"model"+(n?"=":"*=")+'"'+e+'"]');if(o.length)return o}},getLocation:function(){return n.url()},setLocation:function(e){e!==n.url()&&(n.url(e),t.$digest())},whenStable:function(t){e.notifyWhenNoOutstandingRequests(t)}}}]}function qe(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(t,e,n,i,r){function o(o,a,u){T(o)||(u=a,a=o,o=d);var l,c=_n.call(arguments,3),h=$(u)&&!u,f=(h?i:n).defer(),p=f.promise;return l=e.defer(function(){try{f.resolve(o.apply(null,c))}catch(t){f.reject(t),r(t)}finally{delete s[p.$$timeoutId]}h||t.$apply()},a),p.$$timeoutId=l,s[l]=f,p}var s={};return o.cancel=function(t){return!!(t&&t.$$timeoutId in s)&&(s[t.$$timeoutId].reject("canceled"),delete s[t.$$timeoutId],e.defer.cancel(t.$$timeoutId))},o}]}function Fe(t){return wn&&(Qi.setAttribute("href",t),t=Qi.href),Qi.setAttribute("href",t),{href:Qi.href,protocol:Qi.protocol?Qi.protocol.replace(/:$/,""):"",host:Qi.host,search:Qi.search?Qi.search.replace(/^\?/,""):"",hash:Qi.hash?Qi.hash.replace(/^#/,""):"",hostname:Qi.hostname,port:Qi.port,pathname:"/"===Qi.pathname.charAt(0)?Qi.pathname:"/"+Qi.pathname}}function Be(t){return(t=w(t)?Fe(t):t).protocol===Zi.protocol&&t.host===Zi.host}function Ve(){this.$get=g(t)}function We(t){function e(t){try{return decodeURIComponent(t)}catch(e){return t}}var i=t[0]||{},r={},o="";return function(){var t,s,a,u,l;if((t=i.cookie||"")!==o)for(t=(o=t).split("; "),r={},a=0;a<t.length;a++)0<(u=(s=t[a]).indexOf("="))&&(l=e(s.substring(0,u)),r[l]===n&&(r[l]=e(s.substring(u+1))));return r}}function Xe(){this.$get=We}function Ye(t){function e(n,i){if(b(n)){var r={};return o(n,function(t,n){r[n]=e(n,t)}),r}return t.factory(n+"Filter",i)}this.register=e,this.$get=["$injector",function(t){return function(e){return t.get(e+"Filter")}}],e("currency",Ke),e("date",an),e("filter",Ue),e("json",un),e("limitTo",ln),e("lowercase",rr),e("number",Qe),e("orderBy",cn),e("uppercase",or)}function Ue(){return function(t,e,n){if(!r(t)){if(null==t)return t;throw i("filter")("notarray",t)}var o;switch(Je(e)){case"function":break;case"boolean":case"null":case"number":case"string":o=!0;case"object":e=function(t,e,n){var i=b(t)&&"$"in t;return!0===e?e=L:T(e)||(e=function(t,e){return!(y(t)||(null===t||null===e?t!==e:b(e)||b(t)&&!v(t)||(t=kn(""+t),e=kn(""+e),-1===t.indexOf(e))))}),function(r){return i&&!b(r)?Ge(r,t.$,e,!1):Ge(r,t,e,n)}}(e,n,o);break;default:return t}return Array.prototype.filter.call(t,e)}}function Ge(t,e,n,i,r){var o=Je(t),s=Je(e);if("string"===s&&"!"===e.charAt(0))return!Ge(t,e.substring(1),n,i);if(Hn(t))return t.some(function(t){return Ge(t,e,n,i)});switch(o){case"object":var a;if(i){for(a in t)if("$"!==a.charAt(0)&&Ge(t[a],e,n,!0))return!0;return!r&&Ge(t,e,n,!1)}if("object"===s){for(a in e)if(!T(r=e[a])&&!y(r)&&!Ge((o="$"===a)?t:t[a],r,n,o,o))return!1;return!0}return n(t,e);case"function":return!1;default:return n(t,e)}}function Je(t){return null===t?"null":typeof t}function Ke(t){var e=t.NUMBER_FORMATS;return function(t,n,i){return y(n)&&(n=e.CURRENCY_SYM),y(i)&&(i=e.PATTERNS[1].maxFrac),null==t?t:Ze(t,e.PATTERNS[1],e.GROUP_SEP,e.DECIMAL_SEP,i).replace(/\u00A4/g,n)}}function Qe(t){var e=t.NUMBER_FORMATS;return function(t,n){return null==t?t:Ze(t,e.PATTERNS[0],e.GROUP_SEP,e.DECIMAL_SEP,n)}}function Ze(t,e,n,i,r){if(b(t))return"";var o=0>t;if(!(c=1/0===(t=Math.abs(t)))&&!isFinite(t))return"";var s=t+"",a="",u=!1,l=[];(c&&(a="∞"),c||-1===s.indexOf("e"))||((h=s.match(/([\d\.]+)e(-?)(\d+)/))&&"-"==h[2]&&h[3]>r+1?t=0:(a=s,u=!0));if(c||u)0<r&&1>t&&(a=t.toFixed(r),t=parseFloat(a));else{c=(s.split(tr)[1]||"").length,y(r)&&(r=Math.min(Math.max(e.minFrac,c),e.maxFrac));s=(c=(""+(t=+(Math.round(+(t.toString()+"e"+r)).toString()+"e"+-r))).split(tr))[0];var c=c[1]||"",h=0,f=e.lgSize,p=e.gSize;if(s.length>=f+p)for(h=s.length-f,u=0;u<h;u++)0==(h-u)%p&&0!==u&&(a+=n),a+=s.charAt(u);for(u=h;u<s.length;u++)0==(s.length-u)%f&&0!==u&&(a+=n),a+=s.charAt(u);for(;c.length<r;)c+="0";r&&"0"!==r&&(a+=i+c.substr(0,r))}return 0===t&&(o=!1),l.push(o?e.negPre:e.posPre,a,o?e.negSuf:e.posSuf),l.join("")}function tn(t,e,n){var i="";for(0>t&&(i="-",t=-t),t=""+t;t.length<e;)t="0"+t;return n&&(t=t.substr(t.length-e)),i+t}function en(t,e,n,i){return n=n||0,function(r){return r=r["get"+t](),(0<n||r>-n)&&(r+=n),0===r&&-12==n&&(r=12),tn(r,e,i)}}function nn(t,e){return function(n,i){var r=n["get"+t]();return i[Nn(e?"SHORT"+t:t)][r]}}function rn(t){var e=new Date(t,0,1).getDay();return new Date(t,0,(4>=e?5:12)-e)}function on(t){return function(e){var n=rn(e.getFullYear());return e=+new Date(e.getFullYear(),e.getMonth(),e.getDate()+(4-e.getDay()))-+n,tn(e=1+Math.round(e/6048e5),t)}}function sn(t,e){return 0>=t.getFullYear()?e.ERAS[0]:e.ERAS[1]}function an(t){function e(t){var e;if(e=t.match(n)){t=new Date(0);var i=0,r=0,o=e[8]?t.setUTCFullYear:t.setFullYear,s=e[8]?t.setUTCHours:t.setHours;e[9]&&(i=f(e[9]+e[10]),r=f(e[9]+e[11])),o.call(t,f(e[1]),f(e[2])-1,f(e[3])),i=f(e[4]||0)-i,r=f(e[5]||0)-r,o=f(e[6]||0),e=Math.round(1e3*parseFloat("0."+(e[7]||0))),s.call(t,i,r,o,e)}return t}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,r){var s,a,u="",l=[];if(i=i||"mediumDate",i=t.DATETIME_FORMATS[i]||i,w(n)&&(n=ir.test(n)?f(n):e(n)),E(n)&&(n=new Date(n)),!S(n)||!isFinite(n.getTime()))return n;for(;i;)(a=nr.exec(i))?i=(l=j(l,a,1)).pop():(l.push(i),i=null);var c=n.getTimezoneOffset();return r&&(c=q(r,n.getTimezoneOffset()),n=F(n,r,!0)),o(l,function(e){s=er[e],u+=s?s(n,t.DATETIME_FORMATS,c):e.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}}function un(){return function(t,e){return y(e)&&(e=2),H(t,e)}}function ln(){return function(t,e,n){return e=1/0===Math.abs(Number(e))?Number(e):f(e),isNaN(e)?t:(E(t)&&(t=t.toString()),Hn(t)||w(t)?(n=0>(n=!n||isNaN(n)?0:f(n))&&n>=-t.length?t.length+n:n,0<=e?t.slice(n,n+e):0===n?t.slice(e,t.length):t.slice(Math.max(0,n+e),n)):t)}}function cn(t){function e(e,n){return n=n?-1:1,e.map(function(e){var i=1,r=m;if(T(e))r=e;else if(w(e)&&("+"!=e.charAt(0)&&"-"!=e.charAt(0)||(i="-"==e.charAt(0)?-1:1,e=e.substring(1)),""!==e&&(r=t(e)).constant)){var o=r();r=function(t){return t[o]}}return{get:r,descending:i*n}})}function n(t){switch(typeof t){case"number":case"boolean":case"string":return!0;default:return!1}}return function(t,i,o){if(!r(t))return t;Hn(i)||(i=[i]),0===i.length&&(i=["+"]);var s=e(i,o);return s.push({get:function(){return{}},descending:o?-1:1}),(t=Array.prototype.map.call(t,function(t,e){return{value:t,predicateValues:s.map(function(i){var r=i.get(t);return i=typeof r,null===r?(i="string",r="null"):"string"===i?r=r.toLowerCase():"object"===i&&("function"==typeof r.valueOf&&n(r=r.valueOf())||v(r)&&n(r=r.toString())||(r=e)),{value:r,type:i}})}})).sort(function(t,e){for(var n=0,i=0,r=s.length;i<r;++i){n=t.predicateValues[i];var o=e.predicateValues[i],a=0;if(n.type===o.type?n.value!==o.value&&(a=n.value<o.value?-1:1):a=n.type<o.type?-1:1,n=a*s[i].descending)break}return n}),t.map(function(t){return t.value})}}function hn(t){return T(t)&&(t={link:t}),t.restrict=t.restrict||"AC",g(t)}function fn(t,e,i,r,s){var a=this,u=[],l=a.$$parentForm=t.parent().controller("form")||ur;a.$error={},a.$$success={},a.$pending=n,a.$name=s(e.name||e.ngForm||"")(i),a.$dirty=!1,a.$pristine=!0,a.$valid=!0,a.$invalid=!1,a.$submitted=!1,l.$addControl(a),a.$rollbackViewValue=function(){o(u,function(t){t.$rollbackViewValue()})},a.$commitViewValue=function(){o(u,function(t){t.$commitViewValue()})},a.$addControl=function(t){nt(t.$name,"input"),u.push(t),t.$name&&(a[t.$name]=t)},a.$$renameControl=function(t,e){var n=t.$name;a[n]===t&&delete a[n],a[e]=t,t.$name=e},a.$removeControl=function(t){t.$name&&a[t.$name]===t&&delete a[t.$name],o(a.$pending,function(e,n){a.$setValidity(n,null,t)}),o(a.$error,function(e,n){a.$setValidity(n,null,t)}),o(a.$$success,function(e,n){a.$setValidity(n,null,t)}),O(u,t)},bn({ctrl:this,$element:t,set:function(t,e,n){var i=t[e];i?-1===i.indexOf(n)&&i.push(n):t[e]=[n]},unset:function(t,e,n){var i=t[e];i&&(O(i,n),0===i.length&&delete t[e])},parentForm:l,$animate:r}),a.$setDirty=function(){r.removeClass(t,Br),r.addClass(t,Vr),a.$dirty=!0,a.$pristine=!1,l.$setDirty()},a.$setPristine=function(){r.setClass(t,Br,Vr+" ng-submitted"),a.$dirty=!1,a.$pristine=!0,a.$submitted=!1,o(u,function(t){t.$setPristine()})},a.$setUntouched=function(){o(u,function(t){t.$setUntouched()})},a.$setSubmitted=function(){r.addClass(t,"ng-submitted"),a.$submitted=!0,l.$setSubmitted()}}function pn(t){t.$formatters.push(function(e){return t.$isEmpty(e)?e:e.toString()})}function dn(t,e,n,i,r,o){var s=kn(e[0].type);if(!r.android){var a=!1;e.on("compositionstart",function(t){a=!0}),e.on("compositionend",function(){a=!1,u()})}var u=function(t){if(l&&(o.defer.cancel(l),l=null),!a){var r=e.val();t=t&&t.type,"password"===s||n.ngTrim&&"false"===n.ngTrim||(r=qn(r)),(i.$viewValue!==r||""===r&&i.$$hasNativeValidators)&&i.$setViewValue(r,t)}};if(r.hasEvent("input"))e.on("input",u);else{var l,c=function(t,e,n){l||(l=o.defer(function(){l=null,e&&e.value===n||u(t)}))};e.on("keydown",function(t){var e=t.keyCode;91===e||15<e&&19>e||37<=e&&40>=e||c(t,this,this.value)}),r.hasEvent("paste")&&e.on("paste cut",c)}e.on("change",u),i.$render=function(){var t=i.$isEmpty(i.$viewValue)?"":i.$viewValue;e.val()!==t&&e.val(t)}}function mn(t,e){return function(n,i){var r,s;if(S(n))return n;if(w(n)){if('"'==n.charAt(0)&&'"'==n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),fr.test(n))return new Date(n);if(t.lastIndex=0,r=t.exec(n))return r.shift(),s=i?{yyyy:i.getFullYear(),MM:i.getMonth()+1,dd:i.getDate(),HH:i.getHours(),mm:i.getMinutes(),ss:i.getSeconds(),sss:i.getMilliseconds()/1e3}:{yyyy:1970,MM:1,dd:1,HH:0,mm:0,ss:0,sss:0},o(r,function(t,n){n<e.length&&(s[e[n]]=+t)}),new Date(s.yyyy,s.MM-1,s.dd,s.HH,s.mm,s.ss||0,1e3*s.sss||0)}return NaN}}function gn(t,e,i,r){return function(o,s,a,u,l,c,h){function f(t){return t&&!(t.getTime&&t.getTime()!=t.getTime())}function p(t){return $(t)?S(t)?t:i(t):n}vn(o,s,a,u),dn(0,s,a,u,l,c);var d,m,g,v=u&&u.$options&&u.$options.timezone;(u.$$parserName=t,u.$parsers.push(function(t){return u.$isEmpty(t)?null:e.test(t)?(t=i(t,d),v&&(t=F(t,v)),t):n}),u.$formatters.push(function(t){if(t&&!S(t))throw Xr("datefmt",t);return f(t)?((d=t)&&v&&(d=F(d,v,!0)),h("date")(t,r,v)):(d=null,"")}),$(a.min)||a.ngMin)&&(u.$validators.min=function(t){return!f(t)||y(m)||i(t)>=m},a.$observe("min",function(t){m=p(t),u.$validate()}));($(a.max)||a.ngMax)&&(u.$validators.max=function(t){return!f(t)||y(g)||i(t)<=g},a.$observe("max",function(t){g=p(t),u.$validate()}))}}function vn(t,e,i,r){(r.$$hasNativeValidators=b(e[0].validity))&&r.$parsers.push(function(t){var i=e.prop("validity")||{};return i.badInput&&!i.typeMismatch?n:t})}function yn(t,e,n,i,r){if($(i)){if(!(t=t(i)).constant)throw Xr("constexpr",n,i);return t(e)}return r}function $n(t,e){return t="ngClass"+t,["$animate",function(n){function i(t,e){var n=[],i=0;t:for(;i<t.length;i++){for(var r=t[i],o=0;o<e.length;o++)if(r==e[o])continue t;n.push(r)}return n}function r(t){var e=[];return Hn(t)?(o(t,function(t){e=e.concat(r(t))}),e):w(t)?t.split(" "):b(t)?(o(t,function(t,n){t&&(e=e.concat(n.split(" ")))}),e):t}return{restrict:"AC",link:function(s,a,u){function l(t,e){var n=a.data("$classCounts")||ot(),i=[];return o(t,function(t){(0<e||n[t])&&(n[t]=(n[t]||0)+e,n[t]===+(0<e)&&i.push(t))}),a.data("$classCounts",n),i.join(" ")}function c(t){if(!0===e||s.$index%2===e){var o=r(t||[]);if(h){if(!L(t,h)){var c=r(h);f=i(o,c),o=i(c,o),f=l(f,1),o=l(o,-1);f&&f.length&&n.addClass(a,f),o&&o.length&&n.removeClass(a,o)}}else{var f=l(o,1);u.$addClass(f)}}h=D(t)}var h;s.$watch(u[t],c,!0),u.$observe("class",function(e){c(s.$eval(u[t]))}),"ngClass"!==t&&s.$watch("$index",function(n,i){var o=1&n;if(o!==(1&i)){var a=r(s.$eval(u[t]));o===e?(o=l(a,1),u.$addClass(o)):(o=l(a,-1),u.$removeClass(o))}})}}}]}function bn(t){function e(t,e){e&&!s[t]?(c.addClass(o,t),s[t]=!0):!e&&s[t]&&(c.removeClass(o,t),s[t]=!1)}function i(t,n){t=t?"-"+Z(t,"-"):"",e(qr+t,!0===n),e(Fr+t,!1===n)}var r=t.ctrl,o=t.$element,s={},a=t.set,u=t.unset,l=t.parentForm,c=t.$animate;s[Fr]=!(s[qr]=o.hasClass(qr)),r.$setValidity=function(t,o,s){o===n?(r.$pending||(r.$pending={}),a(r.$pending,t,s)):(r.$pending&&u(r.$pending,t,s),xn(r.$pending)&&(r.$pending=n)),N(o)?o?(u(r.$error,t,s),a(r.$$success,t,s)):(a(r.$error,t,s),u(r.$$success,t,s)):(u(r.$error,t,s),u(r.$$success,t,s)),r.$pending?(e(Wr,!0),r.$valid=r.$invalid=n,i("",null)):(e(Wr,!1),r.$valid=xn(r.$error),r.$invalid=!r.$valid,i("",r.$valid)),i(t,o=r.$pending&&r.$pending[t]?n:!r.$error[t]&&(!!r.$$success[t]||null)),l.$setValidity(t,o,r)}}function xn(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!1;return!0}var wn,En,Sn,Tn,Cn=/^\/(.+)\/([a-z]*)$/,kn=function(t){return w(t)?t.toLowerCase():t},An=Object.prototype.hasOwnProperty,Nn=function(t){return w(t)?t.toUpperCase():t},_n=[].slice,Pn=[].splice,On=[].push,Mn=Object.prototype.toString,Dn=Object.getPrototypeOf,Ln=i("ng"),jn=t.angular||(t.angular={}),In=0;wn=e.documentMode,d.$inject=[],m.$inject=[];var Rn,Hn=Array.isArray,zn=/^\[object (Uint8(Clamped)?)|(Uint16)|(Uint32)|(Int8)|(Int16)|(Int32)|(Float(32)|(64))Array\]$/,qn=function(t){return w(t)?t.trim():t},Fn=function(t){return t.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},Bn=function(){if(!$(Bn.rules)){var t=e.querySelector("[ng-csp]")||e.querySelector("[data-ng-csp]");if(t){var n=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");Bn.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else{t=Bn;try{new Function(""),n=!1}catch(t){n=!0}t.rules={noUnsafeEval:n,noInlineStyle:!1}}}return Bn.rules},Vn=function(){if($(Vn.name_))return Vn.name_;var t,n,i,r,o=Wn.length;for(n=0;n<o;++n)if(i=Wn[n],t=e.querySelector("["+i.replace(":","\\:")+"jq]")){r=t.getAttribute(i+"jq");break}return Vn.name_=r},Wn=["ng-","data-ng-","ng:","x-ng-"],Xn=/[A-Z]/g,Yn=!1,Un=1,Gn=3,Jn={full:"1.4.5",major:1,minor:4,dot:5,codeName:"permanent-internship"};lt.expando="ng339";var Kn=lt.cache={},Qn=1;lt._data=function(t){return this.cache[t[this.expando]]||{}};var Zn=/([\:\-\_]+(.))/g,ti=/^moz([A-Z])/,ei={mouseleave:"mouseout",mouseenter:"mouseover"},ni=i("jqLite"),ii=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,ri=/<|&#?\w+;/,oi=/<([\w:]+)/,si=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ai={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,"",""]};ai.optgroup=ai.option,ai.tbody=ai.tfoot=ai.colgroup=ai.caption=ai.thead,ai.th=ai.td;var ui=lt.prototype={ready:function(n){function i(){r||(r=!0,n())}var r=!1;"complete"===e.readyState?setTimeout(i):(this.on("DOMContentLoaded",i),lt(t).on("load",i))},toString:function(){var t=[];return o(this,function(e){t.push(""+e)}),"["+t.join(", ")+"]"},eq:function(t){return En(0<=t?this[t]:this[this.length+t])},length:0,push:On,sort:[].sort,splice:[].splice},li={};o("multiple selected checked disabled readOnly required open".split(" "),function(t){li[kn(t)]=t});var ci={};o("input select option textarea button form details".split(" "),function(t){ci[t]=!0});var hi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern"};o({data:mt,removeData:pt,hasData:function(t){for(var e in Kn[t.ng339])return!0;return!1}},function(t,e){lt[e]=t}),o({data:mt,inheritedData:xt,scope:function(t){return En.data(t,"$scope")||xt(t.parentNode||t,["$isolateScope","$scope"])},isolateScope:function(t){return En.data(t,"$isolateScope")||En.data(t,"$isolateScopeNoTemplate")},controller:bt,injector:function(t){return xt(t,"$injector")},removeAttr:function(t,e){t.removeAttribute(e)},hasClass:gt,css:function(t,e,n){if(e=st(e),!$(n))return t.style[e];t.style[e]=n},attr:function(t,e,i){var r=t.nodeType;if(r!==Gn&&2!==r&&8!==r)if(r=kn(e),li[r]){if(!$(i))return t[e]||(t.attributes.getNamedItem(e)||d).specified?r:n;i?(t[e]=!0,t.setAttribute(e,r)):(t[e]=!1,t.removeAttribute(r))}else if($(i))t.setAttribute(e,i);else if(t.getAttribute)return null===(t=t.getAttribute(e,2))?n:t},prop:function(t,e,n){if(!$(n))return t[e];t[e]=n},text:function(){function t(t,e){if(y(e)){var n=t.nodeType;return n===Un||n===Gn?t.textContent:""}t.textContent=e}return t.$dv="",t}(),val:function(t,e){if(y(e)){if(t.multiple&&"select"===P(t)){var n=[];return o(t.options,function(t){t.selected&&n.push(t.value||t.text)}),0===n.length?null:n}return t.value}t.value=e},html:function(t,e){if(y(e))return t.innerHTML;ht(t,!0),t.innerHTML=e},empty:wt},function(t,e){lt.prototype[e]=function(e,i){var r,o,s=this.length;if(t!==wt&&(2==t.length&&t!==gt&&t!==bt?e:i)===n){if(b(e)){for(r=0;r<s;r++)if(t===mt)t(this[r],e);else for(o in e)t(this[r],o,e[o]);return this}for(s=(r=t.$dv)===n?Math.min(s,1):s,o=0;o<s;o++){var a=t(this[o],e,i);r=r?r+a:a}return r}for(r=0;r<s;r++)t(this[r],e,i);return this}}),o({removeData:pt,on:function t(e,n,i,r){if($(r))throw ni("onargs");if(at(e)){r=(s=dt(e,!0)).events;var o=s.handle;o||(o=s.handle=function(t,e){var n=function(n,i){n.isDefaultPrevented=function(){return n.defaultPrevented};var r=e[i||n.type],o=r?r.length:0;if(o){if(y(n.immediatePropagationStopped)){var s=n.stopImmediatePropagation;n.stopImmediatePropagation=function(){n.immediatePropagationStopped=!0,n.stopPropagation&&n.stopPropagation(),s&&s.call(n)}}n.isImmediatePropagationStopped=function(){return!0===n.immediatePropagationStopped},1<o&&(r=D(r));for(var a=0;a<o;a++)n.isImmediatePropagationStopped()||r[a].call(t,n)}};return n.elem=t,n}(e,r));for(var s,a=(s=0<=n.indexOf(" ")?n.split(" "):[n]).length;a--;){var u=r[n=s[a]];u||(r[n]=[],"mouseenter"===n||"mouseleave"===n?t(e,ei[n],function(t){var e=t.relatedTarget;e&&(e===this||this.contains(e))||o(t,n)}):"$destroy"!==n&&e.addEventListener(n,o,!1),u=r[n]),u.push(i)}}},off:ft,one:function(t,e,n){(t=En(t)).on(e,function i(){t.off(e,n),t.off(e,i)}),t.on(e,n)},replaceWith:function(t,e){var n,i=t.parentNode;ht(t),o(new lt(e),function(e){n?i.insertBefore(e,n.nextSibling):i.replaceChild(e,t),n=e})},children:function(t){var e=[];return o(t.childNodes,function(t){t.nodeType===Un&&e.push(t)}),e},contents:function(t){return t.contentDocument||t.childNodes||[]},append:function(t,e){if((n=t.nodeType)===Un||11===n)for(var n=0,i=(e=new lt(e)).length;n<i;n++)t.appendChild(e[n])},prepend:function(t,e){if(t.nodeType===Un){var n=t.firstChild;o(new lt(e),function(e){t.insertBefore(e,n)})}},wrap:function(t,e){e=En(e).eq(0).clone()[0];var n=t.parentNode;n&&n.replaceChild(e,t),e.appendChild(t)},remove:Et,detach:function(t){Et(t,!0)},after:function(t,e){for(var n=t,i=t.parentNode,r=0,o=(e=new lt(e)).length;r<o;r++){var s=e[r];i.insertBefore(s,n.nextSibling),n=s}},addClass:yt,removeClass:vt,toggleClass:function(t,e,n){e&&o(e.split(" "),function(e){var i=n;y(i)&&(i=!gt(t,e)),(i?yt:vt)(t,e)})},parent:function(t){return(t=t.parentNode)&&11!==t.nodeType?t:null},next:function(t){return t.nextElementSibling},find:function(t,e){return t.getElementsByTagName?t.getElementsByTagName(e):[]},clone:ct,triggerHandler:function(t,e,n){var i,r,s=e.type||e,a=dt(t);(a=(a=a&&a.events)&&a[s])&&(i={preventDefault:function(){this.defaultPrevented=!0},isDefaultPrevented:function(){return!0===this.defaultPrevented},stopImmediatePropagation:function(){this.immediatePropagationStopped=!0},isImmediatePropagationStopped:function(){return!0===this.immediatePropagationStopped},stopPropagation:d,type:s,target:t},e.type&&(i=c(i,e)),e=D(a),r=n?[i].concat(n):[i],o(e,function(e){i.isImmediatePropagationStopped()||e.apply(t,r)}))}},function(t,e){lt.prototype[e]=function(e,n,i){for(var r,o=0,s=this.length;o<s;o++)y(r)?$(r=t(this[o],e,n,i))&&(r=En(r)):$t(r,t(this[o],e,n,i));return $(r)?r:this},lt.prototype.bind=lt.prototype.on,lt.prototype.unbind=lt.prototype.off}),kt.prototype={put:function(t,e){this[Ct(t,this.nextUid)]=e},get:function(t){return this[Ct(t,this.nextUid)]},remove:function(t){var e=this[t=Ct(t,this.nextUid)];return delete this[t],e}};var fi=[function(){this.$get=[function(){return kt}]}],pi=/^[^\(]*\(\s*([^\)]*)\)/m,di=/,/,mi=/^\s*(_?)(\S+?)\1\s*$/,gi=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,vi=i("$injector");At.$$annotate=function(t,e,n){var i,r;if("function"==typeof t){if(!(i=t.$inject)){if(i=[],t.length){if(e)throw w(n)&&n||(n=t.name||((r=(r=t).toString().replace(gi,"").match(pi))?"function("+(r[1]||"").replace(/[\s\r\n]+/," ")+")":"fn")),vi("strictdi",n);o((e=(e=t.toString().replace(gi,"")).match(pi))[1].split(di),function(t){t.replace(mi,function(t,e,n){i.push(n)})})}t.$inject=i}}else Hn(t)?(et(t[e=t.length-1],"fn"),i=t.slice(0,e)):et(t,"fn",!0);return i};var yi=i("$animate"),$i=function(){this.$get=["$q","$$rAF",function(t,e){function n(){}return n.all=d,n.chain=d,n.prototype={end:d,cancel:d,resume:d,pause:d,complete:d,then:function(n,i){return t(function(t){e(function(){t()})}).then(n,i)}},n}]},bi=function(){var t=new kt,e=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function r(n,r,s){var a=t.get(n);a||(t.put(n,a={}),e.push(n)),r=(n=function(t,e){var n=!1;return t&&o(t=w(t)?t.split(" "):Hn(t)?t:[],function(t){t&&(n=!0,a[t]=e)}),n})(r,!0),s=n(s,!1),!r&&!s||1<e.length||i.$$postDigest(function(){o(e,function(e){var n=t.get(e);if(n){var i=function(t){w(t)&&(t=t.split(" "));var e=ot();return o(t,function(t){t.length&&(e[t]=!0)}),e}(e.attr("class")),r="",s="";o(n,function(t,e){t!==!!i[e]&&(t?r+=(r.length?" ":"")+e:s+=(s.length?" ":"")+e)}),o(e,function(t){r&&yt(t,r),s&&vt(t,s)}),t.remove(e)}}),e.length=0})}return{enabled:d,on:d,off:d,pin:d,push:function(t,e,i,o){return o&&o(),(i=i||{}).from&&t.css(i.from),i.to&&t.css(i.to),(i.addClass||i.removeClass)&&r(t,i.addClass,i.removeClass),new n}}}]},xi=["$provide",function(t){var e=this;this.$$registeredAnimations=Object.create(null),this.register=function(n,i){if(n&&"."!==n.charAt(0))throw yi("notcsel",n);var r=n+"-animation";e.$$registeredAnimations[n.substr(1)]=r,t.factory(r,i)},this.classNameFilter=function(t){if(1===arguments.length&&(this.$$classNameFilter=t instanceof RegExp?t:null)&&/(\s+|\/)ng-animate(\s+|\/)/.test(this.$$classNameFilter.toString()))throw yi("nongcls","ng-animate");return this.$$classNameFilter},this.$get=["$$animateQueue",function(t){function e(t,e,n){if(n){var i;t:{for(i=0;i<n.length;i++){var r=n[i];if(1===r.nodeType){i=r;break t}}i=void 0}!i||i.parentNode||i.previousElementSibling||(n=null)}n?n.after(t):e.prepend(t)}return{on:t.on,off:t.off,pin:t.pin,enabled:t.enabled,cancel:function(t){t.end&&t.end()},enter:function(n,i,r,o){return i=i&&En(i),r=r&&En(r),e(n,i=i||r.parent(),r),t.push(n,"enter",Pt(o))},move:function(n,i,r,o){return i=i&&En(i),r=r&&En(r),e(n,i=i||r.parent(),r),t.push(n,"move",Pt(o))},leave:function(e,n){return t.push(e,"leave",Pt(n),function(){e.remove()})},addClass:function(e,n,i){return(i=Pt(i)).addClass=_t(i.addclass,n),t.push(e,"addClass",i)},removeClass:function(e,n,i){return(i=Pt(i)).removeClass=_t(i.removeClass,n),t.push(e,"removeClass",i)},setClass:function(e,n,i,r){return(r=Pt(r)).addClass=_t(r.addClass,n),r.removeClass=_t(r.removeClass,i),t.push(e,"setClass",r)},animate:function(e,n,i,r,o){return(o=Pt(o)).from=o.from?c(o.from,n):n,o.to=o.to?c(o.to,i):i,o.tempClasses=_t(o.tempClasses,r||"ng-inline-animate"),t.push(e,"animate",o)}}}]}],wi=function(){this.$get=["$$rAF","$q",function(t,e){var n=function(){};return n.prototype={done:function(t){this.defer&&this.defer[!0===t?"reject":"resolve"]()},end:function(){this.done()},cancel:function(){this.done(!0)},getPromise:function(){return this.defer||(this.defer=e.defer()),this.defer.promise},then:function(t,e){return this.getPromise().then(t,e)},catch:function(t){return this.getPromise().catch(t)},finally:function(t){return this.getPromise().finally(t)}},function(e,i){function r(){return t(function(){i.addClass&&(e.addClass(i.addClass),i.addClass=null),i.removeClass&&(e.removeClass(i.removeClass),i.removeClass=null),i.to&&(e.css(i.to),i.to=null),o||s.done(),o=!0}),s}i.from&&(e.css(i.from),i.from=null);var o,s=new n;return{start:r,end:r}}}]},Ei=i("$compile");jt.$inject=["$provide","$$sanitizeUriProvider"];var Si=/^((?:x|data)[\:\-_])/i,Ti=i("$controller"),Ci=/^(\S+)(\s+as\s+(\w+))?$/,ki=function(){this.$get=["$document",function(t){return function(e){return e?!e.nodeType&&e instanceof En&&(e=e[0]):e=t[0].body,e.offsetWidth+1}}]},Ai="application/json",Ni={"Content-Type":Ai+";charset=utf-8"},_i=/^\[|^\{(?!\{)/,Pi={"[":/]$/,"{":/}$/},Oi=/^\)\]\}',?\n/,Mi=i("$http"),Di=function(t){return function(){throw Mi("legacy",t)}},Li=jn.$interpolateMinErr=i("$interpolate");Li.throwNoconcat=function(t){throw Li("noconcat",t)},Li.interr=function(t,e){return Li("interr",t,e.toString())};var ji=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/,Ii={http:80,https:443,ftp:21},Ri=i("$location"),Hi={$$html5:!1,$$replace:!1,absUrl:ce("$$absUrl"),url:function(t){if(y(t))return this.$$url;var e=ji.exec(t);return(e[1]||""===t)&&this.path(decodeURIComponent(e[1])),(e[2]||e[1]||""===t)&&this.search(e[3]||""),this.hash(e[5]||""),this},protocol:ce("$$protocol"),host:ce("$$host"),port:ce("$$port"),path:he("$$path",function(t){return"/"==(t=null!==t?t.toString():"").charAt(0)?t:"/"+t}),search:function(t,e){switch(arguments.length){case 0:return this.$$search;case 1:if(w(t)||E(t))t=t.toString(),this.$$search=W(t);else{if(!b(t))throw Ri("isrcharg");o(t=M(t,{}),function(e,n){null==e&&delete t[n]}),this.$$search=t}break;default:y(e)||null===e?delete this.$$search[t]:this.$$search[t]=e}return this.$$compose(),this},hash:he("$$hash",function(t){return null!==t?t.toString():""}),replace:function(){return this.$$replace=!0,this}};o([le,ue,ae],function(t){t.prototype=Object.create(Hi),t.prototype.state=function(e){if(!arguments.length)return this.$$state;if(t!==ae||!this.$$html5)throw Ri("nostate");return this.$$state=y(e)?null:e,this}});var zi=i("$parse"),qi=Function.prototype.call,Fi=Function.prototype.apply,Bi=Function.prototype.bind,Vi=ot();o("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),function(t){Vi[t]=!0});var Wi={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Xi=function(t){this.options=t};Xi.prototype={constructor:Xi,lex:function(t){for(this.text=t,this.index=0,this.tokens=[];this.index<this.text.length;)if('"'===(t=this.text.charAt(this.index))||"'"===t)this.readString(t);else if(this.isNumber(t)||"."===t&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(t))this.readIdent();else if(this.is(t,"(){}[].,;:?"))this.tokens.push({index:this.index,text:t}),this.index++;else if(this.isWhitespace(t))this.index++;else{var e=t+this.peek(),n=e+this.peek(2),i=Vi[e],r=Vi[n];Vi[t]||i||r?(t=r?n:i?e:t,this.tokens.push({index:this.index,text:t,operator:!0}),this.index+=t.length):this.throwError("Unexpected next character ",this.index,this.index+1)}return this.tokens},is:function(t,e){return-1!==e.indexOf(t)},peek:function(t){return t=t||1,this.index+t<this.text.length&&this.text.charAt(this.index+t)},isNumber:function(t){return"0"<=t&&"9">=t&&"string"==typeof t},isWhitespace:function(t){return" "===t||"\r"===t||"\t"===t||"\n"===t||"\v"===t||" "===t},isIdent:function(t){return"a"<=t&&"z">=t||"A"<=t&&"Z">=t||"_"===t||"$"===t},isExpOperator:function(t){return"-"===t||"+"===t||this.isNumber(t)},throwError:function(t,e,n){throw n=n||this.index,e=$(e)?"s "+e+"-"+this.index+" ["+this.text.substring(e,n)+"]":" "+n,zi("lexerr",t,e,this.text)},readNumber:function(){for(var t="",e=this.index;this.index<this.text.length;){var n=kn(this.text.charAt(this.index));if("."==n||this.isNumber(n))t+=n;else{var i=this.peek();if("e"==n&&this.isExpOperator(i))t+=n;else if(this.isExpOperator(n)&&i&&this.isNumber(i)&&"e"==t.charAt(t.length-1))t+=n;else{if(!this.isExpOperator(n)||i&&this.isNumber(i)||"e"!=t.charAt(t.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:e,text:t,constant:!0,value:Number(t)})},readIdent:function(){for(var t=this.index;this.index<this.text.length;){var e=this.text.charAt(this.index);if(!this.isIdent(e)&&!this.isNumber(e))break;this.index++}this.tokens.push({index:t,text:this.text.slice(t,this.index),identifier:!0})},readString:function(t){var e=this.index;this.index++;for(var n="",i=t,r=!1;this.index<this.text.length;){var o=this.text.charAt(this.index);i=i+o;if(r)"u"===o?((r=this.text.substring(this.index+1,this.index+5)).match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+r+"]"),this.index+=4,n+=String.fromCharCode(parseInt(r,16))):n+=Wi[o]||o,r=!1;else if("\\"===o)r=!0;else{if(o===t)return this.index++,void this.tokens.push({index:e,text:i,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",e)}};var Yi=function(t,e){this.lexer=t,this.options=e};Yi.Program="Program",Yi.ExpressionStatement="ExpressionStatement",Yi.AssignmentExpression="AssignmentExpression",Yi.ConditionalExpression="ConditionalExpression",Yi.LogicalExpression="LogicalExpression",Yi.BinaryExpression="BinaryExpression",Yi.UnaryExpression="UnaryExpression",Yi.CallExpression="CallExpression",Yi.MemberExpression="MemberExpression",Yi.Identifier="Identifier",Yi.Literal="Literal",Yi.ArrayExpression="ArrayExpression",Yi.Property="Property",Yi.ObjectExpression="ObjectExpression",Yi.ThisExpression="ThisExpression",Yi.NGValueParameter="NGValueParameter",Yi.prototype={ast:function(t){return this.text=t,this.tokens=this.lexer.lex(t),t=this.program(),0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),t},program:function(){for(var t=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&t.push(this.expressionStatement()),!this.expect(";"))return{type:Yi.Program,body:t}},expressionStatement:function(){return{type:Yi.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var t=this.expression();this.expect("|");)t=this.filter(t);return t},expression:function(){return this.assignment()},assignment:function(){var t=this.ternary();return this.expect("=")&&(t={type:Yi.AssignmentExpression,left:t,right:this.assignment(),operator:"="}),t},ternary:function(){var t,e,n=this.logicalOR();return this.expect("?")&&(t=this.expression(),this.consume(":"))?(e=this.expression(),{type:Yi.ConditionalExpression,test:n,alternate:t,consequent:e}):n},logicalOR:function(){for(var t=this.logicalAND();this.expect("||");)t={type:Yi.LogicalExpression,operator:"||",left:t,right:this.logicalAND()};return t},logicalAND:function(){for(var t=this.equality();this.expect("&&");)t={type:Yi.LogicalExpression,operator:"&&",left:t,right:this.equality()};return t},equality:function(){for(var t,e=this.relational();t=this.expect("==","!=","===","!==");)e={type:Yi.BinaryExpression,operator:t.text,left:e,right:this.relational()};return e},relational:function(){for(var t,e=this.additive();t=this.expect("<",">","<=",">=");)e={type:Yi.BinaryExpression,operator:t.text,left:e,right:this.additive()};return e},additive:function(){for(var t,e=this.multiplicative();t=this.expect("+","-");)e={type:Yi.BinaryExpression,operator:t.text,left:e,right:this.multiplicative()};return e},multiplicative:function(){for(var t,e=this.unary();t=this.expect("*","/","%");)e={type:Yi.BinaryExpression,operator:t.text,left:e,right:this.unary()};return e},unary:function(){var t;return(t=this.expect("+","-","!"))?{type:Yi.UnaryExpression,operator:t.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var t,e;for(this.expect("(")?(t=this.filterChain(),this.consume(")")):this.expect("[")?t=this.arrayDeclaration():this.expect("{")?t=this.object():this.constants.hasOwnProperty(this.peek().text)?t=M(this.constants[this.consume().text]):this.peek().identifier?t=this.identifier():this.peek().constant?t=this.constant():this.throwError("not a primary expression",this.peek());e=this.expect("(","[",".");)"("===e.text?(t={type:Yi.CallExpression,callee:t,arguments:this.parseArguments()},this.consume(")")):"["===e.text?(t={type:Yi.MemberExpression,object:t,property:this.expression(),computed:!0},this.consume("]")):"."===e.text?t={type:Yi.MemberExpression,object:t,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return t},filter:function(t){t=[t];for(var e={type:Yi.CallExpression,callee:this.identifier(),arguments:t,filter:!0};this.expect(":");)t.push(this.expression());return e},parseArguments:function(){var t=[];if(")"!==this.peekToken().text)do{t.push(this.expression())}while(this.expect(","));return t},identifier:function(){var t=this.consume();return t.identifier||this.throwError("is not a valid identifier",t),{type:Yi.Identifier,name:t.text}},constant:function(){return{type:Yi.Literal,value:this.consume().value}},arrayDeclaration:function(){var t=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;t.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:Yi.ArrayExpression,elements:t}},object:function(){var t,e=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;t={type:Yi.Property,kind:"init"},this.peek().constant?t.key=this.constant():this.peek().identifier?t.key=this.identifier():this.throwError("invalid key",this.peek()),this.consume(":"),t.value=this.expression(),e.push(t)}while(this.expect(","));return this.consume("}"),{type:Yi.ObjectExpression,properties:e}},throwError:function(t,e){throw zi("syntax",e.text,t,e.index+1,this.text,this.text.substring(e.index))},consume:function(t){if(0===this.tokens.length)throw zi("ueoe",this.text);var e=this.expect(t);return e||this.throwError("is unexpected, expecting ["+t+"]",this.peek()),e},peekToken:function(){if(0===this.tokens.length)throw zi("ueoe",this.text);return this.tokens[0]},peek:function(t,e,n,i){return this.peekAhead(0,t,e,n,i)},peekAhead:function(t,e,n,i,r){if(this.tokens.length>t){var o=(t=this.tokens[t]).text;if(o===e||o===n||o===i||o===r||!(e||n||i||r))return t}return!1},expect:function(t,e,n,i){return!!(t=this.peek(t,e,n,i))&&(this.tokens.shift(),t)},constants:{true:{type:Yi.Literal,value:!0},false:{type:Yi.Literal,value:!1},null:{type:Yi.Literal,value:null},undefined:{type:Yi.Literal,value:n},this:{type:Yi.ThisExpression}}},Se.prototype={compile:function(t,e){var i=this,r=this.astBuilder.ast(t);this.state={nextId:0,filters:{},expensiveChecks:e,fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},$e(r,i.$filter);var s,a="";return this.stage="assign",(s=we(r))&&(this.state.computing="assign",a=this.nextId(),this.recurse(s,a),a="fn.assign="+this.generateFunction("assign","s,v,l")),s=be(r.body),i.stage="inputs",o(s,function(t,e){var n="fn"+e;i.state[n]={vars:[],body:[],own:{}},i.state.computing=n;var r=i.nextId();i.recurse(t,r),i.return_(r),i.state.inputs.push(n),t.watchId=e}),this.state.computing="fn",this.stage="main",this.recurse(r),a='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+a+this.watchFns()+"return fn;",a=new Function("$filter","ensureSafeMemberName","ensureSafeObject","ensureSafeFunction","ifDefined","plus","text",a)(this.$filter,de,me,ge,ve,ye,t),this.state=this.stage=n,a.literal=Ee(r),a.constant=r.constant,a},USE:"use",STRICT:"strict",watchFns:function(){var t=[],e=this.state.inputs,n=this;return o(e,function(e){t.push("var "+e+"="+n.generateFunction(e,"s"))}),e.length&&t.push("fn.inputs=["+e.join(",")+"];"),t.join("")},generateFunction:function(t,e){return"function("+e+"){"+this.varsPrefix(t)+this.body(t)+"};"},filterPrefix:function(){var t=[],e=this;return o(this.state.filters,function(n,i){t.push(n+"=$filter("+e.escape(i)+")")}),t.length?"var "+t.join(",")+";":""},varsPrefix:function(t){return this.state[t].vars.length?"var "+this.state[t].vars.join(",")+";":""},body:function(t){return this.state[t].body.join("")},recurse:function(t,e,i,r,s,a){var u,l,c,h,f=this;if(r=r||d,!a&&$(t.watchId))e=e||this.nextId(),this.if_("i",this.lazyAssign(e,this.computedMember("i",t.watchId)),this.lazyRecurse(t,e,i,r,s,!0));else switch(t.type){case Yi.Program:o(t.body,function(e,i){f.recurse(e.expression,n,n,function(t){l=t}),i!==t.body.length-1?f.current().body.push(l,";"):f.return_(l)});break;case Yi.Literal:h=this.escape(t.value),this.assign(e,h),r(h);break;case Yi.UnaryExpression:this.recurse(t.argument,n,n,function(t){l=t}),h=t.operator+"("+this.ifDefined(l,0)+")",this.assign(e,h),r(h);break;case Yi.BinaryExpression:this.recurse(t.left,n,n,function(t){u=t}),this.recurse(t.right,n,n,function(t){l=t}),h="+"===t.operator?this.plus(u,l):"-"===t.operator?this.ifDefined(u,0)+t.operator+this.ifDefined(l,0):"("+u+")"+t.operator+"("+l+")",this.assign(e,h),r(h);break;case Yi.LogicalExpression:e=e||this.nextId(),f.recurse(t.left,e),f.if_("&&"===t.operator?e:f.not(e),f.lazyRecurse(t.right,e)),r(e);break;case Yi.ConditionalExpression:e=e||this.nextId(),f.recurse(t.test,e),f.if_(e,f.lazyRecurse(t.alternate,e),f.lazyRecurse(t.consequent,e)),r(e);break;case Yi.Identifier:e=e||this.nextId(),i&&(i.context="inputs"===f.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",t.name)+"?l:s"),i.computed=!1,i.name=t.name),de(t.name),f.if_("inputs"===f.stage||f.not(f.getHasOwnProperty("l",t.name)),function(){f.if_("inputs"===f.stage||"s",function(){s&&1!==s&&f.if_(f.not(f.nonComputedMember("s",t.name)),f.lazyAssign(f.nonComputedMember("s",t.name),"{}")),f.assign(e,f.nonComputedMember("s",t.name))})},e&&f.lazyAssign(e,f.nonComputedMember("l",t.name))),(f.state.expensiveChecks||Ce(t.name))&&f.addEnsureSafeObject(e),r(e);break;case Yi.MemberExpression:u=i&&(i.context=this.nextId())||this.nextId(),e=e||this.nextId(),f.recurse(t.object,u,n,function(){f.if_(f.notNull(u),function(){t.computed?(l=f.nextId(),f.recurse(t.property,l),f.addEnsureSafeMemberName(l),s&&1!==s&&f.if_(f.not(f.computedMember(u,l)),f.lazyAssign(f.computedMember(u,l),"{}")),h=f.ensureSafeObject(f.computedMember(u,l)),f.assign(e,h),i&&(i.computed=!0,i.name=l)):(de(t.property.name),s&&1!==s&&f.if_(f.not(f.nonComputedMember(u,t.property.name)),f.lazyAssign(f.nonComputedMember(u,t.property.name),"{}")),h=f.nonComputedMember(u,t.property.name),(f.state.expensiveChecks||Ce(t.property.name))&&(h=f.ensureSafeObject(h)),f.assign(e,h),i&&(i.computed=!1,i.name=t.property.name))},function(){f.assign(e,"undefined")}),r(e)},!!s);break;case Yi.CallExpression:e=e||this.nextId(),t.filter?(l=f.filter(t.callee.name),c=[],o(t.arguments,function(t){var e=f.nextId();f.recurse(t,e),c.push(e)}),h=l+"("+c.join(",")+")",f.assign(e,h),r(e)):(l=f.nextId(),u={},c=[],f.recurse(t.callee,l,u,function(){f.if_(f.notNull(l),function(){f.addEnsureSafeFunction(l),o(t.arguments,function(t){f.recurse(t,f.nextId(),n,function(t){c.push(f.ensureSafeObject(t))})}),u.name?(f.state.expensiveChecks||f.addEnsureSafeObject(u.context),h=f.member(u.context,u.name,u.computed)+"("+c.join(",")+")"):h=l+"("+c.join(",")+")",h=f.ensureSafeObject(h),f.assign(e,h)},function(){f.assign(e,"undefined")}),r(e)}));break;case Yi.AssignmentExpression:if(l=this.nextId(),u={},!xe(t.left))throw zi("lval");this.recurse(t.left,n,u,function(){f.if_(f.notNull(u.context),function(){f.recurse(t.right,l),f.addEnsureSafeObject(f.member(u.context,u.name,u.computed)),h=f.member(u.context,u.name,u.computed)+t.operator+l,f.assign(e,h),r(e||h)})},1);break;case Yi.ArrayExpression:c=[],o(t.elements,function(t){f.recurse(t,f.nextId(),n,function(t){c.push(t)})}),h="["+c.join(",")+"]",this.assign(e,h),r(h);break;case Yi.ObjectExpression:c=[],o(t.properties,function(t){f.recurse(t.value,f.nextId(),n,function(e){c.push(f.escape(t.key.type===Yi.Identifier?t.key.name:""+t.key.value)+":"+e)})}),h="{"+c.join(",")+"}",this.assign(e,h),r(h);break;case Yi.ThisExpression:this.assign(e,"s"),r("s");break;case Yi.NGValueParameter:this.assign(e,"v"),r("v")}},getHasOwnProperty:function(t,e){var n=t+"."+e,i=this.current().own;return i.hasOwnProperty(n)||(i[n]=this.nextId(!1,t+"&&("+this.escape(e)+" in "+t+")")),i[n]},assign:function(t,e){if(t)return this.current().body.push(t,"=",e,";"),t},filter:function(t){return this.state.filters.hasOwnProperty(t)||(this.state.filters[t]=this.nextId(!0)),this.state.filters[t]},ifDefined:function(t,e){return"ifDefined("+t+","+this.escape(e)+")"},plus:function(t,e){return"plus("+t+","+e+")"},return_:function(t){this.current().body.push("return ",t,";")},if_:function(t,e,n){if(!0===t)e();else{var i=this.current().body;i.push("if(",t,"){"),e(),i.push("}"),n&&(i.push("else{"),n(),i.push("}"))}},not:function(t){return"!("+t+")"},notNull:function(t){return t+"!=null"},nonComputedMember:function(t,e){return t+"."+e},computedMember:function(t,e){return t+"["+e+"]"},member:function(t,e,n){return n?this.computedMember(t,e):this.nonComputedMember(t,e)},addEnsureSafeObject:function(t){this.current().body.push(this.ensureSafeObject(t),";")},addEnsureSafeMemberName:function(t){this.current().body.push(this.ensureSafeMemberName(t),";")},addEnsureSafeFunction:function(t){this.current().body.push(this.ensureSafeFunction(t),";")},ensureSafeObject:function(t){return"ensureSafeObject("+t+",text)"},ensureSafeMemberName:function(t){return"ensureSafeMemberName("+t+",text)"},ensureSafeFunction:function(t){return"ensureSafeFunction("+t+",text)"},lazyRecurse:function(t,e,n,i,r,o){var s=this;return function(){s.recurse(t,e,n,i,r,o)}},lazyAssign:function(t,e){var n=this;return function(){n.assign(t,e)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(t){return"\\u"+("0000"+t.charCodeAt(0).toString(16)).slice(-4)},escape:function(t){if(w(t))return"'"+t.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(E(t))return t.toString();if(!0===t)return"true";if(!1===t)return"false";if(null===t)return"null";if(void 0===t)return"undefined";throw zi("esc")},nextId:function(t,e){var n="v"+this.state.nextId++;return t||this.current().vars.push(n+(e?"="+e:"")),n},current:function(){return this.state[this.state.computing]}},Te.prototype={compile:function(t,e){var n,i,r,s=this,a=this.astBuilder.ast(t);this.expression=t,this.expensiveChecks=e,$e(a,s.$filter),(n=we(a))&&(i=this.recurse(n)),(n=be(a.body))&&(r=[],o(n,function(t,e){var n=s.recurse(t);t.input=n,r.push(n),t.watchId=e}));var u=[];return o(a.body,function(t){u.push(s.recurse(t.expression))}),n=0===a.body.length?function(){}:1===a.body.length?u[0]:function(t,e){var n;return o(u,function(i){n=i(t,e)}),n},i&&(n.assign=function(t,e,n){return i(t,n,e)}),r&&(n.inputs=r),n.literal=Ee(a),n.constant=a.constant,n},recurse:function(t,e,i){var r,s,a,u=this;if(t.input)return this.inputs(t.input,t.watchId);switch(t.type){case Yi.Literal:return this.value(t.value,e);case Yi.UnaryExpression:return s=this.recurse(t.argument),this["unary"+t.operator](s,e);case Yi.BinaryExpression:case Yi.LogicalExpression:return r=this.recurse(t.left),s=this.recurse(t.right),this["binary"+t.operator](r,s,e);case Yi.ConditionalExpression:return this["ternary?:"](this.recurse(t.test),this.recurse(t.alternate),this.recurse(t.consequent),e);case Yi.Identifier:return de(t.name,u.expression),u.identifier(t.name,u.expensiveChecks||Ce(t.name),e,i,u.expression);case Yi.MemberExpression:return r=this.recurse(t.object,!1,!!i),t.computed||(de(t.property.name,u.expression),s=t.property.name),t.computed&&(s=this.recurse(t.property)),t.computed?this.computedMember(r,s,e,i,u.expression):this.nonComputedMember(r,s,u.expensiveChecks,e,i,u.expression);case Yi.CallExpression:return a=[],o(t.arguments,function(t){a.push(u.recurse(t))}),t.filter&&(s=this.$filter(t.callee.name)),t.filter||(s=this.recurse(t.callee,!0)),t.filter?function(t,i,r,o){for(var u=[],l=0;l<a.length;++l)u.push(a[l](t,i,r,o));return t=s.apply(n,u,o),e?{context:n,name:n,value:t}:t}:function(t,n,i,r){var o,l=s(t,n,i,r);if(null!=l.value){me(l.context,u.expression),ge(l.value,u.expression),o=[];for(var c=0;c<a.length;++c)o.push(me(a[c](t,n,i,r),u.expression));o=me(l.value.apply(l.context,o),u.expression)}return e?{value:o}:o};case Yi.AssignmentExpression:return r=this.recurse(t.left,!0,1),s=this.recurse(t.right),function(t,n,i,o){var a=r(t,n,i,o);return t=s(t,n,i,o),me(a.value,u.expression),a.context[a.name]=t,e?{value:t}:t};case Yi.ArrayExpression:return a=[],o(t.elements,function(t){a.push(u.recurse(t))}),function(t,n,i,r){for(var o=[],s=0;s<a.length;++s)o.push(a[s](t,n,i,r));return e?{value:o}:o};case Yi.ObjectExpression:return a=[],o(t.properties,function(t){a.push({key:t.key.type===Yi.Identifier?t.key.name:""+t.key.value,value:u.recurse(t.value)})}),function(t,n,i,r){for(var o={},s=0;s<a.length;++s)o[a[s].key]=a[s].value(t,n,i,r);return e?{value:o}:o};case Yi.ThisExpression:return function(t){return e?{value:t}:t};case Yi.NGValueParameter:return function(t,n,i,r){return e?{value:i}:i}}},"unary+":function(t,e){return function(n,i,r,o){return n=$(n=t(n,i,r,o))?+n:0,e?{value:n}:n}},"unary-":function(t,e){return function(n,i,r,o){return n=$(n=t(n,i,r,o))?-n:0,e?{value:n}:n}},"unary!":function(t,e){return function(n,i,r,o){return n=!t(n,i,r,o),e?{value:n}:n}},"binary+":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s);return a=ye(a,i=e(i,r,o,s)),n?{value:a}:a}},"binary-":function(t,e,n){return function(i,r,o,s){var a=t(i,r,o,s);return i=e(i,r,o,s),a=($(a)?a:0)-($(i)?i:0),n?{value:a}:a}},"binary*":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)*e(i,r,o,s),n?{value:i}:i}},"binary/":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)/e(i,r,o,s),n?{value:i}:i}},"binary%":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)%e(i,r,o,s),n?{value:i}:i}},"binary===":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)===e(i,r,o,s),n?{value:i}:i}},"binary!==":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)!==e(i,r,o,s),n?{value:i}:i}},"binary==":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)==e(i,r,o,s),n?{value:i}:i}},"binary!=":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)!=e(i,r,o,s),n?{value:i}:i}},"binary<":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)<e(i,r,o,s),n?{value:i}:i}},"binary>":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)>e(i,r,o,s),n?{value:i}:i}},"binary<=":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)<=e(i,r,o,s),n?{value:i}:i}},"binary>=":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)>=e(i,r,o,s),n?{value:i}:i}},"binary&&":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)&&e(i,r,o,s),n?{value:i}:i}},"binary||":function(t,e,n){return function(i,r,o,s){return i=t(i,r,o,s)||e(i,r,o,s),n?{value:i}:i}},"ternary?:":function(t,e,n,i){return function(r,o,s,a){return r=t(r,o,s,a)?e(r,o,s,a):n(r,o,s,a),i?{value:r}:r}},value:function(t,e){return function(){return e?{context:n,name:n,value:t}:t}},identifier:function(t,e,i,r,o){return function(s,a,u,l){return s=a&&t in a?a:s,r&&1!==r&&s&&!s[t]&&(s[t]={}),a=s?s[t]:n,e&&me(a,o),i?{context:s,name:t,value:a}:a}},computedMember:function(t,e,n,i,r){return function(o,s,a,u){var l,c,h=t(o,s,a,u);return null!=h&&(de(l=e(o,s,a,u),r),i&&1!==i&&h&&!h[l]&&(h[l]={}),me(c=h[l],r)),n?{context:h,name:l,value:c}:c}},nonComputedMember:function(t,e,i,r,o,s){return function(a,u,l,c){return a=t(a,u,l,c),o&&1!==o&&a&&!a[e]&&(a[e]={}),u=null!=a?a[e]:n,(i||Ce(e))&&me(u,s),r?{context:a,name:e,value:u}:u}},inputs:function(t,e){return function(n,i,r,o){return o?o[e]:t(n,i,r)}}};var Ui=function(t,e,n){this.lexer=t,this.$filter=e,this.options=n,this.ast=new Yi(this.lexer),this.astCompiler=n.csp?new Te(this.ast,e):new Se(this.ast,e)};Ui.prototype={constructor:Ui,parse:function(t){return this.astCompiler.compile(t,this.options.expensiveChecks)}},ot(),ot();var Gi=Object.prototype.valueOf,Ji=i("$sce"),Ki={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Qi=(Ei=i("$compile"),e.createElement("a")),Zi=Fe(t.location.href);We.$inject=["$document"],Ye.$inject=["$provide"],Ke.$inject=["$locale"],Qe.$inject=["$locale"];var tr=".",er={yyyy:en("FullYear",4),yy:en("FullYear",2,0,!0),y:en("FullYear",1),MMMM:nn("Month"),MMM:nn("Month",!0),MM:en("Month",2,1),M:en("Month",1,1),dd:en("Date",2),d:en("Date",1),HH:en("Hours",2),H:en("Hours",1),hh:en("Hours",2,-12),h:en("Hours",1,-12),mm:en("Minutes",2),m:en("Minutes",1),ss:en("Seconds",2),s:en("Seconds",1),sss:en("Milliseconds",3),EEEE:nn("Day"),EEE:nn("Day",!0),a:function(t,e){return 12>t.getHours()?e.AMPMS[0]:e.AMPMS[1]},Z:function(t,e,n){return(0<=(t=-1*n)?"+":"")+(tn(Math[0<t?"floor":"ceil"](t/60),2)+tn(Math.abs(t%60),2))},ww:on(2),w:on(1),G:sn,GG:sn,GGG:sn,GGGG:function(t,e){return 0>=t.getFullYear()?e.ERANAMES[0]:e.ERANAMES[1]}},nr=/((?:[^yMdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|G+|w+))(.*)/,ir=/^\-?\d+$/;an.$inject=["$locale"];var rr=g(kn),or=g(Nn);cn.$inject=["$parse"];var sr=g({restrict:"E",compile:function(t,e){if(!e.href&&!e.xlinkHref)return function(t,e){if("a"===e[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===Mn.call(e.prop("href"))?"xlink:href":"href";e.on("click",function(t){e.attr(n)||t.preventDefault()})}}}}),ar={};o(li,function(t,e){function n(t,n,r){t.$watch(r[i],function(t){r.$set(e,!!t)})}if("multiple"!=t){var i=It("ng-"+e),r=n;"checked"===t&&(r=function(t,e,r){r.ngModel!==r[i]&&n(t,0,r)}),ar[i]=function(){return{restrict:"A",priority:100,link:r}}}}),o(hi,function(t,e){ar[e]=function(){return{priority:100,link:function(t,n,i){"ngPattern"===e&&"/"==i.ngPattern.charAt(0)&&(n=i.ngPattern.match(Cn))?i.$set("ngPattern",new RegExp(n[1],n[2])):t.$watch(i[e],function(t){i.$set(e,t)})}}}}),o(["src","srcset","href"],function(t){var e=It("ng-"+t);ar[e]=function(){return{priority:99,link:function(n,i,r){var o=t,s=t;"href"===t&&"[object SVGAnimatedString]"===Mn.call(i.prop("href"))&&(s="xlinkHref",r.$attr[s]="xlink:href",o=null),r.$observe(e,function(e){e?(r.$set(s,e),wn&&o&&i.prop(o,r[s])):"href"===t&&r.$set(s,null)})}}}});var ur={$addControl:d,$$renameControl:function(t,e){t.$name=e},$removeControl:d,$setValidity:d,$setDirty:d,$setPristine:d,$setSubmitted:d};fn.$inject=["$element","$attrs","$scope","$animate","$interpolate"];var lr=function(t){return["$timeout","$parse",function(e,i){function r(t){return""===t?i('this[""]').assign:i(t).assign||d}return{name:"form",restrict:t?"EAC":"E",controller:fn,compile:function(i,o){i.addClass(Br).addClass(qr);var s=o.name?"name":!(!t||!o.ngForm)&&"ngForm";return{pre:function(t,i,o,a){if(!("action"in o)){var u=function(e){t.$apply(function(){a.$commitViewValue(),a.$setSubmitted()}),e.preventDefault()};i[0].addEventListener("submit",u,!1),i.on("$destroy",function(){e(function(){i[0].removeEventListener("submit",u,!1)},0,!1)})}var l=a.$$parentForm,h=s?r(a.$name):d;s&&(h(t,a),o.$observe(s,function(e){a.$name!==e&&(h(t,n),l.$$renameControl(a,e),(h=r(a.$name))(t,a))})),i.on("$destroy",function(){l.$removeControl(a),h(t,n),c(a,ur)})}}}}}]},cr=lr(),hr=lr(!0),fr=/\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z)/,pr=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/,dr=/^[a-z0-9!#$%&'*+\/=?^_`{|}~.-]+@[a-z0-9]([a-z0-9-]*[a-z0-9])?(\.[a-z0-9]([a-z0-9-]*[a-z0-9])?)*$/i,mr=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,gr=/^(\d{4})-(\d{2})-(\d{2})$/,vr=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,yr=/^(\d{4})-W(\d\d)$/,$r=/^(\d{4})-(\d\d)$/,br=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,xr={text:function(t,e,n,i,r,o){dn(0,e,n,i,r,o),pn(i)},date:gn("date",gr,mn(gr,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":gn("datetimelocal",vr,mn(vr,"yyyy MM dd HH mm ss sss".split(" ")),"yyyy-MM-ddTHH:mm:ss.sss"),time:gn("time",br,mn(br,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:gn("week",yr,function(t,e){if(S(t))return t;if(w(t)){yr.lastIndex=0;var n=yr.exec(t);if(n){var i=+n[1],r=+n[2],o=n=0,s=0,a=0,u=rn(i);r=7*(r-1);return e&&(n=e.getHours(),o=e.getMinutes(),s=e.getSeconds(),a=e.getMilliseconds()),new Date(i,0,u.getDate()+r,n,o,s,a)}}return NaN},"yyyy-Www"),month:gn("month",$r,mn($r,["yyyy","MM"]),"yyyy-MM"),number:function(t,e,i,r,o,s){var a,u;(vn(0,e,0,r),dn(0,e,i,r,o,s),r.$$parserName="number",r.$parsers.push(function(t){return r.$isEmpty(t)?null:mr.test(t)?parseFloat(t):n}),r.$formatters.push(function(t){if(!r.$isEmpty(t)){if(!E(t))throw Xr("numfmt",t);t=t.toString()}return t}),$(i.min)||i.ngMin)&&(r.$validators.min=function(t){return r.$isEmpty(t)||y(a)||t>=a},i.$observe("min",function(t){$(t)&&!E(t)&&(t=parseFloat(t,10)),a=E(t)&&!isNaN(t)?t:n,r.$validate()}));($(i.max)||i.ngMax)&&(r.$validators.max=function(t){return r.$isEmpty(t)||y(u)||t<=u},i.$observe("max",function(t){$(t)&&!E(t)&&(t=parseFloat(t,10)),u=E(t)&&!isNaN(t)?t:n,r.$validate()}))},url:function(t,e,n,i,r,o){dn(0,e,n,i,r,o),pn(i),i.$$parserName="url",i.$validators.url=function(t,e){var n=t||e;return i.$isEmpty(n)||pr.test(n)}},email:function(t,e,n,i,r,o){dn(0,e,n,i,r,o),pn(i),i.$$parserName="email",i.$validators.email=function(t,e){var n=t||e;return i.$isEmpty(n)||dr.test(n)}},radio:function(t,e,n,i){y(n.name)&&e.attr("name",++In),e.on("click",function(t){e[0].checked&&i.$setViewValue(n.value,t&&t.type)}),i.$render=function(){e[0].checked=n.value==i.$viewValue},n.$observe("value",i.$render)},checkbox:function(t,e,n,i,r,o,s,a){var u=yn(a,t,"ngTrueValue",n.ngTrueValue,!0),l=yn(a,t,"ngFalseValue",n.ngFalseValue,!1);e.on("click",function(t){i.$setViewValue(e[0].checked,t&&t.type)}),i.$render=function(){e[0].checked=i.$viewValue},i.$isEmpty=function(t){return!1===t},i.$formatters.push(function(t){return L(t,u)}),i.$parsers.push(function(t){return t?u:l})},hidden:d,button:d,submit:d,reset:d,file:d},wr=["$browser","$sniffer","$filter","$parse",function(t,e,n,i){return{restrict:"E",require:["?ngModel"],link:{pre:function(r,o,s,a){a[0]&&(xr[kn(s.type)]||xr.text)(r,o,s,a[0],e,t,n,i)}}}}],Er=/^(true|false|\d+)$/,Sr=function(){return{restrict:"A",priority:100,compile:function(t,e){return Er.test(e.ngValue)?function(t,e,n){n.$set("value",t.$eval(n.ngValue))}:function(t,e,n){t.$watch(n.ngValue,function(t){n.$set("value",t)})}}}},Tr=["$compile",function(t){return{restrict:"AC",compile:function(e){return t.$$addBindingClass(e),function(e,i,r){t.$$addBindingInfo(i,r.ngBind),i=i[0],e.$watch(r.ngBind,function(t){i.textContent=t===n?"":t})}}}}],Cr=["$interpolate","$compile",function(t,e){return{compile:function(i){return e.$$addBindingClass(i),function(i,r,o){i=t(r.attr(o.$attr.ngBindTemplate)),e.$$addBindingInfo(r,i.expressions),r=r[0],o.$observe("ngBindTemplate",function(t){r.textContent=t===n?"":t})}}}}],kr=["$sce","$parse","$compile",function(t,e,n){return{restrict:"A",compile:function(i,r){var o=e(r.ngBindHtml),s=e(r.ngBindHtml,function(t){return(t||"").toString()});return n.$$addBindingClass(i),function(e,i,r){n.$$addBindingInfo(i,r.ngBindHtml),e.$watch(s,function(){i.html(t.getTrustedHtml(o(e))||"")})}}}}],Ar=g({restrict:"A",require:"ngModel",link:function(t,e,n,i){i.$viewChangeListeners.push(function(){t.$eval(n.ngChange)})}}),Nr=$n("",!0),_r=$n("Odd",0),Pr=$n("Even",1),Or=hn({compile:function(t,e){e.$set("ngCloak",n),t.removeClass("ng-cloak")}}),Mr=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Dr={},Lr={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(t){var e=It("ng-"+t);Dr[e]=["$parse","$rootScope",function(n,i){return{restrict:"A",compile:function(r,o){var s=n(o[e],null,!0);return function(e,n){n.on(t,function(n){var r=function(){s(e,{$event:n})};Lr[t]&&i.$$phase?e.$evalAsync(r):e.$apply(r)})}}}}]});var jr=["$animate",function(t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,i,r,o,s){var a,u,l;n.$watch(r.ngIf,function(n){n?u||s(function(n,o){u=o,n[n.length++]=e.createComment(" end ngIf: "+r.ngIf+" "),a={clone:n},t.enter(n,i.parent(),i)}):(l&&(l.remove(),l=null),u&&(u.$destroy(),u=null),a&&(l=rt(a.clone),t.leave(l).then(function(){l=null}),a=null))})}}}],Ir=["$templateRequest","$anchorScroll","$animate",function(t,e,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:jn.noop,compile:function(i,r){var o=r.ngInclude||r.src,s=r.onload||"",a=r.autoscroll;return function(i,r,u,l,c){var h,f,p,d=0,m=function(){f&&(f.remove(),f=null),h&&(h.$destroy(),h=null),p&&(n.leave(p).then(function(){f=null}),f=p,p=null)};i.$watch(o,function(o){var u=function(){!$(a)||a&&!i.$eval(a)||e()},f=++d;o?(t(o,!0).then(function(t){if(f===d){var e=i.$new();l.template=t,t=c(e,function(t){m(),n.enter(t,null,r).then(u)}),p=t,(h=e).$emit("$includeContentLoaded",o),i.$eval(s)}},function(){f===d&&(m(),i.$emit("$includeContentError",o))}),i.$emit("$includeContentRequested",o)):(m(),l.template=null)})}}}}],Rr=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,i,r,o){/SVG/.test(i[0].toString())?(i.empty(),t(ut(o.template,e).childNodes)(n,function(t){i.append(t)},{futureParentElement:i})):(i.html(o.template),t(i.contents())(n))}}}],Hr=hn({priority:450,compile:function(){return{pre:function(t,e,n){t.$eval(n.ngInit)}}}}),zr=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(t,e,i,r){var s=e.attr(i.$attr.ngList)||", ",a="false"!==i.ngTrim,u=a?qn(s):s;r.$parsers.push(function(t){if(!y(t)){var e=[];return t&&o(t.split(u),function(t){t&&e.push(a?qn(t):t)}),e}}),r.$formatters.push(function(t){return Hn(t)?t.join(s):n}),r.$isEmpty=function(t){return!t||!t.length}}}},qr="ng-valid",Fr="ng-invalid",Br="ng-pristine",Vr="ng-dirty",Wr="ng-pending",Xr=i("ngModel"),Yr=["$scope","$exceptionHandler","$attrs","$element","$parse","$animate","$timeout","$rootScope","$q","$interpolate",function(t,e,i,r,s,a,u,l,c,h){this.$modelValue=this.$viewValue=Number.NaN,this.$$rawModelValue=n,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=n,this.$name=h(i.name||"",!1)(t);var f,p=s(i.ngModel),m=p.assign,g=p,v=m,b=null,x=this;this.$$setOptions=function(t){if((x.$options=t)&&t.getterSetter){var e=s(i.ngModel+"()"),n=s(i.ngModel+"($$$p)");g=function(t){var n=p(t);return T(n)&&(n=e(t)),n},v=function(t,e){T(p(t))?n(t,{$$$p:x.$modelValue}):m(t,x.$modelValue)}}else if(!p.assign)throw Xr("nonassign",i.ngModel,B(r))},this.$render=d,this.$isEmpty=function(t){return y(t)||""===t||null===t||t!=t};var w=r.inheritedData("$formController")||ur,S=0;bn({ctrl:this,$element:r,set:function(t,e){t[e]=!0},unset:function(t,e){delete t[e]},parentForm:w,$animate:a}),this.$setPristine=function(){x.$dirty=!1,x.$pristine=!0,a.removeClass(r,Vr),a.addClass(r,Br)},this.$setDirty=function(){x.$dirty=!0,x.$pristine=!1,a.removeClass(r,Br),a.addClass(r,Vr),w.$setDirty()},this.$setUntouched=function(){x.$touched=!1,x.$untouched=!0,a.setClass(r,"ng-untouched","ng-touched")},this.$setTouched=function(){x.$touched=!0,x.$untouched=!1,a.setClass(r,"ng-touched","ng-untouched")},this.$rollbackViewValue=function(){u.cancel(b),x.$viewValue=x.$$lastCommittedViewValue,x.$render()},this.$validate=function(){if(!E(x.$modelValue)||!isNaN(x.$modelValue)){var t=x.$$rawModelValue,e=x.$valid,i=x.$modelValue,r=x.$options&&x.$options.allowInvalid;x.$$runValidators(t,x.$$lastCommittedViewValue,function(o){r||e===o||(x.$modelValue=o?t:n,x.$modelValue!==i&&x.$$writeModelToScope())})}},this.$$runValidators=function(t,e,i){function r(t,e){a===S&&x.$setValidity(t,e)}function s(t){a===S&&i(t)}var a=++S;!function(){var t=x.$$parserName||"parse";return f!==n?(f||(o(x.$validators,function(t,e){r(e,null)}),o(x.$asyncValidators,function(t,e){r(e,null)})),r(t,f),f):(r(t,null),!0)}()?s(!1):function(){var n=!0;return o(x.$validators,function(i,o){var s=i(t,e);n=n&&s,r(o,s)}),!!n||(o(x.$asyncValidators,function(t,e){r(e,null)}),!1)}()?function(){var i=[],a=!0;o(x.$asyncValidators,function(o,s){var u=o(t,e);if(!u||!T(u.then))throw Xr("$asyncValidators",u);r(s,n),i.push(u.then(function(){r(s,!0)},function(t){a=!1,r(s,!1)}))}),i.length?c.all(i).then(function(){s(a)},d):s(!0)}():s(!1)},this.$commitViewValue=function(){var t=x.$viewValue;u.cancel(b),(x.$$lastCommittedViewValue!==t||""===t&&x.$$hasNativeValidators)&&(x.$$lastCommittedViewValue=t,x.$pristine&&this.$setDirty(),this.$$parseAndValidate())},this.$$parseAndValidate=function(){var e=x.$$lastCommittedViewValue;if(f=!y(e)||n)for(var i=0;i<x.$parsers.length;i++)if(y(e=x.$parsers[i](e))){f=!1;break}E(x.$modelValue)&&isNaN(x.$modelValue)&&(x.$modelValue=g(t));var r=x.$modelValue,o=x.$options&&x.$options.allowInvalid;x.$$rawModelValue=e,o&&(x.$modelValue=e,x.$modelValue!==r&&x.$$writeModelToScope()),x.$$runValidators(e,x.$$lastCommittedViewValue,function(t){o||(x.$modelValue=t?e:n,x.$modelValue!==r&&x.$$writeModelToScope())})},this.$$writeModelToScope=function(){v(t,x.$modelValue),o(x.$viewChangeListeners,function(t){try{t()}catch(t){e(t)}})},this.$setViewValue=function(t,e){x.$viewValue=t,x.$options&&!x.$options.updateOnDefault||x.$$debounceViewValueCommit(e)},this.$$debounceViewValueCommit=function(e){var n=0,i=x.$options;i&&$(i.debounce)&&(E(i=i.debounce)?n=i:E(i[e])?n=i[e]:E(i.default)&&(n=i.default)),u.cancel(b),n?b=u(function(){x.$commitViewValue()},n):l.$$phase?x.$commitViewValue():t.$apply(function(){x.$commitViewValue()})},t.$watch(function(){var e=g(t);if(e!==x.$modelValue&&(x.$modelValue==x.$modelValue||e==e)){x.$modelValue=x.$$rawModelValue=e,f=n;for(var i=x.$formatters,r=i.length,o=e;r--;)o=i[r](o);x.$viewValue!==o&&(x.$viewValue=x.$$lastCommittedViewValue=o,x.$render(),x.$$runValidators(e,o,d))}return e})}],Ur=["$rootScope",function(t){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:Yr,priority:1,compile:function(e){return e.addClass(Br).addClass("ng-untouched").addClass(qr),{pre:function(t,e,n,i){var r=i[0],o=i[1]||ur;r.$$setOptions(i[2]&&i[2].$options),o.$addControl(r),n.$observe("name",function(t){r.$name!==t&&o.$$renameControl(r,t)}),t.$on("$destroy",function(){o.$removeControl(r)})},post:function(e,n,i,r){var o=r[0];o.$options&&o.$options.updateOn&&n.on(o.$options.updateOn,function(t){o.$$debounceViewValueCommit(t&&t.type)}),n.on("blur",function(n){o.$touched||(t.$$phase?e.$evalAsync(o.$setTouched):e.$apply(o.$setTouched))})}}}}}],Gr=/(\s+|^)default(\s+|$)/,Jr=function(){return{restrict:"A",controller:["$scope","$attrs",function(t,e){var i=this;this.$options=M(t.$eval(e.ngModelOptions)),this.$options.updateOn!==n?(this.$options.updateOnDefault=!1,this.$options.updateOn=qn(this.$options.updateOn.replace(Gr,function(){return i.$options.updateOnDefault=!0," "}))):this.$options.updateOnDefault=!0}]}},Kr=hn({terminal:!0,priority:1e3}),Qr=i("ngOptions"),Zr=/^\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]+?))?$/,to=["$compile","$parse",function(t,n){function i(t,e,i){function o(t,e,n,i,r){this.selectValue=t,this.viewValue=e,this.label=n,this.group=i,this.disabled=r}function s(t){var e;if(!l&&r(t))e=t;else for(var n in e=[],t)t.hasOwnProperty(n)&&"$"!==n.charAt(0)&&e.push(n);return e}var a=t.match(Zr);if(!a)throw Qr("iexp",t,B(e));var u=a[5]||a[7],l=a[6];t=/ as /.test(a[0])&&a[1];var c=a[9];e=n(a[2]?a[1]:u);var h=t&&n(t)||e,f=c&&n(c),p=c?function(t,e){return f(i,e)}:function(t){return Ct(t)},d=function(t,e){return p(t,b(t,e))},m=n(a[2]||a[1]),g=n(a[3]||""),v=n(a[4]||""),y=n(a[8]),$={},b=l?function(t,e){return $[l]=e,$[u]=t,$}:function(t){return $[u]=t,$};return{trackBy:c,getTrackByValue:d,getWatchables:n(y,function(t){for(var e=[],n=s(t=t||[]),r=n.length,o=0;o<r;o++){var u=t===n?o:n[o],l=b(t[u],u);u=p(t[u],l);e.push(u),(a[2]||a[1])&&(u=m(i,l),e.push(u)),a[4]&&(l=v(i,l),e.push(l))}return e}),getOptions:function(){for(var t=[],e={},n=y(i)||[],r=s(n),a=r.length,u=0;u<a;u++){var l=n===r?u:r[u],f=b(n[l],l),$=h(i,f);$=new o(l=p($,f),$,m(i,f),g(i,f),f=v(i,f));t.push($),e[l]=$}return{items:t,selectValueMap:e,getOptionFromViewValue:function(t){return e[d(t)]},getViewValueFromOption:function(t){return c?jn.copy(t.viewValue):t.viewValue}}}}}var s=e.createElement("option"),a=e.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","?ngModel"],link:function(e,n,r,u){function l(t,e){t.element=e,e.disabled=t.disabled,t.value!==e.value&&(e.value=t.selectValue),t.label!==e.label&&(e.label=t.label,e.textContent=t.label)}function c(t,e,n,i){return e&&kn(e.nodeName)===n?n=e:(n=i.cloneNode(!1),e?t.insertBefore(n,e):t.appendChild(n)),n}function h(t){for(var e;t;)e=t.nextSibling,Et(t),t=e}function f(){var t=x&&d.readValue();x=w.getOptions();var e={},i=n[0].firstChild;if($&&n.prepend(m),i=function(t){var e=m&&m[0],n=b&&b[0];if(e||n)for(;t&&(t===e||t===n);)t=t.nextSibling;return t}(i),x.items.forEach(function(t){var r,o;t.group?((r=e[t.group])||(r=c(n[0],i,"optgroup",a),i=r.nextSibling,r.label=t.group,r=e[t.group]={groupElement:r,currentOptionElement:r.firstChild}),l(t,o=c(r.groupElement,r.currentOptionElement,"option",s)),r.currentOptionElement=o.nextSibling):(l(t,o=c(n[0],i,"option",s)),i=o.nextSibling)}),Object.keys(e).forEach(function(t){h(e[t].currentOptionElement)}),h(i),p.$render(),!p.$isEmpty(t)){var r=d.readValue();(w.trackBy?L(t,r):t===r)||(p.$setViewValue(r),p.$render())}}var p=u[1];if(p){var d=u[0];u=r.multiple;for(var m,g=0,v=n.children(),y=v.length;g<y;g++)if(""===v[g].value){m=v.eq(g);break}var $=!!m,b=En(s.cloneNode(!1));b.val("?");var x,w=i(r.ngOptions,n,e);u?(p.$isEmpty=function(t){return!t||0===t.length},d.writeValue=function(t){x.items.forEach(function(t){t.element.selected=!1}),t&&t.forEach(function(t){(t=x.getOptionFromViewValue(t))&&!t.disabled&&(t.element.selected=!0)})},d.readValue=function(){var t=n.val()||[],e=[];return o(t,function(t){(t=x.selectValueMap[t])&&!t.disabled&&e.push(x.getViewValueFromOption(t))}),e},w.trackBy&&e.$watchCollection(function(){if(Hn(p.$viewValue))return p.$viewValue.map(function(t){return w.getTrackByValue(t)})},function(){p.$render()})):(d.writeValue=function(t){var e=x.getOptionFromViewValue(t);e&&!e.disabled?n[0].value!==e.selectValue&&(b.remove(),$||m.remove(),n[0].value=e.selectValue,e.element.selected=!0,e.element.setAttribute("selected","selected")):null===t||$?(b.remove(),$||n.prepend(m),n.val(""),m.prop("selected",!0),m.attr("selected",!0)):($||m.remove(),n.prepend(b),n.val("?"),b.prop("selected",!0),b.attr("selected",!0))},d.readValue=function(){var t=x.selectValueMap[n.val()];return t&&!t.disabled?($||m.remove(),b.remove(),x.getViewValueFromOption(t)):null},w.trackBy&&e.$watch(function(){return w.getTrackByValue(p.$viewValue)},function(){p.$render()})),$?(m.remove(),t(m)(e),m.removeClass("ng-scope")):m=En(s.cloneNode(!1)),f(),e.$watchCollection(w.getWatchables,f)}}}}],eo=["$locale","$interpolate","$log",function(t,e,n){var i=/{}/g,r=/^when(Minus)?(.+)$/;return{link:function(s,a,u){function l(t){a.text(t||"")}var c,h=u.count,f=u.$attr.when&&a.attr(u.$attr.when),p=u.offset||0,m=s.$eval(f)||{},g={},v=e.startSymbol(),$=e.endSymbol(),b=v+h+"-"+p+$,x=jn.noop;o(u,function(t,e){var n=r.exec(e);n&&(n=(n[1]?"-":"")+kn(n[2]),m[n]=a.attr(u.$attr[e]))}),o(m,function(t,n){g[n]=e(t.replace(i,b))}),s.$watch(h,function(e){var i=parseFloat(e),r=isNaN(i);r||i in m||(i=t.pluralCat(i-p)),i===c||r&&E(c)&&isNaN(c)||(x(),y(r=g[i])?(null!=e&&n.debug("ngPluralize: no rule defined for '"+i+"' in "+f),x=d,l()):x=s.$watch(r,l),c=i)})}}}],no=["$parse","$animate",function(t,s){var a=i("ngRepeat"),u=function(t,e,n,i,r,o,s){t[n]=i,r&&(t[r]=o),t.$index=e,t.$first=0===e,t.$last=e===s-1,t.$middle=!(t.$first||t.$last),t.$odd=!(t.$even=0==(1&e))};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(i,l){var c=l.ngRepeat,h=e.createComment(" end ngRepeat: "+c+" ");if(!(f=c.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/)))throw a("iexp",c);var f,p=f[1],d=f[2],m=f[3],g=f[4];if(!(f=p.match(/^(?:(\s*[\$\w]+)|\(\s*([\$\w]+)\s*,\s*([\$\w]+)\s*\))$/)))throw a("iidexp",p);var v=f[3]||f[1],y=f[2];if(m&&(!/^[$a-zA-Z_][$a-zA-Z0-9_]*$/.test(m)||/^(null|undefined|this|\$index|\$first|\$middle|\$last|\$even|\$odd|\$parent|\$root|\$id)$/.test(m)))throw a("badident",m);var $,b,x,w,E={$id:Ct};return g?$=t(g):(x=function(t,e){return Ct(e)},w=function(t){return t}),function(t,e,i,l,f){$&&(b=function(e,n,i){return y&&(E[y]=e),E[v]=n,E.$index=i,$(t,E)});var p=ot();t.$watchCollection(d,function(i){var l,d,g,$,E,S,T,C,k,A,N=e[0],_=ot();if(m&&(t[m]=i),r(i))C=i,d=b||x;else for(A in d=b||w,C=[],i)i.hasOwnProperty(A)&&"$"!==A.charAt(0)&&C.push(A);for($=C.length,A=Array($),l=0;l<$;l++)if(E=i===C?l:C[l],S=i[E],T=d(E,S,l),p[T])k=p[T],delete p[T],_[T]=k,A[l]=k;else{if(_[T])throw o(A,function(t){t&&t.scope&&(p[t.id]=t)}),a("dupes",c,T,S);A[l]={id:T,scope:n,clone:n},_[T]=!0}for(g in p){if(T=rt((k=p[g]).clone),s.leave(T),T[0].parentNode)for(l=0,d=T.length;l<d;l++)T[l].$$NG_REMOVED=!0;k.scope.$destroy()}for(l=0;l<$;l++)if(E=i===C?l:C[l],S=i[E],(k=A[l]).scope){g=N;do{g=g.nextSibling}while(g&&g.$$NG_REMOVED);k.clone[0]!=g&&s.move(rt(k.clone),null,En(N)),N=k.clone[k.clone.length-1],u(k.scope,l,v,S,y,E,$)}else f(function(t,e){k.scope=e;var n=h.cloneNode(!1);t[t.length++]=n,s.enter(t,null,En(N)),N=n,k.clone=t,_[k.id]=k,u(k.scope,l,v,S,y,E,$)});p=_})}}}}],io=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,i){e.$watch(i.ngShow,function(e){t[e?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],ro=["$animate",function(t){return{restrict:"A",multiElement:!0,link:function(e,n,i){e.$watch(i.ngHide,function(e){t[e?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})})}}}],oo=hn(function(t,e,n){t.$watch(n.ngStyle,function(t,n){n&&t!==n&&o(n,function(t,n){e.css(n,"")}),t&&e.css(t)},!0)}),so=["$animate",function(t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,r,s){var a=[],u=[],l=[],c=[],h=function(t,e){return function(){t.splice(e,1)}};n.$watch(r.ngSwitch||r.on,function(n){var i,r;for(i=0,r=l.length;i<r;++i)t.cancel(l[i]);for(i=l.length=0,r=c.length;i<r;++i){var f=rt(u[i].clone);c[i].$destroy(),(l[i]=t.leave(f)).then(h(l,i))}u.length=0,c.length=0,(a=s.cases["!"+n]||s.cases["?"])&&o(a,function(n){n.transclude(function(i,r){c.push(r);var o=n.element;i[i.length++]=e.createComment(" end ngSwitchWhen: "),u.push({clone:i}),t.enter(i,o.parent(),o)})})})}}}],ao=hn({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,i,r){i.cases["!"+n.ngSwitchWhen]=i.cases["!"+n.ngSwitchWhen]||[],i.cases["!"+n.ngSwitchWhen].push({transclude:r,element:e})}}),uo=hn({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(t,e,n,i,r){i.cases["?"]=i.cases["?"]||[],i.cases["?"].push({transclude:r,element:e})}}),lo=hn({restrict:"EAC",link:function(t,e,n,r,o){if(!o)throw i("ngTransclude")("orphan",B(e));o(function(t){e.empty(),e.append(t)})}}),co=["$templateCache",function(t){return{restrict:"E",terminal:!0,compile:function(e,n){"text/ng-template"==n.type&&t.put(n.id,e[0].text)}}}],ho={$setViewValue:d,$render:d},fo=["$element","$scope","$attrs",function(t,i,r){var o=this,s=new kt;o.ngModelCtrl=ho,o.unknownOption=En(e.createElement("option")),o.renderUnknownOption=function(e){e="? "+Ct(e)+" ?",o.unknownOption.val(e),t.prepend(o.unknownOption),t.val(e)},i.$on("$destroy",function(){o.renderUnknownOption=d}),o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.readValue=function(){return o.removeUnknownOption(),t.val()},o.writeValue=function(e){o.hasOption(e)?(o.removeUnknownOption(),t.val(e),""===e&&o.emptyOption.prop("selected",!0)):null==e&&o.emptyOption?(o.removeUnknownOption(),t.val("")):o.renderUnknownOption(e)},o.addOption=function(t,e){nt(t,'"option value"'),""===t&&(o.emptyOption=e);var n=s.get(t)||0;s.put(t,n+1)},o.removeOption=function(t){var e=s.get(t);e&&(1===e?(s.remove(t),""===t&&(o.emptyOption=n)):s.put(t,e-1))},o.hasOption=function(t){return!!s.get(t)}}],po=function(){return{restrict:"E",require:["select","?ngModel"],controller:fo,link:function(t,e,n,i){var r=i[1];if(r){var s=i[0];if(s.ngModelCtrl=r,r.$render=function(){s.writeValue(r.$viewValue)},e.on("change",function(){t.$apply(function(){r.$setViewValue(s.readValue())})}),n.multiple){s.readValue=function(){var t=[];return o(e.find("option"),function(e){e.selected&&t.push(e.value)}),t},s.writeValue=function(t){var n=new kt(t);o(e.find("option"),function(t){t.selected=$(n.get(t.value))})};var a,u=NaN;t.$watch(function(){u!==r.$viewValue||L(a,r.$viewValue)||(a=D(r.$viewValue),r.$render()),u=r.$viewValue}),r.$isEmpty=function(t){return!t||0===t.length}}}}}},mo=["$interpolate",function(t){function e(t){t[0].hasAttribute("selected")&&(t[0].selected=!0)}return{restrict:"E",priority:100,compile:function(n,i){if(y(i.value)){var r=t(n.text(),!0);r||i.$set("value",n.text())}return function(t,n,i){var o=n.parent(),s=o.data("$selectController")||o.parent().data("$selectController");s&&s.ngModelCtrl&&(r?t.$watch(r,function(t,r){i.$set("value",t),r!==t&&s.removeOption(r),s.addOption(t,n),s.ngModelCtrl.$render(),e(n)}):(s.addOption(i.value,n),s.ngModelCtrl.$render(),e(n)),n.on("$destroy",function(){s.removeOption(i.value),s.ngModelCtrl.$render()}))}}}}],go=g({restrict:"E",terminal:!1}),vo=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,i){i&&(n.required=!0,i.$validators.required=function(t,e){return!n.required||!i.$isEmpty(e)},n.$observe("required",function(){i.$validate()}))}}},yo=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,r,o){if(o){var s,a=r.ngPattern||r.pattern;r.$observe("pattern",function(t){if(w(t)&&0<t.length&&(t=new RegExp("^"+t+"$")),t&&!t.test)throw i("ngPattern")("noregexp",a,t,B(e));s=t||n,o.$validate()}),o.$validators.pattern=function(t,e){return o.$isEmpty(e)||y(s)||s.test(e)}}}}},$o=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,i){if(i){var r=-1;n.$observe("maxlength",function(t){t=f(t),r=isNaN(t)?-1:t,i.$validate()}),i.$validators.maxlength=function(t,e){return 0>r||i.$isEmpty(e)||e.length<=r}}}}},bo=function(){return{restrict:"A",require:"?ngModel",link:function(t,e,n,i){if(i){var r=0;n.$observe("minlength",function(t){r=f(t)||0,i.$validate()}),i.$validators.minlength=function(t,e){return i.$isEmpty(e)||e.length>=r}}}}};t.angular.bootstrap?console.log("WARNING: Tried to load angular more than once."):(function(){var e;if(!Yn){var i=Vn();Sn=t.jQuery,$(i)&&(Sn=null===i?n:t[i]),Sn&&Sn.fn.on?(En=Sn,c(Sn.fn,{scope:ui.scope,isolateScope:ui.isolateScope,controller:ui.controller,injector:ui.injector,inheritedData:ui.inheritedData}),e=Sn.cleanData,Sn.cleanData=function(t){var n;if(Rn)Rn=!1;else for(var i,r=0;null!=(i=t[r]);r++)(n=Sn._data(i,"events"))&&n.$destroy&&Sn(i).triggerHandler("$destroy");e(t)}):En=lt,jn.element=En,Yn=!0}}(),c(jn,{bootstrap:J,copy:M,extend:c,merge:h,equals:L,element:En,forEach:o,injector:At,noop:d,bind:I,toJson:H,fromJson:z,identity:m,isUndefined:y,isDefined:$,isString:w,isFunction:T,isObject:b,isNumber:E,isElement:_,isArray:Hn,version:Jn,isDate:S,lowercase:kn,uppercase:Nn,callbacks:{counter:0},getTestability:Q,$$minErr:i,$$csp:Bn,reloadWithDebugInfo:K}),(Tn=function(t){function e(t,e,n){return t[e]||(t[e]=n())}var n=i("$injector"),r=i("ng");return(t=e(t,"angular",Object)).$$minErr=t.$$minErr||i,e(t,"module",function(){var t={};return function(i,o,s){if("hasOwnProperty"===i)throw r("badname","module");return o&&t.hasOwnProperty(i)&&(t[i]=null),e(t,i,function(){function t(t,e,n,i){return i||(i=r),function(){return i[n||"push"]([t,e,arguments]),c}}function e(t,e){return function(n,o){return o&&T(o)&&(o.$$moduleName=i),r.push([t,e,arguments]),c}}if(!o)throw n("nomod",i);var r=[],a=[],u=[],l=t("$injector","invoke","push",a),c={_invokeQueue:r,_configBlocks:a,_runBlocks:u,requires:o,name:i,provider:e("$provide","provider"),factory:e("$provide","factory"),service:e("$provide","service"),value:t("$provide","value"),constant:t("$provide","constant","unshift"),decorator:e("$provide","decorator"),animation:e("$animateProvider","register"),filter:e("$filterProvider","register"),controller:e("$controllerProvider","register"),directive:e("$compileProvider","directive"),config:l,run:function(t){return u.push(t),this}};return s&&l(s),c})}})}(t))("ng",["ngLocale"],["$provide",function(t){t.provider({$$sanitizeUri:De}),t.provider("$compile",jt).directive({a:sr,input:wr,textarea:wr,form:cr,script:co,select:po,style:go,option:mo,ngBind:Tr,ngBindHtml:kr,ngBindTemplate:Cr,ngClass:Nr,ngClassEven:Pr,ngClassOdd:_r,ngCloak:Or,ngController:Mr,ngForm:hr,ngHide:ro,ngIf:jr,ngInclude:Ir,ngInit:Hr,ngNonBindable:Kr,ngPluralize:eo,ngRepeat:no,ngShow:io,ngStyle:oo,ngSwitch:so,ngSwitchWhen:ao,ngSwitchDefault:uo,ngOptions:to,ngTransclude:lo,ngModel:Ur,ngList:zr,ngChange:Ar,pattern:yo,ngPattern:yo,required:vo,ngRequired:vo,minlength:bo,ngMinlength:bo,maxlength:$o,ngMaxlength:$o,ngValue:Sr,ngModelOptions:Jr}).directive({ngInclude:Rr}).directive(ar).directive(Dr),t.provider({$anchorScroll:Nt,$animate:xi,$animateCss:wi,$$animateQueue:bi,$$AnimateRunner:$i,$browser:Mt,$cacheFactory:Dt,$controller:zt,$document:qt,$exceptionHandler:Ft,$filter:Ye,$$forceReflow:ki,$interpolate:Zt,$interval:te,$http:Jt,$httpParamSerializer:Vt,$httpParamSerializerJQLike:Wt,$httpBackend:Qt,$location:fe,$log:pe,$parse:Ae,$rootScope:Me,$q:Ne,$$q:_e,$sce:Ie,$sceDelegate:je,$sniffer:Re,$templateCache:Lt,$templateRequest:He,$$testability:ze,$timeout:qe,$window:Ve,$$rAF:Oe,$$jqLite:Tt,$$HashMap:fi,$$cookieReader:Xe})}]),jn.module("ngLocale",[],["$provide",function(t){t.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(" "),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",pluralCat:function(t,e){var i=0|t,r=e;return n===r&&(r=Math.min(function(t){var e=(t+="").indexOf(".");return-1==e?0:t.length-e-1}(t),3)),Math.pow(10,r),1==i&&0==r?"one":"other"}})}]),En(e).ready(function(){G(e,J)}))}(window,document),!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>'),function(t,e,n,i){"use strict";function r(t,e,n){return setTimeout(l(t,n),e)}function o(t,e,n){return!!Array.isArray(t)&&(s(t,n[e],n),!0)}function s(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(t.length!==i)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function a(e,n,i){var r="DEPRECATED METHOD: "+n+"\n"+i+" AT \n";return function(){var n=new Error("get-stack-trace"),i=n&&n.stack?n.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=t.console&&(t.console.warn||t.console.log);return o&&o.call(t.console,r,i),e.apply(this,arguments)}}function u(t,e,n){var i,r=e.prototype;(i=t.prototype=Object.create(r)).constructor=t,i._super=r,n&&Z(i,n)}function l(t,e){return function(){return t.apply(e,arguments)}}function c(t,e){return typeof t==nt?t.apply(e&&e[0]||i,e):t}function h(t,e){return t===i?e:t}function f(t,e,n){s(g(e),function(e){t.addEventListener(e,n,!1)})}function p(t,e,n){s(g(e),function(e){t.removeEventListener(e,n,!1)})}function d(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function m(t,e){return t.indexOf(e)>-1}function g(t){return t.trim().split(/\s+/g)}function v(t,e,n){if(t.indexOf&&!n)return t.indexOf(e);for(var i=0;i<t.length;){if(n&&t[i][n]==e||!n&&t[i]===e)return i;i++}return-1}function y(t){return Array.prototype.slice.call(t,0)}function $(t,e,n){for(var i=[],r=[],o=0;o<t.length;){var s=e?t[o][e]:t[o];v(r,s)<0&&i.push(t[o]),r[o]=s,o++}return n&&(i=e?i.sort(function(t,n){return t[e]>n[e]}):i.sort()),i}function b(t,e){for(var n,r,o=e[0].toUpperCase()+e.slice(1),s=0;s<tt.length;){if((r=(n=tt[s])?n+o:e)in t)return r;s++}return i}function x(e){var n=e.ownerDocument||e;return n.defaultView||n.parentWindow||t}function w(t,e){var n=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){c(t.options.enable,[t])&&n.handler(e)},this.init()}function E(t,e,n){var i=n.pointers.length,r=n.changedPointers.length,o=e&mt&&i-r==0,s=e&(vt|yt)&&i-r==0;n.isFirst=!!o,n.isFinal=!!s,o&&(t.session={}),n.eventType=e,function(t,e){var n=t.session,i=e.pointers,r=i.length;n.firstInput||(n.firstInput=T(e)),r>1&&!n.firstMultiple?n.firstMultiple=T(e):1===r&&(n.firstMultiple=!1);var o=n.firstInput,s=n.firstMultiple,a=s?s.center:o.center,u=e.center=C(i);e.timeStamp=ot(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=_(a,u),e.distance=N(a,u),function(t,e){var n=e.center,i=t.offsetDelta||{},r=t.prevDelta||{},o=t.prevInput||{};e.eventType!==mt&&o.eventType!==vt||(r=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},i=t.offsetDelta={x:n.x,y:n.y}),e.deltaX=r.x+(n.x-i.x),e.deltaY=r.y+(n.y-i.y)}(n,e),e.offsetDirection=A(e.deltaX,e.deltaY);var l=k(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=l.x,e.overallVelocityY=l.y,e.overallVelocity=rt(l.x)>rt(l.y)?l.x:l.y,e.scale=s?function(t,e){return N(e[0],e[1],At)/N(t[0],t[1],At)}(s.pointers,i):1,e.rotation=s?function(t,e){return _(e[1],e[0],At)+_(t[1],t[0],At)}(s.pointers,i):0,e.maxPointers=n.prevInput?e.pointers.length>n.prevInput.maxPointers?e.pointers.length:n.prevInput.maxPointers:e.pointers.length,S(n,e);var c=t.element;d(e.srcEvent.target,c)&&(c=e.srcEvent.target),e.target=c}(t,n),t.emit("hammer.input",n),t.recognize(n),t.session.prevInput=n}function S(t,e){var n,r,o,s,a=t.lastInterval||e,u=e.timeStamp-a.timeStamp;if(e.eventType!=yt&&(u>dt||a.velocity===i)){var l=e.deltaX-a.deltaX,c=e.deltaY-a.deltaY,h=k(u,l,c);r=h.x,o=h.y,n=rt(h.x)>rt(h.y)?h.x:h.y,s=A(l,c),t.lastInterval=e}else n=a.velocity,r=a.velocityX,o=a.velocityY,s=a.direction;e.velocity=n,e.velocityX=r,e.velocityY=o,e.direction=s}function T(t){for(var e=[],n=0;n<t.pointers.length;)e[n]={clientX:it(t.pointers[n].clientX),clientY:it(t.pointers[n].clientY)},n++;return{timeStamp:ot(),pointers:e,center:C(e),deltaX:t.deltaX,deltaY:t.deltaY}}function C(t){var e=t.length;if(1===e)return{x:it(t[0].clientX),y:it(t[0].clientY)};for(var n=0,i=0,r=0;e>r;)n+=t[r].clientX,i+=t[r].clientY,r++;return{x:it(n/e),y:it(i/e)}}function k(t,e,n){return{x:e/t||0,y:n/t||0}}function A(t,e){return t===e?$t:rt(t)>=rt(e)?0>t?bt:xt:0>e?wt:Et}function N(t,e,n){n||(n=kt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return Math.sqrt(i*i+r*r)}function _(t,e,n){n||(n=kt);var i=e[n[0]]-t[n[0]],r=e[n[1]]-t[n[1]];return 180*Math.atan2(r,i)/Math.PI}function P(){this.evEl=_t,this.evWin=Pt,this.pressed=!1,w.apply(this,arguments)}function O(){this.evEl=Dt,this.evWin=Lt,w.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function M(){this.evTarget=It,this.evWin=Rt,this.started=!1,w.apply(this,arguments)}function D(){this.evTarget=zt,this.targetIds={},w.apply(this,arguments)}function L(){w.apply(this,arguments);var t=l(this.handler,this);this.touch=new D(this.manager,t),this.mouse=new P(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function j(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var n={x:e.clientX,y:e.clientY};this.lastTouches.push(n);var i=this.lastTouches;setTimeout(function(){var t=i.indexOf(n);t>-1&&i.splice(t,1)},qt)}}function I(t,e){this.manager=t,this.set(e)}function R(t){this.options=Z({},this.defaults,t||{}),this.id=ut++,this.manager=null,this.options.enable=h(this.options.enable,!0),this.state=Qt,this.simultaneous={},this.requireFail=[]}function H(t){return t&ie?"cancel":t&ee?"end":t&te?"move":t&Zt?"start":""}function z(t){return t==Et?"down":t==wt?"up":t==bt?"left":t==xt?"right":""}function q(t,e){var n=e.manager;return n?n.get(t):t}function F(){R.apply(this,arguments)}function B(){F.apply(this,arguments),this.pX=null,this.pY=null}function V(){F.apply(this,arguments)}function W(){R.apply(this,arguments),this._timer=null,this._input=null}function X(){F.apply(this,arguments)}function Y(){F.apply(this,arguments)}function U(){R.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function G(t,e){return(e=e||{}).recognizers=h(e.recognizers,G.defaults.preset),new J(t,e)}function J(t,e){this.options=Z({},G.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(ct?O:ht?D:lt?L:P))(t,E)}(this),this.touchAction=new I(this,this.options.touchAction),K(this,!0),s(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function K(t,e){var n,i=t.element;i.style&&(s(t.options.cssProps,function(r,o){n=b(i.style,o),e?(t.oldCssProps[n]=i.style[n],i.style[n]=r):i.style[n]=t.oldCssProps[n]||""}),e||(t.oldCssProps={}))}function Q(t,n){var i=e.createEvent("Event");i.initEvent(t,!0,!0),i.gesture=n,n.target.dispatchEvent(i)}var Z,tt=["","webkit","Moz","MS","ms","o"],et=e.createElement("div"),nt="function",it=Math.round,rt=Math.abs,ot=Date.now;Z="function"!=typeof Object.assign?function(t){if(t===i||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1;n<arguments.length;n++){var r=arguments[n];if(r!==i&&null!==r)for(var o in r)r.hasOwnProperty(o)&&(e[o]=r[o])}return e}:Object.assign;var st=a(function(t,e,n){for(var r=Object.keys(e),o=0;o<r.length;)(!n||n&&t[r[o]]===i)&&(t[r[o]]=e[r[o]]),o++;return t},"extend","Use `assign`."),at=a(function(t,e){return st(t,e,!0)},"merge","Use `assign`."),ut=1,lt="ontouchstart"in t,ct=b(t,"PointerEvent")!==i,ht=lt&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),ft="touch",pt="mouse",dt=25,mt=1,gt=2,vt=4,yt=8,$t=1,bt=2,xt=4,wt=8,Et=16,St=bt|xt,Tt=wt|Et,Ct=St|Tt,kt=["x","y"],At=["clientX","clientY"];w.prototype={handler:function(){},init:function(){this.evEl&&f(this.element,this.evEl,this.domHandler),this.evTarget&&f(this.target,this.evTarget,this.domHandler),this.evWin&&f(x(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&p(this.element,this.evEl,this.domHandler),this.evTarget&&p(this.target,this.evTarget,this.domHandler),this.evWin&&p(x(this.element),this.evWin,this.domHandler)}};var Nt={mousedown:mt,mousemove:gt,mouseup:vt},_t="mousedown",Pt="mousemove mouseup";u(P,w,{handler:function(t){var e=Nt[t.type];e&mt&&0===t.button&&(this.pressed=!0),e&gt&&1!==t.which&&(e=vt),this.pressed&&(e&vt&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:pt,srcEvent:t}))}});var Ot={pointerdown:mt,pointermove:gt,pointerup:vt,pointercancel:yt,pointerout:yt},Mt={2:ft,3:"pen",4:pt,5:"kinect"},Dt="pointerdown",Lt="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&(Dt="MSPointerDown",Lt="MSPointerMove MSPointerUp MSPointerCancel"),u(O,w,{handler:function(t){var e=this.store,n=!1,i=t.type.toLowerCase().replace("ms",""),r=Ot[i],o=Mt[t.pointerType]||t.pointerType,s=o==ft,a=v(e,t.pointerId,"pointerId");r&mt&&(0===t.button||s)?0>a&&(e.push(t),a=e.length-1):r&(vt|yt)&&(n=!0),0>a||(e[a]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),n&&e.splice(a,1))}});var jt={touchstart:mt,touchmove:gt,touchend:vt,touchcancel:yt},It="touchstart",Rt="touchstart touchmove touchend touchcancel";u(M,w,{handler:function(t){var e=jt[t.type];if(e===mt&&(this.started=!0),this.started){var n=function(t,e){var n=y(t.touches),i=y(t.changedTouches);return e&(vt|yt)&&(n=$(n.concat(i),"identifier",!0)),[n,i]}.call(this,t,e);e&(vt|yt)&&n[0].length-n[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:ft,srcEvent:t})}}});var Ht={touchstart:mt,touchmove:gt,touchend:vt,touchcancel:yt},zt="touchstart touchmove touchend touchcancel";u(D,w,{handler:function(t){var e=Ht[t.type],n=function(t,e){var n=y(t.touches),i=this.targetIds;if(e&(mt|gt)&&1===n.length)return i[n[0].identifier]=!0,[n,n];var r,o,s=y(t.changedTouches),a=[],u=this.target;if(o=n.filter(function(t){return d(t.target,u)}),e===mt)for(r=0;r<o.length;)i[o[r].identifier]=!0,r++;for(r=0;r<s.length;)i[s[r].identifier]&&a.push(s[r]),e&(vt|yt)&&delete i[s[r].identifier],r++;return a.length?[$(o.concat(a),"identifier",!0),a]:void 0}.call(this,t,e);n&&this.callback(this.manager,e,{pointers:n[0],changedPointers:n[1],pointerType:ft,srcEvent:t})}});var qt=2500,Ft=25;u(L,w,{handler:function(t,e,n){var i=n.pointerType==ft,r=n.pointerType==pt;if(!(r&&n.sourceCapabilities&&n.sourceCapabilities.firesTouchEvents)){if(i)(function(t,e){t&mt?(this.primaryTouch=e.changedPointers[0].identifier,j.call(this,e)):t&(vt|yt)&&j.call(this,e)}).call(this,e,n);else if(r&&function(t){for(var e=t.srcEvent.clientX,n=t.srcEvent.clientY,i=0;i<this.lastTouches.length;i++){var r=this.lastTouches[i],o=Math.abs(e-r.x),s=Math.abs(n-r.y);if(Ft>=o&&Ft>=s)return!0}return!1}.call(this,n))return;this.callback(t,e,n)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var Bt=b(et.style,"touchAction"),Vt=Bt!==i,Wt="compute",Xt="auto",Yt="manipulation",Ut="none",Gt="pan-x",Jt="pan-y",Kt=function(){if(!Vt)return!1;var e={},n=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(i){e[i]=!n||t.CSS.supports("touch-action",i)}),e}();I.prototype={set:function(t){t==Wt&&(t=this.compute()),Vt&&this.manager.element.style&&Kt[t]&&(this.manager.element.style[Bt]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return s(this.manager.recognizers,function(e){c(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(m(t,Ut))return Ut;var e=m(t,Gt),n=m(t,Jt);return e&&n?Ut:e||n?e?Gt:Jt:m(t,Yt)?Yt:Xt}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,n=t.offsetDirection;if(!this.manager.session.prevented){var i=this.actions,r=m(i,Ut)&&!Kt[Ut],o=m(i,Jt)&&!Kt[Jt],s=m(i,Gt)&&!Kt[Gt];if(r){var a=1===t.pointers.length,u=t.distance<2,l=t.deltaTime<250;if(a&&u&&l)return}return s&&o?void 0:r||o&&n&St||s&&n&Tt?this.preventSrc(e):void 0}e.preventDefault()},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Qt=1,Zt=2,te=4,ee=8,ne=ee,ie=16;R.prototype={defaults:{},set:function(t){return Z(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(o(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=q(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return o(t,"dropRecognizeWith",this)?this:(t=q(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(o(t,"requireFailure",this))return this;var e=this.requireFail;return-1===v(e,t=q(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(o(t,"dropRequireFailure",this))return this;t=q(t,this);var e=v(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){n.manager.emit(e,t)}var n=this,i=this.state;ee>i&&e(n.options.event+H(i)),e(n.options.event),t.additionalEvent&&e(t.additionalEvent),i>=ee&&e(n.options.event+H(i))},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=32)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Qt)))return!1;t++}return!0},recognize:function(t){var e=Z({},t);return c(this.options.enable,[this,e])?(this.state&(ne|ie|32)&&(this.state=Qt),this.state=this.process(e),void(this.state&(Zt|te|ee|ie)&&this.tryEmit(e))):(this.reset(),void(this.state=32))},process:function(t){},getTouchAction:function(){},reset:function(){}},u(F,R,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,n=t.eventType,i=e&(Zt|te),r=this.attrTest(t);return i&&(n&yt||!r)?e|ie:i||r?n&vt?e|ee:e&Zt?e|te:Zt:32}}),u(B,F,{defaults:{event:"pan",threshold:10,pointers:1,direction:Ct},getTouchAction:function(){var t=this.options.direction,e=[];return t&St&&e.push(Jt),t&Tt&&e.push(Gt),e},directionTest:function(t){var e=this.options,n=!0,i=t.distance,r=t.direction,o=t.deltaX,s=t.deltaY;return r&e.direction||(e.direction&St?(r=0===o?$t:0>o?bt:xt,n=o!=this.pX,i=Math.abs(t.deltaX)):(r=0===s?$t:0>s?wt:Et,n=s!=this.pY,i=Math.abs(t.deltaY))),t.direction=r,n&&i>e.threshold&&r&e.direction},attrTest:function(t){return F.prototype.attrTest.call(this,t)&&(this.state&Zt||!(this.state&Zt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=z(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),u(V,F,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Ut]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&Zt)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),u(W,R,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Xt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!i||!n||t.eventType&(vt|yt)&&!o)this.reset();else if(t.eventType&mt)this.reset(),this._timer=r(function(){this.state=ne,this.tryEmit()},e.time,this);else if(t.eventType&vt)return ne;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===ne&&(t&&t.eventType&vt?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=ot(),this.manager.emit(this.options.event,this._input)))}}),u(X,F,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Ut]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&Zt)}}),u(Y,F,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:St|Tt,pointers:1},getTouchAction:function(){return B.prototype.getTouchAction.call(this)},attrTest:function(t){var e,n=this.options.direction;return n&(St|Tt)?e=t.overallVelocity:n&St?e=t.overallVelocityX:n&Tt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&n&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&rt(e)>this.options.velocity&&t.eventType&vt},emit:function(t){var e=z(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),u(U,R,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Yt]},process:function(t){var e=this.options,n=t.pointers.length===e.pointers,i=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&mt&&0===this.count)return this.failTimeout();if(i&&o&&n){if(t.eventType!=vt)return this.failTimeout();var s=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||N(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&s?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=r(function(){this.state=ne,this.tryEmit()},e.interval,this),Zt):ne}return 32},failTimeout:function(){return this._timer=r(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==ne&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),G.VERSION="2.0.8",G.defaults={domEvents:!1,touchAction:Wt,enable:!0,inputTarget:null,inputClass:null,preset:[[X,{enable:!1}],[V,{enable:!1},["rotate"]],[Y,{direction:St}],[B,{direction:St},["swipe"]],[U],[U,{event:"doubletap",taps:2},["tap"]],[W]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};J.prototype={set:function(t){return Z(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var n,i=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&ne)&&(r=e.curRecognizer=null);for(var o=0;o<i.length;)n=i[o],2===e.stopped||r&&n!=r&&!n.canRecognizeWith(r)?n.reset():n.recognize(t),!r&&n.state&(Zt|te|ee)&&(r=e.curRecognizer=n),o++}},get:function(t){if(t instanceof R)return t;for(var e=this.recognizers,n=0;n<e.length;n++)if(e[n].options.event==t)return e[n];return null},add:function(t){if(o(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(o(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,n=v(e,t);-1!==n&&(e.splice(n,1),this.touchAction.update())}return this},on:function(t,e){if(t!==i&&e!==i){var n=this.handlers;return s(g(t),function(t){n[t]=n[t]||[],n[t].push(e)}),this}},off:function(t,e){if(t!==i){var n=this.handlers;return s(g(t),function(t){e?n[t]&&n[t].splice(v(n[t],e),1):delete n[t]}),this}},emit:function(t,e){this.options.domEvents&&Q(t,e);var n=this.handlers[t]&&this.handlers[t].slice();if(n&&n.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var i=0;i<n.length;)n[i](e),i++}},destroy:function(){this.element&&K(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},Z(G,{INPUT_START:mt,INPUT_MOVE:gt,INPUT_END:vt,INPUT_CANCEL:yt,STATE_POSSIBLE:Qt,STATE_BEGAN:Zt,STATE_CHANGED:te,STATE_ENDED:ee,STATE_RECOGNIZED:ne,STATE_CANCELLED:ie,STATE_FAILED:32,DIRECTION_NONE:$t,DIRECTION_LEFT:bt,DIRECTION_RIGHT:xt,DIRECTION_UP:wt,DIRECTION_DOWN:Et,DIRECTION_HORIZONTAL:St,DIRECTION_VERTICAL:Tt,DIRECTION_ALL:Ct,Manager:J,Input:w,TouchAction:I,TouchInput:D,MouseInput:P,PointerEventInput:O,TouchMouseInput:L,SingleTouchInput:M,Recognizer:R,AttrRecognizer:F,Tap:U,Pan:B,Swipe:Y,Pinch:V,Rotate:X,Press:W,on:f,off:p,each:s,merge:at,extend:st,assign:Z,inherit:u,bindFn:l,prefixed:b}),(void 0!==t?t:"undefined"!=typeof self?self:{}).Hammer=G,"function"==typeof define&&define.amd?define(function(){return G}):"undefined"!=typeof module&&module.exports?module.exports=G:t.Hammer=G}(window,document),function(){var t,e,n=[],i=[],r={load:{code:1,message:"erro no request do JSONP"}};function o(){}function s(t,e){for(var r=t?n:i,o=0;o<r.length;o++)r[o](e);n=[],i=[]}function a(n){window.NotificacaoUOLCallback=void 0,e=!1,s(!0,t=function(t){return t.response=t.response||{},t.response.isLogged=t.isLogged,(t=t.response).moreThan="",t.isLogged?!1===t.count?(t.isLogged=!1,t):(t.name&&(t.name=t.name.length>11?t.name.slice(0,11)+"...":t.name),"number"!=typeof t.count&&(t.count=0),t.countStr=t.count+"",0===t.count?(t.hasEmail="no-email",t.messagePrefix="você não tem novos emails",t.countStr=""):1===t.count?(t.hasEmail="has-email",t.messagePrefix="você tem",t.messageSuffix="novo email"):(t.count>9&&t.count<100?t.moreThan="more-than-10":t.count>99&&(t.moreThan="more-than-100",t.countStr="99+"),t.hasEmail="has-email",t.messagePrefix="você tem",t.messageSuffix="novos emails"),t):t}(n))}window.NotificacaoUOL={init:function(u,l){if(l="function"==typeof l?l:o,u="function"==typeof u?u:o,n.push(u),i.push(l),!e||t)if(t)s(!0,t);else{e=!0,window.NotificacaoUOLCallback=a;var c="//notify.uol.com.br/services/notificacoes_email?callback=NotificacaoUOLCallback";/bol.uol.com.br/.test(location.host)&&(c+="&emailDomain=bol.com.br"),function(t,e){var n=document.getElementsByTagName("head")[0],i=document.createElement("script");i.type="text/javascript",i.async=!0,i.charset=e||"utf-8",i.src=t,i.onerror=function(t){s(!1,{code:r.load.code,message:r.load.message,error:t})},i.onload=i.onreadystatechange=function(t,e){return function(){e.readyState&&"loaded"!=e.readyState&&"complete"!=e.readyState||(n.removeChild(e),e.onload=e.onreadystatechange=null)}}(0,i),n.insertBefore(i,n.firstChild)}(c)}},clear:function(){t=null}}}(),function(t,e,n){"use strict";"undefined"!=typeof module&&module.exports?module.exports=n(e,t):"function"==typeof define&&define.amd?define(function(){return n(e,t)}):t[e]=n(e,t)}(window,"Audio5js",function(t,e){"use strict";function n(t){this.message=t}var i=e.ActiveXObject;n.prototype=Error();var r=function(t,e){var n,i=function t(e){var n,i={};for(n in e)i[n]="object"==typeof e[n]?t(e[n]):e[n];return i}(e);for(n in i)i.hasOwnProperty(n)&&(t[n]=i[n]);return t},o=function(t,e){return r(t.prototype,e)},s={on:function(t,e,n){this.subscribe(t,e,n,!1)},one:function(t,e,n){this.subscribe(t,e,n,!0)},off:function(t,e){var n,i;if(void 0!==this.channels[t])for(n=0,i=this.channels[t].length;i>n;n++){if(this.channels[t][n].fn===e){this.channels[t].splice(n,1);break}}},subscribe:function(t,e,n,i){void 0===this.channels&&(this.channels={}),this.channels[t]=this.channels[t]||[],this.channels[t].push({fn:e,ctx:n,once:i||!1})},trigger:function(t){if(this.channels&&this.channels.hasOwnProperty(t)){for(var e=Array.prototype.slice.call(arguments,1),n=[];this.channels[t].length>0;){var i=this.channels[t].shift();"function"==typeof i.fn&&i.fn.apply(i.ctx,e),i.once||n.push(i)}this.channels[t]=n}}},a={flash_embed_code:function(e,n,r){return(i?'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="1" height="1" id="'+e+'">':'<object type="application/x-shockwave-flash" data="'+n+"?playerInstance=window."+t+"_flash.instances['"+e+"']&datetime="+r+'" width="1" height="1" id="'+e+'" >')+('<param name="movie" value="'+n+"?playerInstance=window."+t+"_flash.instances['"+e+"']&datetime="+r+'"/><param name="wmode" value="transparent"/><param name="allowscriptaccess" value="always" /></object>')},can_play:function(t){var e,n=document.createElement("audio");switch(t){case"mp3":e="audio/mpeg;";break;case"vorbis":e='audio/ogg; codecs="vorbis"';break;case"opus":e='audio/ogg; codecs="opus"';break;case"webm":e='audio/webm; codecs="vorbis"';break;case"mp4":e='audio/mp4; codecs="mp4a.40.5"';break;case"wav":e='audio/wav; codecs="1"'}return void 0!==e&&(!("mp3"!==t||!navigator.userAgent.match(/Android/i)||!navigator.userAgent.match(/Firefox/i))||!!n.canPlayType&&""!==n.canPlayType(e))},has_flash:function(){var t=!1;if(navigator.plugins&&navigator.plugins.length&&navigator.plugins["Shockwave Flash"])t=!0;else if(navigator.mimeTypes&&navigator.mimeTypes.length){var e=navigator.mimeTypes["application/x-shockwave-flash"];t=e&&e.enabledPlugin}else try{t="object"==typeof new i("ShockwaveFlash.ShockwaveFlash")}catch(t){}return t}(),embedFlash:function(n,i){var r=document.createElement("div");if(r.style.position="absolute",r.style.width="1px",r.style.height="1px",r.style.top="1px",document.body.appendChild(r),"object"==typeof e.swfobject){var o={playerInstance:"window."+t+"_flash.instances['"+i+"']"};r.innerHTML='<div id="'+i+'"></div>',swfobject.embedSWF(n+"?ts="+((new Date).getTime()+Math.random()),i,"1","1","9.0.0",null,o,{allowscriptaccess:"always",wmode:"transparent"})}else{var s=(new Date).getTime()+Math.random();r.innerHTML=this.flash_embed_code(i,n,s)}return document.getElementById(i)},formatTime:function(t){var e=parseInt(t/3600,10)%24,n=parseInt(t/60,10)%60,i=parseInt(t%60,10),r=(10>n?"0"+n:n)+":"+(10>i?"0"+i:i);return e>0?(10>e?"0"+e:e)+":"+r:r}};a.use_flash=a.can_play("mp3");var u,l,c,h={playing:!1,vol:1,duration:0,position:0,load_percent:0,seekable:!1,ready:null},f=e[t+"_flash"]=e[t+"_flash"]||{instances:{},count:0};(l=function(){if(a.use_flash&&!a.has_flash)throw Error("Flash Plugin Missing")}).prototype={init:function(e){f.count+=1,this.id=t+f.count,f.instances[this.id]=this,this.embed(e)},embed:function(t){a.embedFlash(t,this.id)},eiReady:function(){this.audio=document.getElementById(this.id),this.trigger("ready")},eiLoadStart:function(){this.trigger("loadstart")},eiLoadedMetadata:function(){this.trigger("loadedmetadata")},eiCanPlay:function(){this.trigger("canplay")},eiTimeUpdate:function(t,e,n){this.position=t,this.duration=e,this.seekable=n,this.trigger("timeupdate",t,this.seekable?e:null)},eiProgress:function(t,e,n){this.load_percent=t,this.duration=e,this.seekable=n,this.trigger("progress",t)},eiLoadError:function(t){this.trigger("error",t)},eiPlay:function(){this.playing=!0,this.trigger("play")},eiPause:function(){this.playing=!1,this.trigger("pause")},eiEnded:function(){this.pause(),this.trigger("ended")},eiSeeking:function(){this.trigger("seeking")},eiSeeked:function(){this.trigger("seeked")},reset:function(){this.seekable=!1,this.duration=0,this.position=0,this.load_percent=0},load:function(t){this.reset(),this.audio.load(t)},play:function(){this.audio.pplay()},pause:function(){this.audio.ppause()},volume:function(t){return void 0===t||isNaN(parseInt(t,10))?this.vol:(this.audio.setVolume(t),void(this.vol=t))},seek:function(t){try{this.audio.seekTo(t),this.position=t}catch(t){}},destroyAudio:function(){this.audio&&(this.pause(),this.audio.parentNode.removeChild(this.audio),delete f.instances[this.id],delete this.audio)}},o(l,s),o(l,h),(c=function(){}).prototype={init:function(){this.trigger("ready")},createAudio:function(){this.audio=new Audio,this.audio.autoplay=!1,this.audio.preload="auto",this.audio.autobuffer=!0,this.bindEvents()},destroyAudio:function(){if(this.audio){this.pause(),this.unbindEvents();try{this.audio.setAttribute("src","")}finally{delete this.audio}}},setupEventListeners:function(){this.listeners={loadstart:this.onLoadStart.bind(this),canplay:this.onLoad.bind(this),loadedmetadata:this.onLoadedMetadata.bind(this),play:this.onPlay.bind(this),pause:this.onPause.bind(this),ended:this.onEnded.bind(this),error:this.onError.bind(this),timeupdate:this.onTimeUpdate.bind(this),seeking:this.onSeeking.bind(this),seeked:this.onSeeked.bind(this)}},bindEvents:function(){void 0===this.listeners&&this.setupEventListeners(),this.audio.addEventListener("loadstart",this.listeners.loadstart,!1),this.audio.addEventListener("canplay",this.listeners.canplay,!1),this.audio.addEventListener("loadedmetadata",this.listeners.loadedmetadata,!1),this.audio.addEventListener("play",this.listeners.play,!1),this.audio.addEventListener("pause",this.listeners.pause,!1),this.audio.addEventListener("ended",this.listeners.ended,!1),this.audio.addEventListener("error",this.listeners.error,!1),this.audio.addEventListener("timeupdate",this.listeners.timeupdate,!1),this.audio.addEventListener("seeking",this.listeners.seeking,!1),this.audio.addEventListener("seeked",this.listeners.seeked,!1)},unbindEvents:function(){this.audio.removeEventListener("loadstart",this.listeners.loadstart),this.audio.removeEventListener("canplay",this.listeners.canplay),this.audio.removeEventListener("loadedmetadata",this.listeners.loadedmetadata),this.audio.removeEventListener("play",this.listeners.play),this.audio.removeEventListener("pause",this.listeners.pause),this.audio.removeEventListener("ended",this.listeners.ended),this.audio.removeEventListener("error",this.listeners.error),this.audio.removeEventListener("timeupdate",this.listeners.timeupdate),this.audio.removeEventListener("seeking",this.listeners.seeking),this.audio.removeEventListener("seeked",this.listeners.seeked)},onLoadStart:function(){this.trigger("loadstart")},onLoad:function(){return this.audio?(this.seekable=this.audio.seekable&&this.audio.seekable.length>0,this.seekable&&(this.timer=setInterval(this.onProgress.bind(this),250)),void this.trigger("canplay")):setTimeout(this.onLoad.bind(this),100)},onLoadedMetadata:function(){this.trigger("loadedmetadata")},onPlay:function(){this.playing=!0,this.trigger("play")},onPause:function(){this.playing=!1,this.trigger("pause")},onEnded:function(){this.playing=!1,this.trigger("ended")},onTimeUpdate:function(){if(this.audio&&this.playing){try{this.position=this.audio.currentTime,this.duration=1/0===this.audio.duration?null:this.audio.duration}catch(t){}this.trigger("timeupdate",this.position,this.duration)}},onProgress:function(){this.audio&&null!==this.audio.buffered&&this.audio.buffered.length&&(this.duration=1/0===this.audio.duration?null:this.audio.duration,this.load_percent=parseInt(this.audio.buffered.end(this.audio.buffered.length-1)/this.duration*100,10),this.trigger("progress",this.load_percent),this.load_percent>=100&&this.clearLoadProgress())},onError:function(t){this.trigger("error",t)},onSeeking:function(){this.trigger("seeking")},onSeeked:function(){this.trigger("seeked")},clearLoadProgress:function(){void 0!==this.timer&&(clearInterval(this.timer),delete this.timer)},reset:function(){this.clearLoadProgress(),this.seekable=!1,this.duration=0,this.position=0,this.load_percent=0},load:function(t){this.reset(),this.destroyAudio(),this.createAudio(),this.audio.setAttribute("src",t),this.audio.load()},play:function(){this.audio.play()},pause:function(){this.audio.pause()},volume:function(t){if(void 0===t||isNaN(parseInt(t,10)))return this.vol;var e=0>t?0:Math.min(1,t);this.audio.volume=e,this.vol=e},seek:function(t){var e=this.playing;this.position=t,this.audio.currentTime=t,e?this.play():null!==this.audio.buffered&&this.audio.buffered.length&&this.trigger("timeupdate",this.position,this.duration)}},o(c,s),o(c,h);var p={swf_path:"http://stc.uol.com/c/_template/v2/media/audio5/audio5js.swf",throw_errors:!0,format_time:!0,codecs:["mp3"]};return(u=function(t){var e;for(e in t=t||{},p)p.hasOwnProperty(e)&&!t.hasOwnProperty(e)&&(t[e]=p[e]);this.init(t)}).can_play=function(t){return a.can_play(t)},u.prototype={init:function(t){this.ready=!1,this.settings=t,this.audio=this.getPlayer(),this.bindAudioEvents(),this.settings.use_flash?this.audio.init(t.swf_path):this.audio.init()},getPlayer:function(){var t,e,n,i;if(this.settings.use_flash)n=new l,this.settings.player={engine:"flash",codec:"mp3"};else{for(t=0,e=this.settings.codecs.length;e>t;t++)if(i=this.settings.codecs[t],u.can_play(i)){n=new c,this.settings.use_flash=!1,this.settings.player={engine:"html",codec:i};break}void 0===n&&(this.settings.use_flash=!u.can_play("mp3"),n=this.settings.use_flash?new l:new c,this.settings.player={engine:this.settings.use_flash?"flash":"html",codec:"mp3"})}return n},bindAudioEvents:function(){this.audio.on("ready",this.onReady,this),this.audio.on("loadstart",this.onLoadStart,this),this.audio.on("loadedmetadata",this.onLoadedMetadata,this),this.audio.on("play",this.onPlay,this),this.audio.on("pause",this.onPause,this),this.audio.on("ended",this.onEnded,this),this.audio.on("canplay",this.onCanPlay,this),this.audio.on("timeupdate",this.onTimeUpdate,this),this.audio.on("progress",this.onProgress,this),this.audio.on("error",this.onError,this),this.audio.on("seeking",this.onSeeking,this),this.audio.on("seeked",this.onSeeked,this)},load:function(t){var e=this,n=function(t){e.audio.load(t),e.trigger("load")};this.ready?n(t):this.on("ready",n)},play:function(){this.playing||this.audio.play()},pause:function(){this.playing&&this.audio.pause()},playPause:function(){this[this.playing?"pause":"play"]()},volume:function(t){return void 0===t||isNaN(parseInt(t,10))?this.vol:(this.audio.volume(t),void(this.vol=t))},seek:function(t){this.audio.seek(t),this.position=t},destroy:function(){this.audio.destroyAudio()},onReady:function(){this.ready=!0,"function"==typeof this.settings.ready&&this.settings.ready.call(this,this.settings.player),this.trigger("ready")},onLoadStart:function(){this.trigger("loadstart")},onLoadedMetadata:function(){this.trigger("loadedmetadata")},onPlay:function(){this.playing=!0,this.trigger("play")},onPause:function(){this.playing=!1,this.trigger("pause")},onEnded:function(){this.playing=!1,this.trigger("ended")},onError:function(){var t=new n("Audio Error. Failed to Load Audio");if(this.settings.throw_errors)throw t;this.trigger("error",t)},onCanPlay:function(){this.trigger("canplay")},onSeeking:function(){this.trigger("seeking")},onSeeked:function(){this.trigger("seeked")},onTimeUpdate:function(t,e){this.position=this.settings.format_time?a.formatTime(t):t,this.duration!==e&&(this.duration=this.settings.format_time&&null!==e?a.formatTime(e):e),this.trigger("timeupdate",this.position,this.duration)},onProgress:function(t){this.duration=this.audio.duration,this.load_percent=t,this.trigger("progress",t)}},o(u,s),o(u,h),u});var ucopy=function(){"use strict";var t,e;function n(){if(!location.href.match(/woutBanner/)){e=function(){if(window.getSelection){var t=window.getSelection();return t}if(document.selection&&document.selection.createRange)return document.selection.createRange();return null}();var t=" - Veja mais em "+(o="cmpid=copiaecola",s=location.href,s+=(s.split("?")[1]?"&":"?")+o),n=$(".uolplayer .up-share-url-wrapper .up-share-url").val(),i=e.toString()!==n?function(t,e){var n=t;n.length>=e&&(n=n.substring(0,e));return n+"..."}(e.toString(),690)+t:e.toString(),r=document.createElement("div");r.style.position="absolute",r.style.left="-99999px",document.body.appendChild(r),r.innerHTML=i,e.selectAllChildren(r),window.setTimeout(function(){document.body.removeChild(r)},100)}var o,s}return{init:function(e){var i;return t||(i=e,t=void $("body").on("copy","object"==typeof i?i.join(","):i,n)),t}}}();function refreshAuto(){var t=!!document.querySelector("[data-refresh]")&&document.querySelector("[data-refresh]").getAttribute("data-refresh");try{t=JSON.parse(t)}catch(t){}refresh(t)}function refresh(t){(t||window.refreshConfig.hasOwnProperty("configs"))&&refreshControls().init(t||window.refreshConfig.configs)}function refreshControls(){return{init:function(t){"object"==typeof t&&t.hasOwnProperty("init")&&(t.init&&(window.refreshConfig.configs=t),this[t.init?"start":"pause"](t.timer||165e3))},start:function(){window.refreshConfig.timer=setTimeout(function(){var t=navigator.userAgent.toLowerCase();/msie|rv:/.test(t)?window.history.go(0):window.location.reload()},arguments[0])},pause:function(){clearTimeout(window.refreshConfig.timer),window.refreshConfig.timer=null}}}window.refreshConfig={},window.addEventListener("load",function(){refreshAuto()}),function(t){var e=Array.prototype.slice;function n(){}function i(t){if(t){var i="undefined"==typeof console?n:function(t){console.error(t)};return t.bridget=function(n,r){!function(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}(r),function(n,r){t.fn[n]=function(o){if("string"==typeof o){for(var s=e.call(arguments,1),a=0,u=this.length;a<u;a++){var l=this[a],c=t.data(l,n);if(c)if(t.isFunction(c[o])&&"_"!==o.charAt(0)){var h=c[o].apply(c,s);if(void 0!==h)return h}else i("no such method '"+o+"' for "+n+" instance");else i("cannot call methods on "+n+" prior to initialization; attempted to call '"+o+"'")}return this}return this.each(function(){var e=t.data(this,n);e?(e.option(o),e._init()):(e=new r(this,o),t.data(this,n,e))})}}(n,r)},t.bridget}}"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):"object"==typeof exports?i(require("jquery")):i(t.jQuery)}(window),function(t){var e=document.documentElement,n=function(){};function i(e){var n=t.event;return n.target=n.target||n.srcElement||e,n}e.addEventListener?n=function(t,e,n){t.addEventListener(e,n,!1)}:e.attachEvent&&(n=function(t,e,n){t[e+n]=n.handleEvent?function(){var e=i(t);n.handleEvent.call(n,e)}:function(){var e=i(t);n.call(t,e)},t.attachEvent("on"+e,t[e+n])});var r=function(){};e.removeEventListener?r=function(t,e,n){t.removeEventListener(e,n,!1)}:e.detachEvent&&(r=function(t,e,n){t.detachEvent("on"+e,t[e+n]);try{delete t[e+n]}catch(i){t[e+n]=void 0}});var o={bind:n,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):"object"==typeof exports?module.exports=o:t.eventie=o}(window),function(){function t(){}var e=t.prototype,n=this,i=n.EventEmitter;function r(t,e){for(var n=t.length;n--;)if(t[n].listener===e)return n;return-1}function o(t){return function(){return this[t].apply(this,arguments)}}e.getListeners=function(t){var e,n,i=this._getEvents();if(t instanceof RegExp)for(n in e={},i)i.hasOwnProperty(n)&&t.test(n)&&(e[n]=i[n]);else e=i[t]||(i[t]=[]);return e},e.flattenListeners=function(t){var e,n=[];for(e=0;e<t.length;e+=1)n.push(t[e].listener);return n},e.getListenersAsObject=function(t){var e,n=this.getListeners(t);return n instanceof Array&&((e={})[t]=n),e||n},e.addListener=function(t,e){var n,i=this.getListenersAsObject(t),o="object"==typeof e;for(n in i)i.hasOwnProperty(n)&&-1===r(i[n],e)&&i[n].push(o?e:{listener:e,once:!1});return this},e.on=o("addListener"),e.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},e.once=o("addOnceListener"),e.defineEvent=function(t){return this.getListeners(t),this},e.defineEvents=function(t){for(var e=0;e<t.length;e+=1)this.defineEvent(t[e]);return this},e.removeListener=function(t,e){var n,i,o=this.getListenersAsObject(t);for(i in o)o.hasOwnProperty(i)&&-1!==(n=r(o[i],e))&&o[i].splice(n,1);return this},e.off=o("removeListener"),e.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},e.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},e.manipulateListeners=function(t,e,n){var i,r,o=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(i=n.length;i--;)o.call(this,e,n[i]);else for(i in e)e.hasOwnProperty(i)&&(r=e[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},e.removeEvent=function(t){var e,n=typeof t,i=this._getEvents();if("string"===n)delete i[t];else if(t instanceof RegExp)for(e in i)i.hasOwnProperty(e)&&t.test(e)&&delete i[e];else delete this._events;return this},e.removeAllListeners=o("removeEvent"),e.emitEvent=function(t,e){var n,i,r,o=this.getListenersAsObject(t);for(r in o)if(o.hasOwnProperty(r))for(i=o[r].length;i--;)!0===(n=o[r][i]).once&&this.removeListener(t,n.listener),n.listener.apply(this,e||[])===this._getOnceReturnValue()&&this.removeListener(t,n.listener);return this},e.trigger=o("emitEvent"),e.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},e.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},e._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},e._getEvents=function(){return this._events||(this._events={})},t.noConflict=function(){return n.EventEmitter=i,t},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:n.EventEmitter=t}.call(this),function(t){var e="Webkit Moz ms Ms O".split(" "),n=document.documentElement.style;function i(t){if(t){if("string"==typeof n[t])return t;var i;t=t.charAt(0).toUpperCase()+t.slice(1);for(var r=0,o=e.length;r<o;r++)if(i=e[r]+t,"string"==typeof n[i])return i}}"function"==typeof define&&define.amd?define("get-style-property/get-style-property",[],function(){return i}):"object"==typeof exports?module.exports=i:t.getStyleProperty=i}(window),function(t,e){function n(t){var e=parseFloat(t);return-1===t.indexOf("%")&&!isNaN(e)&&e}var i="undefined"==typeof console?function(){}:function(t){console.error(t)},r=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];function o(e){var o,s,a,u=!1;function l(e,n){if(t.getComputedStyle||-1===n.indexOf("%"))return n;var i=e.style,r=i.left,o=e.runtimeStyle,s=o&&o.left;return s&&(o.left=e.currentStyle.left),i.left=n,n=i.pixelLeft,i.left=r,s&&(o.left=s),n}return function(c){if(function(){if(!u){u=!0;var r,l=t.getComputedStyle;if(r=l?function(t){return l(t,null)}:function(t){return t.currentStyle},o=function(t){var e=r(t);return e||i("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e},s=e("boxSizing")){var c=document.createElement("div");c.style.width="200px",c.style.padding="1px 2px 3px 4px",c.style.borderStyle="solid",c.style.borderWidth="1px 2px 3px 4px",c.style[s]="border-box";var h=document.body||document.documentElement;h.appendChild(c);var f=o(c);a=200===n(f.width),h.removeChild(c)}}}(),"string"==typeof c&&(c=document.querySelector(c)),c&&"object"==typeof c&&c.nodeType){var h=o(c);if("none"===h.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0,n=r.length;e<n;e++)t[r[e]]=0;return t}();var f={};f.width=c.offsetWidth,f.height=c.offsetHeight;for(var p=f.isBorderBox=!(!s||!h[s]||"border-box"!==h[s]),d=0,m=r.length;d<m;d++){var g=r[d],v=h[g];v=l(c,v);var y=parseFloat(v);f[g]=isNaN(y)?0:y}var $=f.paddingLeft+f.paddingRight,b=f.paddingTop+f.paddingBottom,x=f.marginLeft+f.marginRight,w=f.marginTop+f.marginBottom,E=f.borderLeftWidth+f.borderRightWidth,S=f.borderTopWidth+f.borderBottomWidth,T=p&&a,C=n(h.width);!1!==C&&(f.width=C+(T?0:$+E));var k=n(h.height);return!1!==k&&(f.height=k+(T?0:b+S)),f.innerWidth=f.width-($+E),f.innerHeight=f.height-(b+S),f.outerWidth=f.width+x,f.outerHeight=f.height+w,f}}}"function"==typeof define&&define.amd?define("get-size/get-size",["get-style-property/get-style-property"],o):"object"==typeof exports?module.exports=o(require("desandro-get-style-property")):t.getSize=o(t.getStyleProperty)}(window),function(t){var e=t.document,n=[];function i(t){"function"==typeof t&&(i.isReady?t():n.push(t))}function r(t){var n="readystatechange"===t.type&&"complete"!==e.readyState;i.isReady||n||o()}function o(){i.isReady=!0;for(var t=0,e=n.length;t<e;t++){(0,n[t])()}}function s(n){return"complete"===e.readyState?o():(n.bind(e,"DOMContentLoaded",r),n.bind(e,"readystatechange",r),n.bind(t,"load",r)),i}i.isReady=!1,"function"==typeof define&&define.amd?define("doc-ready/doc-ready",["eventie/eventie"],s):"object"==typeof exports?module.exports=s(require("eventie")):t.docReady=s(t.eventie)}(window),function(t){var e,n=function(){if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],n=0,i=e.length;n<i;n++){var r=e[n]+"MatchesSelector";if(t[r])return r}}();function i(t,e){return t[n](e)}function r(t){t.parentNode||document.createDocumentFragment().appendChild(t)}if(n){var o=i(document.createElement("div"),"div");e=o?i:function(t,e){return r(t),i(t,e)}}else e=function(t,e){r(t);for(var n=t.parentNode.querySelectorAll(e),i=0,o=n.length;i<o;i++)if(n[i]===t)return!0;return!1};"function"==typeof define&&define.amd?define("matches-selector/matches-selector",[],function(){return e}):"object"==typeof exports?module.exports=e:window.matchesSelector=e}(Element.prototype),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["doc-ready/doc-ready","matches-selector/matches-selector"],function(n,i){return e(t,n,i)}):"object"==typeof exports?module.exports=e(t,require("doc-ready"),require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.docReady,t.matchesSelector)}(window,function(t,e,n){var i={extend:function(t,e){for(var n in e)t[n]=e[n];return t},modulo:function(t,e){return(t%e+e)%e}},r=Object.prototype.toString;i.isArray=function(t){return"[object Array]"==r.call(t)},i.makeArray=function(t){var e=[];if(i.isArray(t))e=t;else if(t&&"number"==typeof t.length)for(var n=0,r=t.length;n<r;n++)e.push(t[n]);else e.push(t);return e},i.indexOf=Array.prototype.indexOf?function(t,e){return t.indexOf(e)}:function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},i.removeFrom=function(t,e){var n=i.indexOf(t,e);-1!=n&&t.splice(n,1)},i.isElement="function"==typeof HTMLElement||"object"==typeof HTMLElement?function(t){return t instanceof HTMLElement}:function(t){return t&&"object"==typeof t&&1==t.nodeType&&"string"==typeof t.nodeName},i.setText=function(){var t;return function(e,n){e[t=t||(void 0!==document.documentElement.textContent?"textContent":"innerText")]=n}}(),i.getParent=function(t,e){for(;t!=document.body;)if(t=t.parentNode,n(t,e))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,e){for(var r=[],o=0,s=(t=i.makeArray(t)).length;o<s;o++){var a=t[o];if(i.isElement(a))if(e){n(a,e)&&r.push(a);for(var u=a.querySelectorAll(e),l=0,c=u.length;l<c;l++)r.push(u[l])}else r.push(a)}return r},i.debounceMethod=function(t,e,n){var i=t.prototype[e],r=e+"Timeout";t.prototype[e]=function(){var t=this[r];t&&clearTimeout(t);var e=arguments,o=this;this[r]=setTimeout(function(){i.apply(o,e),delete o[r]},n||100)}},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n}).toLowerCase()};var o=t.console;return i.htmlInit=function(n,r){e(function(){for(var e=i.toDashed(r),s=document.querySelectorAll(".js-"+e),a="data-"+e+"-options",u=0,l=s.length;u<l;u++){var c,h=s[u],f=h.getAttribute(a);try{c=f&&JSON.parse(f)}catch(t){o&&o.error("Error parsing "+a+" on "+h.nodeName.toLowerCase()+(h.id?"#"+h.id:"")+": "+t);continue}var p=new n(h,c),d=t.jQuery;d&&d.data(h,r,p)}})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["eventEmitter/EventEmitter","get-size/get-size","get-style-property/get-style-property","fizzy-ui-utils/utils"],function(n,i,r,o){return e(t,n,i,r,o)}):"object"==typeof exports?module.exports=e(t,require("wolfy87-eventemitter"),require("get-size"),require("desandro-get-style-property"),require("fizzy-ui-utils")):(t.Outlayer={},t.Outlayer.Item=e(t,t.EventEmitter,t.getSize,t.getStyleProperty,t.fizzyUIUtils))}(window,function(t,e,n,i,r){var o=t.getComputedStyle,s=o?function(t){return o(t,null)}:function(t){return t.currentStyle};var a=i("transition"),u=i("transform"),l=a&&u,c=!!i("perspective"),h={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend",transition:"transitionend"}[a],f=["transform","transition","transitionDuration","transitionProperty"],p=function(){for(var t={},e=0,n=f.length;e<n;e++){var r=f[e],o=i(r);o&&o!==r&&(t[r]=o)}return t}();function d(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}r.extend(d.prototype,e.prototype),d.prototype._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},d.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},d.prototype.getSize=function(){this.size=n(this.element)},d.prototype.css=function(t){var e=this.element.style;for(var n in t){e[p[n]||n]=t[n]}},d.prototype.getPosition=function(){var t=s(this.element),e=this.layout.options,n=e.isOriginLeft,i=e.isOriginTop,r=t[n?"left":"right"],o=t[i?"top":"bottom"],a=parseInt(r,10),u=parseInt(o,10),l=this.layout.size;a=-1!=r.indexOf("%")?a/100*l.width:a,u=-1!=o.indexOf("%")?u/100*l.height:u,a=isNaN(a)?0:a,u=isNaN(u)?0:u,a-=n?l.paddingLeft:l.paddingRight,u-=i?l.paddingTop:l.paddingBottom,this.position.x=a,this.position.y=u},d.prototype.layoutPosition=function(){var t=this.layout.size,e=this.layout.options,n={},i=e.isOriginLeft?"paddingLeft":"paddingRight",r=e.isOriginLeft?"left":"right",o=e.isOriginLeft?"right":"left",s=this.position.x+t[i];n[r]=this.getXValue(s),n[o]="";var a=e.isOriginTop?"paddingTop":"paddingBottom",u=e.isOriginTop?"top":"bottom",l=e.isOriginTop?"bottom":"top",c=this.position.y+t[a];n[u]=this.getYValue(c),n[l]="",this.css(n),this.emitEvent("layout",[this])},d.prototype.getXValue=function(t){var e=this.layout.options;return e.percentPosition&&!e.isHorizontal?t/this.layout.size.width*100+"%":t+"px"},d.prototype.getYValue=function(t){var e=this.layout.options;return e.percentPosition&&e.isHorizontal?t/this.layout.size.height*100+"%":t+"px"},d.prototype._transitionTo=function(t,e){this.getPosition();var n=this.position.x,i=this.position.y,r=parseInt(t,10),o=parseInt(e,10),s=r===this.position.x&&o===this.position.y;if(this.setPosition(t,e),!s||this.isTransitioning){var a=t-n,u=e-i,l={};l.transform=this.getTranslate(a,u),this.transition({to:l,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},d.prototype.getTranslate=function(t,e){var n=this.layout.options;return t=n.isOriginLeft?t:-t,e=n.isOriginTop?e:-e,t=this.getXValue(t),e=this.getYValue(e),c?"translate3d("+t+", "+e+", 0)":"translate("+t+", "+e+")"},d.prototype.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},d.prototype.moveTo=l?d.prototype._transitionTo:d.prototype.goTo,d.prototype.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},d.prototype._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},d.prototype._transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){var e=this._transn;for(var n in t.onTransitionEnd)e.onEnd[n]=t.onTransitionEnd[n];for(n in t.to)e.ingProperties[n]=!0,t.isCleaning&&(e.clean[n]=!0);if(t.from){this.css(t.from);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var m="opacity,"+(p.transform||"transform").replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});d.prototype.enableTransition=function(){this.isTransitioning||(this.css({transitionProperty:m,transitionDuration:this.layout.options.transitionDuration}),this.element.addEventListener(h,this,!1))},d.prototype.transition=d.prototype[a?"_transition":"_nonTransition"],d.prototype.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},d.prototype.onotransitionend=function(t){this.ontransitionend(t)};var g={"-webkit-transform":"transform","-moz-transform":"transform","-o-transform":"transform"};d.prototype.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=g[t.propertyName]||t.propertyName;if(delete e.ingProperties[n],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd)e.onEnd[n].call(this),delete e.onEnd[n];this.emitEvent("transitionEnd",[this])}},d.prototype.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(h,this,!1),this.isTransitioning=!1},d.prototype._removeStyles=function(t){var e={};for(var n in t)e[n]="";this.css(e)};var v={transitionProperty:"",transitionDuration:""};return d.prototype.removeTransitionStyles=function(){this.css(v)},d.prototype.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},d.prototype.remove=function(){if(a&&parseFloat(this.layout.options.transitionDuration)){var t=this;this.once("transitionEnd",function(){t.removeElem()}),this.hide()}else this.removeElem()},d.prototype.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},d.prototype.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},d.prototype.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var n in e)return n},d.prototype.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},d.prototype.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},d.prototype.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},d}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/outlayer",["eventie/eventie","eventEmitter/EventEmitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(n,i,r,o,s){return e(t,n,i,r,o,s)}):"object"==typeof exports?module.exports=e(t,require("eventie"),require("wolfy87-eventemitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.eventie,t.EventEmitter,t.getSize,t.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,n,i,r,o){var s=t.console,a=t.jQuery,u=function(){},l=0,c={};function h(t,e){var n=r.getQueryElement(t);if(n){this.element=n,a&&(this.$element=a(this.element)),this.options=r.extend({},this.constructor.defaults),this.option(e);var i=++l;this.element.outlayerGUID=i,c[i]=this,this._create(),this.options.isInitLayout&&this.layout()}else s&&s.error("Bad element for "+this.constructor.namespace+": "+(n||t))}return h.namespace="outlayer",h.Item=o,h.defaults={containerStyle:{position:"relative"},isInitLayout:!0,isOriginLeft:!0,isOriginTop:!0,isResizeBound:!0,isResizingContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}},r.extend(h.prototype,n.prototype),h.prototype.option=function(t){r.extend(this.options,t)},h.prototype._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),r.extend(this.element.style,this.options.containerStyle),this.options.isResizeBound&&this.bindResize()},h.prototype.reloadItems=function(){this.items=this._itemize(this.element.children)},h.prototype._itemize=function(t){for(var e=this._filterFindItemElements(t),n=this.constructor.Item,i=[],r=0,o=e.length;r<o;r++){var s=new n(e[r],this);i.push(s)}return i},h.prototype._filterFindItemElements=function(t){return r.filterFindElements(t,this.options.itemSelector)},h.prototype.getItemElements=function(){for(var t=[],e=0,n=this.items.length;e<n;e++)t.push(this.items[e].element);return t},h.prototype.layout=function(){this._resetLayout(),this._manageStamps();var t=void 0!==this.options.isLayoutInstant?this.options.isLayoutInstant:!this._isLayoutInited;this.layoutItems(this.items,t),this._isLayoutInited=!0},h.prototype._init=h.prototype.layout,h.prototype._resetLayout=function(){this.getSize()},h.prototype.getSize=function(){this.size=i(this.element)},h.prototype._getMeasurement=function(t,e){var n,o=this.options[t];o?("string"==typeof o?n=this.element.querySelector(o):r.isElement(o)&&(n=o),this[t]=n?i(n)[e]:o):this[t]=0},h.prototype.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},h.prototype._getItemsForLayout=function(t){for(var e=[],n=0,i=t.length;n<i;n++){var r=t[n];r.isIgnored||e.push(r)}return e},h.prototype._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){for(var n=[],i=0,r=t.length;i<r;i++){var o=t[i],s=this._getItemLayoutPosition(o);s.item=o,s.isInstant=e||o.isLayoutInstant,n.push(s)}this._processLayoutQueue(n)}},h.prototype._getItemLayoutPosition=function(){return{x:0,y:0}},h.prototype._processLayoutQueue=function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e];this._positionItem(i.item,i.x,i.y,i.isInstant)}},h.prototype._positionItem=function(t,e,n,i){i?t.goTo(e,n):t.moveTo(e,n)},h.prototype._postLayout=function(){this.resizeContainer()},h.prototype.resizeContainer=function(){if(this.options.isResizingContainer){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},h.prototype._getContainerSize=u,h.prototype._setContainerMeasure=function(t,e){if(void 0!==t){var n=this.size;n.isBorderBox&&(t+=e?n.paddingLeft+n.paddingRight+n.borderLeftWidth+n.borderRightWidth:n.paddingBottom+n.paddingTop+n.borderTopWidth+n.borderBottomWidth),t=Math.max(t,0),this.element.style[e?"width":"height"]=t+"px"}},h.prototype._emitCompleteOnItems=function(t,e){var n=this;function i(){n.dispatchEvent(t+"Complete",null,[e])}var r=e.length;if(e&&r)for(var o=0,s=0,a=e.length;s<a;s++){e[s].once(t,u)}else i();function u(){++o===r&&i()}},h.prototype.dispatchEvent=function(t,e,n){var i=e?[e].concat(n):n;if(this.emitEvent(t,i),a)if(this.$element=this.$element||a(this.element),e){var r=a.Event(e);r.type=t,this.$element.trigger(r,n)}else this.$element.trigger(t,n)},h.prototype.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},h.prototype.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},h.prototype.stamp=function(t){if(t=this._find(t)){this.stamps=this.stamps.concat(t);for(var e=0,n=t.length;e<n;e++){var i=t[e];this.ignore(i)}}},h.prototype.unstamp=function(t){if(t=this._find(t))for(var e=0,n=t.length;e<n;e++){var i=t[e];r.removeFrom(this.stamps,i),this.unignore(i)}},h.prototype._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=r.makeArray(t)},h.prototype._manageStamps=function(){if(this.stamps&&this.stamps.length){this._getBoundingRect();for(var t=0,e=this.stamps.length;t<e;t++){var n=this.stamps[t];this._manageStamp(n)}}},h.prototype._getBoundingRect=function(){var t=this.element.getBoundingClientRect(),e=this.size;this._boundingRect={left:t.left+e.paddingLeft+e.borderLeftWidth,top:t.top+e.paddingTop+e.borderTopWidth,right:t.right-(e.paddingRight+e.borderRightWidth),bottom:t.bottom-(e.paddingBottom+e.borderBottomWidth)}},h.prototype._manageStamp=u,h.prototype._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,r=i(t);return{left:e.left-n.left-r.marginLeft,top:e.top-n.top-r.marginTop,right:n.right-e.right-r.marginRight,bottom:n.bottom-e.bottom-r.marginBottom}},h.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},h.prototype.bindResize=function(){this.isResizeBound||(e.bind(t,"resize",this),this.isResizeBound=!0)},h.prototype.unbindResize=function(){this.isResizeBound&&e.unbind(t,"resize",this),this.isResizeBound=!1},h.prototype.onresize=function(){this.resizeTimeout&&clearTimeout(this.resizeTimeout);var t=this;this.resizeTimeout=setTimeout(function(){t.resize(),delete t.resizeTimeout},100)},h.prototype.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},h.prototype.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},h.prototype.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},h.prototype.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},h.prototype.prepended=function(t){var e=this._itemize(t);if(e.length){var n=this.items.slice(0);this.items=e.concat(n),this._resetLayout(),this._manageStamps(),this.layoutItems(e,!0),this.reveal(e),this.layoutItems(n)}},h.prototype.reveal=function(t){this._emitCompleteOnItems("reveal",t);for(var e=t&&t.length,n=0;e&&n<e;n++){t[n].reveal()}},h.prototype.hide=function(t){this._emitCompleteOnItems("hide",t);for(var e=t&&t.length,n=0;e&&n<e;n++){t[n].hide()}},h.prototype.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},h.prototype.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},h.prototype.getItem=function(t){for(var e=0,n=this.items.length;e<n;e++){var i=this.items[e];if(i.element===t)return i}},h.prototype.getItems=function(t){for(var e=[],n=0,i=(t=r.makeArray(t)).length;n<i;n++){var o=t[n],s=this.getItem(o);s&&e.push(s)}return e},h.prototype.remove=function(t){var e=this.getItems(t);if(this._emitCompleteOnItems("remove",e),e&&e.length)for(var n=0,i=e.length;n<i;n++){var o=e[n];o.remove(),r.removeFrom(this.items,o)}},h.prototype.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="";for(var e=0,n=this.items.length;e<n;e++){this.items[e].destroy()}this.unbindResize();var i=this.element.outlayerGUID;delete c[i],delete this.element.outlayerGUID,a&&a.removeData(this.element,this.constructor.namespace)},h.data=function(t){var e=(t=r.getQueryElement(t))&&t.outlayerGUID;return e&&c[e]},h.create=function(t,e){function n(){h.apply(this,arguments)}return Object.create?n.prototype=Object.create(h.prototype):r.extend(n.prototype,h.prototype),n.prototype.constructor=n,n.defaults=r.extend({},h.defaults),r.extend(n.defaults,e),n.prototype.settings={},n.namespace=t,n.data=h.data,n.Item=function(){o.apply(this,arguments)},n.Item.prototype=new o,r.htmlInit(n,t),a&&a.bridget&&a.bridget(t,n),n},h.Item=o,h}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","fizzy-ui-utils/utils"],e):"object"==typeof exports?module.exports=e(require("outlayer"),require("get-size"),require("fizzy-ui-utils")):t.Masonry=e(t.Outlayer,t.getSize,t.fizzyUIUtils)}(window,function(t,e,n){var i=t.create("masonry");return i.prototype._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns();var t=this.cols;for(this.colYs=[];t--;)this.colYs.push(0);this.maxY=0},i.prototype.measureColumns=function(){if(this.getContainerWidth(),!this.columnWidth){var t=this.items[0],n=t&&t.element;this.columnWidth=n&&e(n).outerWidth||this.containerWidth}var i=this.columnWidth+=this.gutter,r=this.containerWidth+this.gutter,o=r/i,s=i-r%i;o=Math[s&&s<1?"round":"floor"](o),this.cols=Math.max(o,1)},i.prototype.getContainerWidth=function(){var t=this.options.isFitWidth?this.element.parentNode:this.element,n=e(t);this.containerWidth=n&&n.innerWidth},i.prototype._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var r=this._getColGroup(i),o=Math.min.apply(Math,r),s=n.indexOf(r,o),a={x:this.columnWidth*s,y:o},u=o+t.size.outerHeight,l=this.cols+1-r.length,c=0;c<l;c++)this.colYs[s+c]=u;return a},i.prototype._getColGroup=function(t){if(t<2)return this.colYs;for(var e=[],n=this.cols+1-t,i=0;i<n;i++){var r=this.colYs.slice(i,i+t);e[i]=Math.max.apply(Math,r)}return e},i.prototype._manageStamp=function(t){var n=e(t),i=this._getElementOffset(t),r=this.options.isOriginLeft?i.left:i.right,o=r+n.outerWidth,s=Math.floor(r/this.columnWidth);s=Math.max(0,s);var a=Math.floor(o/this.columnWidth);a-=o%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this.options.isOriginTop?i.top:i.bottom)+n.outerHeight,l=s;l<=a;l++)this.colYs[l]=Math.max(u,this.colYs[l])},i.prototype._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this.options.isFitWidth&&(t.width=this._getContainerFitWidth()),t},i.prototype._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},i.prototype.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!==this.containerWidth},i}),function(t,e,n){function i(t,n){for(var i in this.wrapper="string"==typeof t?e.querySelector(t):t,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0},n)this.options[i]=n[i];this.translateZ=this.options.HWCompositing&&a.hasPerspective?" translateZ(0)":"",this.options.useTransition=a.hasTransition&&this.options.useTransition,this.options.useTransform=a.hasTransform&&this.options.useTransform,this.options.eventPassthrough=!0===this.options.eventPassthrough?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"!=this.options.eventPassthrough&&this.options.scrollY,this.options.scrollX="horizontal"!=this.options.eventPassthrough&&this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?a.ease[this.options.bounceEasing]||a.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,!0===this.options.tap&&(this.options.tap="tap"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function r(t,n,i){var r=e.createElement("div"),o=e.createElement("div");return!0===i&&(r.style.cssText="position:absolute;z-index:9999",o.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),o.className="iScrollIndicator","h"==t?(!0===i&&(r.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",o.style.height="100%"),r.className="iScrollHorizontalScrollbar"):(!0===i&&(r.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",o.style.width="100%"),r.className="iScrollVerticalScrollbar"),r.style.cssText+=";overflow:hidden",n||(r.style.pointerEvents="none"),r.appendChild(o),r}function o(n,i){for(var r in this.wrapper="string"==typeof i.el?e.querySelector(i.el):i.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=n,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0},i)this.options[r]=i[r];this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(a.addEvent(this.indicator,"touchstart",this),a.addEvent(t,"touchend",this)),this.options.disablePointer||(a.addEvent(this.indicator,"MSPointerDown",this),a.addEvent(t,"MSPointerUp",this)),this.options.disableMouse||(a.addEvent(this.indicator,"mousedown",this),a.addEvent(t,"mouseup",this))),this.options.fade&&(this.wrapperStyle[a.style.transform]=this.scroller.translateZ,this.wrapperStyle[a.style.transitionDuration]=a.isBadAndroid?"0.001s":"0ms",this.wrapperStyle.opacity="0")}var s=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){t.setTimeout(e,1e3/60)},a=function(){function i(t){return!1!==s&&(""===s?t:s+t.charAt(0).toUpperCase()+t.substr(1))}var r={},o=e.createElement("div").style,s=function(){for(var t=["t","webkitT","MozT","msT","OT"],e=0,n=t.length;n>e;e++)if(t[e]+"ransform"in o)return t[e].substr(0,t[e].length-1);return!1}();r.getTime=Date.now||function(){return(new Date).getTime()},r.extend=function(t,e){for(var n in e)t[n]=e[n]},r.addEvent=function(t,e,n,i){t.addEventListener(e,n,!!i)},r.removeEvent=function(t,e,n,i){t.removeEventListener(e,n,!!i)},r.momentum=function(t,e,i,r,o,s){var a,u,l=t-e,c=n.abs(l)/i;return u=c/(s=void 0===s?6e-4:s),r>(a=t+c*c/(2*s)*(0>l?-1:1))?(a=o?r-o/2.5*(c/8):r,u=(l=n.abs(a-t))/c):a>0&&(a=o?o/2.5*(c/8):0,u=(l=n.abs(t)+a)/c),{destination:n.round(a),duration:u}};var a=i("transform");return r.extend(r,{hasTransform:!1!==a,hasPerspective:i("perspective")in o,hasTouch:"ontouchstart"in t,hasPointer:navigator.msPointerEnabled,hasTransition:i("transition")in o}),r.isBadAndroid=/Android /.test(t.navigator.appVersion)&&!/Chrome\/\d/.test(t.navigator.appVersion),r.extend(r.style={},{transform:a,transitionTimingFunction:i("transitionTimingFunction"),transitionDuration:i("transitionDuration"),transitionDelay:i("transitionDelay"),transformOrigin:i("transformOrigin")}),r.hasClass=function(t,e){return new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},r.addClass=function(t,e){if(!r.hasClass(t,e)){var n=t.className.split(" ");n.push(e),t.className=n.join(" ")}},r.removeClass=function(t,e){if(r.hasClass(t,e)){var n=new RegExp("(^|\\s)"+e+"(\\s|$)","g");t.className=t.className.replace(n," ")}},r.offset=function(t){for(var e=-t.offsetLeft,n=-t.offsetTop;t=t.offsetParent;)e-=t.offsetLeft,n-=t.offsetTop;return{left:e,top:n}},r.preventDefaultException=function(t,e){for(var n in e)if(e[n].test(t[n]))return!0;return!1},r.extend(r.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),r.extend(r.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return n.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){return(t-=1)*t*(5*t+4)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){return 0===t?0:1==t?1:.4*n.pow(2,-10*t)*n.sin(2*(t-.055)*n.PI/.22)+1}}}),r.tap=function(t,n){var i=e.createEvent("Event");i.initEvent(n,!0,!0),i.pageX=t.pageX,i.pageY=t.pageY,t.target.dispatchEvent(i)},r.click=function(t){var n,i=t.target;/(SELECT|INPUT|TEXTAREA)/i.test(i.tagName)||((n=e.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,t.view,1,i.screenX,i.screenY,i.clientX,i.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),n._constructed=!0,i.dispatchEvent(n))},r}();i.prototype={version:"5.1.1",_init:function(){this._initEvents(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),this._execEvent("destroy")},_transitionEnd:function(t){t.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(t){if(!(1!=a.eventType[t.type]&&0!==t.button||!this.enabled||this.initiated&&a.eventType[t.type]!==this.initiated)){!this.options.preventDefault||a.isBadAndroid||a.preventDefaultException(t.target,this.options.preventDefaultException)||t.preventDefault();var e,i=t.touches?t.touches[0]:t;this.initiated=a.eventType[t.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this._transitionTime(),this.startTime=a.getTime(),this.options.useTransition&&this.isInTransition?(this.isInTransition=!1,e=this.getComputedPosition(),this._translate(n.round(e.x),n.round(e.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=i.pageX,this.pointY=i.pageY,this._execEvent("beforeScrollStart")}},_move:function(t){if(this.enabled&&a.eventType[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault();var e,i,r,o,s=t.touches?t.touches[0]:t,u=s.pageX-this.pointX,l=s.pageY-this.pointY,c=a.getTime();if(this.pointX=s.pageX,this.pointY=s.pageY,this.distX+=u,this.distY+=l,r=n.abs(this.distX),o=n.abs(this.distY),!(c-this.endTime>300&&10>r&&10>o)){if(this.directionLocked||this.options.freeScroll||(this.directionLocked=r>o+this.options.directionLockThreshold?"h":o>=r+this.options.directionLockThreshold?"v":"n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);l=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);u=0}u=this.hasHorizontalScroll?u:0,l=this.hasVerticalScroll?l:0,e=this.x+u,i=this.y+l,(e>0||e<this.maxScrollX)&&(e=this.options.bounce?this.x+u/3:e>0?0:this.maxScrollX),(i>0||i<this.maxScrollY)&&(i=this.options.bounce?this.y+l/3:i>0?0:this.maxScrollY),this.directionX=u>0?-1:0>u?1:0,this.directionY=l>0?-1:0>l?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(e,i),c-this.startTime>300&&(this.startTime=c,this.startX=this.x,this.startY=this.y)}}},_end:function(t){if(this.enabled&&a.eventType[t.type]===this.initiated){this.options.preventDefault&&!a.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();var e,i,r=(t.changedTouches&&t.changedTouches[0],a.getTime()-this.startTime),o=n.round(this.x),s=n.round(this.y),u=n.abs(o-this.startX),l=n.abs(s-this.startY),c=0,h="";if(this.isInTransition=0,this.initiated=0,this.endTime=a.getTime(),!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(o,s),!this.moved)return this.options.tap&&a.tap(t,this.options.tap),this.options.click&&a.click(t),void this._execEvent("scrollCancel");if(this._events.flick&&200>r&&100>u&&100>l)return void this._execEvent("flick");if(this.options.momentum&&300>r&&(e=this.hasHorizontalScroll?a.momentum(this.x,this.startX,r,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:o,duration:0},i=this.hasVerticalScroll?a.momentum(this.y,this.startY,r,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:s,duration:0},o=e.destination,s=i.destination,c=n.max(e.duration,i.duration),this.isInTransition=1),this.options.snap){var f=this._nearestSnap(o,s);this.currentPage=f,c=this.options.snapSpeed||n.max(n.max(n.min(n.abs(o-f.x),1e3),n.min(n.abs(s-f.y),1e3)),300),o=f.x,s=f.y,this.directionX=0,this.directionY=0,h=this.options.bounceEasing}return o!=this.x||s!=this.y?((o>0||o<this.maxScrollX||s>0||s<this.maxScrollY)&&(h=a.ease.quadratic),void this.scrollTo(o,s,c,h)):void this._execEvent("scrollEnd")}}},_resize:function(){var t=this;clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling)},resetPosition:function(t){var e=this.x,n=this.y;return t=t||0,!this.hasHorizontalScroll||this.x>0?e=0:this.x<this.maxScrollX&&(e=this.maxScrollX),!this.hasVerticalScroll||this.y>0?n=0:this.y<this.maxScrollY&&(n=this.maxScrollY),(e!=this.x||n!=this.y)&&(this.scrollTo(e,n,t,this.options.bounceEasing),!0)},disable:function(){this.enabled=!1},enable:function(){this.enabled=!0},refresh:function(){this.wrapper.offsetHeight,this.wrapperWidth=this.wrapper.clientWidth,this.wrapperHeight=this.wrapper.clientHeight,this.scrollerWidth=this.scroller.offsetWidth,this.scrollerHeight=this.scroller.offsetHeight,this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight,this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,this.wrapperOffset=a.offset(this.wrapper),this._execEvent("refresh"),this.resetPosition()},on:function(t,e){this._events[t]||(this._events[t]=[]),this._events[t].push(e)},off:function(t,e){if(this._events[t]){var n=this._events[t].indexOf(e);n>-1&&this._events[t].splice(n,1)}},_execEvent:function(t){if(this._events[t]){var e=0,n=this._events[t].length;if(n)for(;n>e;e++)this._events[t][e].apply(this,[].slice.call(arguments,1))}},scrollBy:function(t,e,n,i){t=this.x+t,e=this.y+e,n=n||0,this.scrollTo(t,e,n,i)},scrollTo:function(t,e,n,i){i=i||a.ease.circular,this.isInTransition=this.options.useTransition&&n>0,!n||this.options.useTransition&&i.style?(this._transitionTimingFunction(i.style),this._transitionTime(n),this._translate(t,e)):this._animate(t,e,n,i.fn)},scrollToElement:function(t,e,i,r,o){if(t=t.nodeType?t:this.scroller.querySelector(t)){var s=a.offset(t);s.left-=this.wrapperOffset.left,s.top-=this.wrapperOffset.top,!0===i&&(i=n.round(t.offsetWidth/2-this.wrapper.offsetWidth/2)),!0===r&&(r=n.round(t.offsetHeight/2-this.wrapper.offsetHeight/2)),s.left-=i||0,s.top-=r||0,s.left=s.left>0?0:s.left<this.maxScrollX?this.maxScrollX:s.left,s.top=s.top>0?0:s.top<this.maxScrollY?this.maxScrollY:s.top,e=null==e||"auto"===e?n.max(n.abs(this.x-s.left),n.abs(this.y-s.top)):e,this.scrollTo(s.left,s.top,e,o)}},_transitionTime:function(t){if(t=t||0,this.scrollerStyle[a.style.transitionDuration]=t+"ms",!t&&a.isBadAndroid&&(this.scrollerStyle[a.style.transitionDuration]="0.001s"),this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].transitionTime(t)},_transitionTimingFunction:function(t){if(this.scrollerStyle[a.style.transitionTimingFunction]=t,this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].transitionTimingFunction(t)},_translate:function(t,e){if(this.options.useTransform?this.scrollerStyle[a.style.transform]="translate("+t+"px,"+e+"px)"+this.translateZ:(t=n.round(t),e=n.round(e),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=e+"px"),this.x=t,this.y=e,this.indicators)for(var i=this.indicators.length;i--;)this.indicators[i].updatePosition()},_initEvents:function(e){var n=e?a.removeEvent:a.addEvent,i=this.options.bindToWrapper?this.wrapper:t;n(t,"orientationchange",this),n(t,"resize",this),this.options.click&&n(this.wrapper,"click",this,!0),this.options.disableMouse||(n(this.wrapper,"mousedown",this),n(i,"mousemove",this),n(i,"mousecancel",this),n(i,"mouseup",this)),a.hasPointer&&!this.options.disablePointer&&(n(this.wrapper,"MSPointerDown",this),n(i,"MSPointerMove",this),n(i,"MSPointerCancel",this),n(i,"MSPointerUp",this)),a.hasTouch&&!this.options.disableTouch&&(n(this.wrapper,"touchstart",this),n(i,"touchmove",this),n(i,"touchcancel",this),n(i,"touchend",this)),n(this.scroller,"transitionend",this),n(this.scroller,"webkitTransitionEnd",this),n(this.scroller,"oTransitionEnd",this),n(this.scroller,"MSTransitionEnd",this)},getComputedPosition:function(){var e,n,i=t.getComputedStyle(this.scroller,null);return this.options.useTransform?(e=+((i=i[a.style.transform].split(")")[0].split(", "))[12]||i[4]),n=+(i[13]||i[5])):(e=+i.left.replace(/[^-\d.]/g,""),n=+i.top.replace(/[^-\d.]/g,"")),{x:e,y:n}},_initIndicators:function(){function t(t){for(var e=a.indicators.length;e--;)t.call(a.indicators[e])}var e,n=this.options.interactiveScrollbars,i="string"!=typeof this.options.scrollbars,s=[],a=this;this.indicators=[],this.options.scrollbars&&(this.options.scrollY&&(e={el:r("v",n,this.options.scrollbars),interactive:n,defaultScrollbars:!0,customStyle:i,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenX:!1},this.wrapper.appendChild(e.el),s.push(e)),this.options.scrollX&&(e={el:r("h",n,this.options.scrollbars),interactive:n,defaultScrollbars:!0,customStyle:i,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenY:!1},this.wrapper.appendChild(e.el),s.push(e))),this.options.indicators&&(s=s.concat(this.options.indicators));for(var u=s.length;u--;)this.indicators.push(new o(this,s[u]));this.options.fadeScrollbars&&(this.on("scrollEnd",function(){t(function(){this.fade()})}),this.on("scrollCancel",function(){t(function(){this.fade()})}),this.on("scrollStart",function(){t(function(){this.fade(1)})}),this.on("beforeScrollStart",function(){t(function(){this.fade(1,!0)})})),this.on("refresh",function(){t(function(){this.refresh()})}),this.on("destroy",function(){t(function(){this.destroy()}),delete this.indicators})},_initWheel:function(){a.addEvent(this.wrapper,"wheel",this),a.addEvent(this.wrapper,"mousewheel",this),a.addEvent(this.wrapper,"DOMMouseScroll",this),this.on("destroy",function(){a.removeEvent(this.wrapper,"wheel",this),a.removeEvent(this.wrapper,"mousewheel",this),a.removeEvent(this.wrapper,"DOMMouseScroll",this)})},_wheel:function(t){if(this.enabled){t.preventDefault(),t.stopPropagation();var e,i,r,o,s=this;if(void 0===this.wheelTimeout&&s._execEvent("scrollStart"),clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout(function(){s._execEvent("scrollEnd"),s.wheelTimeout=void 0},400),"deltaX"in t)e=-t.deltaX,i=-t.deltaY;else if("wheelDeltaX"in t)e=t.wheelDeltaX/120*this.options.mouseWheelSpeed,i=t.wheelDeltaY/120*this.options.mouseWheelSpeed;else if("wheelDelta"in t)e=i=t.wheelDelta/120*this.options.mouseWheelSpeed;else{if(!("detail"in t))return;e=i=-t.detail/3*this.options.mouseWheelSpeed}if(e*=this.options.invertWheelDirection,i*=this.options.invertWheelDirection,this.hasVerticalScroll||(e=i,i=0),this.options.snap)return r=this.currentPage.pageX,o=this.currentPage.pageY,e>0?r--:0>e&&r++,i>0?o--:0>i&&o++,void this.goToPage(r,o);r=this.x+n.round(this.hasHorizontalScroll?e:0),o=this.y+n.round(this.hasVerticalScroll?i:0),r>0?r=0:r<this.maxScrollX&&(r=this.maxScrollX),o>0?o=0:o<this.maxScrollY&&(o=this.maxScrollY),this.scrollTo(r,o,0)}},_initSnap:function(){this.currentPage={},"string"==typeof this.options.snap&&(this.options.snap=this.scroller.querySelectorAll(this.options.snap)),this.on("refresh",function(){var t,e,i,r,o,s,a=0,u=0,l=0,c=this.options.snapStepX||this.wrapperWidth,h=this.options.snapStepY||this.wrapperHeight;if(this.pages=[],this.wrapperWidth&&this.wrapperHeight&&this.scrollerWidth&&this.scrollerHeight){if(!0===this.options.snap)for(i=n.round(c/2),r=n.round(h/2);l>-this.scrollerWidth;){for(this.pages[a]=[],t=0,o=0;o>-this.scrollerHeight;)this.pages[a][t]={x:n.max(l,this.maxScrollX),y:n.max(o,this.maxScrollY),width:c,height:h,cx:l-i,cy:o-r},o-=h,t++;l-=c,a++}else for(t=(s=this.options.snap).length,e=-1;t>a;a++)(0===a||s[a].offsetLeft<=s[a-1].offsetLeft)&&(u=0,e++),this.pages[u]||(this.pages[u]=[]),l=n.max(-s[a].offsetLeft,this.maxScrollX),o=n.max(-s[a].offsetTop,this.maxScrollY),i=l-n.round(s[a].offsetWidth/2),r=o-n.round(s[a].offsetHeight/2),this.pages[u][e]={x:l,y:o,width:s[a].offsetWidth,height:s[a].offsetHeight,cx:i,cy:r},l>this.maxScrollX&&u++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),0==this.options.snapThreshold%1?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=n.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=n.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var t=this.options.snapSpeed||n.max(n.max(n.min(n.abs(this.x-this.startX),1e3),n.min(n.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)})},_nearestSnap:function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var i=0,r=this.pages.length,o=0;if(n.abs(t-this.absStartX)<this.snapThresholdX&&n.abs(e-this.absStartY)<this.snapThresholdY)return this.currentPage;for(t>0?t=0:t<this.maxScrollX&&(t=this.maxScrollX),e>0?e=0:e<this.maxScrollY&&(e=this.maxScrollY);r>i;i++)if(t>=this.pages[i][0].cx){t=this.pages[i][0].x;break}for(r=this.pages[i].length;r>o;o++)if(e>=this.pages[0][o].cy){e=this.pages[0][o].y;break}return i==this.currentPage.pageX&&(0>(i+=this.directionX)?i=0:i>=this.pages.length&&(i=this.pages.length-1),t=this.pages[i][0].x),o==this.currentPage.pageY&&(0>(o+=this.directionY)?o=0:o>=this.pages[0].length&&(o=this.pages[0].length-1),e=this.pages[0][o].y),{x:t,y:e,pageX:i,pageY:o}},goToPage:function(t,e,i,r){r=r||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:0>t&&(t=0),e>=this.pages[t].length?e=this.pages[t].length-1:0>e&&(e=0);var o=this.pages[t][e].x,s=this.pages[t][e].y;i=void 0===i?this.options.snapSpeed||n.max(n.max(n.min(n.abs(o-this.x),1e3),n.min(n.abs(s-this.y),1e3)),300):i,this.currentPage={x:o,y:s,pageX:t,pageY:e},this.scrollTo(o,s,i,r)},next:function(t,e){var n=this.currentPage.pageX,i=this.currentPage.pageY;++n>=this.pages.length&&this.hasVerticalScroll&&(n=0,i++),this.goToPage(n,i,t,e)},prev:function(t,e){var n=this.currentPage.pageX,i=this.currentPage.pageY;0>--n&&this.hasVerticalScroll&&(n=0,i--),this.goToPage(n,i,t,e)},_initKeys:function(){var e,n={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(e in this.options.keyBindings)"string"==typeof this.options.keyBindings[e]&&(this.options.keyBindings[e]=this.options.keyBindings[e].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(e in n)this.options.keyBindings[e]=this.options.keyBindings[e]||n[e];a.addEvent(t,"keydown",this),this.on("destroy",function(){a.removeEvent(t,"keydown",this)})},_key:function(t){if(this.enabled){var e,i=this.options.snap,r=i?this.currentPage.pageX:this.x,o=i?this.currentPage.pageY:this.y,s=a.getTime(),u=this.keyTime||0;switch(this.options.useTransition&&this.isInTransition&&(e=this.getComputedPosition(),this._translate(n.round(e.x),n.round(e.y)),this.isInTransition=!1),this.keyAcceleration=200>s-u?n.min(this.keyAcceleration+.25,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?r+=i?1:this.wrapperWidth:o+=i?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?r-=i?1:this.wrapperWidth:o-=i?1:this.wrapperHeight;break;case this.options.keyBindings.end:r=i?this.pages.length-1:this.maxScrollX,o=i?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:r=0,o=0;break;case this.options.keyBindings.left:r+=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:o+=i?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:r-=i?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:o-=i?1:5+this.keyAcceleration>>0;break;default:return}if(i)return void this.goToPage(r,o);r>0?(r=0,this.keyAcceleration=0):r<this.maxScrollX&&(r=this.maxScrollX,this.keyAcceleration=0),o>0?(o=0,this.keyAcceleration=0):o<this.maxScrollY&&(o=this.maxScrollY,this.keyAcceleration=0),this.scrollTo(r,o,0),this.keyTime=s}},_animate:function(t,e,n,i){var r=this,o=this.x,u=this.y,l=a.getTime(),c=l+n;this.isAnimating=!0,function h(){var f,p,d,m=a.getTime();return m>=c?(r.isAnimating=!1,r._translate(t,e),void(r.resetPosition(r.options.bounceTime)||r._execEvent("scrollEnd"))):(d=i(m=(m-l)/n),f=(t-o)*d+o,p=(e-u)*d+u,r._translate(f,p),void(r.isAnimating&&s(h)))}()},handleEvent:function(t){switch(t.type){case"touchstart":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"MSPointerUp":case"mouseup":case"touchcancel":case"MSPointerCancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(t);break;case"keydown":this._key(t);break;case"click":t._constructed||(t.preventDefault(),t.stopPropagation())}}},o.prototype={handleEvent:function(t){switch(t.type){case"touchstart":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"MSPointerUp":case"mouseup":case"touchcancel":case"MSPointerCancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.interactive&&(a.removeEvent(this.indicator,"touchstart",this),a.removeEvent(this.indicator,"MSPointerDown",this),a.removeEvent(this.indicator,"mousedown",this),a.removeEvent(t,"touchmove",this),a.removeEvent(t,"MSPointerMove",this),a.removeEvent(t,"mousemove",this),a.removeEvent(t,"touchend",this),a.removeEvent(t,"MSPointerUp",this),a.removeEvent(t,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(e){var n=e.touches?e.touches[0]:e;e.preventDefault(),e.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=n.pageX,this.lastPointY=n.pageY,this.startTime=a.getTime(),this.options.disableTouch||a.addEvent(t,"touchmove",this),this.options.disablePointer||a.addEvent(t,"MSPointerMove",this),this.options.disableMouse||a.addEvent(t,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(t){var e,n,i,r,o=t.touches?t.touches[0]:t;a.getTime(),this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,e=o.pageX-this.lastPointX,this.lastPointX=o.pageX,n=o.pageY-this.lastPointY,this.lastPointY=o.pageY,i=this.x+e,r=this.y+n,this._pos(i,r),t.preventDefault(),t.stopPropagation()},_end:function(e){if(this.initiated){if(this.initiated=!1,e.preventDefault(),e.stopPropagation(),a.removeEvent(t,"touchmove",this),a.removeEvent(t,"MSPointerMove",this),a.removeEvent(t,"mousemove",this),this.scroller.options.snap){var i=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),r=this.options.snapSpeed||n.max(n.max(n.min(n.abs(this.scroller.x-i.x),1e3),n.min(n.abs(this.scroller.y-i.y),1e3)),300);(this.scroller.x!=i.x||this.scroller.y!=i.y)&&(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=i,this.scroller.scrollTo(i.x,i.y,r,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(t){t=t||0,this.indicatorStyle[a.style.transitionDuration]=t+"ms",!t&&a.isBadAndroid&&(this.indicatorStyle[a.style.transitionDuration]="0.001s")},transitionTimingFunction:function(t){this.indicatorStyle[a.style.transitionTimingFunction]=t},refresh:function(){this.transitionTime(),this.indicatorStyle.display=this.options.listenX&&!this.options.listenY?this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.scroller.hasVerticalScroll?"block":"none":this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(a.addClass(this.wrapper,"iScrollBothScrollbars"),a.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(a.removeClass(this.wrapper,"iScrollBothScrollbars"),a.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px")),this.wrapper.offsetHeight,this.options.listenX&&(this.wrapperWidth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=n.max(n.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=8-this.indicatorWidth,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=n.max(n.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=8-this.indicatorHeight,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var t=this.options.listenX&&n.round(this.sizeRatioX*this.scroller.x)||0,e=this.options.listenY&&n.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(t<this.minBoundaryX?("scale"==this.options.shrink&&(this.width=n.max(this.indicatorWidth+t,8),this.indicatorStyle.width=this.width+"px"),t=this.minBoundaryX):t>this.maxBoundaryX?"scale"==this.options.shrink?(this.width=n.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",t=this.maxPosX+this.indicatorWidth-this.width):t=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),e<this.minBoundaryY?("scale"==this.options.shrink&&(this.height=n.max(this.indicatorHeight+3*e,8),this.indicatorStyle.height=this.height+"px"),e=this.minBoundaryY):e>this.maxBoundaryY?"scale"==this.options.shrink?(this.height=n.max(this.indicatorHeight-3*(e-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",e=this.maxPosY+this.indicatorHeight-this.height):e=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=e,this.scroller.options.useTransform?this.indicatorStyle[a.style.transform]="translate("+t+"px,"+e+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=e+"px")},_pos:function(t,e){0>t?t=0:t>this.maxPosX&&(t=this.maxPosX),0>e?e=0:e>this.maxPosY&&(e=this.maxPosY),t=this.options.listenX?n.round(t/this.sizeRatioX):this.scroller.x,e=this.options.listenY?n.round(e/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,e)},fade:function(t,e){if(!e||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var n=t?250:500,i=t?0:300;t=t?"1":"0",this.wrapperStyle[a.style.transitionDuration]=n+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),i)}}},i.utils=a,"undefined"!=typeof module&&module.exports?module.exports=i:t.IScroll=i}(window,document,Math),null==window.Promise&&function(t){function e(){}function n(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],u(t,this)}function i(t,e){for(;3===t._state;)t=t._value;return 0===t._state?void t._deferreds.push(e):(t._handled=!0,void n._immediateFn(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null!==n){var i;try{i=n(t._value)}catch(t){return void o(e.promise,t)}r(e.promise,i)}else(1===t._state?r:o)(e.promise,t._value)}))}function r(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var i=e.then;if(e instanceof n)return t._state=3,t._value=e,void s(t);if("function"==typeof i)return void u(function(t,e){return function(){t.apply(e,arguments)}}(i,e),t)}t._state=1,t._value=e,s(t)}catch(e){o(t,e)}}function o(t,e){t._state=2,t._value=e,s(t)}function s(t){2===t._state&&0===t._deferreds.length&&n._immediateFn(function(){t._handled||n._unhandledRejectionFn(t._value)});for(var e=0,r=t._deferreds.length;e<r;e++)i(t,t._deferreds[e]);t._deferreds=null}function a(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function u(t,e){var n=!1;try{t(function(t){n||(n=!0,r(e,t))},function(t){n||(n=!0,o(e,t))})}catch(t){if(n)return;n=!0,o(e,t)}}var l=setTimeout;n.prototype.catch=function(t){return this.then(null,t)},n.prototype.then=function(t,n){var r=new this.constructor(e);return i(this,new a(t,n,r)),r},n.all=function(t){var e=Array.prototype.slice.call(t);return new n(function(t,n){function i(o,s){try{if(s&&("object"==typeof s||"function"==typeof s)){var a=s.then;if("function"==typeof a)return void a.call(s,function(t){i(o,t)},n)}e[o]=s,0==--r&&t(e)}catch(t){n(t)}}if(0===e.length)return t([]);for(var r=e.length,o=0;o<e.length;o++)i(o,e[o])})},n.resolve=function(t){return t&&"object"==typeof t&&t.constructor===n?t:new n(function(e){e(t)})},n.reject=function(t){return new n(function(e,n){n(t)})},n.race=function(t){return new n(function(e,n){for(var i=0,r=t.length;i<r;i++)t[i].then(e,n)})},n._immediateFn="function"==typeof setImmediate&&function(t){setImmediate(t)}||function(t){l(t,0)},n._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},n._setImmediateFn=function(t){n._immediateFn=t},n._setUnhandledRejectionFn=function(t){n._unhandledRejectionFn=t},"undefined"!=typeof module&&module.exports?module.exports=n:t.Promise||(t.Promise=n)}(this),window.loadSvg=function(t,e){if(!document.getElementById(t)){(e=e||{}).path=System.version,e=Object.keys(e).map(function(t){return t+"="+e[t]}).join("&");var n=""==location.port||"443"==location.port?"":":"+location.port,i=location.protocol+"//"+location.hostname+n+Config.servicename+"?loadComponent=svg-icons&loadSvg=true&"+e+"&cache="+(Config.cache||0),r=$.ajax({url:i,contentType:"image/svg+xml"});r.done(function(e){var n=e.getElementsByTagName("svg")[0];n.setAttribute("id",t),document.body.appendChild(n)}),r.fail(function(t,e){console.error("Request failed: SVG "+e)})}},function(){"use strict";if(void 0!==window.watchscroll)throw new Error("watchscroll já foi carregado");var t=Array.prototype.slice,e=[],n=[],i=[],r=[],o=!1,s=!1,a=null,u={top:0,left:0,way:0},l=window.requestIdleCallback||window.requestAnimationFrame,c=function(){return u},h=function(t){c();var e=document.body.getBoundingClientRect(),n=t.getBoundingClientRect();return{top:n.top-e.top,left:n.left-e.left,width:n.width,height:n.height}},f=function(){o=!0},p=function(t,e){if(0==e.indexOf(":this"))return t.querySelector(e.replace(/^\:this ?/,""));if(0==e.indexOf(":parent")){for(var n=e.replace(/^\:parent ?/,""),i=t;i&&i!==document;i=i.parentNode)if(!0===i.matches(n))return i;return null}return document.querySelector(e)},d=function(t,e){n.push({condition:t,callback:e})},m=function(){for(var e=t.call(document.querySelectorAll("[data-watchscroll]")),n=0;n<e.length;n++){var i=e[n],r={type:i.getAttribute("data-watchscroll"),top:Number(i.getAttribute("data-watchscroll-top")),margin:(i.getAttribute("data-watchscroll-margin")||"0;0").split(";").map(function(t){return Number(t)}),offset:Number(i.getAttribute("data-watchscroll-offset")),className:i.getAttribute("data-watchscroll-class"),targetSelector:i.getAttribute("data-watchscroll-target")};r.margin.length<2&&r.margin.push(0),null===r.targetSelector||(r.target=p(i,r.targetSelector),null!==r.target)?new v(i,r):console.error("não foi possível encontrar nenhum elemento com o selector '"+r.targetSelector+"'")}},g=function(t){var e,n=0,i=window.getComputedStyle(t.element),o=i.visibility,s=i.position,a=i.top,u=i.left,l=function(e){var i=t.config.margin[e.way],r=h(t.element),o=h(t.config.target),s=o.top+o.height-r.height-i,a=0;e.top>s?a=i-(e.top-s):(a=o.top-e.top+n)<i&&(a=i),t.style.top=Math.floor(a)+"px"};e=function(){t.style.visibility="hidden",t.style.position=s,t.style.top=a,t.style.left=u;var e=h(t.element),i=h(t.config.target);n=e.top-i.top,t.style.position="fixed",t.style.top=e.top+"px",t.style.left=e.left+"px",t.style.visibility=o,l(c())},r.push({callback:e}),e(),d(function(t){return!0},l)},v=function t(n,i){if(this instanceof t==!1)return console.error("Watcher deve ser inicializado com `new Watcher()`"),!1;switch(e.push(this),n.removeAttribute("data-watchscroll"),this.element=n,this.config=i,this.style=n.style,i.type){case"fixedUntilTop":r=this,d(function(t){return t.top>=r.config.top},function(){r.style.position="absolute",r.style.top=r.config.top+"px"}),d(function(t){return t.top<r.config.top},function(){r.style.position="fixed",r.style.top="0px"});break;case"fixedInContainer":g(this);break;case"visibleWhen":!function(t){var e=h(t.config.target).top-t.config.offset;d(function(t){return t.top>=e},function(e){t.element.classList.add(t.config.className)}),d(function(t){return t.top<e},function(e){t.element.classList.remove(t.config.className)})}(this)}var r};window.addEventListener("load",f),window.addEventListener("resize",f),window.addEventListener("DOMContentLoaded",m),window.addEventListener("scroll",function(t){var e,n;e=parseInt(window.pageYOffset),n=parseInt(window.pageXOffset),e>u.top?u.way=0:u.way=1,u.top=e,u.left=n,o=!0}),l(function t(){var e=h(document.body),n=e.width,i=e.height;if(null===a)a={width:n,height:i};else if(a.width!==n||a.height!==i){a={width:n,height:i};for(var o=0;o<r.length;o++)r[o].callback.call(null,{width:n,height:i})}l(t)}),window.requestAnimationFrame(function t(e){var r=c();!0===o&&!1===s&&(s=!0,function(t){for(var e=n.length,i=0;i<e;i++){var r=n[i];!0===r.condition(t)&&r.callback(t)}}(r),function(t){for(var e=i.length,n=0;n<e;n++)i[n](t)}(r),s=!1,o=!1),window.requestAnimationFrame(t)}),window.watchscroll={isRunning:s,run:m,onscroll:function(t){i.push(t)},BOTTOM:0,TOP:1,Watcher:v}}();   