!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],i=Object.getPrototypeOf,r=n.slice,o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},s=n.push,a=n.indexOf,l={},c=l.toString,u=l.hasOwnProperty,d=u.toString,h=d.call(Object),f={},p=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},g=function(e){return null!=e&&e===e.window},m=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function $(e,t,n){var i,r,o=(n=n||m).createElement("script");if(o.text=e,t)for(i in v)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function y(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.6.0 -ajax,-ajax/jsonp,-ajax/load,-ajax/script,-ajax/var/location,-ajax/var/nonce,-ajax/var/rquery,-ajax/xhr,-manipulation/_evalUrl,-deprecated/ajax-event-alias,-effects,-effects/Tween,-effects/animatedSelector",w=function(e,t){return new w.fn.init(e,t)};function k(e){var t=!!e&&"length"in e&&e.length,n=y(e);return!p(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&0<t&&t-1 in e)}w.fn=w.prototype={jquery:b,constructor:w,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(w.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(w.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,i,r,o,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||p(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(c&&i&&(w.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],o=r&&!Array.isArray(n)?[]:r||w.isPlainObject(n)?n:{},r=!1,s[t]=w.extend(c,o,i)):void 0!==i&&(s[t]=i));return s},w.extend({expando:"jQuery"+(b+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e)||(t=i(e))&&("function"!=typeof(n=u.call(t,"constructor")&&t.constructor)||d.call(n)!==h))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){$(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(k(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},makeArray:function(e,t){var n=t||[];return null!=e&&(k(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:a.call(t,e,n)},merge:function(e,t){for(var n=+t.length,i=0,r=e.length;i<n;i++)e[r++]=t[i];return e.length=r,e},grep:function(e,t,n){for(var i=[],r=0,o=e.length,s=!n;r<o;r++)!t(e[r],r)!==s&&i.push(e[r]);return i},map:function(e,t,n){var i,r,s=0,a=[];if(k(e))for(i=e.length;s<i;s++)null!=(r=t(e[s],s,n))&&a.push(r);else for(s in e)null!=(r=t(e[s],s,n))&&a.push(r);return o(a)},guid:1,support:f}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){l["[object "+t+"]"]=t.toLowerCase()}));var S=function(e){var t,n,i,r,o,s,a,l,c,u,d,h,f,p,g,m,v,$,y,b="sizzle"+1*new Date,w=e.document,k=0,S=0,_=le(),C=le(),x=le(),T=le(),E=function(e,t){return e===t&&(d=!0),0},A={}.hasOwnProperty,D=[],O=D.pop,M=D.push,N=D.push,P=D.slice,I=function(e,t){for(var n=0,i=e.length;n<i;n++)if(e[n]===t)return n;return-1},L="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",j="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",H="\\["+j+"*("+R+")(?:"+j+"*([*^$|!~]?=)"+j+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+j+"*\\]",V=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+H+")*)|.*)\\)|)",F=new RegExp(j+"+","g"),U=new RegExp("^"+j+"+|((?:^|[^\\\\])(?:\\\\.)*)"+j+"+$","g"),q=new RegExp("^"+j+"*,"+j+"*"),B=new RegExp("^"+j+"*([>+~]|"+j+")"+j+"*"),z=new RegExp(j+"|>"),W=new RegExp(V),Y=new RegExp("^"+R+"$"),G={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+H),PSEUDO:new RegExp("^"+V),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+L+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+j+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ie=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){h()},se=be((function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{N.apply(D=P.call(w.childNodes),w.childNodes),D[w.childNodes.length].nodeType}catch(t){N={apply:D.length?function(e,t){M.apply(e,P.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ae(e,t,i,r){var o,a,c,u,d,p,v,$=t&&t.ownerDocument,w=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==w&&9!==w&&11!==w)return i;if(!r&&(h(t),t=t||f,g)){if(11!==w&&(d=Z.exec(e)))if(o=d[1]){if(9===w){if(!(c=t.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if($&&(c=$.getElementById(o))&&y(t,c)&&c.id===o)return i.push(c),i}else{if(d[2])return N.apply(i,t.getElementsByTagName(e)),i;if((o=d[3])&&n.getElementsByClassName&&t.getElementsByClassName)return N.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!T[e+" "]&&(!m||!m.test(e))&&(1!==w||"object"!==t.nodeName.toLowerCase())){if(v=e,$=t,1===w&&(z.test(e)||B.test(e))){for(($=ee.test(e)&&ve(t.parentNode)||t)===t&&n.scope||((u=t.getAttribute("id"))?u=u.replace(ie,re):t.setAttribute("id",u=b)),a=(p=s(e)).length;a--;)p[a]=(u?"#"+u:":scope")+" "+ye(p[a]);v=p.join(",")}try{return N.apply(i,$.querySelectorAll(v)),i}catch(t){T(e,!0)}finally{u===b&&t.removeAttribute("id")}}}return l(e.replace(U,"$1"),t,i,r)}function le(){var e=[];return function t(n,r){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=r}}function ce(e){return e[b]=!0,e}function ue(e){var t=f.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function de(e,t){for(var n=e.split("|"),r=n.length;r--;)i.attrHandle[n[r]]=t}function he(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function ge(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&se(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function me(e){return ce((function(t){return t=+t,ce((function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))}))}))}function ve(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},o=ae.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!K.test(t||n&&n.nodeName||"HTML")},h=ae.setDocument=function(e){var t,r,s=e?e.ownerDocument||e:w;return s!=f&&9===s.nodeType&&s.documentElement&&(p=(f=s).documentElement,g=!o(f),w!=f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",oe,!1):r.attachEvent&&r.attachEvent("onunload",oe)),n.scope=ue((function(e){return p.appendChild(e).appendChild(f.createElement("div")),void 0!==e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length})),n.attributes=ue((function(e){return e.className="i",!e.getAttribute("className")})),n.getElementsByTagName=ue((function(e){return e.appendChild(f.createComment("")),!e.getElementsByTagName("*").length})),n.getElementsByClassName=X.test(f.getElementsByClassName),n.getById=ue((function(e){return p.appendChild(e).id=b,!f.getElementsByName||!f.getElementsByName(b).length})),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=X.test(f.querySelectorAll))&&(ue((function(e){var t;p.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+j+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+j+"*(?:value|"+L+")"),e.querySelectorAll("[id~="+b+"-]").length||m.push("~="),(t=f.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||m.push("\\["+j+"*name"+j+"*="+j+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]"),e.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ue((function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=f.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+j+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=X.test($=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ue((function(e){n.disconnectedMatch=$.call(e,"*"),$.call(e,"[s!='']:x"),v.push("!=",V)})),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=X.test(p.compareDocumentPosition),y=t||X.test(p.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E=t?function(e,t){if(e===t)return d=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e==f||e.ownerDocument==w&&y(w,e)?-1:t==f||t.ownerDocument==w&&y(w,t)?1:u?I(u,e)-I(u,t):0:4&i?-1:1)}:function(e,t){if(e===t)return d=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e==f?-1:t==f?1:r?-1:o?1:u?I(u,e)-I(u,t):0;if(r===o)return he(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?he(s[i],a[i]):s[i]==w?-1:a[i]==w?1:0}),f},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(h(e),n.matchesSelector&&g&&!T[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var i=$.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){T(t,!0)}return 0<ae(t,f,null,[e]).length},ae.contains=function(e,t){return(e.ownerDocument||e)!=f&&h(e),y(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=f&&h(e);var r=i.attrHandle[t.toLowerCase()],o=r&&A.call(i.attrHandle,t.toLowerCase())?r(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ae.escape=function(e){return(e+"").replace(ie,re)},ae.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ae.uniqueSort=function(e){var t,i=[],r=0,o=0;if(d=!n.detectDuplicates,u=!n.sortStable&&e.slice(0),e.sort(E),d){for(;t=e[o++];)t===e[o]&&(r=i.push(o));for(;r--;)e.splice(i[r],1)}return u=null,e},r=ae.getText=function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},(i=ae.selectors={cacheLength:50,createPseudo:ce,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&W.test(n)&&(t=s(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=_[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&_(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var r=ae.attr(i,e);return null==r?"!="===t:!t||(r+="","="===t?r===n:"!="===t?r!==n:"^="===t?n&&0===r.indexOf(n):"*="===t?n&&-1<r.indexOf(n):"$="===t?n&&r.slice(-n.length)===n:"~="===t?-1<(" "+r.replace(F," ")+" ").indexOf(n):"|="===t&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,r){var o="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,h,f,p,g=o!==s?"nextSibling":"previousSibling",m=t.parentNode,v=a&&t.nodeName.toLowerCase(),$=!l&&!a,y=!1;if(m){if(o){for(;g;){for(h=t;h=h[g];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;p=g="only"===e&&!p&&"nextSibling"}return!0}if(p=[s?m.firstChild:m.lastChild],s&&$){for(y=(f=(c=(u=(d=(h=m)[b]||(h[b]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===k&&c[1])&&c[2],h=f&&m.childNodes[f];h=++f&&h&&h[g]||(y=f=0)||p.pop();)if(1===h.nodeType&&++y&&h===t){u[e]=[k,f,y];break}}else if($&&(y=f=(c=(u=(d=(h=t)[b]||(h[b]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]||[])[0]===k&&c[1]),!1===y)for(;(h=++f&&h&&h[g]||(y=f=0)||p.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++y||($&&((u=(d=h[b]||(h[b]={}))[h.uniqueID]||(d[h.uniqueID]={}))[e]=[k,y]),h!==t)););return(y-=r)===i||y%i==0&&0<=y/i}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ae.error("unsupported pseudo: "+e);return r[b]?r(t):1<r.length?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var i,o=r(e,t),s=o.length;s--;)e[i=I(e,o[s])]=!(n[i]=o[s])})):function(e){return r(e,0,n)}):r}},pseudos:{not:ce((function(e){var t=[],n=[],i=a(e.replace(U,"$1"));return i[b]?ce((function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return 0<ae(e,t).length}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return-1<(t.textContent||r(t)).indexOf(e)}})),lang:ce((function(e){return Y.test(e||"")||ae.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===p},focus:function(e){return e===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return J.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:me((function(){return[0]})),last:me((function(e,t){return[t-1]})),eq:me((function(e,t,n){return[n<0?n+t:n]})),even:me((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:me((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:me((function(e,t,n){for(var i=n<0?n+t:t<n?t:n;0<=--i;)e.push(i);return e})),gt:me((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}}).pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=pe(t);function $e(){}function ye(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function be(e,t,n){var i=t.dir,r=t.next,o=r||i,s=n&&"parentNode"===o,a=S++;return t.first?function(t,n,r){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,r);return!1}:function(t,n,l){var c,u,d,h=[k,a];if(l){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(u=(d=t[b]||(t[b]={}))[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[i]||t;else{if((c=u[o])&&c[0]===k&&c[1]===a)return h[2]=c[2];if((u[o]=h)[2]=e(t,n,l))return!0}return!1}}function we(e){return 1<e.length?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function ke(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(o=e[a])&&(n&&!n(o,i,r)||(s.push(o),c&&t.push(a)));return s}function Se(e,t,n,i,r,o){return i&&!i[b]&&(i=Se(i)),r&&!r[b]&&(r=Se(r,o)),ce((function(o,s,a,l){var c,u,d,h=[],f=[],p=s.length,g=o||function(e,t,n){for(var i=0,r=t.length;i<r;i++)ae(e,t[i],n);return n}(t||"*",a.nodeType?[a]:a,[]),m=!e||!o&&t?g:ke(g,h,e,a,l),v=n?r||(o?e:p||i)?[]:s:m;if(n&&n(m,v,a,l),i)for(c=ke(v,f),i(c,[],a,l),u=c.length;u--;)(d=c[u])&&(v[f[u]]=!(m[f[u]]=d));if(o){if(r||e){if(r){for(c=[],u=v.length;u--;)(d=v[u])&&c.push(m[u]=d);r(null,v=[],c,l)}for(u=v.length;u--;)(d=v[u])&&-1<(c=r?I(o,d):h[u])&&(o[c]=!(s[c]=d))}}else v=ke(v===s?v.splice(p,v.length):v),r?r(null,s,v,l):N.apply(s,v)}))}function _e(e){for(var t,n,r,o=e.length,s=i.relative[e[0].type],a=s||i.relative[" "],l=s?1:0,u=be((function(e){return e===t}),a,!0),d=be((function(e){return-1<I(t,e)}),a,!0),h=[function(e,n,i){var r=!s&&(i||n!==c)||((t=n).nodeType?u(e,n,i):d(e,n,i));return t=null,r}];l<o;l++)if(n=i.relative[e[l].type])h=[be(we(h),n)];else{if((n=i.filter[e[l].type].apply(null,e[l].matches))[b]){for(r=++l;r<o&&!i.relative[e[r].type];r++);return Se(1<l&&we(h),1<l&&ye(e.slice(0,l-1).concat({value:" "===e[l-2].type?"*":""})).replace(U,"$1"),n,l<r&&_e(e.slice(l,r)),r<o&&_e(e=e.slice(r)),r<o&&ye(e))}h.push(n)}return we(h)}return $e.prototype=i.filters=i.pseudos,i.setFilters=new $e,s=ae.tokenize=function(e,t){var n,r,o,s,a,l,c,u=C[e+" "];if(u)return t?0:u.slice(0);for(a=e,l=[],c=i.preFilter;a;){for(s in n&&!(r=q.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(o=[])),n=!1,(r=B.exec(a))&&(n=r.shift(),o.push({value:n,type:r[0].replace(U," ")}),a=a.slice(n.length)),i.filter)!(r=G[s].exec(a))||c[s]&&!(r=c[s](r))||(n=r.shift(),o.push({value:n,type:s,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?ae.error(e):C(e,l).slice(0)},a=ae.compile=function(e,t){var n,r,o,a,l,u,d=[],p=[],m=x[e+" "];if(!m){for(t||(t=s(e)),n=t.length;n--;)(m=_e(t[n]))[b]?d.push(m):p.push(m);(m=x(e,(r=p,a=0<(o=d).length,l=0<r.length,u=function(e,t,n,s,u){var d,p,m,v=0,$="0",y=e&&[],b=[],w=c,S=e||l&&i.find.TAG("*",u),_=k+=null==w?1:Math.random()||.1,C=S.length;for(u&&(c=t==f||t||u);$!==C&&null!=(d=S[$]);$++){if(l&&d){for(p=0,t||d.ownerDocument==f||(h(d),n=!g);m=r[p++];)if(m(d,t||f,n)){s.push(d);break}u&&(k=_)}a&&((d=!m&&d)&&v--,e&&y.push(d))}if(v+=$,a&&$!==v){for(p=0;m=o[p++];)m(y,b,t,n);if(e){if(0<v)for(;$--;)y[$]||b[$]||(b[$]=O.call(s));b=ke(b)}N.apply(s,b),u&&!e&&0<b.length&&1<v+o.length&&ae.uniqueSort(s)}return u&&(k=_,c=w),y},a?ce(u):u))).selector=e}return m},l=ae.select=function(e,t,n,r){var o,l,c,u,d,h="function"==typeof e&&e,f=!r&&s(e=h.selector||e);if(n=n||[],1===f.length){if(2<(l=f[0]=f[0].slice(0)).length&&"ID"===(c=l[0]).type&&9===t.nodeType&&g&&i.relative[l[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=G.needsContext.test(e)?0:l.length;o--&&(c=l[o],!i.relative[u=c.type]);)if((d=i.find[u])&&(r=d(c.matches[0].replace(te,ne),ee.test(l[0].type)&&ve(t.parentNode)||t))){if(l.splice(o,1),!(e=r.length&&ye(l)))return N.apply(n,r),n;break}}return(h||a(e,f))(r,t,!g,n,!t||ee.test(e)&&ve(t.parentNode)||t),n},n.sortStable=b.split("").sort(E).join("")===b,n.detectDuplicates=!!d,h(),n.sortDetached=ue((function(e){return 1&e.compareDocumentPosition(f.createElement("fieldset"))})),ue((function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")}))||de("type|href|height|width",(function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)})),n.attributes&&ue((function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}))||de("value",(function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue})),ue((function(e){return null==e.getAttribute("disabled")}))||de(L,(function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),ae}(e);w.find=S,w.expr=S.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=S.uniqueSort,w.text=S.getText,w.isXMLDoc=S.isXML,w.contains=S.contains,w.escapeSelector=S.escape;var _=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&w(e).is(n))break;i.push(e)}return i},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},x=w.expr.match.needsContext;function T(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var E=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function A(e,t,n){return p(t)?w.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?w.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?w.grep(e,(function(e){return-1<a.call(t,e)!==n})):w.filter(t,e,n)}w.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?w.find.matchesSelector(i,e)?[i]:[]:w.find.matches(e,w.grep(t,(function(e){return 1===e.nodeType})))},w.fn.extend({find:function(e){var t,n,i=this.length,r=this;if("string"!=typeof e)return this.pushStack(w(e).filter((function(){for(t=0;t<i;t++)if(w.contains(r[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)w.find(e,r[t],n);return 1<i?w.uniqueSort(n):n},filter:function(e){return this.pushStack(A(this,e||[],!1))},not:function(e){return this.pushStack(A(this,e||[],!0))},is:function(e){return!!A(this,"string"==typeof e&&x.test(e)?w(e):e||[],!1).length}});var D,O=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:O.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),E.test(i[1])&&w.isPlainObject(t))for(i in t)p(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=m.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):p(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,D=w(m);var M=/^(?:parents|prev(?:Until|All))/,N={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,r=this.length,o=[],s="string"!=typeof e&&w(e);if(!x.test(e))for(;i<r;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(1<o.length?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?a.call(w(e),this[0]):a.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return _(e,"parentNode")},parentsUntil:function(e,t,n){return _(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return _(e,"nextSibling")},prevAll:function(e){return _(e,"previousSibling")},nextUntil:function(e,t,n){return _(e,"nextSibling",n)},prevUntil:function(e,t,n){return _(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(T(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},(function(e,t){w.fn[e]=function(n,i){var r=w.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=w.filter(i,r)),1<this.length&&(N[e]||w.uniqueSort(r),M.test(e)&&r.reverse()),this.pushStack(r)}}));var I=/[^\x20\t\r\n\f]+/g;function L(e){return e}function j(e){throw e}function R(e,t,n,i){var r;try{e&&p(r=e.promise)?r.call(e).done(t).fail(n):e&&p(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}w.Callbacks=function(e){var t,n;e="string"==typeof e?(t=e,n={},w.each(t.match(I)||[],(function(e,t){n[t]=!0})),n):w.extend({},e);var i,r,o,s,a=[],l=[],c=-1,u=function(){for(s=s||e.once,o=i=!0;l.length;c=-1)for(r=l.shift();++c<a.length;)!1===a[c].apply(r[0],r[1])&&e.stopOnFalse&&(c=a.length,r=!1);e.memory||(r=!1),i=!1,s&&(a=r?[]:"")},d={add:function(){return a&&(r&&!i&&(c=a.length-1,l.push(r)),function t(n){w.each(n,(function(n,i){p(i)?e.unique&&d.has(i)||a.push(i):i&&i.length&&"string"!==y(i)&&t(i)}))}(arguments),r&&!i&&u()),this},remove:function(){return w.each(arguments,(function(e,t){for(var n;-1<(n=w.inArray(t,a,n));)a.splice(n,1),n<=c&&c--})),this},has:function(e){return e?-1<w.inArray(e,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return s=l=[],a=r="",this},disabled:function(){return!a},lock:function(){return s=l=[],r||i||(a=r=""),this},locked:function(){return!!s},fireWith:function(e,t){return s||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),i||u()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!o}};return d},w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return w.Deferred((function(t){w.each(n,(function(n,i){var r=p(e[i[4]])&&e[i[4]];o[i[1]]((function(){var e=r&&r.apply(this,arguments);e&&p(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(t,i,r){var o=0;function s(t,n,i,r){return function(){var a=this,l=arguments,c=function(){var e,c;if(!(t<o)){if((e=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,p(c)?r?c.call(e,s(o,n,L,r),s(o,n,j,r)):(o++,c.call(e,s(o,n,L,r),s(o,n,j,r),s(o,n,L,n.notifyWith))):(i!==L&&(a=void 0,l=[e]),(r||n.resolveWith)(a,l))}},u=r?c:function(){try{c()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,u.stackTrace),o<=t+1&&(i!==j&&(a=void 0,l=[e]),n.rejectWith(a,l))}};t?u():(w.Deferred.getStackHook&&(u.stackTrace=w.Deferred.getStackHook()),e.setTimeout(u))}}return w.Deferred((function(e){n[0][3].add(s(0,e,p(r)?r:L,e.notifyWith)),n[1][3].add(s(0,e,p(t)?t:L)),n[2][3].add(s(0,e,p(i)?i:j))})).promise()},promise:function(e){return null!=e?w.extend(e,r):r}},o={};return w.each(n,(function(e,t){var s=t[2],a=t[5];r[t[1]]=s.add,a&&s.add((function(){i=a}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),s.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=s.fireWith})),r.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),o=r.call(arguments),s=w.Deferred(),a=function(e){return function(n){i[e]=this,o[e]=1<arguments.length?r.call(arguments):n,--t||s.resolveWith(i,o)}};if(t<=1&&(R(e,s.done(a(n)).resolve,s.reject,!t),"pending"===s.state()||p(o[n]&&o[n].then)))return s.then();for(;n--;)R(o[n],a(n),s.reject);return s.promise()}});var H=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&H.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout((function(){throw t}))};var V=w.Deferred();function F(){m.removeEventListener("DOMContentLoaded",F),e.removeEventListener("load",F),w.ready()}w.fn.ready=function(e){return V.then(e).catch((function(e){w.readyException(e)})),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0)!==e&&0<--w.readyWait||V.resolveWith(m,[w])}}),w.ready.then=V.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?e.setTimeout(w.ready):(m.addEventListener("DOMContentLoaded",F),e.addEventListener("load",F));var U=function(e,t,n,i,r,o,s){var a=0,l=e.length,c=null==n;if("object"===y(n))for(a in r=!0,n)U(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,p(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(w(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return r?e:c?t.call(e):l?t(e[0],n):o},q=/^-ms-/,B=/-([a-z])/g;function z(e,t){return t.toUpperCase()}function W(e){return e.replace(q,"ms-").replace(B,z)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function G(){this.expando=w.expando+G.uid++}G.uid=1,G.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,r=this.cache(e);if("string"==typeof t)r[W(t)]=n;else for(i in t)r[W(i)]=t[i];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][W(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(W):(t=W(t))in i?[t]:t.match(I)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||w.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var K=new G,Q=new G,J=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,X=/[A-Z]/g;function Z(e,t,n){var i,r;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(X,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n="true"===(r=n)||"false"!==r&&("null"===r?null:r===+r+""?+r:J.test(r)?JSON.parse(r):r)}catch(e){}Q.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return Q.hasData(e)||K.hasData(e)},data:function(e,t,n){return Q.access(e,t,n)},removeData:function(e,t){Q.remove(e,t)},_data:function(e,t,n){return K.access(e,t,n)},_removeData:function(e,t){K.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,i,r,o=this[0],s=o&&o.attributes;if(void 0===e){if(this.length&&(r=Q.get(o),1===o.nodeType&&!K.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=W(i.slice(5)),Z(o,i,r[i]));K.set(o,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each((function(){Q.set(this,e)})):U(this,(function(t){var n;if(o&&void 0===t)return void 0!==(n=Q.get(o,e))||void 0!==(n=Z(o,e))?n:void 0;this.each((function(){Q.set(this,e,t)}))}),null,t,1<arguments.length,null,!0)},removeData:function(e){return this.each((function(){Q.remove(this,e)}))}}),w.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=K.get(e,t),n&&(!i||Array.isArray(n)?i=K.access(e,t,w.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),i=n.length,r=n.shift(),o=w._queueHooks(e,t);"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===t&&n.unshift("inprogress"),delete o.stop,r.call(e,(function(){w.dequeue(e,t)}),o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return K.get(e,n)||K.access(e,n,{empty:w.Callbacks("once memory").add((function(){K.remove(e,[t+"queue",n])}))})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each((function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){w.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,r=w.Deferred(),o=this,s=this.length,a=function(){--i||r.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=K.get(o[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),ne=["Top","Right","Bottom","Left"],ie=m.documentElement,re=function(e){return w.contains(e.ownerDocument,e)},oe={composed:!0};ie.getRootNode&&(re=function(e){return w.contains(e.ownerDocument,e)||e.getRootNode(oe)===e.ownerDocument});var se=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&re(e)&&"none"===w.css(e,"display")},ae={};function le(e,t){for(var n,i,r,o,s,a,l,c=[],u=0,d=e.length;u<d;u++)(i=e[u]).style&&(n=i.style.display,t?("none"===n&&(c[u]=K.get(i,"display")||null,c[u]||(i.style.display="")),""===i.style.display&&se(i)&&(c[u]=(l=s=o=void 0,s=(r=i).ownerDocument,a=r.nodeName,(l=ae[a])||(o=s.body.appendChild(s.createElement(a)),l=w.css(o,"display"),o.parentNode.removeChild(o),"none"===l&&(l="block"),ae[a]=l)))):"none"!==n&&(c[u]="none",K.set(i,"display",n)));for(u=0;u<d;u++)null!=c[u]&&(e[u].style.display=c[u]);return e}w.fn.extend({show:function(){return le(this,!0)},hide:function(){return le(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){se(this)?w(this).show():w(this).hide()}))}});var ce,ue,de=/^(?:checkbox|radio)$/i,he=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,fe=/^$|^module$|\/(?:java|ecma)script/i;ce=m.createDocumentFragment().appendChild(m.createElement("div")),(ue=m.createElement("input")).setAttribute("type","radio"),ue.setAttribute("checked","checked"),ue.setAttribute("name","t"),ce.appendChild(ue),f.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="<option></option>",f.option=!!ce.lastChild;var pe={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,"",""]};function ge(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&T(e,t)?w.merge([e],n):n}function me(e,t){for(var n=0,i=e.length;n<i;n++)K.set(e[n],"globalEval",!t||K.get(t[n],"globalEval"))}pe.tbody=pe.tfoot=pe.colgroup=pe.caption=pe.thead,pe.th=pe.td,f.option||(pe.optgroup=pe.option=[1,"<select multiple='multiple'>","</select>"]);var ve=/<|&#?\w+;/;function $e(e,t,n,i,r){for(var o,s,a,l,c,u,d=t.createDocumentFragment(),h=[],f=0,p=e.length;f<p;f++)if((o=e[f])||0===o)if("object"===y(o))w.merge(h,o.nodeType?[o]:o);else if(ve.test(o)){for(s=s||d.appendChild(t.createElement("div")),a=(he.exec(o)||["",""])[1].toLowerCase(),l=pe[a]||pe._default,s.innerHTML=l[1]+w.htmlPrefilter(o)+l[2],u=l[0];u--;)s=s.lastChild;w.merge(h,s.childNodes),(s=d.firstChild).textContent=""}else h.push(t.createTextNode(o));for(d.textContent="",f=0;o=h[f++];)if(i&&-1<w.inArray(o,i))r&&r.push(o);else if(c=re(o),s=ge(d.appendChild(o),"script"),c&&me(s),n)for(u=0;o=s[u++];)fe.test(o.type||"")&&n.push(o);return d}var ye=/^([^.]*)(?:\.(.+)|)/;function be(){return!0}function we(){return!1}function ke(e,t){return e===function(){try{return m.activeElement}catch(e){}}()==("focus"===t)}function Se(e,t,n,i,r,o){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)Se(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=we;else if(!r)return e;return 1===o&&(s=r,(r=function(e){return w().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=w.guid++)),e.each((function(){w.event.add(this,t,r,i,n)}))}function _e(e,t,n){n?(K.set(e,t,!1),w.event.add(e,t,{namespace:!1,handler:function(e){var i,o,s=K.get(this,t);if(1&e.isTrigger&&this[t]){if(s.length)(w.event.special[t]||{}).delegateType&&e.stopPropagation();else if(s=r.call(arguments),K.set(this,t,s),i=n(this,t),this[t](),s!==(o=K.get(this,t))||i?K.set(this,t,!1):o={},s!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else s.length&&(K.set(this,t,{value:w.event.trigger(w.extend(s[0],w.Event.prototype),s.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===K.get(e,t)&&w.event.add(e,t,be)}w.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,c,u,d,h,f,p,g,m=K.get(e);if(Y(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&w.find.matchesSelector(ie,r),n.guid||(n.guid=w.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(t){return void 0!==w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(I)||[""]).length;c--;)f=g=(a=ye.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(d=w.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=w.event.special[f]||{},u=w.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&w.expr.match.needsContext.test(r),namespace:p.join(".")},o),(h=l[f])||((h=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,p,s)||e.addEventListener&&e.addEventListener(f,s)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,u):h.push(u),w.event.global[f]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,c,u,d,h,f,p,g,m=K.hasData(e)&&K.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(I)||[""]).length;c--;)if(f=g=(a=ye.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(d=w.event.special[f]||{},h=l[f=(i?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=h.length;o--;)u=h[o],!r&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(h.splice(o,1),u.selector&&h.delegateCount--,d.remove&&d.remove.call(e,u));s&&!h.length&&(d.teardown&&!1!==d.teardown.call(e,p,m.handle)||w.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)w.event.remove(e,f+t[c],n,i,!0);w.isEmptyObject(l)&&K.remove(e,"handle events")}},dispatch:function(e){var t,n,i,r,o,s,a=new Array(arguments.length),l=w.event.fix(e),c=(K.get(this,"events")||Object.create(null))[l.type]||[],u=w.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(s=w.event.handlers.call(this,l,c),t=0;(r=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(o=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==o.namespace&&!l.rnamespace.test(o.namespace)||(l.handleObj=o,l.data=o.data,void 0!==(i=((w.event.special[o.origType]||{}).handle||o.handler).apply(r.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,r,o,s,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(o=[],s={},n=0;n<l;n++)void 0===s[r=(i=t[n]).selector+" "]&&(s[r]=i.needsContext?-1<w(r,this).index(c):w.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:p(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return de.test(t.type)&&t.click&&T(t,"input")&&_e(t,"click",be),!1},trigger:function(e){var t=this||e;return de.test(t.type)&&t.click&&T(t,"input")&&_e(t,"click"),!0},_default:function(e){var t=e.target;return de.test(t.type)&&t.click&&T(t,"input")&&K.get(t,"click")||T(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?be:we,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:we,isPropagationStopped:we,isImmediatePropagationStopped:we,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=be,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=be,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=be,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},w.event.addProp),w.each({focus:"focusin",blur:"focusout"},(function(e,t){w.event.special[e]={setup:function(){return _e(this,e,ke),!1},trigger:function(){return _e(this,e),!0},_default:function(){return!0},delegateType:t}})),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,r=e.handleObj;return i&&(i===this||w.contains(this,i))||(e.type=r.origType,n=r.handler.apply(this,arguments),e.type=t),n}}})),w.fn.extend({on:function(e,t,n,i){return Se(this,e,t,n,i)},one:function(e,t,n,i){return Se(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,w(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=we),this.each((function(){w.event.remove(this,e,n,t)}))}});var Ce=/<script|<style|<link/i,xe=/checked\s*(?:[^=]|=\s*.checked.)/i,Te=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Ee(e,t){return T(e,"table")&&T(11!==t.nodeType?t:t.firstChild,"tr")&&w(e).children("tbody")[0]||e}function Ae(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function De(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Oe(e,t){var n,i,r,o,s,a;if(1===t.nodeType){if(K.hasData(e)&&(a=K.get(e).events))for(r in K.remove(t,"handle events"),a)for(n=0,i=a[r].length;n<i;n++)w.event.add(t,r,a[r][n]);Q.hasData(e)&&(o=Q.access(e),s=w.extend({},o),Q.set(t,s))}}function Me(e,t,n,i){t=o(t);var r,s,a,l,c,u,d=0,h=e.length,g=h-1,m=t[0],v=p(m);if(v||1<h&&"string"==typeof m&&!f.checkClone&&xe.test(m))return e.each((function(r){var o=e.eq(r);v&&(t[0]=m.call(this,r,o.html())),Me(o,t,n,i)}));if(h&&(s=(r=$e(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=s),s||i)){for(l=(a=w.map(ge(r,"script"),Ae)).length;d<h;d++)c=r,d!==g&&(c=w.clone(c,!0,!0),l&&w.merge(a,ge(c,"script"))),n.call(e[d],c,d);if(l)for(u=a[a.length-1].ownerDocument,w.map(a,De),d=0;d<l;d++)c=a[d],fe.test(c.type||"")&&!K.access(c,"globalEval")&&w.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?w._evalUrl&&!c.noModule&&w._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):$(c.textContent.replace(Te,""),c,u))}return e}function Ne(e,t,n){for(var i,r=t?w.filter(t,e):e,o=0;null!=(i=r[o]);o++)n||1!==i.nodeType||w.cleanData(ge(i)),i.parentNode&&(n&&re(i)&&me(ge(i,"script")),i.parentNode.removeChild(i));return e}w.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,r,o,s,a,l,c,u=e.cloneNode(!0),d=re(e);if(!(f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(s=ge(u),i=0,r=(o=ge(e)).length;i<r;i++)a=o[i],"input"===(c=(l=s[i]).nodeName.toLowerCase())&&de.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(t)if(n)for(o=o||ge(e),s=s||ge(u),i=0,r=o.length;i<r;i++)Oe(o[i],s[i]);else Oe(e,u);return 0<(s=ge(u,"script")).length&&me(s,!d&&ge(e,"script")),u},cleanData:function(e){for(var t,n,i,r=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[K.expando]){if(t.events)for(i in t.events)r[i]?w.event.remove(n,i):w.removeEvent(n,i,t.handle);n[K.expando]=void 0}n[Q.expando]&&(n[Q.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ne(this,e,!0)},remove:function(e){return Ne(this,e)},text:function(e){return U(this,(function(e){return void 0===e?w.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Me(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ee(this,e).appendChild(e)}))},prepend:function(){return Me(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ee(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Me(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Me(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ge(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return w.clone(this,e,t)}))},html:function(e){return U(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ce.test(e)&&!pe[(he.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(ge(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Me(this,arguments,(function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(ge(this)),n&&n.replaceChild(t,this))}),e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){w.fn[e]=function(e){for(var n,i=[],r=w(e),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),w(r[a])[t](n),s.apply(i,n.get());return this.pushStack(i)}}));var Pe=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Ie=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Le=function(e,t,n){var i,r,o={};for(r in t)o[r]=e.style[r],e.style[r]=t[r];for(r in i=n.call(e),t)e.style[r]=o[r];return i},je=new RegExp(ne.join("|"),"i");function Re(e,t,n){var i,r,o,s,a=e.style;return(n=n||Ie(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||re(e)||(s=w.style(e,t)),!f.pixelBoxStyles()&&Pe.test(s)&&je.test(t)&&(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}function He(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",ie.appendChild(c).appendChild(u);var t=e.getComputedStyle(u);i="1%"!==t.top,l=12===n(t.marginLeft),u.style.right="60%",s=36===n(t.right),r=36===n(t.width),u.style.position="absolute",o=12===n(u.offsetWidth/3),ie.removeChild(c),u=null}}function n(e){return Math.round(parseFloat(e))}var i,r,o,s,a,l,c=m.createElement("div"),u=m.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===u.style.backgroundClip,w.extend(f,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,n,i,r;return null==a&&(t=m.createElement("table"),n=m.createElement("tr"),i=m.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",ie.appendChild(t).appendChild(n).appendChild(i),r=e.getComputedStyle(n),a=parseInt(r.height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===n.offsetHeight,ie.removeChild(t)),a}}))}();var Ve=["Webkit","Moz","ms"],Fe=m.createElement("div").style,Ue={};function qe(e){return w.cssProps[e]||Ue[e]||(e in Fe?e:Ue[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ve.length;n--;)if((e=Ve[n]+t)in Fe)return e}(e)||e)}var Be,ze,We=/^(none|table(?!-c[ea]).+)/,Ye=/^--/,Ge={position:"absolute",visibility:"hidden",display:"block"},Ke={letterSpacing:"0",fontWeight:"400"};function Qe(e,t,n){var i=te.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function Je(e,t,n,i,r,o){var s="width"===t?1:0,a=0,l=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=w.css(e,n+ne[s],!0,r)),i?("content"===n&&(l-=w.css(e,"padding"+ne[s],!0,r)),"margin"!==n&&(l-=w.css(e,"border"+ne[s]+"Width",!0,r))):(l+=w.css(e,"padding"+ne[s],!0,r),"padding"!==n?l+=w.css(e,"border"+ne[s]+"Width",!0,r):a+=w.css(e,"border"+ne[s]+"Width",!0,r));return!i&&0<=o&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l}function Xe(e,t,n){var i=Ie(e),r=(!f.boxSizingReliable()||n)&&"border-box"===w.css(e,"boxSizing",!1,i),o=r,s=Re(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(Pe.test(s)){if(!n)return s;s="auto"}return(!f.boxSizingReliable()&&r||!f.reliableTrDimensions()&&T(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===w.css(e,"display",!1,i))&&e.getClientRects().length&&(r="border-box"===w.css(e,"boxSizing",!1,i),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+Je(e,t,n||(r?"border":"content"),o,i,s)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Re(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=W(t),l=Ye.test(t),c=e.style;if(l||(t=qe(a)),s=w.cssHooks[t]||w.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:c[t];"string"==(o=typeof n)&&(r=te.exec(n))&&r[1]&&(n=function(e,t,n,i){var r,o,s=20,a=function(){return w.css(e,t,"")},l=a(),c=n&&n[3]||(w.cssNumber[t]?"":"px"),u=e.nodeType&&(w.cssNumber[t]||"px"!==c&&+l)&&te.exec(w.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)w.style(e,t,u+c),(1-o)*(1-(o=a()/l||.5))<=0&&(s=0),u/=o;u*=2,w.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2]),r}(e,t,r),o="number"),null!=n&&n==n&&("number"!==o||l||(n+=r&&r[3]||(w.cssNumber[a]?"":"px")),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,o,s,a=W(t);return Ye.test(t)||(t=qe(a)),(s=w.cssHooks[t]||w.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=Re(e,t,i)),"normal"===r&&t in Ke&&(r=Ke[t]),""===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),w.each(["height","width"],(function(e,t){w.cssHooks[t]={get:function(e,n,i){if(n)return!We.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?Xe(e,t,i):Le(e,Ge,(function(){return Xe(e,t,i)}))},set:function(e,n,i){var r,o=Ie(e),s=!f.scrollboxSize()&&"absolute"===o.position,a=(s||i)&&"border-box"===w.css(e,"boxSizing",!1,o),l=i?Je(e,t,i,a,o):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Je(e,t,"border",!1,o)-.5)),l&&(r=te.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Qe(0,n,l)}}})),w.cssHooks.marginLeft=He(f.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Re(e,"marginLeft"))||e.getBoundingClientRect().left-Le(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),w.each({margin:"",padding:"",border:"Width"},(function(e,t){w.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[e+ne[i]+t]=o[i]||o[i-2]||o[0];return r}},"margin"!==e&&(w.cssHooks[e+t].set=Qe)})),w.fn.extend({css:function(e,t){return U(this,(function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=Ie(e),r=t.length;s<r;s++)o[t[s]]=w.css(e,t[s],!1,i);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)}),e,t,1<arguments.length)}}),w.fn.delay=function(t,n){return t=w.fx&&w.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,i){var r=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(r)}}))},Be=m.createElement("input"),ze=m.createElement("select").appendChild(m.createElement("option")),Be.type="checkbox",f.checkOn=""!==Be.value,f.optSelected=ze.selected,(Be=m.createElement("input")).value="t",Be.type="radio",f.radioValue="t"===Be.value;var Ze,et=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return U(this,w.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each((function(){w.removeAttr(this,e)}))}}),w.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(r=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?Ze:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=w.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&T(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(I);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),Ze={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=et[t]||w.find.attr;et[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=et[s],et[s]=r,r=null!=n(e,t,i)?s:null,et[s]=o),r}}));var tt=/^(?:input|select|textarea|button)$/i,nt=/^(?:a|area)$/i;function it(e){return(e.match(I)||[]).join(" ")}function rt(e){return e.getAttribute&&e.getAttribute("class")||""}function ot(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(I)||[]}w.fn.extend({prop:function(e,t){return U(this,w.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each((function(){delete this[w.propFix[e]||e]}))}}),w.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,r=w.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&"get"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):tt.test(e.nodeName)||nt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){w.propFix[this.toLowerCase()]=this})),w.fn.extend({addClass:function(e){var t,n,i,r,o,s,a,l=0;if(p(e))return this.each((function(t){w(this).addClass(e.call(this,t,rt(this)))}));if((t=ot(e)).length)for(;n=this[l++];)if(r=rt(n),i=1===n.nodeType&&" "+it(r)+" "){for(s=0;o=t[s++];)i.indexOf(" "+o+" ")<0&&(i+=o+" ");r!==(a=it(i))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,i,r,o,s,a,l=0;if(p(e))return this.each((function(t){w(this).removeClass(e.call(this,t,rt(this)))}));if(!arguments.length)return this.attr("class","");if((t=ot(e)).length)for(;n=this[l++];)if(r=rt(n),i=1===n.nodeType&&" "+it(r)+" "){for(s=0;o=t[s++];)for(;-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");r!==(a=it(i))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,i="string"===n||Array.isArray(e);return"boolean"==typeof t&&i?t?this.addClass(e):this.removeClass(e):p(e)?this.each((function(n){w(this).toggleClass(e.call(this,n,rt(this),t),t)})):this.each((function(){var t,r,o,s;if(i)for(r=0,o=w(this),s=ot(e);t=s[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&"boolean"!==n||((t=rt(this))&&K.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":K.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&-1<(" "+it(rt(n))+" ").indexOf(t))return!0;return!1}});var st=/\r/g;w.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=p(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,w(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=w.map(r,(function(e){return null==e?"":e+""}))),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))}))):r?(t=w.valHooks[r.type]||w.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(st,""):null==n?"":n:void 0}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:it(w.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i<l;i++)if(((n=r[i]).selected||i===o)&&!n.disabled&&(!n.parentNode.disabled||!T(n.parentNode,"optgroup"))){if(t=w(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,r=e.options,o=w.makeArray(t),s=r.length;s--;)((i=r[s]).selected=-1<w.inArray(w.valHooks.option.get(i),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],(function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<w.inArray(w(e).val(),t)}},f.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})})),f.focusin="onfocusin"in e;var at=/^(?:focusinfocus|focusoutblur)$/,lt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,r){var o,s,a,l,c,d,h,f,v=[i||m],$=u.call(t,"type")?t.type:t,y=u.call(t,"namespace")?t.namespace.split("."):[];if(s=f=a=i=i||m,3!==i.nodeType&&8!==i.nodeType&&!at.test($+w.event.triggered)&&(-1<$.indexOf(".")&&($=(y=$.split(".")).shift(),y.sort()),c=$.indexOf(":")<0&&"on"+$,(t=t[w.expando]?t:new w.Event($,"object"==typeof t&&t)).isTrigger=r?2:3,t.namespace=y.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),h=w.event.special[$]||{},r||!h.trigger||!1!==h.trigger.apply(i,n))){if(!r&&!h.noBubble&&!g(i)){for(l=h.delegateType||$,at.test(l+$)||(s=s.parentNode);s;s=s.parentNode)v.push(s),a=s;a===(i.ownerDocument||m)&&v.push(a.defaultView||a.parentWindow||e)}for(o=0;(s=v[o++])&&!t.isPropagationStopped();)f=s,t.type=1<o?l:h.bindType||$,(d=(K.get(s,"events")||Object.create(null))[t.type]&&K.get(s,"handle"))&&d.apply(s,n),(d=c&&s[c])&&d.apply&&Y(s)&&(t.result=d.apply(s,n),!1===t.result&&t.preventDefault());return t.type=$,r||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(v.pop(),n)||!Y(i)||c&&p(i[$])&&!g(i)&&((a=i[c])&&(i[c]=null),w.event.triggered=$,t.isPropagationStopped()&&f.addEventListener($,lt),i[$](),t.isPropagationStopped()&&f.removeEventListener($,lt),w.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(e,t,n){var i=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(i,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each((function(){w.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),f.focusin||w.each({focus:"focusin",blur:"focusout"},(function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=K.access(i,t);r||i.addEventListener(e,n,!0),K.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=K.access(i,t)-1;r?K.access(i,t,r):(i.removeEventListener(e,n,!0),K.remove(i,t))}}})),w.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(t){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||w.error("Invalid XML: "+(i?w.map(i.childNodes,(function(e){return e.textContent})).join("\n"):t)),n};var ct,ut=/\[\]$/,dt=/\r?\n/g,ht=/^(?:submit|button|image|reset|file)$/i,ft=/^(?:input|select|textarea|keygen)/i;function pt(e,t,n,i){var r;if(Array.isArray(t))w.each(t,(function(t,r){n||ut.test(e)?i(e,r):pt(e+"["+("object"==typeof r&&null!=r?t:"")+"]",r,n,i)}));else if(n||"object"!==y(t))i(e,t);else for(r in t)pt(e+"["+r+"]",t[r],n,i)}w.param=function(e,t){var n,i=[],r=function(e,t){var n=p(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,(function(){r(this.name,this.value)}));else for(n in e)pt(n,e[n],t,r);return i.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&ft.test(this.nodeName)&&!ht.test(e)&&(this.checked||!de.test(e))})).map((function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,(function(e){return{name:t.name,value:e.replace(dt,"\r\n")}})):{name:t.name,value:n.replace(dt,"\r\n")}})).get()}}),w.fn.extend({wrapAll:function(e){var t;return this[0]&&(p(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return p(e)?this.each((function(t){w(this).wrapInner(e.call(this,t))})):this.each((function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=p(e);return this.each((function(n){w(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){w(this).replaceWith(this.childNodes)})),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},f.createHTMLDocument=((ct=m.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===ct.childNodes.length),w.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(f.createHTMLDocument?((i=(t=m.implementation.createHTMLDocument("")).createElement("base")).href=m.location.href,t.head.appendChild(i)):t=m),o=!n&&[],(r=E.exec(e))?[t.createElement(r[1])]:(r=$e([e],t,o),o&&o.length&&w(o).remove(),w.merge([],r.childNodes)));var i,r,o},w.offset={setOffset:function(e,t,n){var i,r,o,s,a,l,c=w.css(e,"position"),u=w(e),d={};"static"===c&&(e.style.position="relative"),a=u.offset(),o=w.css(e,"top"),l=w.css(e,"left"),("absolute"===c||"fixed"===c)&&-1<(o+l).indexOf("auto")?(s=(i=u.position()).top,r=i.left):(s=parseFloat(o)||0,r=parseFloat(l)||0),p(t)&&(t=t.call(e,n,w.extend({},a))),null!=t.top&&(d.top=t.top-a.top+s),null!=t.left&&(d.left=t.left-a.left+r),"using"in t?t.using.call(e,d):u.css(d)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){w.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],r={top:0,left:0};if("fixed"===w.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((r=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),r.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-w.css(i,"marginTop",!0),left:t.left-r.left-w.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===w.css(e,"position");)e=e.offsetParent;return e||ie}))}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;w.fn[e]=function(i){return U(this,(function(e,i,r){var o;if(g(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===r)return o?o[t]:e[i];o?o.scrollTo(n?o.pageXOffset:r,n?r:o.pageYOffset):e[i]=r}),e,i,arguments.length)}})),w.each(["top","left"],(function(e,t){w.cssHooks[t]=He(f.pixelPosition,(function(e,n){if(n)return n=Re(e,t),Pe.test(n)?w(e).position()[t]+"px":n}))})),w.each({Height:"height",Width:"width"},(function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){w.fn[i]=function(r,o){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===o?"margin":"border");return U(this,(function(t,n,r){var o;return g(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===r?w.css(t,n,a):w.style(t,n,r,a)}),t,s?r:void 0,s)}}))})),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(e,t){w.fn[t]=function(e,n){return 0<arguments.length?this.on(t,null,e,n):this.trigger(t)}}));var gt=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.proxy=function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),p(e))return i=r.call(arguments,2),(o=function(){return e.apply(t||this,i.concat(r.call(arguments)))}).guid=e.guid=e.guid||w.guid++,o},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=T,w.isFunction=p,w.isWindow=g,w.camelCase=W,w.type=y,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},w.trim=function(e){return null==e?"":(e+"").replace(gt,"")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return w}));var mt=e.jQuery,vt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=vt),t&&e.jQuery===w&&(e.jQuery=mt),w},void 0===t&&(e.jQuery=e.$=w),w})),function(e){"use strict";function t(e){if(!b(e))return Zn;y(e.objectMaxDepth)&&(Zn.objectMaxDepth=n(e.objectMaxDepth)?e.objectMaxDepth:NaN),y(e.urlErrorParamsEnabled)&&O(e.urlErrorParamsEnabled)&&(Zn.urlErrorParamsEnabled=e.urlErrorParamsEnabled)}function n(e){return S(e)&&0<e}function i(e,t){return t=t||Error,function(){var n,i=arguments[0];for(n="["+(e?e+":":"")+i+"] http://errors.angularjs.org/1.8.3/"+(e?e+"/":"")+i,i=1;i<arguments.length;i++){n=n+(1==i?"?":"&")+"p"+(i-1)+"=";var r,o=encodeURIComponent;n+=o(r="function"==typeof(r=arguments[i])?r.toString().replace(/ \{[\s\S]*$/,""):void 0===r?"undefined":"string"!=typeof r?JSON.stringify(r):r)}return new t(n)}}function r(e){if(null==e||A(e))return!1;if(C(e)||k(e)||Qn&&e instanceof Qn)return!0;var t="length"in Object(e)&&e.length;return S(t)&&(0<=t&&t-1 in e||"function"==typeof e.item)}function o(e,t,n){var i,s;if(e)if(T(e))for(i in e)"prototype"!==i&&"length"!==i&&"name"!==i&&e.hasOwnProperty(i)&&t.call(n,e[i],i,e);else if(C(e)||r(e)){var a="object"!=typeof e;for(i=0,s=e.length;i<s;i++)(a||i in e)&&t.call(n,e[i],i,e)}else if(e.forEach&&e.forEach!==o)e.forEach(t,n,e);else if(w(e))for(i in e)t.call(n,e[i],i,e);else if("function"==typeof e.hasOwnProperty)for(i in e)e.hasOwnProperty(i)&&t.call(n,e[i],i,e);else for(i in e)ti.call(e,i)&&t.call(n,e[i],i,e);return e}function s(e,t,n){for(var i=Object.keys(e).sort(),r=0;r<i.length;r++)t.call(n,e[i[r]],i[r]);return i}function a(e){return function(t,n){e(n,t)}}function l(){return++di}function c(e,t,n){for(var i=e.$$hashKey,r=0,o=t.length;r<o;++r){var s=t[r];if(b(s)||T(s))for(var a=Object.keys(s),l=0,u=a.length;l<u;l++){var d=a[l],h=s[d];n&&b(h)?_(h)?e[d]=new Date(h.valueOf()):E(h)?e[d]=new RegExp(h):h.nodeName?e[d]=h.cloneNode(!0):M(h)?e[d]=h.clone():"__proto__"!==d&&(b(e[d])||(e[d]=C(h)?[]:{}),c(e[d],[h],!0)):e[d]=h}}return i?e.$$hashKey=i:delete e.$$hashKey,e}function u(e){return c(e,ri.call(arguments,1),!1)}function d(e){return c(e,ri.call(arguments,1),!0)}function h(e){return parseInt(e,10)}function f(e,t){return u(Object.create(e),t)}function p(){}function g(e){return e}function m(e){return function(){return e}}function v(e){return T(e.toString)&&e.toString!==ai}function $(e){return void 0===e}function y(e){return void 0!==e}function b(e){return null!==e&&"object"==typeof e}function w(e){return null!==e&&"object"==typeof e&&!li(e)}function k(e){return"string"==typeof e}function S(e){return"number"==typeof e}function _(e){return"[object Date]"===ai.call(e)}function C(e){return Array.isArray(e)||e instanceof Array}function x(e){switch(ai.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}function T(e){return"function"==typeof e}function E(e){return"[object RegExp]"===ai.call(e)}function A(e){return e&&e.window===e}function D(e){return e&&e.$evalAsync&&e.$watch}function O(e){return"boolean"==typeof e}function M(e){return!(!e||!(e.nodeName||e.prop&&e.attr&&e.find))}function N(e){return ni(e.nodeName||e[0]&&e[0].nodeName)}function P(e,t){var n=e.indexOf(t);return 0<=n&&e.splice(n,1),n}function I(e,t,i){function r(e,t,n){if(0>--n)return"...";var i,r=t.$$hashKey;if(C(e)){i=0;for(var o=e.length;i<o;i++)t.push(s(e[i],n))}else if(w(e))for(i in e)t[i]=s(e[i],n);else if(e&&"function"==typeof e.hasOwnProperty)for(i in e)e.hasOwnProperty(i)&&(t[i]=s(e[i],n));else for(i in e)ti.call(e,i)&&(t[i]=s(e[i],n));return r?t.$$hashKey=r:delete t.$$hashKey,t}function s(e,t){if(!b(e))return e;if(-1!==(n=l.indexOf(e)))return c[n];if(A(e)||D(e))throw ci("cpws");var n=!1,i=a(e);return void 0===i&&(i=C(e)?[]:Object.create(li(e)),n=!0),l.push(e),c.push(i),n?r(e,i,t):i}function a(e){switch(ai.call(e)){case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Float32Array]":case"[object Float64Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return new e.constructor(s(e.buffer),e.byteOffset,e.length);case"[object ArrayBuffer]":if(!e.slice){var t=new ArrayBuffer(e.byteLength);return new Uint8Array(t).set(new Uint8Array(e)),t}return e.slice(0);case"[object Boolean]":case"[object Number]":case"[object String]":case"[object Date]":return new e.constructor(e.valueOf());case"[object RegExp]":return(t=new RegExp(e.source,e.toString().match(/[^/]*$/)[0])).lastIndex=e.lastIndex,t;case"[object Blob]":return new e.constructor([e],{type:e.type})}if(T(e.cloneNode))return e.cloneNode(!0)}var l=[],c=[];if(i=n(i)?i:NaN,t){if(function(e){return e&&S(e.length)&&gi.test(ai.call(e))}(t)||"[object ArrayBuffer]"===ai.call(t))throw ci("cpta");if(e===t)throw ci("cpi");return C(t)?t.length=0:o(t,(function(e,n){"$$hashKey"!==n&&delete t[n]})),l.push(e),c.push(t),r(e,t,i)}return s(e,i)}function L(e,t){return e===t||e!=e&&t!=t}function j(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e!=e&&t!=t)return!0;var n,i=typeof e;if(i===typeof t&&"object"===i){if(!C(e)){if(_(e))return!!_(t)&&L(e.getTime(),t.getTime());if(E(e))return!!E(t)&&e.toString()===t.toString();if(D(e)||D(t)||A(e)||A(t)||C(t)||_(t)||E(t))return!1;for(n in i=ae(),e)if("$"!==n.charAt(0)&&!T(e[n])){if(!j(e[n],t[n]))return!1;i[n]=!0}for(n in t)if(!(n in i)&&"$"!==n.charAt(0)&&y(t[n])&&!T(t[n]))return!1;return!0}if(!C(t))return!1;if((i=e.length)===t.length){for(n=0;n<i;n++)if(!j(e[n],t[n]))return!1;return!0}}return!1}function R(e,t,n){return e.concat(ri.call(t,n))}function H(e,t){var n=2<arguments.length?ri.call(arguments,2):[];return!T(t)||t instanceof RegExp?t:n.length?function(){return arguments.length?t.apply(e,R(n,arguments,0)):t.apply(e,n)}:function(){return arguments.length?t.apply(e,arguments):t.call(e)}}function V(t,n){var i=n;return"string"==typeof t&&"$"===t.charAt(0)&&"$"===t.charAt(1)?i=void 0:A(n)?i="$WINDOW":n&&e.document===n?i="$DOCUMENT":D(n)&&(i="$SCOPE"),i}function F(e,t){if(!$(e))return S(t)||(t=t?2:null),JSON.stringify(e,V,t)}function U(e){return k(e)?JSON.parse(e):e}function q(e,t){e=e.replace(bi,"");var n=Date.parse("Jan 01, 1970 00:00:00 "+e)/6e4;return hi(n)?t:n}function B(e,t){return(e=new Date(e.getTime())).setMinutes(e.getMinutes()+t),e}function z(e,t,n){n=n?-1:1;var i=e.getTimezoneOffset();return B(e,n*((t=q(t,i))-i))}function W(e){e=Qn(e).clone().empty();var t=Qn("<div></div>").append(e).html();try{return e[0].nodeType===Ci?ni(t):t.match(/^(<[^>]+>)/)[1].replace(/^<([\w-]+)/,(function(e,t){return"<"+ni(t)}))}catch(e){return ni(t)}}function Y(e){try{return decodeURIComponent(e)}catch(e){}}function G(e){var t={};return o((e||"").split("&"),(function(e){var n,i,r;e&&(i=e=e.replace(/\+/g,"%20"),-1!==(n=e.indexOf("="))&&(i=e.substring(0,n),r=e.substring(n+1)),y(i=Y(i))&&(r=!y(r)||Y(r),ti.call(t,i)?C(t[i])?t[i].push(r):t[i]=[t[i],r]:t[i]=r))})),t}function K(e){return Q(e,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function Q(e,t){return encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%3B/gi,";").replace(/%20/g,t?"%20":"+")}function J(t,n){var i,r,s={};o(wi,(function(e){e+="app",!i&&t.hasAttribute&&t.hasAttribute(e)&&(i=t,r=t.getAttribute(e))})),o(wi,(function(e){var n;e+="app",!i&&(n=t.querySelector("["+e.replace(":","\\:")+"]"))&&(i=n,r=n.getAttribute(e))})),i&&(ki?(s.strictDi=null!==function(e,t){var n,i,r=wi.length;for(i=0;i<r;++i)if(n=wi[i]+t,k(n=e.getAttribute(n)))return n;return null}(i,"strict-di"),n(i,r?[r]:[],s)):e.console.error("AngularJS: disabling automatic bootstrap. <script> protocol indicates an extension, document.location.href does not match."))}function X(t,n,i){b(i)||(i={}),i=u({strictDi:!1},i);var r=function(){if((t=Qn(t)).injector()){var r=t[0]===e.document?"document":W(t);throw ci("btstrpd",r.replace(/</,"&lt;").replace(/>/,"&gt;"))}return(n=n||[]).unshift(["$provide",function(e){e.value("$rootElement",t)}]),i.debugInfoEnabled&&n.push(["$compileProvider",function(e){e.debugInfoEnabled(!0)}]),n.unshift("ng"),(r=Ve(n,i.strictDi)).invoke(["$rootScope","$rootElement","$compile","$injector",function(e,t,n,i){e.$apply((function(){t.data("$injector",i),n(t)(e)}))}]),r},s=/^NG_ENABLE_DEBUG_INFO!/,a=/^NG_DEFER_BOOTSTRAP!/;if(e&&s.test(e.name)&&(i.debugInfoEnabled=!0,e.name=e.name.replace(s,"")),e&&!a.test(e.name))return r();e.name=e.name.replace(a,""),ui.resumeBootstrap=function(e){return o(e,(function(e){n.push(e)})),r()},T(ui.resumeDeferredBootstrap)&&ui.resumeDeferredBootstrap()}function Z(){e.name="NG_ENABLE_DEBUG_INFO!"+e.name,e.location.reload()}function ee(e){if(!(e=ui.element(e).injector()))throw ci("test");return e.get("$$testability")}function te(e,t){return t=t||"_",e.replace(Si,(function(e,n){return(n?t:"")+e.toLowerCase()}))}function ne(){ge.legacyXHTMLReplacement=!0}function ie(e,t,n){if(!e)throw ci("areq",t||"?",n||"required");return e}function re(e,t,n){return n&&C(e)&&(e=e[e.length-1]),ie(T(e),t,"not a function, got "+(e&&"object"==typeof e?e.constructor.name||"Object":typeof e)),e}function oe(e,t){if("hasOwnProperty"===e)throw ci("badname",t)}function se(e){for(var t,n=e[0],i=e[e.length-1],r=1;n!==i&&(n=n.nextSibling);r++)(t||e[r]!==n)&&(t||(t=Qn(ri.call(e,0,r))),t.push(n));return t||e}function ae(){return Object.create(null)}function le(e){if(null==e)return"";switch(typeof e){case"string":break;case"number":e=""+e;break;default:e=!v(e)||C(e)||_(e)?F(e):e.toString()}return e}function ce(e,t){if(C(e)){t=t||[];for(var n=0,i=e.length;n<i;n++)t[n]=e[n]}else if(b(e))for(n in t=t||{},e)"$"===n.charAt(0)&&"$"===n.charAt(1)||(t[n]=e[n]);return t||e}function ue(e,t){var i=[];return n(t)&&(e=ui.copy(e,null,t)),JSON.stringify(e,(function(e,t){if(b(t=V(e,t))){if(0<=i.indexOf(t))return"...";i.push(t)}return t}))}function de(e,t){return t.toUpperCase()}function he(e){return e.replace(Ai,de)}function fe(e){return 1===(e=e.nodeType)||!e||9===e}function pe(t,n){var i,r,s,a,l=n.createDocumentFragment(),c=[];if(Pi.test(t)){if(i=l.appendChild(n.createElement("div")),r=(Ii.exec(t)||["",""])[1].toLowerCase(),s=ge.legacyXHTMLReplacement?t.replace(Li,"<$1></$2>"):t,10>Kn)for(r=Hi[r]||Hi._default,i.innerHTML=r[1]+s+r[2],a=r[0];a--;)i=i.firstChild;else{for(a=(r=ji[r]||[]).length;-1<--a;)i.appendChild(e.document.createElement(r[a])),i=i.firstChild;i.innerHTML=s}c=R(c,i.childNodes),(i=l.firstChild).textContent=""}else c.push(n.createTextNode(t));return l.textContent="",l.innerHTML="",o(c,(function(e){l.appendChild(e)})),l}function ge(t){if(t instanceof ge)return t;var n,i;if(k(t)&&(t=mi(t),n=!0),!(this instanceof ge)){if(n&&"<"!==t.charAt(0))throw Mi("nosel");return new ge(t)}n?(n=e.document,Te(this,t=(i=Ni.exec(t))?[n.createElement(i[1])]:(i=pe(t,n))?i.childNodes:[])):T(t)?Me(t):Te(this,t)}function me(e){return e.cloneNode(!0)}function ve(e,t){!t&&fe(e)&&Qn.cleanData([e]),e.querySelectorAll&&Qn.cleanData(e.querySelectorAll("*"))}function $e(e){for(var t in e)return!1;return!0}function ye(e){var t,n=e.ng339,i=(t=n&&Ti[n])&&t.events;(t=t&&t.data)&&!$e(t)||i&&!$e(i)||(delete Ti[n],e.ng339=void 0)}function be(e,t,n,i){if(y(i))throw Mi("offargs");var r=(i=ke(e))&&i.events,s=i&&i.handle;if(s){if(t){var a=function(t){var i=r[t];y(n)&&P(i||[],n),y(n)&&i&&0<i.length||(e.removeEventListener(t,s),delete r[t])};o(t.split(" "),(function(e){a(e),Oi[e]&&a(Oi[e])}))}else for(t in r)"$destroy"!==t&&e.removeEventListener(t,s),delete r[t];ye(e)}}function we(e,t){var n=e.ng339;(n=n&&Ti[n])&&(t?delete n.data[t]:n.data={},ye(e))}function ke(e,t){var n=(n=e.ng339)&&Ti[n];return t&&!n&&(e.ng339=n=++Ei,n=Ti[n]={events:{},data:{},handle:void 0}),n}function Se(e,t,n){if(fe(e)){var i,r=y(n),o=!r&&t&&!b(t),s=!t;if(e=(e=ke(e,!o))&&e.data,r)e[he(t)]=n;else{if(s)return e;if(o)return e&&e[he(t)];for(i in t)e[he(i)]=t[i]}}}function _e(e,t){return!!e.getAttribute&&-1<(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+t+" ")}function Ce(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),i=n;o(t.split(" "),(function(e){e=mi(e),i=i.replace(" "+e+" "," ")})),i!==n&&e.setAttribute("class",mi(i))}}function xe(e,t){if(t&&e.setAttribute){var n=(" "+(e.getAttribute("class")||"")+" ").replace(/[\n\t]/g," "),i=n;o(t.split(" "),(function(e){e=mi(e),-1===i.indexOf(" "+e+" ")&&(i+=e+" ")})),i!==n&&e.setAttribute("class",mi(i))}}function Te(e,t){if(t)if(t.nodeType)e[e.length++]=t;else{var n=t.length;if("number"==typeof n&&t.window!==t){if(n)for(var i=0;i<n;i++)e[e.length++]=t[i]}else e[e.length++]=t}}function Ee(e,t){return Ae(e,"$"+(t||"ngController")+"Controller")}function Ae(e,t,n){for(9===e.nodeType&&(e=e.documentElement),t=C(t)?t:[t];e;){for(var i=0,r=t.length;i<r;i++)if(y(n=Qn.data(e,t[i])))return n;e=e.parentNode||11===e.nodeType&&e.host}}function De(e){for(ve(e,!0);e.firstChild;)e.removeChild(e.firstChild)}function Oe(e,t){t||ve(e);var n=e.parentNode;n&&n.removeChild(e)}function Me(t){function n(){e.document.removeEventListener("DOMContentLoaded",n),e.removeEventListener("load",n),t()}"complete"===e.document.readyState?e.setTimeout(t):(e.document.addEventListener("DOMContentLoaded",n),e.addEventListener("load",n))}function Ne(e,t){var n=Bi[t.toLowerCase()];return n&&zi[N(e)]&&n}function Pe(e,t,n){n.call(e,t)}function Ie(e,t,n){var i=t.relatedTarget;i&&(i===e||Ui.call(e,i))||n.call(e,t)}function Le(){this.$get=function(){return u(ge,{hasClass:function(e,t){return e.attr&&(e=e[0]),_e(e,t)},addClass:function(e,t){return e.attr&&(e=e[0]),xe(e,t)},removeClass:function(e,t){return e.attr&&(e=e[0]),Ce(e,t)}})}}function je(e,t){var n=e&&e.$$hashKey;return n?("function"==typeof n&&(n=e.$$hashKey()),n):"function"===(n=typeof e)||"object"===n&&null!==e?e.$$hashKey=n+":"+(t||l)():n+":"+e}function Re(){this._keys=[],this._values=[],this._lastKey=NaN,this._lastIndex=-1}function He(e){return(e=Function.prototype.toString.call(e).replace(er,"")).match(Qi)||e.match(Ji)}function Ve(e,t){function n(e){return function(t,n){if(!b(t))return e(t,n);o(t,a(e))}}function i(e,t){if(oe(e,"service"),(T(t)||C(t))&&(t=p.instantiate(t)),!t.$get)throw tr("pget",e);return f[e+"Provider"]=t}function r(e,t){return function(){var n=y.invoke(t,this);if($(n))throw tr("undef",e);return n}}function s(e,t,n){return i(e,{$get:!1!==n?r(e,t):t})}function l(e){ie($(e)||C(e),"modulesToLoad","not an array");var t,n=[];return o(e,(function(e){function i(e){var t,n;for(t=0,n=e.length;t<n;t++){var i=e[t],r=p.get(i[0]);r[i[1]].apply(r,i[2])}}if(!h.get(e)){h.set(e,!0);try{k(e)?(t=Xn(e),y.modules[e]=t,n=n.concat(l(t.requires)).concat(t._runBlocks),i(t._invokeQueue),i(t._configBlocks)):T(e)||C(e)?n.push(p.invoke(e)):re(e,"module")}catch(t){throw C(e)&&(e=e[e.length-1]),t.message&&t.stack&&-1===t.stack.indexOf(t.message)&&(t=t.message+"\n"+t.stack),tr("modulerr",e,t.stack||t.message||t)}}})),n}function c(e,n){function i(t,i){if(e.hasOwnProperty(t)){if(e[t]===u)throw tr("cdep",t+" <- "+d.join(" <- "));return e[t]}try{return d.unshift(t),e[t]=u,e[t]=n(t,i),e[t]}catch(n){throw e[t]===u&&delete e[t],n}finally{d.shift()}}function r(e,n,r){for(var o=[],s=0,a=(e=Ve.$$annotate(e,t,r)).length;s<a;s++){var l=e[s];if("string"!=typeof l)throw tr("itkn",l);o.push(n&&n.hasOwnProperty(l)?n[l]:i(l,r))}return o}return{invoke:function(e,t,n,i){if("string"==typeof n&&(i=n,n=null),n=r(e,n,i),C(e)&&(e=e[e.length-1]),i=e,Kn||"function"!=typeof i)i=!1;else{var o=i.$$ngIsClass;O(o)||(o=i.$$ngIsClass=/^class\b/.test(Function.prototype.toString.call(i))),i=o}return i?(n.unshift(null),new(Function.prototype.bind.apply(e,n))):e.apply(t,n)},instantiate:function(e,t,n){var i=C(e)?e[e.length-1]:e;return(e=r(e,t,n)).unshift(null),new(Function.prototype.bind.apply(i,e))},get:i,annotate:Ve.$$annotate,has:function(t){return f.hasOwnProperty(t+"Provider")||e.hasOwnProperty(t)}}}t=!0===t;var u={},d=[],h=new Gi,f={$provide:{provider:n(i),factory:n(s),service:n((function(e,t){return s(e,["$injector",function(e){return e.instantiate(t)}])})),value:n((function(e,t){return s(e,m(t),!1)})),constant:n((function(e,t){oe(e,"constant"),f[e]=t,g[e]=t})),decorator:function(e,t){var n=p.get(e+"Provider"),i=n.$get;n.$get=function(){var e=y.invoke(i,n);return y.invoke(t,null,{$delegate:e})}}}},p=f.$injector=c(f,(function(e,t){throw ui.isString(t)&&d.push(t),tr("unpr",d.join(" <- "))})),g={},v=c(g,(function(e,t){var n=p.get(e+"Provider",t);return y.invoke(n.$get,n,void 0,e)})),y=v;f.$injectorProvider={$get:m(v)},y.modules=p.modules=ae();var w=l(e);return(y=v.get("$injector")).strictDi=t,o(w,(function(e){e&&y.invoke(e)})),y.loadNewModules=function(e){o(l(e),(function(e){e&&y.invoke(e)}))},y}function Fe(){var t=!0;this.disableAutoScrolling=function(){t=!1},this.$get=["$window","$location","$rootScope",function(n,i,r){function o(e){var t;e?(e.scrollIntoView(),T(t=s.yOffset)?t=t():M(t)?(t=t[0],t="fixed"!==n.getComputedStyle(t).position?0:t.getBoundingClientRect().bottom):S(t)||(t=0),t&&(e=e.getBoundingClientRect().top,n.scrollBy(0,e-t))):n.scrollTo(0,0)}function s(e){var t;(e=k(e)?e:S(e)?e.toString():i.hash())?(t=a.getElementById(e))||(t=function(e){var t=null;return Array.prototype.some.call(e,(function(e){if("a"===N(e))return t=e,!0})),t}(a.getElementsByName(e)))?o(t):"top"===e&&o(null):o(null)}var a=n.document;return t&&r.$watch((function(){return i.hash()}),(function(t,n){t===n&&""===t||function(t,n){"complete"===(n=n||e).document.readyState?n.setTimeout(t):Qn(n).on("load",t)}((function(){r.$evalAsync(s)}))})),s}]}function Ue(e,t){return e||t?e?t?(C(e)&&(e=e.join(" ")),C(t)&&(t=t.join(" ")),e+" "+t):e:t:""}function qe(e){return b(e)?e:{}}function Be(e,t,n,i,r){function s(){k=null,l()}function a(){j(v=$(v=S())?null:v,x)&&(v=x),y=x=v}function l(){var e=y;a(),b===c.url()&&e===v||(b=c.url(),y=v,o(_,(function(e){e(c.url(),v)})))}var c=this,u=e.location,d=e.history,h=e.setTimeout,f=e.clearTimeout,g={},m=r(n);c.isMock=!1,c.$$completeOutstandingRequest=m.completeTask,c.$$incOutstandingRequestCount=m.incTaskCount,c.notifyWhenNoOutstandingRequests=m.notifyWhenNoPendingTasks;var v,y,b=u.href,w=t.find("base"),k=null,S=i.history?function(){try{return d.state}catch(e){}}:p;a(),c.url=function(t,n,r){if($(r)&&(r=null),u!==e.location&&(u=e.location),d!==e.history&&(d=e.history),t){var o=y===r;if(t=nn(t).href,b===t&&(!i.history||o))return c;var s=b&&wt(b)===wt(t);return b=t,y=r,!i.history||s&&o?(s||(k=t),n?u.replace(t):s?(n=u,o=(r=t).indexOf("#"),r=-1===o?"":r.substr(o),n.hash=r):u.href=t,u.href!==t&&(k=t)):(d[n?"replaceState":"pushState"](r,"",t),a()),k&&(k=t),c}return(k||u.href).replace(/#$/,"")},c.state=function(){return v};var _=[],C=!1,x=null;c.onUrlChange=function(t){return C||(i.history&&Qn(e).on("popstate",s),Qn(e).on("hashchange",s),C=!0),_.push(t),t},c.$$applicationDestroyed=function(){Qn(e).off("hashchange popstate",s)},c.$$checkUrlChange=l,c.baseHref=function(){var e=w.attr("href");return e?e.replace(/^(https?:)?\/\/[^/]*/,""):""},c.defer=function(e,t,n){var i;return t=t||0,n=n||m.DEFAULT_TASK_TYPE,m.incTaskCount(n),i=h((function(){delete g[i],m.completeTask(e,n)}),t),g[i]=n,i},c.defer.cancel=function(e){if(g.hasOwnProperty(e)){var t=g[e];return delete g[e],f(e),m.completeTask(p,t),!0}return!1}}function ze(){this.$get=["$window","$log","$sniffer","$document","$$taskTrackerFactory",function(e,t,n,i,r){return new Be(e,i,t,n,r)}]}function We(){this.$get=function(){function e(e,n){function r(e){e!==h&&(f?f===e&&(f=e.n):f=e,o(e.n,e.p),o(e,h),(h=e).n=null)}function o(e,t){e!==t&&(e&&(e.p=t),t&&(t.n=e))}if(e in t)throw i("$cacheFactory")("iid",e);var s=0,a=u({},n,{id:e}),l=ae(),c=n&&n.capacity||Number.MAX_VALUE,d=ae(),h=null,f=null;return t[e]={put:function(e,t){if(!$(t)){if(c<Number.MAX_VALUE)r(d[e]||(d[e]={key:e}));return e in l||s++,l[e]=t,s>c&&this.remove(f.key),t}},get:function(e){if(c<Number.MAX_VALUE){var t=d[e];if(!t)return;r(t)}return l[e]},remove:function(e){if(c<Number.MAX_VALUE){var t=d[e];if(!t)return;t===h&&(h=t.p),t===f&&(f=t.n),o(t.n,t.p),delete d[e]}e in l&&(delete l[e],s--)},removeAll:function(){l=ae(),s=0,d=ae(),h=f=null},destroy:function(){d=a=l=null,delete t[e]},info:function(){return u({},a,{size:s})}}}var t={};return e.info=function(){var e={};return o(t,(function(t,n){e[n]=t.info()})),e},e.get=function(e){return t[e]},e}}function Ye(){this.$get=["$cacheFactory",function(e){return e("templates")}]}function Ge(t,n){function i(e,t,n){var i=/^([@&]|[=<](\*?))(\??)\s*([\w$]*)$/,r=ae();return o(e,(function(e,o){if((e=e.trim())in w)r[o]=w[e];else{var s=e.match(i);if(!s)throw cr("iscp",t,o,e,n?"controller bindings definition":"isolate scope definition");r[o]={mode:s[1][0],collection:"*"===s[2],optional:"?"===s[3],attrName:s[4]||o},s[4]&&(w[e]=r[o])}})),r}function r(e){var t=e.require||e.controller&&e.name;return!C(t)&&b(t)&&o(t,(function(e,n){var i=e.match(h);e.substring(i[0].length)||(t[n]=i[0]+n)})),t}var s={},l=/^\s*directive:\s*([\w-]+)\s+(.*)$/,c=/(([\w-]+)(?::([^;]+))?;?)/,d=function(e){var t,n={};for(e=e.split(","),t=0;t<e.length;t++)n[e[t]]=!0;return n}("ngSrc,ngSrcset,src,srcset"),h=/^(?:(\^\^?)?(\?)?(\^\^?)?)?/,v=/^(on[a-z]+|formaction)$/,w=ae();this.directive=function e(n,i){return ie(n,"name"),oe(n,"directive"),k(n)?(function(e){var t=e.charAt(0);if(!t||t!==ni(t))throw cr("baddir",e);if(e!==e.trim())throw cr("baddir",e)}(n),ie(i,"directiveFactory"),s.hasOwnProperty(n)||(s[n]=[],t.factory(n+"Directive",["$injector","$exceptionHandler",function(e,t){var i=[];return o(s[n],(function(o,s){try{var a=e.invoke(o);T(a)?a={compile:m(a)}:!a.compile&&a.link&&(a.compile=m(a.link)),a.priority=a.priority||0,a.index=s,a.name=a.name||n,a.require=r(a);var l=a,c=a.restrict;if(c&&(!k(c)||!/[EACM]/.test(c)))throw cr("badrestrict",c,n);l.restrict=c||"EA",a.$$moduleName=o.$$moduleName,i.push(a)}catch(e){t(e)}})),i}])),s[n].push(i)):o(n,a(e)),this},this.component=function e(t,n){function i(e){function t(t){return T(t)||C(t)?function(n,i){return e.invoke(t,this,{$element:n,$attrs:i})}:t}var i=n.template||n.templateUrl?n.template:"",s={controller:r,controllerAs:Ze(n.controller)||n.controllerAs||"$ctrl",template:t(i),templateUrl:t(n.templateUrl),transclude:n.transclude,scope:{},bindToController:n.bindings||{},restrict:"E",require:n.require};return o(n,(function(e,t){"$"===t.charAt(0)&&(s[t]=e)})),s}if(!k(t))return o(t,a(H(this,e))),this;var r=n.controller||function(){};return o(n,(function(e,t){"$"===t.charAt(0)&&(i[t]=e,T(r)&&(r[t]=e))})),i.$inject=["$injector"],this.directive(t,i)},this.aHrefSanitizationTrustedUrlList=function(e){return y(e)?(n.aHrefSanitizationTrustedUrlList(e),this):n.aHrefSanitizationTrustedUrlList()},Object.defineProperty(this,"aHrefSanitizationWhitelist",{get:function(){return this.aHrefSanitizationTrustedUrlList},set:function(e){this.aHrefSanitizationTrustedUrlList=e}}),this.imgSrcSanitizationTrustedUrlList=function(e){return y(e)?(n.imgSrcSanitizationTrustedUrlList(e),this):n.imgSrcSanitizationTrustedUrlList()},Object.defineProperty(this,"imgSrcSanitizationWhitelist",{get:function(){return this.imgSrcSanitizationTrustedUrlList},set:function(e){this.imgSrcSanitizationTrustedUrlList=e}});var S=!0;this.debugInfoEnabled=function(e){return y(e)?(S=e,this):S};var _=!1;this.strictComponentBindingsEnabled=function(e){return y(e)?(_=e,this):_};var E=10;this.onChangesTtl=function(e){return arguments.length?(E=e,this):E};var A=!0;this.commentDirectivesEnabled=function(e){return arguments.length?(A=e,this):A};var M=!0;this.cssClassDirectivesEnabled=function(e){return arguments.length?(M=e,this):M};var I=ae();this.addPropertySecurityContext=function(e,t,n){var i=e.toLowerCase()+"|"+t.toLowerCase();if(i in I&&I[i]!==n)throw cr("ctxoverride",e,t,I[i],n);return I[i]=n,this},function(){function e(e,t){o(t,(function(t){I[t.toLowerCase()]=e}))}e(Hr.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),e(Hr.CSS,["*|style"]),e(Hr.URL,"area|href area|ping a|href a|ping blockquote|cite body|background del|cite input|src ins|cite q|cite".split(" ")),e(Hr.MEDIA_URL,"audio|src img|src img|srcset source|src source|srcset track|src video|src video|poster".split(" ")),e(Hr.RESOURCE_URL,"*|formAction applet|code applet|codebase base|href embed|src frame|src form|action head|profile html|manifest iframe|src link|href media|src object|codebase object|data script|src".split(" "))}(),this.$get=["$injector","$interpolate","$exceptionHandler","$templateRequest","$parse","$controller","$rootScope","$sce","$animate",function(t,n,r,a,m,y,w,R,V){function F(){try{if(!--De)throw Ce=void 0,cr("infchng",E);w.$apply((function(){for(var e=0,t=Ce.length;e<t;++e)try{Ce[e]()}catch(e){r(e)}Ce=void 0}))}finally{De++}}function U(e,t){if(!e)return e;if(!k(e))throw cr("srcset",t,e.toString());for(var n="",i=mi(e),r=/(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/,o=(r=/\s/.test(i)?r:/(,)/,i=i.split(r),r=Math.floor(i.length/2),0);o<r;o++){var s=2*o;n=(n=n+R.getTrustedMediaUrl(mi(i[s])))+" "+mi(i[s+1])}return i=mi(i[2*o]).split(/\s/),n+=R.getTrustedMediaUrl(mi(i[0])),2===i.length&&(n+=" "+mi(i[1])),n}function q(e,t){if(t){var n,i,r,o=Object.keys(t);for(n=0,i=o.length;n<i;n++)this[r=o[n]]=t[r]}else this.$attr={};this.$$element=e}function B(e,t){try{e.addClass(t)}catch(e){}}function z(e,t,n,i,r){e instanceof Qn||(e=Qn(e));var o=Y(e,t,e,n,i,r);z.$$addScopeClass(e);var s=null;return function(t,n,i){if(!e)throw cr("multilink");ie(t,"scope"),r&&r.needsNewScope&&(t=t.$parent.$new());var a=(i=i||{}).parentBoundTranscludeFn,l=i.transcludeControllers;if(i=i.futureParentElement,a&&a.$$boundTransclude&&(a=a.$$boundTransclude),s||(s=(i=i&&i[0])&&"foreignobject"!==N(i)&&ai.call(i).match(/SVG/)?"svg":"html"),i="html"!==s?Qn(ge(s,Qn("<div></div>").append(e).html())):n?qi.clone.call(e):e,l)for(var c in l)i.data("$"+c+"Controller",l[c].instance);return z.$$addScopeInfo(i,t),n&&n(i,t),o&&o(t,i,i,a),n||(e=o=null),i}}function Y(e,t,n,i,r,o){for(var s,a,l,c,u,d=[],h=C(e)||e instanceof Qn,f=0;f<e.length;f++)s=new q,11===Kn&&G(e,f,h),(o=(a=Q(e[f],[],s,0===f?i:void 0,r)).length?ne(a,e[f],s,t,n,null,[],[],o):null)&&o.scope&&z.$$addScopeClass(s.$$element),s=o&&o.terminal||!(l=e[f].childNodes)||!l.length?null:Y(l,o?(o.transcludeOnThisElement||!o.templateOnThisElement)&&o.transclude:t),(o||s)&&(d.push(f,o,s),c=!0,u=u||o),o=null;return c?function(e,n,i,r){var o,s,a,l,c,h;if(u)for(h=Array(n.length),l=0;l<d.length;l+=3)h[o=d[l]]=n[o];else h=n;for(l=0,c=d.length;l<c;)s=h[d[l++]],n=d[l++],o=d[l++],n?(n.scope?(a=e.$new(),z.$$addScopeInfo(Qn(s),a)):a=e,n(o,a,s,i,n.transcludeOnThisElement?K(e,n.transclude,r):!n.templateOnThisElement&&r?r:!r&&t?K(e,t):null)):o&&o(e,s.childNodes,void 0,r)}:null}function G(e,t,n){var i,r=e[t],o=r.parentNode;if(r.nodeType===Ci)for(;(i=o?r.nextSibling:e[t+1])&&i.nodeType===Ci;)r.nodeValue+=i.nodeValue,i.parentNode&&i.parentNode.removeChild(i),n&&i===e[t+1]&&e.splice(t+1,1)}function K(e,t,n){function i(i,r,o,s,a){return i||((i=e.$new(!1,a)).$$transcluded=!0),t(i,r,{parentBoundTranscludeFn:n,transcludeControllers:o,futureParentElement:s})}var r,o=i.$$slots=ae();for(r in t.$$slots)o[r]=t.$$slots[r]?K(e,t.$$slots[r],n):null;return i}function Q(e,t,n,i,o){var s,a=n.$attr;switch(e.nodeType){case 1:le(t,Qe(s=N(e)),"E",i,o);for(var l,u,d,h,f,p=e.attributes,g=0,v=p&&p.length;g<v;g++){var $,y=!1,S=!1,_=!1,C=!1,x=!1;u=(l=p[g]).name,h=l.value,(f=(d=Qe(u.toLowerCase())).match(Ie))?(_="Attr"===f[1],C="Prop"===f[1],x="On"===f[1],u=u.replace(dr,"").toLowerCase().substr(4+f[1].length).replace(/_(.)/g,(function(e,t){return t.toUpperCase()}))):($=d.match(Le))&&ce($[1])&&(y=u,S=u.substr(0,u.length-5)+"end",u=u.substr(0,u.length-6)),C||x?(n[d]=h,a[d]=l.name,C?$e(e,t,d,u):t.push(Un(m,w,r,d,u,!1))):(a[d=Qe(u.toLowerCase())]=u,!_&&n.hasOwnProperty(d)||(n[d]=h,Ne(e,d)&&(n[d]=!0)),ye(e,t,h,d,_),le(t,d,"A",i,o,y,S))}if("input"===s&&"hidden"===e.getAttribute("type")&&e.setAttribute("autocomplete","off"),!Ae)break;if(b(a=e.className)&&(a=a.animVal),k(a)&&""!==a)for(;e=c.exec(a);)le(t,d=Qe(e[2]),"C",i,o)&&(n[d]=mi(e[3])),a=a.substr(e.index+e[0].length);break;case Ci:pe(t,e.nodeValue);break;case 8:if(!Ee)break;J(e,t,n,i,o)}return t.sort(he),t}function J(e,t,n,i,r){try{var o=l.exec(e.nodeValue);if(o){var s=Qe(o[1]);le(t,s,"M",i,r)&&(n[s]=mi(o[2]))}}catch(e){}}function X(e,t,n){var i=[],r=0;if(t&&e.hasAttribute&&e.hasAttribute(t))do{if(!e)throw cr("uterdir",t,n);1===e.nodeType&&(e.hasAttribute(t)&&r++,e.hasAttribute(n)&&r--),i.push(e),e=e.nextSibling}while(0<r);else i.push(e);return Qn(i)}function Z(e,t,n){return function(i,r,o,s,a){return r=X(r[0],t,n),e(i,r,o,s,a)}}function ee(e,t,n,i,r,o){var s;return e?z(t,n,i,r,o):function(){return s||(s=z(t,n,i,r,o),t=n=o=null),s.apply(this,arguments)}}function ne(t,n,i,s,a,l,c,d,h){function f(e,t,n,i){e&&(n&&(e=Z(e,n,i)),e.require=g.require,e.directiveName=m,(x===g||g.$$isolateScope)&&(e=we(e,{isolateScope:!0})),c.push(e)),t&&(n&&(t=Z(t,n,i)),t.require=g.require,t.directiveName=m,(x===g||g.$$isolateScope)&&(t=we(t,{isolateScope:!0})),d.push(t))}function p(e,t,s,a,l){var h,f,p,g,m,v,y,w;for(h in n===s?(a=i,w=i.$$element):a=new q(w=Qn(s),i),m=t,x?g=t.$new(!0):S&&(m=t.$parent),l&&(y=function(e,t,n,i){var r;if(D(e)||(i=n,n=t,t=e,e=void 0),P&&(r=v),n||(n=P?w.parent():w),!i)return l(e,t,r,n,A);var o=l.$$slots[i];if(o)return o(e,t,r,n,A);if($(o))throw cr("noslot",i,W(w))},y.$$boundTransclude=l,y.isSlotFilled=function(e){return!!l.$$slots[e]}),_&&(v=oe(w,a,y,_,g,t,x)),x&&(z.$$addScopeInfo(w,g,!0,!(E&&(E===x||E===x.$$originalDirective))),z.$$addScopeClass(w,!0),g.$$isolateBindings=x.$$isolateBindings,(f=_e(t,a,g,g.$$isolateBindings,x)).removeWatches&&g.$on("$destroy",f.removeWatches)),v){f=_[h],p=v[h];var k=f.$$bindings.bindToController;p.instance=p(),w.data("$"+f.name+"Controller",p.instance),p.bindingInfo=_e(m,a,p.instance,k,f)}for(o(_,(function(e,t){var n=e.require;e.bindToController&&!C(n)&&b(n)&&u(v[t].instance,re(t,n,w,v))})),o(v,(function(e){var t=e.instance;if(T(t.$onChanges))try{t.$onChanges(e.bindingInfo.initialChanges)}catch(e){r(e)}if(T(t.$onInit))try{t.$onInit()}catch(e){r(e)}T(t.$doCheck)&&(m.$watch((function(){t.$doCheck()})),t.$doCheck()),T(t.$onDestroy)&&m.$on("$destroy",(function(){t.$onDestroy()}))})),h=0,f=c.length;h<f;h++)ke(p=c[h],p.isolateScope?g:t,w,a,p.require&&re(p.directiveName,p.require,w,v),y);var A=t;for(x&&(x.template||null===x.templateUrl)&&(A=g),e&&e(A,s.childNodes,void 0,l),h=d.length-1;0<=h;h--)ke(p=d[h],p.isolateScope?g:t,w,a,p.require&&re(p.directiveName,p.require,w,v),y);o(v,(function(e){T((e=e.instance).$postLink)&&e.$postLink()}))}h=h||{};for(var g,m,v,y,w,k=-Number.MAX_VALUE,S=h.newScopeDirective,_=h.controllerDirectives,x=h.newIsolateScopeDirective,E=h.templateDirective,A=h.nonTlbTranscludeDirective,O=!1,M=!1,P=h.hasElementTranscludeDirective,I=i.$$element=Qn(n),L=s,j=!1,R=!1,V=0,F=t.length;V<F;V++){var U=(g=t[V]).$$start,B=g.$$end;if(U&&(I=X(n,U,B)),v=void 0,k>g.priority)break;if((w=g.scope)&&(g.templateUrl||(b(w)?(fe("new/isolated scope",x||S,g,I),x=g):fe("new/isolated scope",x,g,I)),S=S||g),m=g.name,!j&&(g.replace&&(g.templateUrl||g.template)||g.transclude&&!g.$$tlb)){for(w=V+1;j=t[w++];)if(j.transclude&&!j.$$tlb||j.replace&&(j.templateUrl||j.template)){R=!0;break}j=!0}if(!g.templateUrl&&g.controller&&(_=_||ae(),fe("'"+m+"' controller",_[m],g,I),_[m]=g),w=g.transclude)if(O=!0,g.$$tlb||(fe("transclusion",A,g,I),A=g),"element"===w)P=!0,k=g.priority,v=I,I=i.$$element=Qn(z.$$createComment(m,i[m])),n=I[0],be(a,ri.call(v,0),n),L=ee(R,v,s,k,l&&l.name,{nonTlbTranscludeDirective:A});else{var Y=ae();if(b(w)){v=e.document.createDocumentFragment();var G=ae(),K=ae();for(var J in o(w,(function(e,t){var n="?"===e.charAt(0);e=n?e.substring(1):e,G[e]=t,Y[t]=null,K[t]=n})),o(I.contents(),(function(t){var n=G[Qe(N(t))];n?(K[n]=!0,Y[n]=Y[n]||e.document.createDocumentFragment(),Y[n].appendChild(t)):v.appendChild(t)})),o(K,(function(e,t){if(!e)throw cr("reqslot",t)})),Y)Y[J]&&(L=Qn(Y[J].childNodes),Y[J]=ee(R,L,s));v=Qn(v.childNodes)}else v=Qn(me(n)).contents();I.empty(),(L=ee(R,v,s,void 0,void 0,{needsNewScope:g.$$isolateScope||g.$$newScope})).$$slots=Y}if(g.template)if(M=!0,fe("template",E,g,I),E=g,w=T(g.template)?g.template(I,i):g.template,w=Pe(w),g.replace){if(l=g,v=Pi.test(w)?Xe(ge(g.templateNamespace,mi(w))):[],n=v[0],1!==v.length||1!==n.nodeType)throw cr("tplrt",m,"");be(a,I,n),w=Q(n,[],F={$attr:{}});var te=t.splice(V+1,t.length-(V+1));(x||S)&&se(w,x,S),t=t.concat(w).concat(te),ue(i,F),F=t.length}else I.html(w);if(g.templateUrl)M=!0,fe("template",E,g,I),E=g,g.replace&&(l=g),p=de(t.splice(V,t.length-V),I,i,a,O&&L,c,d,{controllerDirectives:_,newScopeDirective:S!==g&&S,newIsolateScopeDirective:x,templateDirective:E,nonTlbTranscludeDirective:A}),F=t.length;else if(g.compile)try{y=g.compile(I,i,L);var ne=g.$$originalDirective||g;T(y)?f(null,H(ne,y),U,B):y&&f(H(ne,y.pre),H(ne,y.post),U,B)}catch(e){r(e,W(I))}g.terminal&&(p.terminal=!0,k=Math.max(k,g.priority))}return p.scope=S&&!0===S.scope,p.transcludeOnThisElement=O,p.templateOnThisElement=M,p.transclude=L,h.hasElementTranscludeDirective=P,p}function re(e,t,n,i){var r;if(k(t)){var s=t.match(h);t=t.substring(s[0].length);var a=s[1]||s[3];s="?"===s[2];if("^^"===a?n=n.parent():r=(r=i&&i[t])&&r.instance,!r){var l="$"+t+"Controller";r="^^"===a&&n[0]&&9===n[0].nodeType?null:a?n.inheritedData(l):n.data(l)}if(!r&&!s)throw cr("ctreq",t,e)}else if(C(t))for(r=[],a=0,s=t.length;a<s;a++)r[a]=re(e,t[a],n,i);else b(t)&&(r={},o(t,(function(t,o){r[o]=re(e,t,n,i)})));return r||null}function oe(e,t,n,i,r,o,s){var a,l=ae();for(a in i){var c=i[a],u={$scope:c===s||c.$$isolateScope?r:o,$element:e,$attrs:t,$transclude:n},d=c.controller;"@"===d&&(d=t[c.name]),u=y(d,u,!0,c.controllerAs),l[c.name]=u,e.data("$"+c.name+"Controller",u.instance)}return l}function se(e,t,n){for(var i=0,r=e.length;i<r;i++)e[i]=f(e[i],{$$isolateScope:t,$$newScope:n})}function le(e,n,r,o,a,l,c){if(n===a)return null;var u=null;if(s.hasOwnProperty(n))for(var d=0,h=(a=t.get(n+"Directive")).length;d<h;d++)if(n=a[d],($(o)||o>n.priority)&&-1!==n.restrict.indexOf(r)){if(l&&(n=f(n,{$$start:l,$$end:c})),!n.$$bindings){var p=u=n,g=n.name,m={isolateScope:null,bindToController:null};if(b(p.scope)&&(!0===p.bindToController?(m.bindToController=i(p.scope,g,!0),m.isolateScope={}):m.isolateScope=i(p.scope,g,!1)),b(p.bindToController)&&(m.bindToController=i(p.bindToController,g,!0)),m.bindToController&&!p.controller)throw cr("noctrl",g);b((u=u.$$bindings=m).isolateScope)&&(n.$$isolateBindings=u.isolateScope)}e.push(n),u=n}return u}function ce(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 ue(e,t){var n=t.$attr,i=e.$attr;o(e,(function(i,r){"$"!==r.charAt(0)&&(t[r]&&t[r]!==i&&(i=i.length?i+("style"===r?";":" ")+t[r]:t[r]),e.$set(r,i,!0,n[r]))})),o(t,(function(t,r){e.hasOwnProperty(r)||"$"===r.charAt(0)||(e[r]=t,"class"!==r&&"style"!==r&&(i[r]=n[r]))}))}function de(e,t,n,i,s,l,c,u){var d,h,p=[],g=t[0],m=e.shift(),v=f(m,{templateUrl:null,transclude:null,replace:null,$$originalDirective:m}),$=T(m.templateUrl)?m.templateUrl(t,n):m.templateUrl,y=m.templateNamespace;return t.empty(),a($).then((function(r){var a,f;if(r=Pe(r),m.replace){if(r=Pi.test(r)?Xe(ge(y,mi(r))):[],a=r[0],1!==r.length||1!==a.nodeType)throw cr("tplrt",m.name,$);r={$attr:{}},be(i,t,a);var w=Q(a,[],r);b(m.scope)&&se(w,!0),e=w.concat(e),ue(n,r)}else a=g,t.html(r);for(e.unshift(v),d=ne(e,a,n,s,t,m,l,c,u),o(i,(function(e,n){e===a&&(i[n]=t[0])})),h=Y(t[0].childNodes,s);p.length;){r=p.shift(),f=p.shift();var k=p.shift(),S=p.shift();w=t[0];if(!r.$$destroyed){if(f!==g){var _=f.className;u.hasElementTranscludeDirective&&m.replace||(w=me(a)),be(k,Qn(f),w),B(Qn(w),_)}f=d.transcludeOnThisElement?K(r,d.transclude,S):S,d(h,r,w,i,f)}}p=null})).catch((function(e){x(e)&&r(e)})),function(e,t,n,i,r){e=r,t.$$destroyed||(p?p.push(t,n,i,e):(d.transcludeOnThisElement&&(e=K(t,d.transclude,r)),d(h,t,n,i,e)))}}function he(e,t){var n=t.priority-e.priority;return 0!==n?n:e.name!==t.name?e.name<t.name?-1:1:e.index-t.index}function fe(e,t,n,i){function r(e){return e?" (module: "+e+")":""}if(t)throw cr("multidir",t.name,r(t.$$moduleName),n.name,r(n.$$moduleName),e,W(i))}function pe(e,t){var i=n(t,!0);i&&e.push({priority:0,compile:function(e){var t=!!(e=e.parent()).length;return t&&z.$$addBindingClass(e),function(e,n){var r=n.parent();t||z.$$addBindingClass(r),z.$$addBindingInfo(r,i.expressions),e.$watch(i,(function(e){n[0].nodeValue=e}))}}})}function ge(t,n){switch(t=ni(t||"html")){case"svg":case"math":var i=e.document.createElement("div");return i.innerHTML="<"+t+">"+n+"</"+t+">",i.childNodes[0].childNodes;default:return n}}function ve(e){return U(R.valueOf(e),"ng-prop-srcset")}function $e(e,t,n,i){if(v.test(i))throw cr("nodomevents");var r=function(e,t){var n=t.toLowerCase();return I[e+"|"+n]||I["*|"+n]}(e=N(e),i),o=g;"srcset"!==i||"img"!==e&&"source"!==e?r&&(o=R.getTrusted.bind(R,r)):o=ve,t.push({priority:100,compile:function(e,t){var r=m(t[n]),s=m(t[n],(function(e){return R.valueOf(e)}));return{pre:function(e,t){function n(){var n=r(e);t[0][i]=o(n)}n(),e.$watch(s,n)}}}})}function ye(e,t,i,r,o){var s=N(e),a=function(e,t){return"srcdoc"===t?R.HTML:"src"===t||"ngSrc"===t?-1===["img","video","audio","source","track"].indexOf(e)?R.RESOURCE_URL:R.MEDIA_URL:"xlinkHref"===t?"image"===e?R.MEDIA_URL:"a"===e?R.URL:R.RESOURCE_URL:"form"===e&&"action"===t||"base"===e&&"href"===t||"link"===e&&"href"===t?R.RESOURCE_URL:"a"!==e||"href"!==t&&"ngHref"!==t?void 0:R.URL}(s,r),l=d[r]||o,c=n(i,!o,a,l);if(c){if("multiple"===r&&"select"===s)throw cr("selmulti",W(e));if(v.test(r))throw cr("nodomevents");t.push({priority:100,compile:function(){return{pre:function(e,t,o){t=o.$$observers||(o.$$observers=ae());var s=o[r];s!==i&&(c=s&&n(s,!0,a,l),i=s),c&&(o[r]=c(e),(t[r]||(t[r]=[])).$$inter=!0,(o.$$observers&&o.$$observers[r].$$scope||e).$watch(c,(function(e,t){"class"===r&&e!==t?o.$updateClass(e,t):o.$set(r,e)})))}}}})}}function be(t,n,i){var r,o,s=n[0],a=n.length,l=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 c=t.length;r<c;r++,o++)o<c?t[r]=t[o]:delete t[r];t.length-=a-1,t.context===s&&(t.context=i);break}for(l&&l.replaceChild(i,s),t=e.document.createDocumentFragment(),r=0;r<a;r++)t.appendChild(n[r]);for(Qn.hasData(s)&&(Qn.data(i,Qn.data(s)),Qn(s).off("$destroy")),Qn.cleanData(t.querySelectorAll("*")),r=1;r<a;r++)delete n[r];n[0]=i,n.length=1}function we(e,t){return u((function(){return e.apply(null,arguments)}),e,t)}function ke(e,t,n,i,o,s){try{e(t,n,i,o,s)}catch(e){r(e,W(n))}}function Se(e,t){if(_)throw cr("missingattr",e,t)}function _e(e,t,i,r,s){function a(t,n,r){T(i.$onChanges)&&!L(n,r)&&(Ce||(e.$$postDigest(F),Ce=[]),c||(c={},Ce.push(l)),c[t]&&(r=c[t].previousValue),c[t]=new Ke(r,n))}function l(){i.$onChanges(c),c=void 0}var c,u=[],d={};return o(r,(function(r,o){var l,c,h,f,g=r.attrName,v=r.optional;switch(r.mode){case"@":v||ti.call(t,g)||(Se(g,s.name),i[o]=t[g]=void 0),v=t.$observe(g,(function(e){(k(e)||O(e))&&(a(o,e,i[o]),i[o]=e)})),t.$$observers[g].$$scope=e,k(l=t[g])?i[o]=n(l)(e):O(l)&&(i[o]=l),d[o]=new Ke(ur,i[o]),u.push(v);break;case"=":if(!ti.call(t,g)){if(v)break;Se(g,s.name),t[g]=void 0}if(v&&!t[g])break;c=m(t[g]),f=c.literal?j:L,h=c.assign||function(){throw l=i[o]=c(e),cr("nonassign",t[g],g,s.name)},l=i[o]=c(e),v=function(t){return f(t,i[o])||(f(t,l)?h(e,t=i[o]):i[o]=t),l=t},v.$stateful=!0,v=r.collection?e.$watchCollection(t[g],v):e.$watch(m(t[g],v),null,c.literal),u.push(v);break;case"<":if(!ti.call(t,g)){if(v)break;Se(g,s.name),t[g]=void 0}if(v&&!t[g])break;var $=(c=m(t[g])).literal,y=i[o]=c(e);d[o]=new Ke(ur,i[o]),v=e[r.collection?"$watchCollection":"$watch"](c,(function(e,t){if(t===e){if(t===y||$&&j(t,y))return;t=y}a(o,e,t),i[o]=e})),u.push(v);break;case"&":if(v||ti.call(t,g)||Se(g,s.name),(c=t.hasOwnProperty(g)?m(t[g]):p)===p&&v)break;i[o]=function(t){return c(e,t)}}})),{initialChanges:d,removeWatches:u.length&&function(){for(var e=0,t=u.length;e<t;++e)u[e]()}}}var Ce,xe=/^\w/,Te=e.document.createElement("div"),Ee=A,Ae=M,De=E;q.prototype={$normalize:Qe,$addClass:function(e){e&&0<e.length&&V.addClass(this.$$element,e)},$removeClass:function(e){e&&0<e.length&&V.removeClass(this.$$element,e)},$updateClass:function(e,t){var n=Je(e,t);n&&n.length&&V.addClass(this.$$element,n),(n=Je(t,e))&&n.length&&V.removeClass(this.$$element,n)},$set:function(e,t,n,i){var s=Ne(this.$$element[0],e),a=Wi[e],l=e;s?(this.$$element.prop(e,t),i=s):a&&(this[a]=t,l=a),this[e]=t,i?this.$attr[e]=i:(i=this.$attr[e])||(this.$attr[e]=i=te(e,"-")),"img"===N(this.$$element)&&"srcset"===e&&(this[e]=t=U(t,"$set('srcset', value)")),!1!==n&&(null===t||$(t)?this.$$element.removeAttr(i):xe.test(i)?s&&!1===t?this.$$element.removeAttr(i):this.$$element.attr(i,t):function(e,t,n){Te.innerHTML="<span "+t+">";var i=(t=Te.firstChild.attributes)[0];t.removeNamedItem(i.name),i.value=n,e.attributes.setNamedItem(i)}(this.$$element[0],i,t)),(e=this.$$observers)&&o(e[l],(function(e){try{e(t)}catch(e){r(e)}}))},$observe:function(e,t){var n=this,i=n.$$observers||(n.$$observers=ae()),r=i[e]||(i[e]=[]);return r.push(t),w.$evalAsync((function(){r.$$inter||!n.hasOwnProperty(e)||$(n[e])||t(n[e])})),function(){P(r,t)}}};var Oe=n.startSymbol(),Me=n.endSymbol(),Pe="{{"===Oe&&"}}"===Me?g:function(e){return e.replace(/\{\{/g,Oe).replace(/}}/g,Me)},Ie=/^ng(Attr|Prop|On)([A-Z].*)$/,Le=/^(.+)Start$/;return z.$$addBindingInfo=S?function(e,t){var n=e.data("$binding")||[];C(t)?n=n.concat(t):n.push(t),e.data("$binding",n)}:p,z.$$addBindingClass=S?function(e){B(e,"ng-binding")}:p,z.$$addScopeInfo=S?function(e,t,n,i){e.data(n?i?"$isolateScopeNoTemplate":"$isolateScope":"$scope",t)}:p,z.$$addScopeClass=S?function(e,t){B(e,t?"ng-isolate-scope":"ng-scope")}:p,z.$$createComment=function(t,n){var i="";return S&&(i=" "+(t||"")+": ",n&&(i+=n+" ")),e.document.createComment(i)},z}]}function Ke(e,t){this.previousValue=e,this.currentValue=t}function Qe(e){return e.replace(dr,"").replace(hr,(function(e,t,n){return n?t.toUpperCase():t}))}function Je(e,t){var n="",i=e.split(/\s+/),r=t.split(/\s+/),o=0;e:for(;o<i.length;o++){for(var s=i[o],a=0;a<r.length;a++)if(s===r[a])continue e;n+=(0<n.length?" ":"")+s}return n}function Xe(e){var t=(e=Qn(e)).length;if(1>=t)return e;for(;t--;){var n=e[t];(8===n.nodeType||n.nodeType===Ci&&""===n.nodeValue.trim())&&oi.call(e,t,1)}return e}function Ze(e,t){if(t&&k(t))return t;if(k(e)){var n=pr.exec(e);if(n)return n[3]}}function et(){var e={};this.has=function(t){return e.hasOwnProperty(t)},this.register=function(t,n){oe(t,"controller"),b(t)?u(e,t):e[t]=n},this.$get=["$injector",function(t){function n(e,t,n,r){if(!e||!b(e.$scope))throw i("$controller")("noscp",r,t);e.$scope[t]=n}return function(i,r,o,s){var a,l,c;if(o=!0===o,s&&k(s)&&(c=s),k(i)){if(!(s=i.match(pr)))throw fr("ctrlfmt",i);if(l=s[1],c=c||s[3],i=e.hasOwnProperty(l)?e[l]:function(e,t,n){if(!t)return e;for(var i,r=e,o=(t=t.split(".")).length,s=0;s<o;s++)i=t[s],e&&(e=(r=e)[i]);return!n&&T(e)?H(r,e):e}(r.$scope,l,!0),!i)throw fr("ctrlreg",l);re(i,l,!0)}return o?(o=(C(i)?i[i.length-1]:i).prototype,a=Object.create(o||null),c&&n(r,c,a,l||i.name),u((function(){var e=t.invoke(i,a,r,l);return e!==a&&(b(e)||T(e))&&(a=e,c&&n(r,c,a,l||i.name)),a}),{instance:a,identifier:c})):(a=t.instantiate(i,r,l),c&&n(r,c,a,l||i.name),a)}}]}function tt(){this.$get=["$window",function(e){return Qn(e.document)}]}function nt(){this.$get=["$document","$rootScope",function(e,t){function n(){r=i.hidden}var i=e[0],r=i&&i.hidden;return e.on("visibilitychange",n),t.$on("$destroy",(function(){e.off("visibilitychange",n)})),function(){return r}}]}function it(){this.$get=["$log",function(e){return function(t,n){e.error.apply(e,arguments)}}]}function rt(e){return b(e)?_(e)?e.toISOString():F(e):e}function ot(){this.$get=function(){return function(e){if(!e)return"";var t=[];return s(e,(function(e,n){null===e||$(e)||T(e)||(C(e)?o(e,(function(e){t.push(Q(n)+"="+Q(rt(e)))})):t.push(Q(n)+"="+Q(rt(e))))})),t.join("&")}}}function st(){this.$get=function(){return function(e){if(!e)return"";var t=[];return function e(n,i,r){C(n)?o(n,(function(t,n){e(t,i+"["+(b(t)?n:"")+"]")})):b(n)&&!_(n)?s(n,(function(t,n){e(t,i+(r?"":"[")+n+(r?"":"]"))})):(T(n)&&(n=n()),t.push(Q(i)+"="+(null==n?"":Q(rt(n)))))}(e,"",!0),t.join("&")}}}function at(e,t){if(k(e)){var n,i,r=e.replace(br,"").trim();if(r)if((i=n=(n=t("Content-Type"))&&0===n.indexOf(mr))||(i=(i=r.match($r))&&yr[i[0]].test(r)),i)try{e=U(r)}catch(t){if(!n)return e;throw wr("baddata",e,t)}}return e}function lt(e){var t,n=ae();return k(e)?o(e.split("\n"),(function(e){t=e.indexOf(":");var i=ni(mi(e.substr(0,t)));e=mi(e.substr(t+1)),i&&(n[i]=n[i]?n[i]+", "+e:e)})):b(e)&&o(e,(function(e,t){var i=ni(t),r=mi(e);i&&(n[i]=n[i]?n[i]+", "+r:r)})),n}function ct(e){var t;return function(n){return t||(t=lt(e)),n?(void 0===(n=t[ni(n)])&&(n=null),n):t}}function ut(e,t,n,i){return T(i)?i(e,t,n):(o(i,(function(i){e=i(e,t,n)})),e)}function dt(){var e=this.defaults={transformResponse:[at],transformRequest:[function(e){return b(e)&&"[object File]"!==ai.call(e)&&"[object Blob]"!==ai.call(e)&&"[object FormData]"!==ai.call(e)?F(e):e}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ce(vr),put:ce(vr),patch:ce(vr)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",paramSerializer:"$httpParamSerializer",jsonpCallbackParam:"callback"},t=!1;this.useApplyAsync=function(e){return y(e)?(t=!!e,this):t};var n=this.interceptors=[],r=this.xsrfTrustedOrigins=[];Object.defineProperty(this,"xsrfWhitelistedOrigins",{get:function(){return this.xsrfTrustedOrigins},set:function(e){this.xsrfTrustedOrigins=e}}),this.$get=["$browser","$httpBackend","$$cookieReader","$cacheFactory","$rootScope","$q","$injector","$sce",function(s,a,l,c,d,h,f,g){function m(t){function n(e,t){for(var n=0,i=t.length;n<i;){var r=t[n++],o=t[n++];e=e.then(r,o)}return t.length=0,e}function r(e){var t=u({},e);return t.data=ut(e.data,e.headers,e.status,a.transformResponse),200<=(e=e.status)&&300>e?t:h.reject(t)}if(!b(t))throw i("$http")("badreq",t);if(!k(g.valueOf(t.url)))throw i("$http")("badreq",t.url);var a=u({method:"get",transformRequest:e.transformRequest,transformResponse:e.transformResponse,paramSerializer:e.paramSerializer,jsonpCallbackParam:e.jsonpCallbackParam},t);a.headers=function(t){var n,i,r,s=e.headers,a=u({},t.headers);s=u({},s.common,s[ni(t.method)]);e:for(n in s){for(r in i=ni(n),a)if(ni(r)===i)continue e;a[n]=s[n]}return function(e,t){var n,i={};return o(e,(function(e,r){T(e)?null!=(n=e(t))&&(i[r]=n):i[r]=e})),i}(a,ce(t))}(t),a.method=ii(a.method),a.paramSerializer=k(a.paramSerializer)?f.get(a.paramSerializer):a.paramSerializer,s.$$incOutstandingRequestCount("$http");var l=[],c=[];return t=h.resolve(a),o(S,(function(e){(e.request||e.requestError)&&l.unshift(e.request,e.requestError),(e.response||e.responseError)&&c.push(e.response,e.responseError)})),t=(t=n(t,l)).then((function(t){var n=t.headers,i=ut(t.data,ct(n),void 0,t.transformRequest);return $(i)&&o(n,(function(e,t){"content-type"===ni(t)&&delete n[t]})),$(t.withCredentials)&&!$(e.withCredentials)&&(t.withCredentials=e.withCredentials),v(t,i).then(r,r)})),(t=n(t,c)).finally((function(){s.$$completeOutstandingRequest(p,"$http")}))}function v(n,i){function r(e){if(e){var n={};return o(e,(function(e,i){n[i]=function(n){function i(){e(n)}t?d.$applyAsync(i):d.$$phase?i():d.$apply(i)}})),n}}function s(e,t,i,r,o){(200<=(t=-1<=t?t:0)&&300>t?v.resolve:v.reject)({data:e,status:t,headers:ct(i),config:n,statusText:r,xhrStatus:o})}function c(e){s(e.data,e.status,ce(e.headers()),e.statusText,e.xhrStatus)}function u(){var e=m.pendingRequests.indexOf(n);-1!==e&&m.pendingRequests.splice(e,1)}var f,p,v=h.defer(),S=v.promise,x=n.headers,E="jsonp"===ni(n.method),A=n.url;return E?A=g.getTrustedResourceUrl(A):k(A)||(A=g.valueOf(A)),A=function(e,t){return 0<t.length&&(e+=(-1===e.indexOf("?")?"?":"&")+t),e}(A,n.paramSerializer(n.params)),E&&(A=function(e,t){var n=e.split("?");if(2<n.length)throw wr("badjsonp",e);return n=G(n[1]),o(n,(function(n,i){if("JSON_CALLBACK"===n)throw wr("badjsonp",e);if(i===t)throw wr("badjsonp",t,e)})),e+=(-1===e.indexOf("?")?"?":"&")+t+"=JSON_CALLBACK"}(A,n.jsonpCallbackParam)),m.pendingRequests.push(n),S.then(u,u),!n.cache&&!e.cache||!1===n.cache||"GET"!==n.method&&"JSONP"!==n.method||(f=b(n.cache)?n.cache:b(e.cache)?e.cache:w),f&&(y(p=f.get(A))?p&&T(p.then)?p.then(c,c):C(p)?s(p[1],p[0],ce(p[2]),p[3],p[4]):s(p,200,{},"OK","complete"):f.put(A,S)),$(p)&&((p=_(n.url)?l()[n.xsrfCookieName||e.xsrfCookieName]:void 0)&&(x[n.xsrfHeaderName||e.xsrfHeaderName]=p),a(n.method,A,i,(function(e,n,i,r,o){function a(){s(n,e,i,r,o)}f&&(200<=e&&300>e?f.put(A,[e,n,lt(i),r,o]):f.remove(A)),t?d.$applyAsync(a):(a(),d.$$phase||d.$apply())}),x,n.timeout,n.withCredentials,n.responseType,r(n.eventHandlers),r(n.uploadEventHandlers))),S}var w=c("$http");e.paramSerializer=k(e.paramSerializer)?f.get(e.paramSerializer):e.paramSerializer;var S=[];o(n,(function(e){S.unshift(k(e)?f.get(e):f.invoke(e))}));var _=function(e){var t=[Br].concat(e.map(nn));return function(e){return e=nn(e),t.some(rn.bind(null,e))}}(r);return m.pendingRequests=[],function(e){o(arguments,(function(e){m[e]=function(t,n){return m(u({},n||{},{method:e,url:t}))}}))}("get","delete","head","jsonp"),function(e){o(arguments,(function(e){m[e]=function(t,n,i){return m(u({},i||{},{method:e,url:t,data:n}))}}))}("post","put","patch"),m.defaults=e,m}]}function ht(){this.$get=function(){return function(){return new e.XMLHttpRequest}}}function ft(){this.$get=["$browser","$jsonpCallbacks","$document","$xhrFactory",function(e,t,n,i){return function(e,t,n,i,r){function s(e,t,n){e=e.replace("JSON_CALLBACK",t);var o=r.createElement("script"),s=null;return o.type="text/javascript",o.src=e,o.async=!0,s=function(e){o.removeEventListener("load",s),o.removeEventListener("error",s),r.body.removeChild(o),o=null;var a=-1,l="unknown";e&&("load"!==e.type||i.wasCalled(t)||(e={type:"error"}),l=e.type,a="error"===e.type?404:200),n&&n(a,l)},o.addEventListener("load",s),o.addEventListener("error",s),r.body.appendChild(o),s}return function(r,a,l,c,u,d,h,f,p,g){function m(e){S="timeout"===e,w&&w(),k&&k.abort()}function v(e,t,i,r,o,s){y(_)&&n.cancel(_),w=k=null,e(t,i,r,o,s)}if(a=a||e.url(),"jsonp"===ni(r))var b=i.createCallback(a),w=s(a,b,(function(e,t){var n=200===e&&i.getResponse(b);v(c,e,n,"",t,"complete"),i.removeCallback(b)}));else{var k=t(r,a),S=!1;if(k.open(r,a,!0),o(u,(function(e,t){y(e)&&k.setRequestHeader(t,e)})),k.onload=function(){var e=k.statusText||"",t="response"in k?k.response:k.responseText,n=1223===k.status?204:k.status;0===n&&(n=t?200:"file"===nn(a).protocol?404:0),v(c,n,t,k.getAllResponseHeaders(),e,"complete")},k.onerror=function(){v(c,-1,null,null,"","error")},k.ontimeout=function(){v(c,-1,null,null,"","timeout")},k.onabort=function(){v(c,-1,null,null,"",S?"timeout":"abort")},o(p,(function(e,t){k.addEventListener(t,e)})),o(g,(function(e,t){k.upload.addEventListener(t,e)})),h&&(k.withCredentials=!0),f)try{k.responseType=f}catch(e){if("json"!==f)throw e}k.send($(l)?null:l)}if(0<d)var _=n((function(){m("timeout")}),d);else d&&T(d.then)&&d.then((function(){m(y(d.$$timeoutId)?"timeout":"abort")}))}}(e,i,e.defer,t,n[0])}]}function pt(){var e="{{",t="}}";this.startSymbol=function(t){return t?(e=t,this):e},this.endSymbol=function(e){return e?(t=e,this):t},this.$get=["$parse","$exceptionHandler","$sce",function(n,i,r){function o(e){return"\\\\\\"+e}function s(n){return n.replace(h,e).replace(f,t)}function a(e,t,n,i){var r=e.$watch((function(e){return r(),i(e)}),t,n);return r}function l(o,l,h,f){var p=h===r.URL||h===r.MEDIA_URL;if(!o.length||-1===o.indexOf(e)){if(l)return;return l=s(o),p&&(l=r.getTrusted(h,l)),(l=m(l)).exp=o,l.expressions=[],l.$$watchDelegate=a,l}f=!!f;for(var g,v,b,w,k=0,S=[],_=o.length,C=[],x=[];k<_;){if(-1===(g=o.indexOf(e,k))||-1===(v=o.indexOf(t,g+c))){k!==_&&C.push(s(o.substring(k)));break}k!==g&&C.push(s(o.substring(k,g))),k=o.substring(g+c,v),S.push(k),k=v+d,x.push(C.length),C.push("")}w=1===C.length&&1===x.length;var T=p&&w?void 0:function(e){try{return e=h&&!p?r.getTrusted(h,e):r.valueOf(e),f&&!y(e)?e:le(e)}catch(e){i(kr.interr(o,e))}};if(b=S.map((function(e){return n(e,T)})),!l||S.length){var E=function(e){for(var t=0,n=S.length;t<n;t++){if(f&&$(e[t]))return;C[x[t]]=e[t]}return p?r.getTrusted(h,w?C[0]:C.join("")):(h&&1<C.length&&kr.throwNoconcat(o),C.join(""))};return u((function(e){var t=0,n=S.length,r=Array(n);try{for(;t<n;t++)r[t]=b[t](e);return E(r)}catch(e){i(kr.interr(o,e))}}),{exp:o,expressions:S,$$watchDelegate:function(e,t){var n;return e.$watchGroup(b,(function(i,r){var o=E(i);t.call(this,o,i!==r?n:o,e),n=o}))}})}}var c=e.length,d=t.length,h=new RegExp(e.replace(/./g,o),"g"),f=new RegExp(t.replace(/./g,o),"g");return l.startSymbol=function(){return e},l.endSymbol=function(){return t},l}]}function gt(){this.$get=["$$intervalFactory","$window",function(e,t){var n={},i=function(e){t.clearInterval(e),delete n[e]},r=e((function(e,i,r){return e=t.setInterval(e,i),n[e]=r,e}),i);return r.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$intervalId"))throw Sr("badprom");if(!n.hasOwnProperty(e.$$intervalId))return!1;e=e.$$intervalId;var t=n[e],r=t.promise;return r.$$state&&(r.$$state.pur=!0),t.reject("canceled"),i(e),!0},r}]}function mt(){this.$get=["$browser","$q","$$q","$rootScope",function(e,t,n,i){return function(r,o){return function(s,a,l,c){function u(){d?s.apply(null,h):s(f)}var d=4<arguments.length,h=d?ri.call(arguments,4):[],f=0,p=y(c)&&!c,g=(p?n:t).defer(),m=g.promise;return l=y(l)?l:0,m.$$intervalId=r((function(){p?e.defer(u):i.$evalAsync(u),g.notify(f++),0<l&&f>=l&&(g.resolve(f),o(m.$$intervalId)),p||i.$apply()}),a,g,p),m}}}]}function vt(e,t){var n=nn(e);t.$$protocol=n.protocol,t.$$host=n.hostname,t.$$port=h(n.port)||xr[n.protocol]||null}function $t(e,t,n){if(Er.test(e))throw Tr("badpath",e);(i="/"!==e.charAt(0))&&(e="/"+e),e=nn(e);for(var i,r=(i=(i&&"/"===e.pathname.charAt(0)?e.pathname.substring(1):e.pathname).split("/")).length;r--;)i[r]=decodeURIComponent(i[r]),n&&(i[r]=i[r].replace(/\//g,"%2F"));n=i.join("/"),t.$$path=n,t.$$search=G(e.search),t.$$hash=decodeURIComponent(e.hash),t.$$path&&"/"!==t.$$path.charAt(0)&&(t.$$path="/"+t.$$path)}function yt(e,t){return e.slice(0,t.length)===t}function bt(e,t){if(yt(t,e))return t.substr(e.length)}function wt(e){var t=e.indexOf("#");return-1===t?e:e.substr(0,t)}function kt(e,t,n){this.$$html5=!0,n=n||"",vt(e,this),this.$$parse=function(e){var n=bt(t,e);if(!k(n))throw Tr("ipthprfx",e,t);$t(n,this,!0),this.$$path||(this.$$path="/"),this.$$compose()},this.$$normalizeUrl=function(e){return t+e.substr(1)},this.$$parseLinkUrl=function(i,r){return r&&"#"===r[0]?(this.hash(r.slice(1)),!0):(y(o=bt(e,i))?(s=o,s=n&&y(o=bt(n,o))?t+(bt("/",o)||o):e+s):y(o=bt(t,i))?s=t+o:t===i+"/"&&(s=t),s&&this.$$parse(s),!!s);var o,s}}function St(e,t,n){vt(e,this),this.$$parse=function(i){var r;$(o=bt(e,i)||bt(t,i))||"#"!==o.charAt(0)?this.$$html5?r=o:(r="",$(o)&&(e=i,this.replace())):$(r=bt(n,o))&&(r=o),$t(r,this,!1),i=this.$$path;var o,s=/^\/[A-Z]:(\/.*)/;yt(r,o=e)&&(r=r.replace(o,"")),s.exec(r)||(i=(r=s.exec(i))?r[1]:i),this.$$path=i,this.$$compose()},this.$$normalizeUrl=function(t){return e+(t?n+t:"")},this.$$parseLinkUrl=function(t,n){return wt(e)===wt(t)&&(this.$$parse(t),!0)}}function _t(e,t,n){this.$$html5=!0,St.apply(this,arguments),this.$$parseLinkUrl=function(i,r){return r&&"#"===r[0]?(this.hash(r.slice(1)),!0):(e===wt(i)?o=i:(s=bt(t,i))?o=e+n+s:t===i+"/"&&(o=t),o&&this.$$parse(o),!!o);var o,s},this.$$normalizeUrl=function(t){return e+n+t}}function Ct(e){return function(){return this[e]}}function xt(e,t){return function(n){return $(n)?this[e]:(this[e]=t(n),this.$$compose(),this)}}function Tt(){var e="!",t={enabled:!1,requireBase:!0,rewriteLinks:!0};this.hashPrefix=function(t){return y(t)?(e=t,this):e},this.html5Mode=function(e){return O(e)?(t.enabled=e,this):b(e)?(O(e.enabled)&&(t.enabled=e.enabled),O(e.requireBase)&&(t.requireBase=e.requireBase),(O(e.rewriteLinks)||k(e.rewriteLinks))&&(t.rewriteLinks=e.rewriteLinks),this):t},this.$get=["$rootScope","$browser","$sniffer","$rootElement","$window",function(n,i,r,o,s){function a(e,t,n){var r=c.url(),o=c.$$state;try{i.url(e,t,n),c.$$state=i.state()}catch(e){throw c.url(r),c.$$state=o,e}}function l(e,t){n.$broadcast("$locationChangeSuccess",c.absUrl(),e,c.$$state,t)}var c,u;u=i.baseHref();var d,h=i.url();if(t.enabled){if(!u&&t.requireBase)throw Tr("nobase");d=h.substring(0,h.indexOf("/",h.indexOf("//")+2))+(u||"/"),u=r.history?kt:_t}else d=wt(h),u=St;var f=d.substr(0,wt(d).lastIndexOf("/")+1);(c=new u(d,f,"#"+e)).$$parseLinkUrl(h,h),c.$$state=i.state();var p=/^\s*(javascript|mailto):/i;o.on("click",(function(e){if((s=t.rewriteLinks)&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey&&2!==e.which&&2!==e.button){for(var r=Qn(e.target);"a"!==N(r[0]);)if(r[0]===o[0]||!(r=r.parent())[0])return;if(!k(s)||!$(r.attr(s))){var s=r.prop("href"),a=r.attr("href")||r.attr("xlink:href");b(s)&&"[object SVGAnimatedString]"===s.toString()&&(s=nn(s.animVal).href),p.test(s)||!s||r.attr("target")||e.isDefaultPrevented()||!c.$$parseLinkUrl(s,a)||(e.preventDefault(),c.absUrl()!==i.url()&&n.$apply())}}})),c.absUrl()!==h&&i.url(c.absUrl(),!0);var g=!0;return i.onUrlChange((function(e,t){yt(e,f)?(n.$evalAsync((function(){var i,r=c.absUrl(),o=c.$$state;c.$$parse(e),c.$$state=t,i=n.$broadcast("$locationChangeStart",e,r,t,o).defaultPrevented,c.absUrl()===e&&(i?(c.$$parse(r),c.$$state=o,a(r,!1,o)):(g=!1,l(r,o)))})),n.$$phase||n.$digest()):s.location.href=e})),n.$watch((function(){if(g||c.$$urlUpdatedByLocation){c.$$urlUpdatedByLocation=!1;var e=i.url(),t=c.absUrl(),o=i.state(),s=c.$$replace,u=!function(e,t){return e===t||nn(e).href===nn(t).href}(e,t)||c.$$html5&&r.history&&o!==c.$$state;(g||u)&&(g=!1,n.$evalAsync((function(){var t=c.absUrl(),i=n.$broadcast("$locationChangeStart",t,e,c.$$state,o).defaultPrevented;c.absUrl()===t&&(i?(c.$$parse(e),c.$$state=o):(u&&a(t,s,o===c.$$state?null:c.$$state),l(e,o)))})))}c.$$replace=!1})),c}]}function Et(){var e=!0,t=this;this.debugEnabled=function(t){return y(t)?(e=t,this):e},this.$get=["$window",function(n){function i(e){return x(e)&&(e.stack&&s?e=e.message&&-1===e.stack.indexOf(e.message)?"Error: "+e.message+"\n"+e.stack:e.stack:e.sourceURL&&(e=e.message+"\n"+e.sourceURL+":"+e.line)),e}function r(e){var t=n.console||{},r=t[e]||t.log||p;return function(){var e=[];return o(arguments,(function(t){e.push(i(t))})),Function.prototype.apply.call(r,t,e)}}var s=Kn||/\bEdge\//.test(n.navigator&&n.navigator.userAgent);return{log:r("log"),info:r("info"),warn:r("warn"),error:r("error"),debug:function(){var n=r("debug");return function(){e&&n.apply(t,arguments)}}()}}]}function At(e){return e+""}function Dt(e,t){return void 0!==e?e:t}function Ot(e,t){return void 0===e?t:void 0===t?e:e+t}function Mt(e,t,n){var i,r,s=e.isPure=function(e,t){switch(e.type){case Ir.MemberExpression:if(e.computed)return!1;break;case Ir.UnaryExpression:return 1;case Ir.BinaryExpression:return"+"!==e.operator&&1;case Ir.CallExpression:return!1}return void 0===t?Lr:t}(e,n);switch(e.type){case Ir.Program:i=!0,o(e.body,(function(e){Mt(e.expression,t,s),i=i&&e.expression.constant})),e.constant=i;break;case Ir.Literal:e.constant=!0,e.toWatch=[];break;case Ir.UnaryExpression:Mt(e.argument,t,s),e.constant=e.argument.constant,e.toWatch=e.argument.toWatch;break;case Ir.BinaryExpression:Mt(e.left,t,s),Mt(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.left.toWatch.concat(e.right.toWatch);break;case Ir.LogicalExpression:Mt(e.left,t,s),Mt(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=e.constant?[]:[e];break;case Ir.ConditionalExpression:Mt(e.test,t,s),Mt(e.alternate,t,s),Mt(e.consequent,t,s),e.constant=e.test.constant&&e.alternate.constant&&e.consequent.constant,e.toWatch=e.constant?[]:[e];break;case Ir.Identifier:e.constant=!1,e.toWatch=[e];break;case Ir.MemberExpression:Mt(e.object,t,s),e.computed&&Mt(e.property,t,s),e.constant=e.object.constant&&(!e.computed||e.property.constant),e.toWatch=e.constant?[]:[e];break;case Ir.CallExpression:i=n=!!e.filter&&!t(e.callee.name).$stateful,r=[],o(e.arguments,(function(e){Mt(e,t,s),i=i&&e.constant,r.push.apply(r,e.toWatch)})),e.constant=i,e.toWatch=n?r:[e];break;case Ir.AssignmentExpression:Mt(e.left,t,s),Mt(e.right,t,s),e.constant=e.left.constant&&e.right.constant,e.toWatch=[e];break;case Ir.ArrayExpression:i=!0,r=[],o(e.elements,(function(e){Mt(e,t,s),i=i&&e.constant,r.push.apply(r,e.toWatch)})),e.constant=i,e.toWatch=r;break;case Ir.ObjectExpression:i=!0,r=[],o(e.properties,(function(e){Mt(e.value,t,s),i=i&&e.value.constant,r.push.apply(r,e.value.toWatch),e.computed&&(Mt(e.key,t,!1),i=i&&e.key.constant,r.push.apply(r,e.key.toWatch))})),e.constant=i,e.toWatch=r;break;case Ir.ThisExpression:case Ir.LocalsExpression:e.constant=!1,e.toWatch=[]}}function Nt(e){if(1===e.length){var t=(e=e[0].expression).toWatch;return 1!==t.length||t[0]!==e?t:void 0}}function Pt(e){return e.type===Ir.Identifier||e.type===Ir.MemberExpression}function It(e){if(1===e.body.length&&Pt(e.body[0].expression))return{type:Ir.AssignmentExpression,left:e.body[0].expression,right:{type:Ir.NGValueParameter},operator:"="}}function Lt(e){this.$filter=e}function jt(e){this.$filter=e}function Rt(e,t,n){this.ast=new Ir(e,n),this.astCompiler=n.csp?new jt(t):new Lt(t)}function Ht(e){return T(e.valueOf)?e.valueOf():Or.call(e)}function Vt(){var e,t,n=ae(),i={true:!0,false:!1,null:null,undefined:void 0};this.addLiteral=function(e,t){i[e]=t},this.setIdentifierFns=function(n,i){return e=n,t=i,this},this.$get=["$filter",function(r){function s(e,t){var i,o;switch(typeof e){case"string":return o=e=e.trim(),(i=n[o])||(i=new Rt(i=new Pr(m),r,m).parse(e),n[o]=h(i)),f(i,t);case"function":return f(e,t);default:return f(p,t)}}function a(e,t,n){return null==e||null==t?e===t:!("object"==typeof e&&(e=Ht(e),"object"==typeof e&&!n))&&(e===t||e!=e&&t!=t)}function l(e,t,n,i,r){var o;if(1===(l=i.inputs).length){var s=a,l=l[0];return e.$watch((function(e){var t=l(e);return a(t,s,l.isPure)||(o=i(e,void 0,void 0,[t]),s=t&&Ht(t)),o}),t,n,r)}for(var c=[],u=[],d=0,h=l.length;d<h;d++)c[d]=a,u[d]=null;return e.$watch((function(e){for(var t=!1,n=0,r=l.length;n<r;n++){var s=l[n](e);(t||(t=!a(s,c[n],l[n].isPure)))&&(u[n]=s,c[n]=s&&Ht(s))}return t&&(o=i(e,void 0,void 0,u)),o}),t,n,r)}function c(e,t,n,i,r){function o(){c(l)&&a()}function s(e,t,n,i){return l=p&&i?i[0]:d(e,t,n,i),c(l)&&e.$$postDigest(o),f(l)}var a,l,c=i.literal?u:y,d=i.$$intercepted||i,f=i.$$interceptor||g,p=i.inputs&&!d.inputs;return s.literal=i.literal,s.constant=i.constant,s.inputs=i.inputs,h(s),a=e.$watch(s,t,n,r)}function u(e){var t=!0;return o(e,(function(e){y(e)||(t=!1)})),t}function d(e,t,n,i){var r=e.$watch((function(e){return r(),i(e)}),t,n);return r}function h(e){return e.constant?e.$$watchDelegate=d:e.oneTime?e.$$watchDelegate=c:e.inputs&&(e.$$watchDelegate=l),e}function f(e,t){if(!t)return e;e.$$interceptor&&(t=function(e,t){function n(n){return t(e(n))}return n.$stateful=e.$stateful||t.$stateful,n.$$pure=e.$$pure&&t.$$pure,n}(e.$$interceptor,t),e=e.$$intercepted);var n=!1,i=function(i,r,o,s){return i=n&&s?s[0]:e(i,r,o,s),t(i)};return i.$$intercepted=e,i.$$interceptor=t,i.literal=e.literal,i.oneTime=e.oneTime,i.constant=e.constant,t.$stateful||(n=!e.inputs,i.inputs=e.inputs?e.inputs:[e],t.$$pure||(i.inputs=i.inputs.map((function(e){return e.isPure===Lr?function(t){return e(t)}:e})))),h(i)}var m={csp:$i().noUnsafeEval,literals:I(i),isIdentifierStart:T(e)&&e,isIdentifierContinue:T(t)&&t};return s.$$getAst=function(e){return new Rt(new Pr(m),r,m).getAst(e).ast},s}]}function Ft(){var e=!0;this.$get=["$rootScope","$exceptionHandler",function(t,n){return qt((function(e){t.$evalAsync(e)}),n,e)}],this.errorOnUnhandledRejections=function(t){return y(t)?(e=t,this):e}}function Ut(){var e=!0;this.$get=["$browser","$exceptionHandler",function(t,n){return qt((function(e){t.defer(e)}),n,e)}],this.errorOnUnhandledRejections=function(t){return y(t)?(e=t,this):e}}function qt(e,t,n){function r(){return new s}function s(){var e=this.promise=new a;this.resolve=function(t){d(e,t)},this.reject=function(t){f(e,t)},this.notify=function(t){g(e,t)}}function a(){this.$$state={status:0}}function l(){for(;!S&&_.length;){var e=_.shift();if(!e.pur){e.pur=!0;var n="Possibly unhandled rejection: "+("function"==typeof(n=e.value)?n.toString().replace(/ \{[\s\S]*$/,""):$(n)?"undefined":"string"!=typeof n?ue(n,void 0):n);x(e.value)?t(e.value,n):t(n)}}}function c(i){!n||i.pending||2!==i.status||i.pur||(0===S&&0===_.length&&e(l),_.push(i)),!i.processScheduled&&i.pending&&(i.processScheduled=!0,++S,e((function(){var r,o,s;s=i.pending,i.processScheduled=!1,i.pending=void 0;try{for(var a=0,c=s.length;a<c;++a){i.pur=!0,o=s[a][0],r=s[a][i.status];try{T(r)?d(o,r(i.value)):1===i.status?d(o,i.value):f(o,i.value)}catch(e){f(o,e),e&&!0===e.$$passToExceptionHandler&&t(e)}}}finally{--S,n&&0===S&&e(l)}})))}function d(e,t){e.$$state.status||(t===e?p(e,k("qcycle",t)):h(e,t))}function h(e,t){function n(t){r||(r=!0,p(e,t))}var i,r=!1;try{(b(t)||T(t))&&(i=t.then),T(i)?(e.$$state.status=-1,i.call(t,(function(t){r||(r=!0,h(e,t))}),n,(function(t){g(e,t)}))):(e.$$state.value=t,e.$$state.status=1,c(e.$$state))}catch(e){n(e)}}function f(e,t){e.$$state.status||p(e,t)}function p(e,t){e.$$state.value=t,e.$$state.status=2,c(e.$$state)}function g(n,i){var r=n.$$state.pending;0>=n.$$state.status&&r&&r.length&&e((function(){for(var e,n,o=0,s=r.length;o<s;o++){n=r[o][0],e=r[o][3];try{g(n,T(e)?e(i):i)}catch(e){t(e)}}}))}function m(e){var t=new a;return f(t,e),t}function v(e,t,n){var i=null;try{T(n)&&(i=n())}catch(e){return m(e)}return i&&T(i.then)?i.then((function(){return t(e)}),m):t(e)}function y(e,t,n,i){var r=new a;return d(r,e),r.then(t,n,i)}function w(e){if(!T(e))throw k("norslvr",e);var t=new a;return e((function(e){d(t,e)}),(function(e){f(t,e)})),t}var k=i("$q",TypeError),S=0,_=[];u(a.prototype,{then:function(e,t,n){if($(e)&&$(t)&&$(n))return this;var i=new a;return this.$$state.pending=this.$$state.pending||[],this.$$state.pending.push([i,e,t,n]),0<this.$$state.status&&c(this.$$state),i},catch:function(e){return this.then(null,e)},finally:function(e,t){return this.then((function(t){return v(t,E,e)}),(function(t){return v(t,m,e)}),t)}});var E=y;return w.prototype=a.prototype,w.defer=r,w.reject=m,w.when=y,w.resolve=E,w.all=function(e){var t=new a,n=0,i=C(e)?[]:{};return o(e,(function(e,r){n++,y(e).then((function(e){i[r]=e,--n||d(t,i)}),(function(e){f(t,e)}))})),0===n&&d(t,i),t},w.race=function(e){var t=r();return o(e,(function(e){y(e).then(t.resolve,t.reject)})),t.promise},w}function Bt(){this.$get=["$window","$timeout",function(e,t){var n=e.requestAnimationFrame||e.webkitRequestAnimationFrame,i=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.webkitCancelRequestAnimationFrame,r=!!n,o=r?function(e){var t=n(e);return function(){i(t)}}:function(e){var n=t(e,16.66,!1);return function(){t.cancel(n)}};return o.supported=r,o}]}function zt(){var e=10,t=i("$rootScope"),n=null,s=null;this.digestTtl=function(t){return arguments.length&&(e=t),e},this.$get=["$exceptionHandler","$parse","$browser",function(i,a,l){function c(e){e.currentScope.$$destroyed=!0}function u(e){9===Kn&&(e.$$childHead&&u(e.$$childHead),e.$$nextSibling&&u(e.$$nextSibling)),e.$parent=e.$$nextSibling=e.$$prevSibling=e.$$childHead=e.$$childTail=e.$root=e.$$watchers=null}function d(){this.$id=++di,this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null,this.$root=this,this.$$suspended=this.$$destroyed=!1,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$$isolateBindings=null}function h(e){if(y.$$phase)throw t("inprog",y.$$phase);y.$$phase=e}function f(e,t){do{e.$$watchersCount+=t}while(e=e.$parent)}function g(e,t,n){do{e.$$listenerCount[n]-=t,0===e.$$listenerCount[n]&&delete e.$$listenerCount[n]}while(e=e.$parent)}function m(){}function v(){for(;S.length;)try{S.shift()()}catch(e){i(e)}s=null}d.prototype={constructor:d,$new:function(e,t){var n;return t=t||this,e?(n=new d).$root=this.$root:(this.$$ChildScope||(this.$$ChildScope=function(e){function t(){this.$$watchers=this.$$nextSibling=this.$$childHead=this.$$childTail=null,this.$$listeners={},this.$$listenerCount={},this.$$watchersCount=0,this.$id=++di,this.$$ChildScope=null,this.$$suspended=!1}return t.prototype=e,t}(this)),n=new this.$$ChildScope),n.$parent=t,n.$$prevSibling=t.$$childTail,t.$$childHead?(t.$$childTail.$$nextSibling=n,t.$$childTail=n):t.$$childHead=t.$$childTail=n,(e||t!==this)&&n.$on("$destroy",c),n},$watch:function(e,t,i,r){var o=a(e);if(t=T(t)?t:p,o.$$watchDelegate)return o.$$watchDelegate(this,t,i,o,e);var s=this,l=s.$$watchers,c={fn:t,last:m,get:o,exp:r||e,eq:!!i};return n=null,l||((l=s.$$watchers=[]).$$digestWatchIndex=-1),l.unshift(c),l.$$digestWatchIndex++,f(this,1),function(){var e=P(l,c);0<=e&&(f(s,-1),e<l.$$digestWatchIndex&&l.$$digestWatchIndex--),n=null}},$watchGroup:function(e,t){function n(){l=!1;try{c?(c=!1,t(r,r,a)):t(r,i,a)}finally{for(var n=0;n<e.length;n++)i[n]=r[n]}}var i=Array(e.length),r=Array(e.length),s=[],a=this,l=!1,c=!0;if(!e.length){var u=!0;return a.$evalAsync((function(){u&&t(r,r,a)})),function(){u=!1}}return 1===e.length?this.$watch(e[0],(function(e,n,o){r[0]=e,i[0]=n,t(r,e===n?r:i,o)})):(o(e,(function(e,t){var i=a.$watch(e,(function(e){r[t]=e,l||(l=!0,a.$evalAsync(n))}));s.push(i)})),function(){for(;s.length;)s.shift()()})},$watchCollection:function(e,t){function n(e){var t,n,s;if(!$(i=e)){if(b(i))if(r(i))for(o!==h&&(g=(o=h).length=0,u++),e=i.length,g!==e&&(u++,o.length=g=e),t=0;t<e;t++)s=o[t],n=i[t],s!=s&&n!=n||s===n||(u++,o[t]=n);else{for(t in o!==f&&(o=f={},g=0,u++),e=0,i)ti.call(i,t)&&(e++,n=i[t],s=o[t],t in o?s!=s&&n!=n||s===n||(u++,o[t]=n):(g++,o[t]=n,u++));if(g>e)for(t in u++,o)ti.call(i,t)||(g--,delete o[t])}else o!==i&&(o=i,u++);return u}}n.$$pure=a(e).literal,n.$stateful=!n.$$pure;var i,o,s,l=this,c=1<t.length,u=0,d=a(e,n),h=[],f={},p=!0,g=0;return this.$watch(d,(function(){if(p?(p=!1,t(i,i,l)):t(i,s,l),c)if(b(i))if(r(i)){s=Array(i.length);for(var e=0;e<i.length;e++)s[e]=i[e]}else for(e in s={},i)ti.call(i,e)&&(s[e]=i[e]);else s=i}))},$digest:function(){var r,o,a,c,u,d,f,p,g=e,$=w.length?y:this,b=[];h("$digest"),l.$$checkUrlChange(),this===y&&null!==s&&(l.defer.cancel(s),v()),n=null;do{for(u=!1,d=$,c=0;c<w.length;c++){try{(0,(p=w[c]).fn)(p.scope,p.locals)}catch(e){i(e)}n=null}w.length=0;e:do{if(c=!d.$$suspended&&d.$$watchers)for(c.$$digestWatchIndex=c.length;c.$$digestWatchIndex--;)try{if(r=c[c.$$digestWatchIndex])if((o=(0,r.get)(d))===(a=r.last)||(r.eq?j(o,a):hi(o)&&hi(a))){if(r===n){u=!1;break e}}else u=!0,n=r,r.last=r.eq?I(o,null):o,(0,r.fn)(o,a===m?o:a,d),5>g&&(b[f=4-g]||(b[f]=[]),b[f].push({msg:T(r.exp)?"fn: "+(r.exp.name||r.exp.toString()):r.exp,newVal:o,oldVal:a}))}catch(e){i(e)}if(!(c=!d.$$suspended&&d.$$watchersCount&&d.$$childHead||d!==$&&d.$$nextSibling))for(;d!==$&&!(c=d.$$nextSibling);)d=d.$parent}while(d=c);if((u||w.length)&&!g--)throw y.$$phase=null,t("infdig",e,b)}while(u||w.length);for(y.$$phase=null;_<k.length;)try{k[_++]()}catch(e){i(e)}k.length=_=0,l.$$checkUrlChange()},$suspend:function(){this.$$suspended=!0},$isSuspended:function(){return this.$$suspended},$resume:function(){this.$$suspended=!1},$destroy:function(){if(!this.$$destroyed){var e=this.$parent;for(var t in this.$broadcast("$destroy"),this.$$destroyed=!0,this===y&&l.$$applicationDestroyed(),f(this,-this.$$watchersCount),this.$$listenerCount)g(this,this.$$listenerCount[t],t);e&&e.$$childHead===this&&(e.$$childHead=this.$$nextSibling),e&&e.$$childTail===this&&(e.$$childTail=this.$$prevSibling),this.$$prevSibling&&(this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$destroy=this.$digest=this.$apply=this.$evalAsync=this.$applyAsync=p,this.$on=this.$watch=this.$watchGroup=function(){return p},this.$$listeners={},this.$$nextSibling=null,u(this)}},$eval:function(e,t){return a(e)(this,t)},$evalAsync:function(e,t){y.$$phase||w.length||l.defer((function(){w.length&&y.$digest()}),null,"$evalAsync"),w.push({scope:this,fn:a(e),locals:t})},$$postDigest:function(e){k.push(e)},$apply:function(e){try{h("$apply");try{return this.$eval(e)}finally{y.$$phase=null}}catch(e){i(e)}finally{try{y.$digest()}catch(e){throw i(e),e}}},$applyAsync:function(e){var t=this;e&&S.push((function(){t.$eval(e)})),e=a(e),null===s&&(s=l.defer((function(){y.$apply(v)}),null,"$applyAsync"))},$on:function(e,t){var n=this.$$listeners[e];n||(this.$$listeners[e]=n=[]),n.push(t);var i=this;do{i.$$listenerCount[e]||(i.$$listenerCount[e]=0),i.$$listenerCount[e]++}while(i=i.$parent);var r=this;return function(){var i=n.indexOf(t);-1!==i&&(delete n[i],g(r,1,e))}},$emit:function(e,t){var n,r,o,s=[],a=this,l=!1,c={name:e,targetScope:a,stopPropagation:function(){l=!0},preventDefault:function(){c.defaultPrevented=!0},defaultPrevented:!1},u=R([c],arguments,1);do{for(n=a.$$listeners[e]||s,c.currentScope=a,r=0,o=n.length;r<o;r++)if(n[r])try{n[r].apply(null,u)}catch(e){i(e)}else n.splice(r,1),r--,o--;if(l)break;a=a.$parent}while(a);return c.currentScope=null,c},$broadcast:function(e,t){var n=this,r=this,o={name:e,targetScope:this,preventDefault:function(){o.defaultPrevented=!0},defaultPrevented:!1};if(!this.$$listenerCount[e])return o;for(var s,a,l=R([o],arguments,1);n=r;){for(o.currentScope=n,s=0,a=(r=n.$$listeners[e]||[]).length;s<a;s++)if(r[s])try{r[s].apply(null,l)}catch(e){i(e)}else r.splice(s,1),s--,a--;if(!(r=n.$$listenerCount[e]&&n.$$childHead||n!==this&&n.$$nextSibling))for(;n!==this&&!(r=n.$$nextSibling);)n=n.$parent}return o.currentScope=null,o}};var y=new d,w=y.$$asyncQueue=[],k=y.$$postDigestQueue=[],S=y.$$applyAsyncQueue=[],_=0;return y}]}function Wt(){var e=/^\s*(https?|s?ftp|mailto|tel|file):/,t=/^\s*((https?|ftp|file|blob):|data:image\/)/;this.aHrefSanitizationTrustedUrlList=function(t){return y(t)?(e=t,this):e},this.imgSrcSanitizationTrustedUrlList=function(e){return y(e)?(t=e,this):t},this.$get=function(){return function(n,i){var r=i?t:e,o=nn(n&&n.trim()).href;return""===o||o.match(r)?n:"unsafe:"+o}}}function Yt(e){var t=[];return y(e)&&o(e,(function(e){t.push(function(e){if("self"===e)return e;if(k(e)){if(-1<e.indexOf("***"))throw Rr("iwcard",e);return e=vi(e).replace(/\\\*\\\*/g,".*").replace(/\\\*/g,"[^:/.?&;]*"),new RegExp("^"+e+"$")}if(E(e))return new RegExp("^"+e.source+"$");throw Rr("imatcher")}(e))})),t}function Gt(){this.SCE_CONTEXTS=Hr;var t=["self"],n=[];this.trustedResourceUrlList=function(e){return arguments.length&&(t=Yt(e)),t},Object.defineProperty(this,"resourceUrlWhitelist",{get:function(){return this.trustedResourceUrlList},set:function(e){this.trustedResourceUrlList=e}}),this.bannedResourceUrlList=function(e){return arguments.length&&(n=Yt(e)),n},Object.defineProperty(this,"resourceUrlBlacklist",{get:function(){return this.bannedResourceUrlList},set:function(e){this.bannedResourceUrlList=e}}),this.$get=["$injector","$$sanitizeUri",function(i,r){function o(t,n){var i;return"self"===t?(i=rn(n,Br))||(e.document.baseURI?i=e.document.baseURI:(jr||((jr=e.document.createElement("a")).href=".",jr=jr.cloneNode(!1)),i=jr.href),i=rn(n,i)):i=!!t.exec(n.href),i}function s(e){var t=function(e){this.$$unwrapTrustedValue=function(){return e}};return e&&(t.prototype=new e),t.prototype.valueOf=function(){return this.$$unwrapTrustedValue()},t.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()},t}var a=function(e){throw Rr("unsafe")};i.has("$sanitize")&&(a=i.get("$sanitize"));var l=s(),c={};return c[Hr.HTML]=s(l),c[Hr.CSS]=s(l),c[Hr.MEDIA_URL]=s(l),c[Hr.URL]=s(c[Hr.MEDIA_URL]),c[Hr.JS]=s(l),c[Hr.RESOURCE_URL]=s(c[Hr.URL]),{trustAs:function(e,t){var n=c.hasOwnProperty(e)?c[e]:null;if(!n)throw Rr("icontext",e,t);if(null===t||$(t)||""===t)return t;if("string"!=typeof t)throw Rr("itype",e);return new n(t)},getTrusted:function(e,i){if(null===i||$(i)||""===i)return i;if((u=c.hasOwnProperty(e)?c[e]:null)&&i instanceof u)return i.$$unwrapTrustedValue();if(T(i.$$unwrapTrustedValue)&&(i=i.$$unwrapTrustedValue()),e===Hr.MEDIA_URL||e===Hr.URL)return r(i.toString(),e===Hr.MEDIA_URL);if(e===Hr.RESOURCE_URL){var s,l,u=nn(i.toString()),d=!1;for(s=0,l=t.length;s<l;s++)if(o(t[s],u)){d=!0;break}if(d)for(s=0,l=n.length;s<l;s++)if(o(n[s],u)){d=!1;break}if(d)return i;throw Rr("insecurl",i.toString())}if(e===Hr.HTML)return a(i);throw Rr("unsafe")},valueOf:function(e){return e instanceof l?e.$$unwrapTrustedValue():e}}}]}function Kt(){var e=!0;this.enabled=function(t){return arguments.length&&(e=!!t),e},this.$get=["$parse","$sceDelegate",function(t,n){if(e&&8>Kn)throw Rr("iequirks");var i=ce(Hr);i.isEnabled=function(){return e},i.trustAs=n.trustAs,i.getTrusted=n.getTrusted,i.valueOf=n.valueOf,e||(i.trustAs=i.getTrusted=function(e,t){return t},i.valueOf=g),i.parseAs=function(e,n){var r=t(n);return r.literal&&r.constant?r:t(n,(function(t){return i.getTrusted(e,t)}))};var r=i.parseAs,s=i.getTrusted,a=i.trustAs;return o(Hr,(function(e,t){var n=ni(t);i[("parse_as_"+n).replace(Vr,de)]=function(t){return r(e,t)},i[("get_trusted_"+n).replace(Vr,de)]=function(t){return s(e,t)},i[("trust_as_"+n).replace(Vr,de)]=function(t){return a(e,t)}})),i}]}function Qt(){this.$get=["$window","$document",function(e,t){var n={},i=!((!e.nw||!e.nw.process)&&e.chrome&&(e.chrome.app&&e.chrome.app.runtime||!e.chrome.app&&e.chrome.runtime&&e.chrome.runtime.id))&&e.history&&e.history.pushState,r=h((/android (\d+)/.exec(ni((e.navigator||{}).userAgent))||[])[1]),o=/Boxee/i.test((e.navigator||{}).userAgent),s=t[0]||{},a=s.body&&s.body.style,l=!1,c=!1;return a&&(l=!(!("transition"in a)&&!("webkitTransition"in a)),c=!(!("animation"in a)&&!("webkitAnimation"in a))),{history:!(!i||4>r||o),hasEvent:function(e){if("input"===e&&Kn)return!1;if($(n[e])){var t=s.createElement("div");n[e]="on"+e in t}return n[e]},csp:$i(),transitions:l,animations:c,android:r}}]}function Jt(){this.$get=m((function(e){return new Xt(e)}))}function Xt(e){function t(){var e=r.pop();return e&&e.cb}function n(e){for(var t=r.length-1;0<=t;--t){var n=r[t];if(n.type===e)return r.splice(t,1),n.cb}}var i={},r=[],o=this.ALL_TASKS_TYPE="$$all$$",s=this.DEFAULT_TASK_TYPE="$$default$$";this.completeTask=function(r,a){a=a||s;try{r()}finally{var l;i[l=a||s]&&(i[l]--,i[o]--),l=i[a];var c=i[o];if(!c||!l)for(l=c?n:t;c=l(a);)try{c()}catch(t){e.error(t)}}},this.incTaskCount=function(e){i[e=e||s]=(i[e]||0)+1,i[o]=(i[o]||0)+1},this.notifyWhenNoPendingTasks=function(e,t){i[t=t||o]?r.push({type:t,cb:e}):e()}}function Zt(){var e;this.httpOptions=function(t){return t?(e=t,this):e},this.$get=["$exceptionHandler","$templateCache","$http","$q","$sce",function(t,n,i,r,o){function s(a,l){s.totalPendingRequests++,k(a)&&!$(n.get(a))||(a=o.getTrustedResourceUrl(a));var c=i.defaults&&i.defaults.transformResponse;return C(c)?c=c.filter((function(e){return e!==at})):c===at&&(c=null),i.get(a,u({cache:n,transformResponse:c},e)).finally((function(){s.totalPendingRequests--})).then((function(e){return n.put(a,e.data)}),(function(e){return l||(e=Fr("tpload",a,e.status,e.statusText),t(e)),r.reject(e)}))}return s.totalPendingRequests=0,s}]}function en(){this.$get=["$rootScope","$browser","$location",function(e,t,n){return{findBindings:function(e,t,n){e=e.getElementsByClassName("ng-binding");var i=[];return o(e,(function(e){var r=ui.element(e).data("$binding");r&&o(r,(function(r){n?new RegExp("(^|\\s)"+vi(t)+"(\\s|\\||$)").test(r)&&i.push(e):-1!==r.indexOf(t)&&i.push(e)}))})),i},findModels:function(e,t,n){for(var i=["ng-","data-ng-","ng\\:"],r=0;r<i.length;++r){var o=e.querySelectorAll("["+i[r]+"model"+(n?"=":"*=")+'"'+t+'"]');if(o.length)return o}},getLocation:function(){return n.url()},setLocation:function(t){t!==n.url()&&(n.url(t),e.$digest())},whenStable:function(e){t.notifyWhenNoOutstandingRequests(e)}}}]}function tn(){this.$get=["$rootScope","$browser","$q","$$q","$exceptionHandler",function(e,t,n,i,r){function o(o,a,l){T(o)||(l=a,a=o,o=p);var c,u=ri.call(arguments,3),d=y(l)&&!l,h=(d?i:n).defer(),f=h.promise;return c=t.defer((function(){try{h.resolve(o.apply(null,u))}catch(e){h.reject(e),r(e)}finally{delete s[f.$$timeoutId]}d||e.$apply()}),a,"$timeout"),f.$$timeoutId=c,s[c]=h,f}var s={};return o.cancel=function(e){if(!e)return!1;if(!e.hasOwnProperty("$$timeoutId"))throw Ur("badprom");if(!s.hasOwnProperty(e.$$timeoutId))return!1;e=e.$$timeoutId;var n=s[e],i=n.promise;return i.$$state&&(i.$$state.pur=!0),n.reject("canceled"),delete s[e],t.defer.cancel(e)},o}]}function nn(e){return k(e)?(Kn&&(qr.setAttribute("href",e),e=qr.href),qr.setAttribute("href",e),e=qr.hostname,!zr&&-1<e.indexOf(":")&&(e="["+e+"]"),{href:qr.href,protocol:qr.protocol?qr.protocol.replace(/:$/,""):"",host:qr.host,search:qr.search?qr.search.replace(/^\?/,""):"",hash:qr.hash?qr.hash.replace(/^#/,""):"",hostname:e,port:qr.port,pathname:"/"===qr.pathname.charAt(0)?qr.pathname:"/"+qr.pathname}):e}function rn(e,t){return e=nn(e),t=nn(t),e.protocol===t.protocol&&e.host===t.host}function on(){this.$get=m(e)}function sn(e){function t(e){try{return decodeURIComponent(e)}catch(t){return e}}var n=e[0]||{},i={},r="";return function(){var e,o,s,a,l;try{e=n.cookie||""}catch(t){e=""}if(e!==r)for(e=(r=e).split("; "),i={},s=0;s<e.length;s++)0<(a=(o=e[s]).indexOf("="))&&(l=t(o.substring(0,a)),$(i[l])&&(i[l]=t(o.substring(a+1))));return i}}function an(){this.$get=sn}function ln(e){function t(n,i){if(b(n)){var r={};return o(n,(function(e,n){r[n]=t(n,e)})),r}return e.factory(n+"Filter",i)}this.register=t,this.$get=["$injector",function(e){return function(t){return e.get(t+"Filter")}}],t("currency",hn),t("date",wn),t("filter",cn),t("json",kn),t("limitTo",Sn),t("lowercase",Xr),t("number",fn),t("orderBy",Cn),t("uppercase",Zr)}function cn(){return function(e,t,n,o){if(!r(e)){if(null==e)return e;throw i("filter")("notarray",e)}var s;switch(o=o||"$",dn(t)){case"function":break;case"boolean":case"null":case"number":case"string":s=!0;case"object":t=function(e,t,n,i){var r=b(e)&&n in e;return!0===t?t=j:T(t)||(t=function(e,t){return!$(e)&&(null===e||null===t?e===t:!(b(t)||b(e)&&!v(e))&&(e=ni(""+e),t=ni(""+t),-1!==e.indexOf(t)))}),function(o){return r&&!b(o)?un(o,e[n],t,n,!1):un(o,e,t,n,i)}}(t,n,o,s);break;default:return e}return Array.prototype.filter.call(e,t)}}function un(e,t,n,i,r,o){var s=dn(e),a=dn(t);if("string"===a&&"!"===t.charAt(0))return!un(e,t.substring(1),n,i,r);if(C(e))return e.some((function(e){return un(e,t,n,i,r)}));switch(s){case"object":var l;if(r){for(l in e)if(l.charAt&&"$"!==l.charAt(0)&&un(e[l],t,n,i,!0))return!0;return!o&&un(e,t,n,i,!1)}if("object"===a){for(l in t)if(!T(o=t[l])&&!$(o)&&!un((s=l===i)?e:e[l],o,n,i,s,s))return!1;return!0}return n(e,t);case"function":return!1;default:return n(e,t)}}function dn(e){return null===e?"null":typeof e}function hn(e){var t=e.NUMBER_FORMATS;return function(e,n,i){$(n)&&(n=t.CURRENCY_SYM),$(i)&&(i=t.PATTERNS[1].maxFrac);var r=n?/\u00A4/g:/\s*\u00A4\s*/g;return null==e?e:pn(e,t.PATTERNS[1],t.GROUP_SEP,t.DECIMAL_SEP,i).replace(r,n)}}function fn(e){var t=e.NUMBER_FORMATS;return function(e,n){return null==e?e:pn(e,t.PATTERNS[0],t.GROUP_SEP,t.DECIMAL_SEP,n)}}function pn(e,t,n,i,r){if(!k(e)&&!S(e)||isNaN(e))return"";var o=!isFinite(e),s=!1,a=Math.abs(e)+"",l="";if(o)l="∞";else{for(s=function(e){var t,n,i,r,o,s=0;for(-1<(n=e.indexOf(Yr))&&(e=e.replace(Yr,"")),0<(i=e.search(/e/i))?(0>n&&(n=i),n+=+e.slice(i+1),e=e.substring(0,i)):0>n&&(n=e.length),i=0;e.charAt(i)===Gr;i++);if(i===(o=e.length))t=[0],n=1;else{for(o--;e.charAt(o)===Gr;)o--;for(n-=i,t=[],r=0;i<=o;i++,r++)t[r]=+e.charAt(i)}return n>Wr&&(t=t.splice(0,Wr-1),s=n-1,n=1),{d:t,e:s,i:n}}(a),function(e,t,n,i){var r=e.d,o=r.length-e.i;if(i=r[n=(t=$(t)?Math.min(Math.max(n,o),i):+t)+e.i],0<n){r.splice(Math.max(e.i,n));for(var s=n;s<r.length;s++)r[s]=0}else for(o=Math.max(0,o),e.i=1,r.length=Math.max(1,n=t+1),r[0]=0,s=1;s<n;s++)r[s]=0;if(5<=i)if(0>n-1){for(i=0;i>n;i--)r.unshift(0),e.i++;r.unshift(1),e.i++}else r[n-1]++;for(;o<Math.max(0,t);o++)r.push(0);(t=r.reduceRight((function(e,t,n,i){return t+=e,i[n]=t%10,Math.floor(t/10)}),0))&&(r.unshift(t),e.i++)}(s,r,t.minFrac,t.maxFrac),l=s.d,a=s.i,r=s.e,o=[],s=l.reduce((function(e,t){return e&&!t}),!0);0>a;)l.unshift(0),a++;for(0<a?o=l.splice(a,l.length):(o=l,l=[0]),a=[],l.length>=t.lgSize&&a.unshift(l.splice(-t.lgSize,l.length).join(""));l.length>t.gSize;)a.unshift(l.splice(-t.gSize,l.length).join(""));l.length&&a.unshift(l.join("")),l=a.join(n),o.length&&(l+=i+o.join("")),r&&(l+="e+"+r)}return 0>e&&!s?t.negPre+l+t.negSuf:t.posPre+l+t.posSuf}function gn(e,t,n,i){var r="";for((0>e||i&&0>=e)&&(i?e=1-e:(e=-e,r="-")),e=""+e;e.length<t;)e=Gr+e;return n&&(e=e.substr(e.length-t)),r+e}function mn(e,t,n,i,r){return n=n||0,function(o){return o=o["get"+e](),(0<n||o>-n)&&(o+=n),0===o&&-12===n&&(o=12),gn(o,t,i,r)}}function vn(e,t,n){return function(i,r){var o=i["get"+e]();return r[ii((n?"STANDALONE":"")+(t?"SHORT":"")+e)][o]}}function $n(e){var t=new Date(e,0,1).getDay();return new Date(e,0,(4>=t?5:12)-t)}function yn(e){return function(t){var n=$n(t.getFullYear());return t=+new Date(t.getFullYear(),t.getMonth(),t.getDate()+(4-t.getDay()))-+n,gn(t=1+Math.round(t/6048e5),e)}}function bn(e,t){return 0>=e.getFullYear()?t.ERAS[0]:t.ERAS[1]}function wn(e){function t(e){var t;if(t=e.match(n)){e=new Date(0);var i=0,r=0,o=t[8]?e.setUTCFullYear:e.setFullYear,s=t[8]?e.setUTCHours:e.setHours;t[9]&&(i=h(t[9]+t[10]),r=h(t[9]+t[11])),o.call(e,h(t[1]),h(t[2])-1,h(t[3])),i=h(t[4]||0)-i,r=h(t[5]||0)-r,o=h(t[6]||0),t=Math.round(1e3*parseFloat("0."+(t[7]||0))),s.call(e,i,r,o,t)}return e}var n=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/;return function(n,i,r){var s,a,l="",c=[];if(i=i||"mediumDate",i=e.DATETIME_FORMATS[i]||i,k(n)&&(n=Jr.test(n)?h(n):t(n)),S(n)&&(n=new Date(n)),!_(n)||!isFinite(n.getTime()))return n;for(;i;)(a=Qr.exec(i))?i=(c=R(c,a,1)).pop():(c.push(i),i=null);var u=n.getTimezoneOffset();return r&&(u=q(r,u),n=z(n,r,!0)),o(c,(function(t){s=Kr[t],l+=s?s(n,e.DATETIME_FORMATS,u):"''"===t?"'":t.replace(/(^'|'$)/g,"").replace(/''/g,"'")})),l}}function kn(){return function(e,t){return $(t)&&(t=2),F(e,t)}}function Sn(){return function(e,t,n){return t=1/0===Math.abs(Number(t))?Number(t):h(t),hi(t)?e:(S(e)&&(e=e.toString()),r(e)?(n=0>(n=!n||isNaN(n)?0:h(n))?Math.max(0,e.length+n):n,0<=t?_n(e,n,n+t):0===n?_n(e,t,e.length):_n(e,Math.max(0,n+t),n)):e)}}function _n(e,t,n){return k(e)?e.slice(t,n):ri.call(e,t,n)}function Cn(e){function t(t){return t.map((function(t){var n=1,i=g;if(T(t))i=t;else if(k(t)&&("+"!==t.charAt(0)&&"-"!==t.charAt(0)||(n="-"===t.charAt(0)?-1:1,t=t.substring(1)),""!==t&&(i=e(t)).constant)){var r=i();i=function(e){return e[r]}}return{get:i,descending:n}}))}function n(e){switch(typeof e){case"number":case"boolean":case"string":return!0;default:return!1}}function o(e,t){var n=0,i=e.type;if(i===(r=t.type)){var r=e.value,o=t.value;"string"===i?(r=r.toLowerCase(),o=o.toLowerCase()):"object"===i&&(b(r)&&(r=e.index),b(o)&&(o=t.index)),r!==o&&(n=r<o?-1:1)}else n="undefined"===i?1:"undefined"===r?-1:"null"===i?1:"null"===r||i<r?-1:1;return n}return function(e,s,a,l){if(null==e)return e;if(!r(e))throw i("orderBy")("notarray",e);C(s)||(s=[s]),0===s.length&&(s=["+"]);var c=t(s),u=a?-1:1,d=T(l)?l:o;return e=Array.prototype.map.call(e,(function(e,t){return{value:e,tieBreaker:{value:t,type:"number",index:t},predicateValues:c.map((function(i){var r=i.get(e);return i=typeof r,null===r?i="null":"object"===i&&(T(r.valueOf)&&n(r=r.valueOf())||v(r)&&n(r=r.toString())),{value:r,type:i,index:t}}))}})),e.sort((function(e,t){for(var n=0,i=c.length;n<i;n++){var r=d(e.predicateValues[n],t.predicateValues[n]);if(r)return r*c[n].descending*u}return(d(e.tieBreaker,t.tieBreaker)||o(e.tieBreaker,t.tieBreaker))*u})),e.map((function(e){return e.value}))}}function xn(e){return T(e)&&(e={link:e}),e.restrict=e.restrict||"AC",m(e)}function Tn(e,t,n,i,r){this.$$controls=[],this.$error={},this.$$success={},this.$pending=void 0,this.$name=r(t.name||t.ngForm||"")(n),this.$dirty=!1,this.$valid=this.$pristine=!0,this.$submitted=this.$invalid=!1,this.$$parentForm=no,this.$$element=e,this.$$animate=i,En(this)}function En(e){e.$$classCache={},e.$$classCache[Ho]=!(e.$$classCache[Ro]=e.$$element.hasClass(Ro))}function An(e){function t(e,t,n){n&&!e.$$classCache[t]?(e.$$animate.addClass(e.$$element,t),e.$$classCache[t]=!0):!n&&e.$$classCache[t]&&(e.$$animate.removeClass(e.$$element,t),e.$$classCache[t]=!1)}function n(e,n,i){n=n?"-"+te(n,"-"):"",t(e,Ro+n,!0===i),t(e,Ho+n,!1===i)}var i=e.set,r=e.unset;e.clazz.prototype.$setValidity=function(e,o,s){$(o)?(this.$pending||(this.$pending={}),i(this.$pending,e,s)):(this.$pending&&r(this.$pending,e,s),Dn(this.$pending)&&(this.$pending=void 0)),O(o)?o?(r(this.$error,e,s),i(this.$$success,e,s)):(i(this.$error,e,s),r(this.$$success,e,s)):(r(this.$error,e,s),r(this.$$success,e,s)),this.$pending?(t(this,"ng-pending",!0),this.$valid=this.$invalid=void 0,n(this,"",null)):(t(this,"ng-pending",!1),this.$valid=Dn(this.$error),this.$invalid=!this.$valid,n(this,"",this.$valid)),n(this,e,o=this.$pending&&this.$pending[e]?void 0:!this.$error[e]&&(!!this.$$success[e]||null)),this.$$parentForm.$setValidity(e,o,this)}}function Dn(e){if(e)for(var t in e)if(e.hasOwnProperty(t))return!1;return!0}function On(e){e.$formatters.push((function(t){return e.$isEmpty(t)?t:t.toString()}))}function Mn(e,t,n,i,r,o){var s=ni(t[0].type);if(!r.android){var a=!1;t.on("compositionstart",(function(){a=!0})),t.on("compositionupdate",(function(e){($(e.data)||""===e.data)&&(a=!1)})),t.on("compositionend",(function(){a=!1,c()}))}var l,c=function(e){if(l&&(o.defer.cancel(l),l=null),!a){var r=t.val();e=e&&e.type,"password"===s||n.ngTrim&&"false"===n.ngTrim||(r=mi(r)),(i.$viewValue!==r||""===r&&i.$$hasNativeValidators)&&i.$setViewValue(r,e)}};if(r.hasEvent("input"))t.on("input",c);else{var u=function(e,t,n){l||(l=o.defer((function(){l=null,t&&t.value===n||c(e)})))};t.on("keydown",(function(e){var t=e.keyCode;91===t||15<t&&19>t||37<=t&&40>=t||u(e,this,this.value)})),r.hasEvent("paste")&&t.on("paste cut drop",u)}t.on("change",c),mo[s]&&i.$$hasNativeValidators&&s===n.type&&t.on("keydown wheel mousedown",(function(e){if(!l){var t=this.validity,n=t.badInput,i=t.typeMismatch;l=o.defer((function(){l=null,t.badInput===n&&t.typeMismatch===i||c(e)}))}})),i.$render=function(){var e=i.$isEmpty(i.$viewValue)?"":i.$viewValue;t.val()!==e&&t.val(e)}}function Nn(e,t){return function(n,i){var r,s;if(_(n))return n;if(k(n)){if('"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substring(1,n.length-1)),so.test(n))return new Date(n);if(e.lastIndex=0,r=e.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(e,n){n<t.length&&(s[t[n]]=+e)})),r=new Date(s.yyyy,s.MM-1,s.dd,s.HH,s.mm,s.ss||0,1e3*s.sss||0),100>s.yyyy&&r.setFullYear(s.yyyy),r}return NaN}}function Pn(e,t,n,i){return function(r,o,s,a,l,c,u,d){function h(e){return e&&!(e.getTime&&e.getTime()!=e.getTime())}function f(e){return y(e)&&!_(e)?p(e)||void 0:e}function p(e,t){var i=a.$options.getOption("timezone");m&&m!==i&&(t=B(t,q(m)));var r=n(e,t);return!isNaN(r)&&i&&(r=z(r,i)),r}In(r,o,s,a,e),Mn(0,o,s,a,l,c);var g,m,v="time"===e||"datetimelocal"===e;if(a.$parsers.push((function(n){return a.$isEmpty(n)?null:t.test(n)?p(n,g):void(a.$$parserName=e)})),a.$formatters.push((function(e){if(e&&!_(e))throw Uo("datefmt",e);if(h(e)){g=e;var t=a.$options.getOption("timezone");t&&(m=t,g=z(g,t,!0));var n=i;return v&&k(a.$options.getOption("timeSecondsFormat"))&&(n=i.replace("ss.sss",a.$options.getOption("timeSecondsFormat")).replace(/:$/,"")),e=u("date")(e,n,t),v&&a.$options.getOption("timeStripZeroSeconds")&&(e=e.replace(/(?::00)?(?:\.000)?$/,"")),e}return m=g=null,""})),y(s.min)||s.ngMin){var b=s.min||d(s.ngMin)(r),w=f(b);a.$validators.min=function(e){return!h(e)||$(w)||n(e)>=w},s.$observe("min",(function(e){e!==b&&(w=f(e),b=e,a.$validate())}))}if(y(s.max)||s.ngMax){var S=s.max||d(s.ngMax)(r),C=f(S);a.$validators.max=function(e){return!h(e)||$(C)||n(e)<=C},s.$observe("max",(function(e){e!==S&&(C=f(e),S=e,a.$validate())}))}}}function In(e,t,n,i,r){(i.$$hasNativeValidators=b(t[0].validity))&&i.$parsers.push((function(e){var n=t.prop("validity")||{};if(!n.badInput&&!n.typeMismatch)return e;i.$$parserName=r}))}function Ln(e){e.$parsers.push((function(t){return e.$isEmpty(t)?null:co.test(t)?parseFloat(t):void(e.$$parserName="number")})),e.$formatters.push((function(t){if(!e.$isEmpty(t)){if(!S(t))throw Uo("numfmt",t);t=t.toString()}return t}))}function jn(e){return y(e)&&!S(e)&&(e=parseFloat(e)),hi(e)?void 0:e}function Rn(e){var t=e.toString(),n=t.indexOf(".");return-1===n?-1<e&&1>e&&(e=/e-(\d+)$/.exec(t))?Number(e[1]):0:t.length-n-1}function Hn(e,t,n){var i=(0|(e=Number(e)))!==e,r=(0|t)!==t,o=(0|n)!==n;if(i||r||o){var s=i?Rn(e):0,a=r?Rn(t):0,l=o?Rn(n):0;s=Math.max(s,a,l);e*=s=Math.pow(10,s),t*=s,n*=s,i&&(e=Math.round(e)),r&&(t=Math.round(t)),o&&(n=Math.round(n))}return 0==(e-t)%n}function Vn(e,t,n,i,r){if(y(i)){if(!(e=e(i)).constant)throw Uo("constexpr",n,i);return e(t)}return r}function Fn(e,t){function n(e,t){if(!e||!e.length)return[];if(!t||!t.length)return e;var n=[],i=0;e:for(;i<e.length;i++){for(var r=e[i],o=0;o<t.length;o++)if(r===t[o])continue e;n.push(r)}return n}function i(e){if(!e)return e;var t=e;return C(e)?t=e.map(i).join(" "):b(e)?t=Object.keys(e).filter((function(t){return e[t]})).join(" "):k(e)||(t=e+""),t}var r;return e="ngClass"+e,["$parse",function(s){return{restrict:"AC",link:function(a,l,c){function u(e,t){var n=[];return o(e,(function(e){(0<t||h[e])&&(h[e]=(h[e]||0)+t,h[e]===+(0<t)&&n.push(e))})),n.join(" ")}var d,h=l.data("$classCounts"),f=!0;h||(h=ae(),l.data("$classCounts",h)),"ngClass"!==e&&(r||(r=s("$index",(function(e){return 1&e}))),a.$watch(r,(function(e){if(e===t){var n=u((n=d)&&n.split(" "),1);c.$addClass(n)}else n=u((n=d)&&n.split(" "),-1),c.$removeClass(n);f=e}))),a.$watch(s(c[e],i),(function(e){if(f===t){var i=d&&d.split(" "),r=e&&e.split(" "),o=n(i,r);i=n(r,i),o=u(o,-1),i=u(i,1);c.$addClass(i),c.$removeClass(o)}d=e}))}}}]}function Un(e,t,n,i,r,o){return{restrict:"A",compile:function(s,a){var l=e(a[i]);return function(e,i){i.on(r,(function(i){var r=function(){l(e,{$event:i})};if(t.$$phase)if(o)e.$evalAsync(r);else try{r()}catch(e){n(e)}else e.$apply(r)}))}}}}function qn(e,t,n,i,r,o,s,a,l){this.$modelValue=this.$viewValue=Number.NaN,this.$$rawModelValue=void 0,this.$validators={},this.$asyncValidators={},this.$parsers=[],this.$formatters=[],this.$viewChangeListeners=[],this.$untouched=!0,this.$touched=!1,this.$pristine=!0,this.$dirty=!1,this.$valid=!0,this.$invalid=!1,this.$error={},this.$$success={},this.$pending=void 0,this.$name=l(n.name||"",!1)(e),this.$$parentForm=no,this.$options=qo,this.$$updateEvents="",this.$$updateEventHandler=this.$$updateEventHandler.bind(this),this.$$parsedNgModel=r(n.ngModel),this.$$parsedNgModelAssign=this.$$parsedNgModel.assign,this.$$ngModelGet=this.$$parsedNgModel,this.$$ngModelSet=this.$$parsedNgModelAssign,this.$$pendingDebounce=null,this.$$parserValid=void 0,this.$$parserName="parse",this.$$currentValidationRunId=0,this.$$scope=e,this.$$rootScope=e.$root,this.$$attr=n,this.$$element=i,this.$$animate=o,this.$$timeout=s,this.$$parse=r,this.$$q=a,this.$$exceptionHandler=t,En(this),function(e){e.$$scope.$watch((function(t){return(t=e.$$ngModelGet(t))===e.$modelValue||e.$modelValue!=e.$modelValue&&t!=t||e.$$setModelValue(t),t}))}(this)}function Bn(e){this.$$options=e}function zn(e,t){o(t,(function(t,n){y(e[n])||(e[n]=t)}))}function Wn(e,t){e.prop("selected",t),e.attr("selected",t)}function Yn(e,t,n){if(e){if(k(e)&&(e=new RegExp("^"+e+"$")),!e.test)throw i("ngPattern")("noregexp",t,e,W(n));return e}}function Gn(e){return e=h(e),hi(e)?-1:e}var Kn,Qn,Jn,Xn,Zn={objectMaxDepth:5,urlErrorParamsEnabled:!0},ei=/^\/(.+)\/([a-z]*)$/,ti=Object.prototype.hasOwnProperty,ni=function(e){return k(e)?e.toLowerCase():e},ii=function(e){return k(e)?e.toUpperCase():e},ri=[].slice,oi=[].splice,si=[].push,ai=Object.prototype.toString,li=Object.getPrototypeOf,ci=i("ng"),ui=e.angular||(e.angular={}),di=0;Kn=e.document.documentMode;var hi=Number.isNaN||function(e){return e!=e};p.$inject=[],g.$inject=[];var fi,pi,gi=/^\[object (?:Uint8|Uint8Clamped|Uint16|Uint32|Int8|Int16|Int32|Float32|Float64)Array]$/,mi=function(e){return k(e)?e.trim():e},vi=function(e){return e.replace(/([-()[\]{}+?*.$^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},$i=function(){if(!y($i.rules)){var t=e.document.querySelector("[ng-csp]")||e.document.querySelector("[data-ng-csp]");if(t){var n=t.getAttribute("ng-csp")||t.getAttribute("data-ng-csp");$i.rules={noUnsafeEval:!n||-1!==n.indexOf("no-unsafe-eval"),noInlineStyle:!n||-1!==n.indexOf("no-inline-style")}}else{t=$i;try{new Function(""),n=!1}catch(e){n=!0}t.rules={noUnsafeEval:n,noInlineStyle:!1}}}return $i.rules},yi=function(){if(y(yi.name_))return yi.name_;var t,n,i,r,o=wi.length;for(n=0;n<o;++n)if(i=wi[n],t=e.document.querySelector("["+i.replace(":","\\:")+"jq]")){r=t.getAttribute(i+"jq");break}return yi.name_=r},bi=/:/g,wi=["ng-","data-ng-","ng:","x-ng-"],ki=(fi=e.document,!(pi=fi.currentScript)||(pi instanceof e.HTMLScriptElement||pi instanceof e.SVGScriptElement)&&[(pi=pi.attributes).getNamedItem("src"),pi.getNamedItem("href"),pi.getNamedItem("xlink:href")].every((function(e){if(!e)return!0;if(!e.value)return!1;var t=fi.createElement("a");if(t.href=e.value,fi.location.origin===t.origin)return!0;switch(t.protocol){case"http:":case"https:":case"ftp:":case"blob:":case"file:":case"data:":return!0;default:return!1}}))),Si=/[A-Z]/g,_i=!1,Ci=3,xi={full:"1.8.3",major:1,minor:8,dot:3,codeName:"ultimate-farewell"};ge.expando="ng339";var Ti=ge.cache={},Ei=1;ge._data=function(e){return this.cache[e[this.expando]]||{}};var Ai=/-([a-z])/g,Di=/^-ms-/,Oi={mouseleave:"mouseout",mouseenter:"mouseover"},Mi=i("jqLite"),Ni=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Pi=/<|&#?\w+;/,Ii=/<([\w:-]+)/,Li=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,ji={thead:["table"],col:["colgroup","table"],tr:["tbody","table"],td:["tr","tbody","table"]};ji.tbody=ji.tfoot=ji.colgroup=ji.caption=ji.thead,ji.th=ji.td;var Ri,Hi={option:[1,'<select multiple="multiple">',"</select>"],_default:[0,"",""]};for(Ri in ji){var Vi=ji[Ri],Fi=Vi.slice().reverse();Hi[Ri]=[Fi.length,"<"+Fi.join("><")+">","</"+Vi.join("></")+">"]}Hi.optgroup=Hi.option;var Ui=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))},qi=ge.prototype={ready:Me,toString:function(){var e=[];return o(this,(function(t){e.push(""+t)})),"["+e.join(", ")+"]"},eq:function(e){return Qn(0<=e?this[e]:this[this.length+e])},length:0,push:si,sort:[].sort,splice:[].splice},Bi={};o("multiple selected checked disabled readOnly required open".split(" "),(function(e){Bi[ni(e)]=e}));var zi={};o("input select option textarea button form details".split(" "),(function(e){zi[e]=!0}));var Wi={ngMinlength:"minlength",ngMaxlength:"maxlength",ngMin:"min",ngMax:"max",ngPattern:"pattern",ngStep:"step"};o({data:Se,removeData:we,hasData:function(e){for(var t in Ti[e.ng339])return!0;return!1},cleanData:function(e){for(var t=0,n=e.length;t<n;t++)we(e[t]),be(e[t])}},(function(e,t){ge[t]=e})),o({data:Se,inheritedData:Ae,scope:function(e){return Qn.data(e,"$scope")||Ae(e.parentNode||e,["$isolateScope","$scope"])},isolateScope:function(e){return Qn.data(e,"$isolateScope")||Qn.data(e,"$isolateScopeNoTemplate")},controller:Ee,injector:function(e){return Ae(e,"$injector")},removeAttr:function(e,t){e.removeAttribute(t)},hasClass:_e,css:function(e,t,n){if(t=he(t.replace(Di,"ms-")),!y(n))return e.style[t];e.style[t]=n},attr:function(e,t,n){if((i=e.nodeType)!==Ci&&2!==i&&8!==i&&e.getAttribute){var i=ni(t),r=Bi[i];if(!y(n))return e=e.getAttribute(t),r&&null!==e&&(e=i),null===e?void 0:e;null===n||!1===n&&r?e.removeAttribute(t):e.setAttribute(t,r?i:n)}},prop:function(e,t,n){if(!y(n))return e[t];e[t]=n},text:function(){function e(e,t){if($(t)){var n=e.nodeType;return 1===n||n===Ci?e.textContent:""}e.textContent=t}return e.$dv="",e}(),val:function(e,t){if($(t)){if(e.multiple&&"select"===N(e)){var n=[];return o(e.options,(function(e){e.selected&&n.push(e.value||e.text)})),n}return e.value}e.value=t},html:function(e,t){if($(t))return e.innerHTML;ve(e,!0),e.innerHTML=t},empty:De},(function(e,t){ge.prototype[t]=function(t,n){var i,r,o=this.length;if(e!==De&&$(2===e.length&&e!==_e&&e!==Ee?t:n)){if(b(t)){for(i=0;i<o;i++)if(e===Se)e(this[i],t);else for(r in t)e(this[i],r,t[r]);return this}for(o=$(i=e.$dv)?Math.min(o,1):o,r=0;r<o;r++){var s=e(this[r],t,n);i=i?i+s:s}return i}for(i=0;i<o;i++)e(this[i],t,n);return this}})),o({removeData:we,on:function(e,t,n,i){if(y(i))throw Mi("onargs");if(fe(e)){var r=(i=ke(e,!0)).events,o=i.handle;o||(o=i.handle=function(e,t){var n=function(n,i){n.isDefaultPrevented=function(){return n.defaultPrevented};var r=t[i||n.type],o=r?r.length:0;if(o){if($(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};var a=r.specialHandlerWrapper||Pe;1<o&&(r=ce(r));for(var l=0;l<o;l++)n.isImmediatePropagationStopped()||a(e,n,r[l])}};return n.elem=e,n}(e,r));for(var s=(i=0<=t.indexOf(" ")?t.split(" "):[t]).length,a=function(t,i,s){var a=r[t];a||((a=r[t]=[]).specialHandlerWrapper=i,"$destroy"===t||s||e.addEventListener(t,o)),a.push(n)};s--;)t=i[s],Oi[t]?(a(Oi[t],Ie),a(t,void 0,!0)):a(t)}},off:be,one:function(e,t,n){(e=Qn(e)).on(t,(function i(){e.off(t,n),e.off(t,i)})),e.on(t,n)},replaceWith:function(e,t){var n,i=e.parentNode;ve(e),o(new ge(t),(function(t){n?i.insertBefore(t,n.nextSibling):i.replaceChild(t,e),n=t}))},children:function(e){var t=[];return o(e.childNodes,(function(e){1===e.nodeType&&t.push(e)})),t},contents:function(e){return e.contentDocument||e.childNodes||[]},append:function(e,t){if(1===(n=e.nodeType)||11===n)for(var n=0,i=(t=new ge(t)).length;n<i;n++)e.appendChild(t[n])},prepend:function(e,t){if(1===e.nodeType){var n=e.firstChild;o(new ge(t),(function(t){e.insertBefore(t,n)}))}},wrap:function(e,t){var n=Qn(t).eq(0).clone()[0],i=e.parentNode;i&&i.replaceChild(n,e),n.appendChild(e)},remove:Oe,detach:function(e){Oe(e,!0)},after:function(e,t){var n=e,i=e.parentNode;if(i)for(var r=0,o=(t=new ge(t)).length;r<o;r++){var s=t[r];i.insertBefore(s,n.nextSibling),n=s}},addClass:xe,removeClass:Ce,toggleClass:function(e,t,n){t&&o(t.split(" "),(function(t){var i=n;$(i)&&(i=!_e(e,t)),(i?xe:Ce)(e,t)}))},parent:function(e){return(e=e.parentNode)&&11!==e.nodeType?e:null},next:function(e){return e.nextElementSibling},find:function(e,t){return e.getElementsByTagName?e.getElementsByTagName(t):[]},clone:me,triggerHandler:function(e,t,n){var i,r,s=t.type||t,a=ke(e);(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:p,type:s,target:e},t.type&&(i=u(i,t)),t=ce(a),r=n?[i].concat(n):[i],o(t,(function(t){i.isImmediatePropagationStopped()||t.apply(e,r)})))}},(function(e,t){ge.prototype[t]=function(t,n,i){for(var r,o=0,s=this.length;o<s;o++)$(r)?y(r=e(this[o],t,n,i))&&(r=Qn(r)):Te(r,e(this[o],t,n,i));return y(r)?r:this}})),ge.prototype.bind=ge.prototype.on,ge.prototype.unbind=ge.prototype.off;var Yi=Object.create(null);Re.prototype={_idx:function(e){return e!==this._lastKey&&(this._lastKey=e,this._lastIndex=this._keys.indexOf(e)),this._lastIndex},_transformKey:function(e){return hi(e)?Yi:e},get:function(e){if(e=this._transformKey(e),-1!==(e=this._idx(e)))return this._values[e]},has:function(e){return e=this._transformKey(e),-1!==this._idx(e)},set:function(e,t){e=this._transformKey(e);var n=this._idx(e);-1===n&&(n=this._lastIndex=this._keys.length),this._keys[n]=e,this._values[n]=t},delete:function(e){return e=this._transformKey(e),-1!==(e=this._idx(e))&&(this._keys.splice(e,1),this._values.splice(e,1),this._lastKey=NaN,this._lastIndex=-1,!0)}};var Gi=Re,Ki=[function(){this.$get=[function(){return Gi}]}],Qi=/^([^(]+?)=>/,Ji=/^[^(]*\(\s*([^)]*)\)/m,Xi=/,/,Zi=/^\s*(_?)(\S+?)\1\s*$/,er=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,tr=i("$injector");Ve.$$annotate=function(e,t,n){var i;if("function"==typeof e){if(!(i=e.$inject)){if(i=[],e.length){if(t)throw k(n)&&n||(n=e.name||function(e){return(e=He(e))?"function("+(e[1]||"").replace(/[\s\r\n]+/," ")+")":"fn"}(e)),tr("strictdi",n);o((t=He(e))[1].split(Xi),(function(e){e.replace(Zi,(function(e,t,n){i.push(n)}))}))}e.$inject=i}}else C(e)?(re(e[t=e.length-1],"fn"),i=e.slice(0,t)):re(e,"fn",!0);return i};var nr=i("$animate"),ir=function(){this.$get=p},rr=function(){var e=new Gi,t=[];this.$get=["$$AnimateRunner","$rootScope",function(n,i){function r(e,t,n){var i=!1;return t&&o(t=k(t)?t.split(" "):C(t)?t:[],(function(t){t&&(i=!0,e[t]=n)})),i}function s(){o(t,(function(t){var n=e.get(t);if(n){var i=function(e){k(e)&&(e=e.split(" "));var t=ae();return o(e,(function(e){e.length&&(t[e]=!0)})),t}(t.attr("class")),r="",s="";o(n,(function(e,t){e!==!!i[t]&&(e?r+=(r.length?" ":"")+t:s+=(s.length?" ":"")+t)})),o(t,(function(e){r&&xe(e,r),s&&Ce(e,s)})),e.delete(t)}})),t.length=0}return{enabled:p,on:p,off:p,pin:p,push:function(o,a,l,c){return c&&c(),(l=l||{}).from&&o.css(l.from),l.to&&o.css(l.to),(l.addClass||l.removeClass)&&(a=l.addClass,c=l.removeClass,a=r(l=e.get(o)||{},a,!0),c=r(l,c,!1),(a||c)&&(e.set(o,l),t.push(o),1===t.length&&i.$$postDigest(s))),(o=new n).complete(),o}}}]},or=["$provide",function(e){var t=this,n=null,i=null;this.$$registeredAnimations=Object.create(null),this.register=function(n,i){if(n&&"."!==n.charAt(0))throw nr("notcsel",n);var r=n+"-animation";t.$$registeredAnimations[n.substr(1)]=r,e.factory(r,i)},this.customFilter=function(e){return 1===arguments.length&&(i=T(e)?e:null),i},this.classNameFilter=function(e){if(1===arguments.length&&(n=e instanceof RegExp?e:null)&&/[(\s|\/)]ng-animate[(\s|\/)]/.test(n.toString()))throw n=null,nr("nongcls","ng-animate");return n},this.$get=["$$animateQueue",function(e){function t(e,t,n){if(n){var i;e:{for(i=0;i<n.length;i++){var r=n[i];if(1===r.nodeType){i=r;break e}}i=void 0}!i||i.parentNode||i.previousElementSibling||(n=null)}n?n.after(e):t.prepend(e)}return{on:e.on,off:e.off,pin:e.pin,enabled:e.enabled,cancel:function(e){e.cancel&&e.cancel()},enter:function(n,i,r,o){return i=i&&Qn(i),r=r&&Qn(r),t(n,i=i||r.parent(),r),e.push(n,"enter",qe(o))},move:function(n,i,r,o){return i=i&&Qn(i),r=r&&Qn(r),t(n,i=i||r.parent(),r),e.push(n,"move",qe(o))},leave:function(t,n){return e.push(t,"leave",qe(n),(function(){t.remove()}))},addClass:function(t,n,i){return(i=qe(i)).addClass=Ue(i.addclass,n),e.push(t,"addClass",i)},removeClass:function(t,n,i){return(i=qe(i)).removeClass=Ue(i.removeClass,n),e.push(t,"removeClass",i)},setClass:function(t,n,i,r){return(r=qe(r)).addClass=Ue(r.addClass,n),r.removeClass=Ue(r.removeClass,i),e.push(t,"setClass",r)},animate:function(t,n,i,r,o){return(o=qe(o)).from=o.from?u(o.from,n):n,o.to=o.to?u(o.to,i):i,o.tempClasses=Ue(o.tempClasses,r||"ng-inline-animate"),e.push(t,"animate",o)}}}]}],sr=function(){this.$get=["$$rAF",function(e){function t(t){n.push(t),1<n.length||e((function(){for(var e=0;e<n.length;e++)n[e]();n=[]}))}var n=[];return function(){var e=!1;return t((function(){e=!0})),function(n){e?n():t(n)}}}]},ar=function(){this.$get=["$q","$sniffer","$$animateAsyncRun","$$isDocumentHidden","$timeout",function(e,t,n,i,r){function s(e){this.setHost(e);var t=n();this._doneCallbacks=[],this._tick=function(e){i()?r(e,0,!1):t(e)},this._state=0}return s.chain=function(e,t){var n=0;!function i(){n===e.length?t(!0):e[n]((function(e){!1===e?t(!1):(n++,i())}))}()},s.all=function(e,t){function n(n){r=r&&n,++i===e.length&&t(r)}var i=0,r=!0;o(e,(function(e){e.done(n)}))},s.prototype={setHost:function(e){this.host=e||{}},done:function(e){2===this._state?e():this._doneCallbacks.push(e)},progress:p,getPromise:function(){if(!this.promise){var t=this;this.promise=e((function(e,n){t.done((function(t){!1===t?n():e()}))}))}return this.promise},then:function(e,t){return this.getPromise().then(e,t)},catch:function(e){return this.getPromise().catch(e)},finally:function(e){return this.getPromise().finally(e)},pause:function(){this.host.pause&&this.host.pause()},resume:function(){this.host.resume&&this.host.resume()},end:function(){this.host.end&&this.host.end(),this._resolve(!0)},cancel:function(){this.host.cancel&&this.host.cancel(),this._resolve(!1)},complete:function(e){var t=this;0===t._state&&(t._state=1,t._tick((function(){t._resolve(e)})))},_resolve:function(e){2!==this._state&&(o(this._doneCallbacks,(function(t){t(e)})),this._doneCallbacks.length=0,this._state=2)}},s}]},lr=function(){this.$get=["$$rAF","$q","$$AnimateRunner",function(e,t,n){return function(t,i){function r(){return e((function(){o.addClass&&(t.addClass(o.addClass),o.addClass=null),o.removeClass&&(t.removeClass(o.removeClass),o.removeClass=null),o.to&&(t.css(o.to),o.to=null),s||a.complete(),s=!0})),a}var o=i||{};o.$$prepared||(o=I(o)),o.cleanupStyles&&(o.from=o.to=null),o.from&&(t.css(o.from),o.from=null);var s,a=new n;return{start:r,end:r}}}]},cr=i("$compile"),ur=new function(){};Ge.$inject=["$provide","$$sanitizeUriProvider"],Ke.prototype.isFirstChange=function(){return this.previousValue===ur};var dr=/^((?:x|data)[:\-_])/i,hr=/[:\-_]+(.)/g,fr=i("$controller"),pr=/^(\S+)(\s+as\s+([\w$]+))?$/,gr=function(){this.$get=["$document",function(e){return function(t){return t?!t.nodeType&&t instanceof Qn&&(t=t[0]):t=e[0].body,t.offsetWidth+1}}]},mr="application/json",vr={"Content-Type":mr+";charset=utf-8"},$r=/^\[|^\{(?!\{)/,yr={"[":/]$/,"{":/}$/},br=/^\)]\}',?\n/,wr=i("$http"),kr=ui.$interpolateMinErr=i("$interpolate");kr.throwNoconcat=function(e){throw kr("noconcat",e)},kr.interr=function(e,t){return kr("interr",e,t.toString())};var Sr=i("$interval"),_r=function(){this.$get=function(){var e=ui.callbacks,t={};return{createCallback:function(n){var i="angular.callbacks."+(n="_"+(e.$$counter++).toString(36)),r=function(e){var t=function(e){t.data=e,t.called=!0};return t.id=e,t}(n);return t[i]=e[n]=r,i},wasCalled:function(e){return t[e].called},getResponse:function(e){return t[e].data},removeCallback:function(n){delete e[t[n].id],delete t[n]}}}},Cr=/^([^?#]*)(\?([^#]*))?(#(.*))?$/,xr={http:80,https:443,ftp:21},Tr=i("$location"),Er=/^\s*[\\/]{2,}/,Ar={$$absUrl:"",$$html5:!1,$$replace:!1,$$compose:function(){for(var e=this.$$path,t=this.$$hash,n=function(e){var t=[];return o(e,(function(e,n){C(e)?o(e,(function(e){t.push(Q(n,!0)+(!0===e?"":"="+Q(e,!0)))})):t.push(Q(n,!0)+(!0===e?"":"="+Q(e,!0)))})),t.length?t.join("&"):""}(this.$$search),i=(t=t?"#"+K(t):"",(e=e.split("/")).length);i--;)e[i]=K(e[i].replace(/%2F/g,"/"));this.$$url=e.join("/")+(n?"?"+n:"")+t,this.$$absUrl=this.$$normalizeUrl(this.$$url),this.$$urlUpdatedByLocation=!0},absUrl:Ct("$$absUrl"),url:function(e){if($(e))return this.$$url;var t=Cr.exec(e);return(t[1]||""===e)&&this.path(decodeURIComponent(t[1])),(t[2]||t[1]||""===e)&&this.search(t[3]||""),this.hash(t[5]||""),this},protocol:Ct("$$protocol"),host:Ct("$$host"),port:Ct("$$port"),path:xt("$$path",(function(e){return"/"===(e=null!==e?e.toString():"").charAt(0)?e:"/"+e})),search:function(e,t){switch(arguments.length){case 0:return this.$$search;case 1:if(k(e)||S(e))e=e.toString(),this.$$search=G(e);else{if(!b(e))throw Tr("isrcharg");o(e=I(e,{}),(function(t,n){null==t&&delete e[n]})),this.$$search=e}break;default:$(t)||null===t?delete this.$$search[e]:this.$$search[e]=t}return this.$$compose(),this},hash:xt("$$hash",(function(e){return null!==e?e.toString():""})),replace:function(){return this.$$replace=!0,this}};o([_t,St,kt],(function(e){e.prototype=Object.create(Ar),e.prototype.state=function(t){if(!arguments.length)return this.$$state;if(e!==kt||!this.$$html5)throw Tr("nostate");return this.$$state=$(t)?null:t,this.$$urlUpdatedByLocation=!0,this}}));var Dr=i("$parse"),Or={}.constructor.prototype.valueOf,Mr=ae();o("+ - * / % === !== == != < > <= >= && || ! = |".split(" "),(function(e){Mr[e]=!0}));var Nr={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Pr=function(e){this.options=e};Pr.prototype={constructor:Pr,lex:function(e){for(this.text=e,this.index=0,this.tokens=[];this.index<this.text.length;)if('"'===(e=this.text.charAt(this.index))||"'"===e)this.readString(e);else if(this.isNumber(e)||"."===e&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdentifierStart(this.peekMultichar()))this.readIdent();else if(this.is(e,"(){}[].,;:?"))this.tokens.push({index:this.index,text:e}),this.index++;else if(this.isWhitespace(e))this.index++;else{var t=e+this.peek(),n=t+this.peek(2),i=Mr[t],r=Mr[n];Mr[e]||i||r?(e=r?n:i?t:e,this.tokens.push({index:this.index,text:e,operator:!0}),this.index+=e.length):this.throwError("Unexpected next character ",this.index,this.index+1)}return this.tokens},is:function(e,t){return-1!==t.indexOf(e)},peek:function(e){return e=e||1,this.index+e<this.text.length&&this.text.charAt(this.index+e)},isNumber:function(e){return"0"<=e&&"9">=e&&"string"==typeof e},isWhitespace:function(e){return" "===e||"\r"===e||"\t"===e||"\n"===e||"\v"===e||" "===e},isIdentifierStart:function(e){return this.options.isIdentifierStart?this.options.isIdentifierStart(e,this.codePointAt(e)):this.isValidIdentifierStart(e)},isValidIdentifierStart:function(e){return"a"<=e&&"z">=e||"A"<=e&&"Z">=e||"_"===e||"$"===e},isIdentifierContinue:function(e){return this.options.isIdentifierContinue?this.options.isIdentifierContinue(e,this.codePointAt(e)):this.isValidIdentifierContinue(e)},isValidIdentifierContinue:function(e,t){return this.isValidIdentifierStart(e,t)||this.isNumber(e)},codePointAt:function(e){return 1===e.length?e.charCodeAt(0):(e.charCodeAt(0)<<10)+e.charCodeAt(1)-56613888},peekMultichar:function(){var e=this.text.charAt(this.index),t=this.peek();if(!t)return e;var n=e.charCodeAt(0),i=t.charCodeAt(0);return 55296<=n&&56319>=n&&56320<=i&&57343>=i?e+t:e},isExpOperator:function(e){return"-"===e||"+"===e||this.isNumber(e)},throwError:function(e,t,n){throw n=n||this.index,t=y(t)?"s "+t+"-"+this.index+" ["+this.text.substring(t,n)+"]":" "+n,Dr("lexerr",e,t,this.text)},readNumber:function(){for(var e="",t=this.index;this.index<this.text.length;){var n=ni(this.text.charAt(this.index));if("."===n||this.isNumber(n))e+=n;else{var i=this.peek();if("e"===n&&this.isExpOperator(i))e+=n;else if(this.isExpOperator(n)&&i&&this.isNumber(i)&&"e"===e.charAt(e.length-1))e+=n;else{if(!this.isExpOperator(n)||i&&this.isNumber(i)||"e"!==e.charAt(e.length-1))break;this.throwError("Invalid exponent")}}this.index++}this.tokens.push({index:t,text:e,constant:!0,value:Number(e)})},readIdent:function(){var e=this.index;for(this.index+=this.peekMultichar().length;this.index<this.text.length;){var t=this.peekMultichar();if(!this.isIdentifierContinue(t))break;this.index+=t.length}this.tokens.push({index:e,text:this.text.slice(e,this.index),identifier:!0})},readString:function(e){var t=this.index;this.index++;for(var n="",i=e,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+=Nr[o]||o,r=!1;else if("\\"===o)r=!0;else{if(o===e)return this.index++,void this.tokens.push({index:t,text:i,constant:!0,value:n});n+=o}this.index++}this.throwError("Unterminated quote",t)}};var Ir=function(e,t){this.lexer=e,this.options=t};Ir.Program="Program",Ir.ExpressionStatement="ExpressionStatement",Ir.AssignmentExpression="AssignmentExpression",Ir.ConditionalExpression="ConditionalExpression",Ir.LogicalExpression="LogicalExpression",Ir.BinaryExpression="BinaryExpression",Ir.UnaryExpression="UnaryExpression",Ir.CallExpression="CallExpression",Ir.MemberExpression="MemberExpression",Ir.Identifier="Identifier",Ir.Literal="Literal",Ir.ArrayExpression="ArrayExpression",Ir.Property="Property",Ir.ObjectExpression="ObjectExpression",Ir.ThisExpression="ThisExpression",Ir.LocalsExpression="LocalsExpression",Ir.NGValueParameter="NGValueParameter",Ir.prototype={ast:function(e){return this.text=e,this.tokens=this.lexer.lex(e),e=this.program(),0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]),e},program:function(){for(var e=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&e.push(this.expressionStatement()),!this.expect(";"))return{type:Ir.Program,body:e}},expressionStatement:function(){return{type:Ir.ExpressionStatement,expression:this.filterChain()}},filterChain:function(){for(var e=this.expression();this.expect("|");)e=this.filter(e);return e},expression:function(){return this.assignment()},assignment:function(){var e=this.ternary();if(this.expect("=")){if(!Pt(e))throw Dr("lval");e={type:Ir.AssignmentExpression,left:e,right:this.assignment(),operator:"="}}return e},ternary:function(){var e,t,n=this.logicalOR();return this.expect("?")&&(e=this.expression(),this.consume(":"))?(t=this.expression(),{type:Ir.ConditionalExpression,test:n,alternate:e,consequent:t}):n},logicalOR:function(){for(var e=this.logicalAND();this.expect("||");)e={type:Ir.LogicalExpression,operator:"||",left:e,right:this.logicalAND()};return e},logicalAND:function(){for(var e=this.equality();this.expect("&&");)e={type:Ir.LogicalExpression,operator:"&&",left:e,right:this.equality()};return e},equality:function(){for(var e,t=this.relational();e=this.expect("==","!=","===","!==");)t={type:Ir.BinaryExpression,operator:e.text,left:t,right:this.relational()};return t},relational:function(){for(var e,t=this.additive();e=this.expect("<",">","<=",">=");)t={type:Ir.BinaryExpression,operator:e.text,left:t,right:this.additive()};return t},additive:function(){for(var e,t=this.multiplicative();e=this.expect("+","-");)t={type:Ir.BinaryExpression,operator:e.text,left:t,right:this.multiplicative()};return t},multiplicative:function(){for(var e,t=this.unary();e=this.expect("*","/","%");)t={type:Ir.BinaryExpression,operator:e.text,left:t,right:this.unary()};return t},unary:function(){var e;return(e=this.expect("+","-","!"))?{type:Ir.UnaryExpression,operator:e.text,prefix:!0,argument:this.unary()}:this.primary()},primary:function(){var e,t;for(this.expect("(")?(e=this.filterChain(),this.consume(")")):this.expect("[")?e=this.arrayDeclaration():this.expect("{")?e=this.object():this.selfReferential.hasOwnProperty(this.peek().text)?e=I(this.selfReferential[this.consume().text]):this.options.literals.hasOwnProperty(this.peek().text)?e={type:Ir.Literal,value:this.options.literals[this.consume().text]}:this.peek().identifier?e=this.identifier():this.peek().constant?e=this.constant():this.throwError("not a primary expression",this.peek());t=this.expect("(","[",".");)"("===t.text?(e={type:Ir.CallExpression,callee:e,arguments:this.parseArguments()},this.consume(")")):"["===t.text?(e={type:Ir.MemberExpression,object:e,property:this.expression(),computed:!0},this.consume("]")):"."===t.text?e={type:Ir.MemberExpression,object:e,property:this.identifier(),computed:!1}:this.throwError("IMPOSSIBLE");return e},filter:function(e){e=[e];for(var t={type:Ir.CallExpression,callee:this.identifier(),arguments:e,filter:!0};this.expect(":");)e.push(this.expression());return t},parseArguments:function(){var e=[];if(")"!==this.peekToken().text)do{e.push(this.filterChain())}while(this.expect(","));return e},identifier:function(){var e=this.consume();return e.identifier||this.throwError("is not a valid identifier",e),{type:Ir.Identifier,name:e.text}},constant:function(){return{type:Ir.Literal,value:this.consume().value}},arrayDeclaration:function(){var e=[];if("]"!==this.peekToken().text)do{if(this.peek("]"))break;e.push(this.expression())}while(this.expect(","));return this.consume("]"),{type:Ir.ArrayExpression,elements:e}},object:function(){var e,t=[];if("}"!==this.peekToken().text)do{if(this.peek("}"))break;e={type:Ir.Property,kind:"init"},this.peek().constant?(e.key=this.constant(),e.computed=!1,this.consume(":"),e.value=this.expression()):this.peek().identifier?(e.key=this.identifier(),e.computed=!1,this.peek(":")?(this.consume(":"),e.value=this.expression()):e.value=e.key):this.peek("[")?(this.consume("["),e.key=this.expression(),this.consume("]"),e.computed=!0,this.consume(":"),e.value=this.expression()):this.throwError("invalid key",this.peek()),t.push(e)}while(this.expect(","));return this.consume("}"),{type:Ir.ObjectExpression,properties:t}},throwError:function(e,t){throw Dr("syntax",t.text,e,t.index+1,this.text,this.text.substring(t.index))},consume:function(e){if(0===this.tokens.length)throw Dr("ueoe",this.text);var t=this.expect(e);return t||this.throwError("is unexpected, expecting ["+e+"]",this.peek()),t},peekToken:function(){if(0===this.tokens.length)throw Dr("ueoe",this.text);return this.tokens[0]},peek:function(e,t,n,i){return this.peekAhead(0,e,t,n,i)},peekAhead:function(e,t,n,i,r){if(this.tokens.length>e){var o=(e=this.tokens[e]).text;if(o===t||o===n||o===i||o===r||!(t||n||i||r))return e}return!1},expect:function(e,t,n,i){return!!(e=this.peek(e,t,n,i))&&(this.tokens.shift(),e)},selfReferential:{this:{type:Ir.ThisExpression},$locals:{type:Ir.LocalsExpression}}};var Lr=2;Lt.prototype={compile:function(e){var t=this;this.state={nextId:0,filters:{},fn:{vars:[],body:[],own:{}},assign:{vars:[],body:[],own:{}},inputs:[]},Mt(e,t.$filter);var n,i="";return this.stage="assign",(n=It(e))&&(this.state.computing="assign",i=this.nextId(),this.recurse(n,i),this.return_(i),i="fn.assign="+this.generateFunction("assign","s,v,l")),n=Nt(e.body),t.stage="inputs",o(n,(function(e,n){var i="fn"+n;t.state[i]={vars:[],body:[],own:{}},t.state.computing=i;var r=t.nextId();t.recurse(e,r),t.return_(r),t.state.inputs.push({name:i,isPure:e.isPure}),e.watchId=n})),this.state.computing="fn",this.stage="main",this.recurse(e),e='"'+this.USE+" "+this.STRICT+'";\n'+this.filterPrefix()+"var fn="+this.generateFunction("fn","s,l,a,i")+i+this.watchFns()+"return fn;",e=new Function("$filter","getStringValue","ifDefined","plus",e)(this.$filter,At,Dt,Ot),this.state=this.stage=void 0,e},USE:"use",STRICT:"strict",watchFns:function(){var e=[],t=this.state.inputs,n=this;return o(t,(function(t){e.push("var "+t.name+"="+n.generateFunction(t.name,"s")),t.isPure&&e.push(t.name,".isPure="+JSON.stringify(t.isPure)+";")})),t.length&&e.push("fn.inputs=["+t.map((function(e){return e.name})).join(",")+"];"),e.join("")},generateFunction:function(e,t){return"function("+t+"){"+this.varsPrefix(e)+this.body(e)+"};"},filterPrefix:function(){var e=[],t=this;return o(this.state.filters,(function(n,i){e.push(n+"=$filter("+t.escape(i)+")")})),e.length?"var "+e.join(",")+";":""},varsPrefix:function(e){return this.state[e].vars.length?"var "+this.state[e].vars.join(",")+";":""},body:function(e){return this.state[e].body.join("")},recurse:function(e,t,n,i,r,s){var a,l,c,u,d,h=this;if(i=i||p,!s&&y(e.watchId))t=t||this.nextId(),this.if_("i",this.lazyAssign(t,this.computedMember("i",e.watchId)),this.lazyRecurse(e,t,n,i,r,!0));else switch(e.type){case Ir.Program:o(e.body,(function(t,n){h.recurse(t.expression,void 0,void 0,(function(e){l=e})),n!==e.body.length-1?h.current().body.push(l,";"):h.return_(l)}));break;case Ir.Literal:u=this.escape(e.value),this.assign(t,u),i(t||u);break;case Ir.UnaryExpression:this.recurse(e.argument,void 0,void 0,(function(e){l=e})),u=e.operator+"("+this.ifDefined(l,0)+")",this.assign(t,u),i(u);break;case Ir.BinaryExpression:this.recurse(e.left,void 0,void 0,(function(e){a=e})),this.recurse(e.right,void 0,void 0,(function(e){l=e})),u="+"===e.operator?this.plus(a,l):"-"===e.operator?this.ifDefined(a,0)+e.operator+this.ifDefined(l,0):"("+a+")"+e.operator+"("+l+")",this.assign(t,u),i(u);break;case Ir.LogicalExpression:t=t||this.nextId(),h.recurse(e.left,t),h.if_("&&"===e.operator?t:h.not(t),h.lazyRecurse(e.right,t)),i(t);break;case Ir.ConditionalExpression:t=t||this.nextId(),h.recurse(e.test,t),h.if_(t,h.lazyRecurse(e.alternate,t),h.lazyRecurse(e.consequent,t)),i(t);break;case Ir.Identifier:t=t||this.nextId(),n&&(n.context="inputs"===h.stage?"s":this.assign(this.nextId(),this.getHasOwnProperty("l",e.name)+"?l:s"),n.computed=!1,n.name=e.name),h.if_("inputs"===h.stage||h.not(h.getHasOwnProperty("l",e.name)),(function(){h.if_("inputs"===h.stage||"s",(function(){r&&1!==r&&h.if_(h.isNull(h.nonComputedMember("s",e.name)),h.lazyAssign(h.nonComputedMember("s",e.name),"{}")),h.assign(t,h.nonComputedMember("s",e.name))}))}),t&&h.lazyAssign(t,h.nonComputedMember("l",e.name))),i(t);break;case Ir.MemberExpression:a=n&&(n.context=this.nextId())||this.nextId(),t=t||this.nextId(),h.recurse(e.object,a,void 0,(function(){h.if_(h.notNull(a),(function(){e.computed?(l=h.nextId(),h.recurse(e.property,l),h.getStringValue(l),r&&1!==r&&h.if_(h.not(h.computedMember(a,l)),h.lazyAssign(h.computedMember(a,l),"{}")),u=h.computedMember(a,l),h.assign(t,u),n&&(n.computed=!0,n.name=l)):(r&&1!==r&&h.if_(h.isNull(h.nonComputedMember(a,e.property.name)),h.lazyAssign(h.nonComputedMember(a,e.property.name),"{}")),u=h.nonComputedMember(a,e.property.name),h.assign(t,u),n&&(n.computed=!1,n.name=e.property.name))}),(function(){h.assign(t,"undefined")})),i(t)}),!!r);break;case Ir.CallExpression:t=t||this.nextId(),e.filter?(l=h.filter(e.callee.name),c=[],o(e.arguments,(function(e){var t=h.nextId();h.recurse(e,t),c.push(t)})),u=l+"("+c.join(",")+")",h.assign(t,u),i(t)):(l=h.nextId(),a={},c=[],h.recurse(e.callee,l,a,(function(){h.if_(h.notNull(l),(function(){o(e.arguments,(function(t){h.recurse(t,e.constant?void 0:h.nextId(),void 0,(function(e){c.push(e)}))})),u=a.name?h.member(a.context,a.name,a.computed)+"("+c.join(",")+")":l+"("+c.join(",")+")",h.assign(t,u)}),(function(){h.assign(t,"undefined")})),i(t)})));break;case Ir.AssignmentExpression:l=this.nextId(),a={},this.recurse(e.left,void 0,a,(function(){h.if_(h.notNull(a.context),(function(){h.recurse(e.right,l),u=h.member(a.context,a.name,a.computed)+e.operator+l,h.assign(t,u),i(t||u)}))}),1);break;case Ir.ArrayExpression:c=[],o(e.elements,(function(t){h.recurse(t,e.constant?void 0:h.nextId(),void 0,(function(e){c.push(e)}))})),u="["+c.join(",")+"]",this.assign(t,u),i(t||u);break;case Ir.ObjectExpression:c=[],d=!1,o(e.properties,(function(e){e.computed&&(d=!0)})),d?(t=t||this.nextId(),this.assign(t,"{}"),o(e.properties,(function(e){e.computed?(a=h.nextId(),h.recurse(e.key,a)):a=e.key.type===Ir.Identifier?e.key.name:""+e.key.value,l=h.nextId(),h.recurse(e.value,l),h.assign(h.member(t,a,e.computed),l)}))):(o(e.properties,(function(t){h.recurse(t.value,e.constant?void 0:h.nextId(),void 0,(function(e){c.push(h.escape(t.key.type===Ir.Identifier?t.key.name:""+t.key.value)+":"+e)}))})),u="{"+c.join(",")+"}",this.assign(t,u)),i(t||u);break;case Ir.ThisExpression:this.assign(t,"s"),i(t||"s");break;case Ir.LocalsExpression:this.assign(t,"l"),i(t||"l");break;case Ir.NGValueParameter:this.assign(t,"v"),i(t||"v")}},getHasOwnProperty:function(e,t){var n=e+"."+t,i=this.current().own;return i.hasOwnProperty(n)||(i[n]=this.nextId(!1,e+"&&("+this.escape(t)+" in "+e+")")),i[n]},assign:function(e,t){if(e)return this.current().body.push(e,"=",t,";"),e},filter:function(e){return this.state.filters.hasOwnProperty(e)||(this.state.filters[e]=this.nextId(!0)),this.state.filters[e]},ifDefined:function(e,t){return"ifDefined("+e+","+this.escape(t)+")"},plus:function(e,t){return"plus("+e+","+t+")"},return_:function(e){this.current().body.push("return ",e,";")},if_:function(e,t,n){if(!0===e)t();else{var i=this.current().body;i.push("if(",e,"){"),t(),i.push("}"),n&&(i.push("else{"),n(),i.push("}"))}},not:function(e){return"!("+e+")"},isNull:function(e){return e+"==null"},notNull:function(e){return e+"!=null"},nonComputedMember:function(e,t){return/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(t)?e+"."+t:e+'["'+t.replace(/[^$_a-zA-Z0-9]/g,this.stringEscapeFn)+'"]'},computedMember:function(e,t){return e+"["+t+"]"},member:function(e,t,n){return n?this.computedMember(e,t):this.nonComputedMember(e,t)},getStringValue:function(e){this.assign(e,"getStringValue("+e+")")},lazyRecurse:function(e,t,n,i,r,o){var s=this;return function(){s.recurse(e,t,n,i,r,o)}},lazyAssign:function(e,t){var n=this;return function(){n.assign(e,t)}},stringEscapeRegex:/[^ a-zA-Z0-9]/g,stringEscapeFn:function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)},escape:function(e){if(k(e))return"'"+e.replace(this.stringEscapeRegex,this.stringEscapeFn)+"'";if(S(e))return e.toString();if(!0===e)return"true";if(!1===e)return"false";if(null===e)return"null";if(void 0===e)return"undefined";throw Dr("esc")},nextId:function(e,t){var n="v"+this.state.nextId++;return e||this.current().vars.push(n+(t?"="+t:"")),n},current:function(){return this.state[this.state.computing]}},jt.prototype={compile:function(e){var t,n,i,r=this;Mt(e,r.$filter),(t=It(e))&&(n=this.recurse(t)),(t=Nt(e.body))&&(i=[],o(t,(function(e,t){var n=r.recurse(e);n.isPure=e.isPure,e.input=n,i.push(n),e.watchId=t})));var s=[];return o(e.body,(function(e){s.push(r.recurse(e.expression))})),e=0===e.body.length?p:1===e.body.length?s[0]:function(e,t){var n;return o(s,(function(i){n=i(e,t)})),n},n&&(e.assign=function(e,t,i){return n(e,i,t)}),i&&(e.inputs=i),e},recurse:function(e,t,n){var i,r,s,a=this;if(e.input)return this.inputs(e.input,e.watchId);switch(e.type){case Ir.Literal:return this.value(e.value,t);case Ir.UnaryExpression:return r=this.recurse(e.argument),this["unary"+e.operator](r,t);case Ir.BinaryExpression:case Ir.LogicalExpression:return i=this.recurse(e.left),r=this.recurse(e.right),this["binary"+e.operator](i,r,t);case Ir.ConditionalExpression:return this["ternary?:"](this.recurse(e.test),this.recurse(e.alternate),this.recurse(e.consequent),t);case Ir.Identifier:return a.identifier(e.name,t,n);case Ir.MemberExpression:return i=this.recurse(e.object,!1,!!n),e.computed||(r=e.property.name),e.computed&&(r=this.recurse(e.property)),e.computed?this.computedMember(i,r,t,n):this.nonComputedMember(i,r,t,n);case Ir.CallExpression:return s=[],o(e.arguments,(function(e){s.push(a.recurse(e))})),e.filter&&(r=this.$filter(e.callee.name)),e.filter||(r=this.recurse(e.callee,!0)),e.filter?function(e,n,i,o){for(var a=[],l=0;l<s.length;++l)a.push(s[l](e,n,i,o));return e=r.apply(void 0,a,o),t?{context:void 0,name:void 0,value:e}:e}:function(e,n,i,o){var a,l=r(e,n,i,o);if(null!=l.value){a=[];for(var c=0;c<s.length;++c)a.push(s[c](e,n,i,o));a=l.value.apply(l.context,a)}return t?{value:a}:a};case Ir.AssignmentExpression:return i=this.recurse(e.left,!0,1),r=this.recurse(e.right),function(e,n,o,s){var a=i(e,n,o,s);return e=r(e,n,o,s),a.context[a.name]=e,t?{value:e}:e};case Ir.ArrayExpression:return s=[],o(e.elements,(function(e){s.push(a.recurse(e))})),function(e,n,i,r){for(var o=[],a=0;a<s.length;++a)o.push(s[a](e,n,i,r));return t?{value:o}:o};case Ir.ObjectExpression:return s=[],o(e.properties,(function(e){e.computed?s.push({key:a.recurse(e.key),computed:!0,value:a.recurse(e.value)}):s.push({key:e.key.type===Ir.Identifier?e.key.name:""+e.key.value,computed:!1,value:a.recurse(e.value)})})),function(e,n,i,r){for(var o={},a=0;a<s.length;++a)s[a].computed?o[s[a].key(e,n,i,r)]=s[a].value(e,n,i,r):o[s[a].key]=s[a].value(e,n,i,r);return t?{value:o}:o};case Ir.ThisExpression:return function(e){return t?{value:e}:e};case Ir.LocalsExpression:return function(e,n){return t?{value:n}:n};case Ir.NGValueParameter:return function(e,n,i){return t?{value:i}:i}}},"unary+":function(e,t){return function(n,i,r,o){return n=y(n=e(n,i,r,o))?+n:0,t?{value:n}:n}},"unary-":function(e,t){return function(n,i,r,o){return n=y(n=e(n,i,r,o))?-n:-0,t?{value:n}:n}},"unary!":function(e,t){return function(n,i,r,o){return n=!e(n,i,r,o),t?{value:n}:n}},"binary+":function(e,t,n){return function(i,r,o,s){var a=e(i,r,o,s);return a=Ot(a,i=t(i,r,o,s)),n?{value:a}:a}},"binary-":function(e,t,n){return function(i,r,o,s){var a=e(i,r,o,s);return i=t(i,r,o,s),a=(y(a)?a:0)-(y(i)?i:0),n?{value:a}:a}},"binary*":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)*t(i,r,o,s),n?{value:i}:i}},"binary/":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)/t(i,r,o,s),n?{value:i}:i}},"binary%":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)%t(i,r,o,s),n?{value:i}:i}},"binary===":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)===t(i,r,o,s),n?{value:i}:i}},"binary!==":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)!==t(i,r,o,s),n?{value:i}:i}},"binary==":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)==t(i,r,o,s),n?{value:i}:i}},"binary!=":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)!=t(i,r,o,s),n?{value:i}:i}},"binary<":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)<t(i,r,o,s),n?{value:i}:i}},"binary>":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)>t(i,r,o,s),n?{value:i}:i}},"binary<=":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)<=t(i,r,o,s),n?{value:i}:i}},"binary>=":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)>=t(i,r,o,s),n?{value:i}:i}},"binary&&":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)&&t(i,r,o,s),n?{value:i}:i}},"binary||":function(e,t,n){return function(i,r,o,s){return i=e(i,r,o,s)||t(i,r,o,s),n?{value:i}:i}},"ternary?:":function(e,t,n,i){return function(r,o,s,a){return r=e(r,o,s,a)?t(r,o,s,a):n(r,o,s,a),i?{value:r}:r}},value:function(e,t){return function(){return t?{context:void 0,name:void 0,value:e}:e}},identifier:function(e,t,n){return function(i,r,o,s){return i=r&&e in r?r:i,n&&1!==n&&i&&null==i[e]&&(i[e]={}),r=i?i[e]:void 0,t?{context:i,name:e,value:r}:r}},computedMember:function(e,t,n,i){return function(r,o,s,a){var l,c,u=e(r,o,s,a);return null!=u&&(l=t(r,o,s,a),l+="",i&&1!==i&&u&&!u[l]&&(u[l]={}),c=u[l]),n?{context:u,name:l,value:c}:c}},nonComputedMember:function(e,t,n,i){return function(r,o,s,a){return r=e(r,o,s,a),i&&1!==i&&r&&null==r[t]&&(r[t]={}),o=null!=r?r[t]:void 0,n?{context:r,name:t,value:o}:o}},inputs:function(e,t){return function(n,i,r,o){return o?o[t]:e(n,i,r)}}},Rt.prototype={constructor:Rt,parse:function(e){e=this.getAst(e);var t=this.astCompiler.compile(e.ast),n=e.ast;return t.literal=0===n.body.length||1===n.body.length&&(n.body[0].expression.type===Ir.Literal||n.body[0].expression.type===Ir.ArrayExpression||n.body[0].expression.type===Ir.ObjectExpression),t.constant=e.ast.constant,t.oneTime=e.oneTime,t},getAst:function(e){var t=!1;return":"===(e=e.trim()).charAt(0)&&":"===e.charAt(1)&&(t=!0,e=e.substring(2)),{ast:this.ast.ast(e),oneTime:t}}};var jr,Rr=i("$sce"),Hr={HTML:"html",CSS:"css",MEDIA_URL:"mediaUrl",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Vr=/_([a-z])/g,Fr=i("$templateRequest"),Ur=i("$timeout"),qr=e.document.createElement("a"),Br=nn(e.location.href);qr.href="http://[::1]";var zr="[::1]"===qr.hostname;sn.$inject=["$document"],ln.$inject=["$provide"];var Wr=22,Yr=".",Gr="0";hn.$inject=["$locale"],fn.$inject=["$locale"];var Kr={yyyy:mn("FullYear",4,0,!1,!0),yy:mn("FullYear",2,0,!0,!0),y:mn("FullYear",1,0,!1,!0),MMMM:vn("Month"),MMM:vn("Month",!0),MM:mn("Month",2,1),M:mn("Month",1,1),LLLL:vn("Month",!1,!0),dd:mn("Date",2),d:mn("Date",1),HH:mn("Hours",2),H:mn("Hours",1),hh:mn("Hours",2,-12),h:mn("Hours",1,-12),mm:mn("Minutes",2),m:mn("Minutes",1),ss:mn("Seconds",2),s:mn("Seconds",1),sss:mn("Milliseconds",3),EEEE:vn("Day"),EEE:vn("Day",!0),a:function(e,t){return 12>e.getHours()?t.AMPMS[0]:t.AMPMS[1]},Z:function(e,t,n){return(0<=(e=-1*n)?"+":"")+(gn(Math[0<e?"floor":"ceil"](e/60),2)+gn(Math.abs(e%60),2))},ww:yn(2),w:yn(1),G:bn,GG:bn,GGG:bn,GGGG:function(e,t){return 0>=e.getFullYear()?t.ERANAMES[0]:t.ERANAMES[1]}},Qr=/((?:[^yMLdHhmsaZEwG']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|L+|d+|H+|h+|m+|s+|a|Z|G+|w+))([\s\S]*)/,Jr=/^-?\d+$/;wn.$inject=["$locale"];var Xr=m(ni),Zr=m(ii);Cn.$inject=["$parse"];var eo=m({restrict:"E",compile:function(e,t){if(!t.href&&!t.xlinkHref)return function(e,t){if("a"===t[0].nodeName.toLowerCase()){var n="[object SVGAnimatedString]"===ai.call(t.prop("href"))?"xlink:href":"href";t.on("click",(function(e){t.attr(n)||e.preventDefault()}))}}}}),to={};o(Bi,(function(e,t){function n(e,n,r){e.$watch(r[i],(function(e){r.$set(t,!!e)}))}if("multiple"!==e){var i=Qe("ng-"+t),r=n;"checked"===e&&(r=function(e,t,r){r.ngModel!==r[i]&&n(e,0,r)}),to[i]=function(){return{restrict:"A",priority:100,link:r}}}})),o(Wi,(function(e,t){to[t]=function(){return{priority:100,link:function(e,n,i){"ngPattern"===t&&"/"===i.ngPattern.charAt(0)&&(n=i.ngPattern.match(ei))?i.$set("ngPattern",new RegExp(n[1],n[2])):e.$watch(i[t],(function(e){i.$set(t,e)}))}}}})),o(["src","srcset","href"],(function(e){var t=Qe("ng-"+e);to[t]=["$sce",function(n){return{priority:99,link:function(i,r,o){var s=e,a=e;"href"===e&&"[object SVGAnimatedString]"===ai.call(r.prop("href"))&&(a="xlinkHref",o.$attr[a]="xlink:href",s=null),o.$set(t,n.getTrustedMediaUrl(o[t])),o.$observe(t,(function(t){t?(o.$set(a,t),Kn&&s&&r.prop(s,o[a])):"href"===e&&o.$set(a,null)}))}}}]}));var no={$addControl:p,$getControls:m([]),$$renameControl:function(e,t){e.$name=t},$removeControl:p,$setValidity:p,$setDirty:p,$setPristine:p,$setSubmitted:p,$$setSubmitted:p};Tn.$inject=["$element","$attrs","$scope","$animate","$interpolate"],Tn.prototype={$rollbackViewValue:function(){o(this.$$controls,(function(e){e.$rollbackViewValue()}))},$commitViewValue:function(){o(this.$$controls,(function(e){e.$commitViewValue()}))},$addControl:function(e){oe(e.$name,"input"),this.$$controls.push(e),e.$name&&(this[e.$name]=e),e.$$parentForm=this},$getControls:function(){return ce(this.$$controls)},$$renameControl:function(e,t){var n=e.$name;this[n]===e&&delete this[n],this[t]=e,e.$name=t},$removeControl:function(e){e.$name&&this[e.$name]===e&&delete this[e.$name],o(this.$pending,(function(t,n){this.$setValidity(n,null,e)}),this),o(this.$error,(function(t,n){this.$setValidity(n,null,e)}),this),o(this.$$success,(function(t,n){this.$setValidity(n,null,e)}),this),P(this.$$controls,e),e.$$parentForm=no},$setDirty:function(){this.$$animate.removeClass(this.$$element,Vo),this.$$animate.addClass(this.$$element,Fo),this.$dirty=!0,this.$pristine=!1,this.$$parentForm.$setDirty()},$setPristine:function(){this.$$animate.setClass(this.$$element,Vo,Fo+" ng-submitted"),this.$dirty=!1,this.$pristine=!0,this.$submitted=!1,o(this.$$controls,(function(e){e.$setPristine()}))},$setUntouched:function(){o(this.$$controls,(function(e){e.$setUntouched()}))},$setSubmitted:function(){for(var e=this;e.$$parentForm&&e.$$parentForm!==no;)e=e.$$parentForm;e.$$setSubmitted()},$$setSubmitted:function(){this.$$animate.addClass(this.$$element,"ng-submitted"),this.$submitted=!0,o(this.$$controls,(function(e){e.$$setSubmitted&&e.$$setSubmitted()}))}},An({clazz:Tn,set:function(e,t,n){var i=e[t];i?-1===i.indexOf(n)&&i.push(n):e[t]=[n]},unset:function(e,t,n){var i=e[t];i&&(P(i,n),0===i.length&&delete e[t])}});var io=function(e){return["$timeout","$parse",function(t,n){function i(e){return""===e?n('this[""]').assign:n(e).assign||p}return{name:"form",restrict:e?"EAC":"E",require:["form","^^?form"],controller:Tn,compile:function(n,r){n.addClass(Vo).addClass(Ro);var o=r.name?"name":!(!e||!r.ngForm)&&"ngForm";return{pre:function(e,n,r,s){var a=s[0];if(!("action"in r)){var l=function(t){e.$apply((function(){a.$commitViewValue(),a.$setSubmitted()})),t.preventDefault()};n[0].addEventListener("submit",l),n.on("$destroy",(function(){t((function(){n[0].removeEventListener("submit",l)}),0,!1)}))}(s[1]||a.$$parentForm).$addControl(a);var c=o?i(a.$name):p;o&&(c(e,a),r.$observe(o,(function(t){a.$name!==t&&(c(e,void 0),a.$$parentForm.$$renameControl(a,t),(c=i(a.$name))(e,a))}))),n.on("$destroy",(function(){a.$$parentForm.$removeControl(a),c(e,void 0),u(a,no)}))}}}}}]},ro=io(),oo=io(!0),so=/^\d{4,}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+(?:[+-][0-2]\d:[0-5]\d|Z)$/,ao=/^[a-z][a-z\d.+-]*:\/*(?:[^:@]+(?::[^@]+)?@)?(?:[^\s:/?#]+|\[[a-f\d:]+])(?::\d+)?(?:\/[^?#]*)?(?:\?[^#]*)?(?:#.*)?$/i,lo=/^(?=.{1,254}$)(?=.{1,64}@)[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+(\.[-!#$%&'*+/0-9=?A-Z^_`a-z{|}~]+)*@[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?(\.[A-Za-z0-9]([A-Za-z0-9-]{0,61}[A-Za-z0-9])?)*$/,co=/^\s*(-|\+)?(\d+|(\d*(\.\d*)))([eE][+-]?\d+)?\s*$/,uo=/^(\d{4,})-(\d{2})-(\d{2})$/,ho=/^(\d{4,})-(\d\d)-(\d\d)T(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,fo=/^(\d{4,})-W(\d\d)$/,po=/^(\d{4,})-(\d\d)$/,go=/^(\d\d):(\d\d)(?::(\d\d)(\.\d{1,3})?)?$/,mo=ae();o(["date","datetime-local","month","time","week"],(function(e){mo[e]=!0}));var vo={text:function(e,t,n,i,r,o){Mn(0,t,n,i,r,o),On(i)},date:Pn("date",uo,Nn(uo,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":Pn("datetimelocal",ho,Nn(ho,"yyyy MM dd HH mm ss sss".split(" ")),"yyyy-MM-ddTHH:mm:ss.sss"),time:Pn("time",go,Nn(go,["HH","mm","ss","sss"]),"HH:mm:ss.sss"),week:Pn("week",fo,(function(e,t){if(_(e))return e;if(k(e)){fo.lastIndex=0;var n=fo.exec(e);if(n){var i=+n[1],r=+n[2],o=n=0,s=0,a=0,l=$n(i);r=7*(r-1);return t&&(n=t.getHours(),o=t.getMinutes(),s=t.getSeconds(),a=t.getMilliseconds()),new Date(i,0,l.getDate()+r,n,o,s,a)}}return NaN}),"yyyy-Www"),month:Pn("month",po,Nn(po,["yyyy","MM"]),"yyyy-MM"),number:function(e,t,n,i,r,o,s,a){var l;if(In(0,t,0,i,"number"),Ln(i),Mn(0,t,n,i,r,o),y(n.min)||n.ngMin){var c=n.min||a(n.ngMin)(e);l=jn(c),i.$validators.min=function(e,t){return i.$isEmpty(t)||$(l)||t>=l},n.$observe("min",(function(e){e!==c&&(l=jn(e),c=e,i.$validate())}))}if(y(n.max)||n.ngMax){var u=n.max||a(n.ngMax)(e),d=jn(u);i.$validators.max=function(e,t){return i.$isEmpty(t)||$(d)||t<=d},n.$observe("max",(function(e){e!==u&&(d=jn(e),u=e,i.$validate())}))}if(y(n.step)||n.ngStep){var h=n.step||a(n.ngStep)(e),f=jn(h);i.$validators.step=function(e,t){return i.$isEmpty(t)||$(f)||Hn(t,l||0,f)},n.$observe("step",(function(e){e!==h&&(f=jn(e),h=e,i.$validate())}))}},url:function(e,t,n,i,r,o){Mn(0,t,n,i,r,o),On(i),i.$validators.url=function(e,t){var n=e||t;return i.$isEmpty(n)||ao.test(n)}},email:function(e,t,n,i,r,o){Mn(0,t,n,i,r,o),On(i),i.$validators.email=function(e,t){var n=e||t;return i.$isEmpty(n)||lo.test(n)}},radio:function(e,t,n,i){var r=!n.ngTrim||"false"!==mi(n.ngTrim);$(n.name)&&t.attr("name",++di),t.on("change",(function(e){var o;t[0].checked&&(o=n.value,r&&(o=mi(o)),i.$setViewValue(o,e&&e.type))})),i.$render=function(){var e=n.value;r&&(e=mi(e)),t[0].checked=e===i.$viewValue},n.$observe("value",i.$render)},range:function(e,t,n,i,r,o){function s(e,i){t.attr(e,n[e]);var r=n[e];n.$observe(e,(function(e){e!==r&&(r=e,i(e))}))}In(0,t,0,i,"range"),Ln(i),Mn(0,t,n,i,r,o);var a=i.$$hasNativeValidators&&"range"===t[0].type,l=a?0:void 0,c=a?100:void 0,u=a?1:void 0,d=t[0].validity;e=y(n.min),r=y(n.max),o=y(n.step);var h=i.$render;i.$render=a&&y(d.rangeUnderflow)&&y(d.rangeOverflow)?function(){h(),i.$setViewValue(t.val())}:h,e&&(l=jn(n.min),i.$validators.min=a?function(){return!0}:function(e,t){return i.$isEmpty(t)||$(l)||t>=l},s("min",(function(e){l=jn(e),hi(i.$modelValue)||(a?(e=t.val(),l>e&&(e=l,t.val(e)),i.$setViewValue(e)):i.$validate())}))),r&&(c=jn(n.max),i.$validators.max=a?function(){return!0}:function(e,t){return i.$isEmpty(t)||$(c)||t<=c},s("max",(function(e){c=jn(e),hi(i.$modelValue)||(a?(e=t.val(),c<e&&(t.val(c),e=c<l?l:c),i.$setViewValue(e)):i.$validate())}))),o&&(u=jn(n.step),i.$validators.step=a?function(){return!d.stepMismatch}:function(e,t){return i.$isEmpty(t)||$(u)||Hn(t,l||0,u)},s("step",(function(e){u=jn(e),hi(i.$modelValue)||(a?i.$viewValue!==t.val()&&i.$setViewValue(t.val()):i.$validate())})))},checkbox:function(e,t,n,i,r,o,s,a){var l=Vn(a,e,"ngTrueValue",n.ngTrueValue,!0),c=Vn(a,e,"ngFalseValue",n.ngFalseValue,!1);t.on("change",(function(e){i.$setViewValue(t[0].checked,e&&e.type)})),i.$render=function(){t[0].checked=i.$viewValue},i.$isEmpty=function(e){return!1===e},i.$formatters.push((function(e){return j(e,l)})),i.$parsers.push((function(e){return e?l:c}))},hidden:p,button:p,submit:p,reset:p,file:p},$o=["$browser","$sniffer","$filter","$parse",function(e,t,n,i){return{restrict:"E",require:["?ngModel"],link:{pre:function(r,o,s,a){a[0]&&(vo[ni(s.type)]||vo.text)(r,o,s,a[0],t,e,n,i)}}}}],yo=function(){var e={configurable:!0,enumerable:!1,get:function(){return this.getAttribute("value")||""},set:function(e){this.setAttribute("value",e)}};return{restrict:"E",priority:200,compile:function(t,n){if("hidden"===ni(n.type))return{pre:function(t,n,i,r){(t=n[0]).parentNode&&t.parentNode.insertBefore(t,t.nextSibling),Object.defineProperty&&Object.defineProperty(t,"value",e)}}}}},bo=/^(true|false|\d+)$/,wo=function(){function e(e,t,n){var i=y(n)?n:9===Kn?"":null;e.prop("value",i),t.$set("value",n)}return{restrict:"A",priority:100,compile:function(t,n){return bo.test(n.ngValue)?function(t,n,i){e(n,i,t=t.$eval(i.ngValue))}:function(t,n,i){t.$watch(i.ngValue,(function(t){e(n,i,t)}))}}}},ko=["$compile",function(e){return{restrict:"AC",compile:function(t){return e.$$addBindingClass(t),function(t,n,i){e.$$addBindingInfo(n,i.ngBind),n=n[0],t.$watch(i.ngBind,(function(e){n.textContent=le(e)}))}}}}],So=["$interpolate","$compile",function(e,t){return{compile:function(n){return t.$$addBindingClass(n),function(n,i,r){n=e(i.attr(r.$attr.ngBindTemplate)),t.$$addBindingInfo(i,n.expressions),i=i[0],r.$observe("ngBindTemplate",(function(e){i.textContent=$(e)?"":e}))}}}}],_o=["$sce","$parse","$compile",function(e,t,n){return{restrict:"A",compile:function(i,r){var o=t(r.ngBindHtml),s=t(r.ngBindHtml,(function(t){return e.valueOf(t)}));return n.$$addBindingClass(i),function(t,i,r){n.$$addBindingInfo(i,r.ngBindHtml),t.$watch(s,(function(){var n=o(t);i.html(e.getTrustedHtml(n)||"")}))}}}}],Co=m({restrict:"A",require:"ngModel",link:function(e,t,n,i){i.$viewChangeListeners.push((function(){e.$eval(n.ngChange)}))}}),xo=Fn("",!0),To=Fn("Odd",0),Eo=Fn("Even",1),Ao=xn({compile:function(e,t){t.$set("ngCloak",void 0),e.removeClass("ng-cloak")}}),Do=[function(){return{restrict:"A",scope:!0,controller:"@",priority:500}}],Oo={},Mo={blur:!0,focus:!0};o("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),(function(e){var t=Qe("ng-"+e);Oo[t]=["$parse","$rootScope","$exceptionHandler",function(n,i,r){return Un(n,i,r,t,e,Mo[e])}]}));var No=["$animate","$compile",function(e,t){return{multiElement:!0,transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(n,i,r,o,s){var a,l,c;n.$watch(r.ngIf,(function(n){n?l||s((function(n,o){l=o,n[n.length++]=t.$$createComment("end ngIf",r.ngIf),a={clone:n},e.enter(n,i.parent(),i)})):(c&&(c.remove(),c=null),l&&(l.$destroy(),l=null),a&&(c=se(a.clone),e.leave(c).done((function(e){!1!==e&&(c=null)})),a=null))}))}}}],Po=["$templateRequest","$anchorScroll","$animate",function(e,t,n){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:ui.noop,compile:function(i,r){var o=r.ngInclude||r.src,s=r.onload||"",a=r.autoscroll;return function(i,r,l,c,u){var d,h,f,p=0,g=function(){h&&(h.remove(),h=null),d&&(d.$destroy(),d=null),f&&(n.leave(f).done((function(e){!1!==e&&(h=null)})),h=f,f=null)};i.$watch(o,(function(o){var l=function(e){!1===e||!y(a)||a&&!i.$eval(a)||t()},h=++p;o?(e(o,!0).then((function(e){if(!i.$$destroyed&&h===p){var t=i.$new();c.template=e,e=u(t,(function(e){g(),n.enter(e,null,r).done(l)})),f=e,(d=t).$emit("$includeContentLoaded",o),i.$eval(s)}}),(function(){i.$$destroyed||h!==p||(g(),i.$emit("$includeContentError",o))})),i.$emit("$includeContentRequested",o)):(g(),c.template=null)}))}}}}],Io=["$compile",function(t){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(n,i,r,o){ai.call(i[0]).match(/SVG/)?(i.empty(),t(pe(o.template,e.document).childNodes)(n,(function(e){i.append(e)}),{futureParentElement:i})):(i.html(o.template),t(i.contents())(n))}}}],Lo=xn({priority:450,compile:function(){return{pre:function(e,t,n){e.$eval(n.ngInit)}}}}),jo=function(){return{restrict:"A",priority:100,require:"ngModel",link:function(e,t,n,i){var r=n.ngList||", ",s="false"!==n.ngTrim,a=s?mi(r):r;i.$parsers.push((function(e){if(!$(e)){var t=[];return e&&o(e.split(a),(function(e){e&&t.push(s?mi(e):e)})),t}})),i.$formatters.push((function(e){if(C(e))return e.join(r)})),i.$isEmpty=function(e){return!e||!e.length}}}},Ro="ng-valid",Ho="ng-invalid",Vo="ng-pristine",Fo="ng-dirty",Uo=i("ngModel");qn.$inject="$scope $exceptionHandler $attrs $element $parse $animate $timeout $q $interpolate".split(" "),qn.prototype={$$initGetterSetters:function(){if(this.$options.getOption("getterSetter")){var e=this.$$parse(this.$$attr.ngModel+"()"),t=this.$$parse(this.$$attr.ngModel+"($$$p)");this.$$ngModelGet=function(t){var n=this.$$parsedNgModel(t);return T(n)&&(n=e(t)),n},this.$$ngModelSet=function(e,n){T(this.$$parsedNgModel(e))?t(e,{$$$p:n}):this.$$parsedNgModelAssign(e,n)}}else if(!this.$$parsedNgModel.assign)throw Uo("nonassign",this.$$attr.ngModel,W(this.$$element))},$render:p,$isEmpty:function(e){return $(e)||""===e||null===e||e!=e},$$updateEmptyClasses:function(e){this.$isEmpty(e)?(this.$$animate.removeClass(this.$$element,"ng-not-empty"),this.$$animate.addClass(this.$$element,"ng-empty")):(this.$$animate.removeClass(this.$$element,"ng-empty"),this.$$animate.addClass(this.$$element,"ng-not-empty"))},$setPristine:function(){this.$dirty=!1,this.$pristine=!0,this.$$animate.removeClass(this.$$element,Fo),this.$$animate.addClass(this.$$element,Vo)},$setDirty:function(){this.$dirty=!0,this.$pristine=!1,this.$$animate.removeClass(this.$$element,Vo),this.$$animate.addClass(this.$$element,Fo),this.$$parentForm.$setDirty()},$setUntouched:function(){this.$touched=!1,this.$untouched=!0,this.$$animate.setClass(this.$$element,"ng-untouched","ng-touched")},$setTouched:function(){this.$touched=!0,this.$untouched=!1,this.$$animate.setClass(this.$$element,"ng-touched","ng-untouched")},$rollbackViewValue:function(){this.$$timeout.cancel(this.$$pendingDebounce),this.$viewValue=this.$$lastCommittedViewValue,this.$render()},$validate:function(){if(!hi(this.$modelValue)){var e=this.$$lastCommittedViewValue,t=this.$$rawModelValue,n=this.$valid,i=this.$modelValue,r=this.$options.getOption("allowInvalid"),o=this;this.$$runValidators(t,e,(function(e){r||n===e||(o.$modelValue=e?t:void 0,o.$modelValue!==i&&o.$$writeModelToScope())}))}},$$runValidators:function(e,t,n){function i(e,t){s===a.$$currentValidationRunId&&a.$setValidity(e,t)}function r(e){s===a.$$currentValidationRunId&&n(e)}this.$$currentValidationRunId++;var s=this.$$currentValidationRunId,a=this;!function(){var e=a.$$parserName;return $(a.$$parserValid)?(i(e,null),!0):(a.$$parserValid||(o(a.$validators,(function(e,t){i(t,null)})),o(a.$asyncValidators,(function(e,t){i(t,null)}))),i(e,a.$$parserValid),a.$$parserValid)}()?r(!1):function(){var n=!0;return o(a.$validators,(function(r,o){var s=Boolean(r(e,t));n=n&&s,i(o,s)})),!!n||(o(a.$asyncValidators,(function(e,t){i(t,null)})),!1)}()?function(){var n=[],s=!0;o(a.$asyncValidators,(function(r,o){var a=r(e,t);if(!a||!T(a.then))throw Uo("nopromise",a);i(o,void 0),n.push(a.then((function(){i(o,!0)}),(function(){s=!1,i(o,!1)})))})),n.length?a.$$q.all(n).then((function(){r(s)}),p):r(!0)}():r(!1)},$commitViewValue:function(){var e=this.$viewValue;this.$$timeout.cancel(this.$$pendingDebounce),(this.$$lastCommittedViewValue!==e||""===e&&this.$$hasNativeValidators)&&(this.$$updateEmptyClasses(e),this.$$lastCommittedViewValue=e,this.$pristine&&this.$setDirty(),this.$$parseAndValidate())},$$parseAndValidate:function(){var e=this.$$lastCommittedViewValue,t=this;if(this.$$parserValid=!$(e)||void 0,this.$setValidity(this.$$parserName,null),this.$$parserName="parse",this.$$parserValid)for(var n=0;n<this.$parsers.length;n++)if($(e=this.$parsers[n](e))){this.$$parserValid=!1;break}hi(this.$modelValue)&&(this.$modelValue=this.$$ngModelGet(this.$$scope));var i=this.$modelValue,r=this.$options.getOption("allowInvalid");this.$$rawModelValue=e,r&&(this.$modelValue=e,t.$modelValue!==i&&t.$$writeModelToScope()),this.$$runValidators(e,this.$$lastCommittedViewValue,(function(n){r||(t.$modelValue=n?e:void 0,t.$modelValue!==i&&t.$$writeModelToScope())}))},$$writeModelToScope:function(){this.$$ngModelSet(this.$$scope,this.$modelValue),o(this.$viewChangeListeners,(function(e){try{e()}catch(e){this.$$exceptionHandler(e)}}),this)},$setViewValue:function(e,t){this.$viewValue=e,this.$options.getOption("updateOnDefault")&&this.$$debounceViewValueCommit(t)},$$debounceViewValueCommit:function(e){var t=this.$options.getOption("debounce");S(t[e])?t=t[e]:S(t.default)&&-1===this.$options.getOption("updateOn").indexOf(e)?t=t.default:S(t["*"])&&(t=t["*"]),this.$$timeout.cancel(this.$$pendingDebounce);var n=this;0<t?this.$$pendingDebounce=this.$$timeout((function(){n.$commitViewValue()}),t):this.$$rootScope.$$phase?this.$commitViewValue():this.$$scope.$apply((function(){n.$commitViewValue()}))},$overrideModelOptions:function(e){this.$options=this.$options.createChild(e),this.$$setUpdateOnEvents()},$processModelValue:function(){var e=this.$$format();this.$viewValue!==e&&(this.$$updateEmptyClasses(e),this.$viewValue=this.$$lastCommittedViewValue=e,this.$render(),this.$$runValidators(this.$modelValue,this.$viewValue,p))},$$format:function(){for(var e=this.$formatters,t=e.length,n=this.$modelValue;t--;)n=e[t](n);return n},$$setModelValue:function(e){this.$modelValue=this.$$rawModelValue=e,this.$$parserValid=void 0,this.$processModelValue()},$$setUpdateOnEvents:function(){this.$$updateEvents&&this.$$element.off(this.$$updateEvents,this.$$updateEventHandler),(this.$$updateEvents=this.$options.getOption("updateOn"))&&this.$$element.on(this.$$updateEvents,this.$$updateEventHandler)},$$updateEventHandler:function(e){this.$$debounceViewValueCommit(e&&e.type)}},An({clazz:qn,set:function(e,t){e[t]=!0},unset:function(e,t){delete e[t]}});var qo,Bo=["$rootScope",function(e){return{restrict:"A",require:["ngModel","^?form","^?ngModelOptions"],controller:qn,priority:1,compile:function(t){return t.addClass(Vo).addClass("ng-untouched").addClass(Ro),{pre:function(e,t,n,i){var r=i[0];t=i[1]||r.$$parentForm,(i=i[2])&&(r.$options=i.$options),r.$$initGetterSetters(),t.$addControl(r),n.$observe("name",(function(e){r.$name!==e&&r.$$parentForm.$$renameControl(r,e)})),e.$on("$destroy",(function(){r.$$parentForm.$removeControl(r)}))},post:function(t,n,i,r){function o(){s.$setTouched()}var s=r[0];s.$$setUpdateOnEvents(),n.on("blur",(function(){s.$touched||(e.$$phase?t.$evalAsync(o):t.$apply(o))}))}}}}}],zo=/(\s+|^)default(\s+|$)/;Bn.prototype={getOption:function(e){return this.$$options[e]},createChild:function(e){var t=!1;return o(e=u({},e),(function(n,i){"$inherit"===n?"*"===i?t=!0:(e[i]=this.$$options[i],"updateOn"===i&&(e.updateOnDefault=this.$$options.updateOnDefault)):"updateOn"===i&&(e.updateOnDefault=!1,e[i]=mi(n.replace(zo,(function(){return e.updateOnDefault=!0," "}))))}),this),t&&(delete e["*"],zn(e,this.$$options)),zn(e,qo.$$options),new Bn(e)}},qo=new Bn({updateOn:"",updateOnDefault:!0,debounce:0,getterSetter:!1,allowInvalid:!1,timezone:null});var Wo=function(){function e(e,t){this.$$attrs=e,this.$$scope=t}return e.$inject=["$attrs","$scope"],e.prototype={$onInit:function(){var e=this.parentCtrl?this.parentCtrl.$options:qo,t=this.$$scope.$eval(this.$$attrs.ngModelOptions);this.$options=e.createChild(t)}},{restrict:"A",priority:10,require:{parentCtrl:"?^^ngModelOptions"},bindToController:!0,controller:e}},Yo=xn({terminal:!0,priority:1e3}),Go=i("ngOptions"),Ko=/^\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]+?))?$/,Qo=["$compile","$document","$parse",function(t,n,i){function s(e,t,n){function o(e,t,n,i,r){this.selectValue=e,this.viewValue=t,this.label=n,this.group=i,this.disabled=r}function s(e){var t;if(!c&&r(e))t=e;else for(var n in t=[],e)e.hasOwnProperty(n)&&"$"!==n.charAt(0)&&t.push(n);return t}var a=e.match(Ko);if(!a)throw Go("iexp",e,W(t));var l=a[5]||a[7],c=a[6];e=/ as /.test(a[0])&&a[1];var u=a[9];t=i(a[2]?a[1]:l);var d=e&&i(e)||t,h=u&&i(u),f=u?function(e,t){return h(n,t)}:function(e){return je(e)},p=function(e,t){return f(e,b(e,t))},g=i(a[2]||a[1]),m=i(a[3]||""),v=i(a[4]||""),$=i(a[8]),y={},b=c?function(e,t){return y[c]=t,y[l]=e,y}:function(e){return y[l]=e,y};return{trackBy:u,getTrackByValue:p,getWatchables:i($,(function(e){for(var t=[],i=s(e=e||[]),r=i.length,o=0;o<r;o++){var l=e[c=e===i?o:i[o]],c=b(l,c);l=f(l,c);t.push(l),(a[2]||a[1])&&(l=g(n,c),t.push(l)),a[4]&&(c=v(n,c),t.push(c))}return t})),getOptions:function(){for(var e=[],t={},i=$(n)||[],r=s(i),a=r.length,l=0;l<a;l++){var c=i===r?l:r[l],h=b(i[c],c),y=d(n,h);y=new o(c=f(y,h),y,g(n,h),m(n,h),h=v(n,h));e.push(y),t[c]=y}return{items:e,selectValueMap:t,getOptionFromViewValue:function(e){return t[p(e)]},getViewValueFromOption:function(e){return u?I(e.viewValue):e.viewValue}}}}}var a=e.document.createElement("option"),l=e.document.createElement("optgroup");return{restrict:"A",terminal:!0,require:["select","ngModel"],link:{pre:function(e,t,n,i){i[0].registerOption=p},post:function(e,i,r,c){function u(e){var t=(e=v.getOptionFromViewValue(e))&&e.element;return t&&!t.selected&&(t.selected=!0),e}function d(e,t){e.element=t,t.disabled=e.disabled,e.label!==t.label&&(t.label=e.label,t.textContent=e.label),t.value=e.selectValue}var h=c[0],f=c[1],p=r.multiple;c=0;for(var g=i.children(),m=g.length;c<m;c++)if(""===g[c].value){h.hasEmptyOption=!0,h.emptyOption=g.eq(c);break}i.empty(),c=!!h.emptyOption,Qn(a.cloneNode(!1)).val("?");var v,$=s(r.ngOptions,i,e),b=n[0].createDocumentFragment();h.generateUnknownOptionValue=function(e){return"?"},p?(h.writeValue=function(e){if(v){var t=e&&e.map(u)||[];v.items.forEach((function(e){e.element.selected&&-1===Array.prototype.indexOf.call(t,e)&&(e.element.selected=!1)}))}},h.readValue=function(){var e=i.val()||[],t=[];return o(e,(function(e){(e=v.selectValueMap[e])&&!e.disabled&&t.push(v.getViewValueFromOption(e))})),t},$.trackBy&&e.$watchCollection((function(){if(C(f.$viewValue))return f.$viewValue.map((function(e){return $.getTrackByValue(e)}))}),(function(){f.$render()}))):(h.writeValue=function(e){if(v){var t=i[0].options[i[0].selectedIndex],n=v.getOptionFromViewValue(e);t&&t.removeAttribute("selected"),n?(i[0].value!==n.selectValue&&(h.removeUnknownOption(),i[0].value=n.selectValue,n.element.selected=!0),n.element.setAttribute("selected","selected")):h.selectUnknownOrEmptyOption(e)}},h.readValue=function(){var e=v.selectValueMap[i.val()];return e&&!e.disabled?(h.unselectEmptyOption(),h.removeUnknownOption(),v.getViewValueFromOption(e)):null},$.trackBy&&e.$watch((function(){return $.getTrackByValue(f.$viewValue)}),(function(){f.$render()}))),c&&(t(h.emptyOption)(e),i.prepend(h.emptyOption),8===h.emptyOption[0].nodeType?(h.hasEmptyOption=!1,h.registerOption=function(e,t){""===t.val()&&(h.hasEmptyOption=!0,h.emptyOption=t,h.emptyOption.removeClass("ng-scope"),f.$render(),t.on("$destroy",(function(){var e=h.$isEmptyOptionSelected();h.hasEmptyOption=!1,h.emptyOption=void 0,e&&f.$render()})))}):h.emptyOption.removeClass("ng-scope")),e.$watchCollection($.getWatchables,(function(){var e=v&&h.readValue();if(v)for(var t=v.items.length-1;0<=t;t--){var n=v.items[t];y(n.group)?Oe(n.element.parentNode):Oe(n.element)}v=$.getOptions();var r={};v.items.forEach((function(e){var t;if(y(e.group)){(t=r[e.group])||(t=l.cloneNode(!1),b.appendChild(t),t.label=null===e.group?"null":e.group,r[e.group]=t);var n=a.cloneNode(!1);t.appendChild(n),d(e,n)}else t=a.cloneNode(!1),b.appendChild(t),d(e,t)})),i[0].appendChild(b),f.$render(),f.$isEmpty(e)||(t=h.readValue(),($.trackBy||p?j(e,t):e===t)||(f.$setViewValue(t),f.$render()))}))}}}}],Jo=["$locale","$interpolate","$log",function(e,t,n){var i=/{}/g,r=/^when(Minus)?(.+)$/;return{link:function(s,a,l){function c(e){a.text(e||"")}var u,d=l.count,h=l.$attr.when&&a.attr(l.$attr.when),f=l.offset||0,g=s.$eval(h)||{},m={},v=t.startSymbol(),y=t.endSymbol(),b=v+d+"-"+f+y,w=ui.noop;o(l,(function(e,t){var n=r.exec(t);n&&(n=(n[1]?"-":"")+ni(n[2]),g[n]=a.attr(l.$attr[t]))})),o(g,(function(e,n){m[n]=t(e.replace(i,b))})),s.$watch(d,(function(t){var i=parseFloat(t),r=hi(i);r||i in g||(i=e.pluralCat(i-f)),i===u||r&&hi(u)||(w(),$(r=m[i])?(null!=t&&n.debug("ngPluralize: no rule defined for '"+i+"' in "+h),w=p,c()):w=s.$watch(r,c),u=i)}))}}}],Xo=i("ngRef"),Zo=["$parse",function(e){return{priority:-1,restrict:"A",compile:function(t,n){var i=Qe(N(t)),r=e(n.ngRef),o=r.assign||function(){throw Xo("nonassign",n.ngRef)};return function(e,t,s){var a;if(s.hasOwnProperty("ngRefRead")){if("$element"===s.ngRefRead)a=t;else if(!(a=t.data("$"+s.ngRefRead+"Controller")))throw Xo("noctrl",s.ngRefRead,n.ngRef)}else a=t.data("$"+i+"Controller");o(e,a=a||t),t.on("$destroy",(function(){r(e)===a&&o(e,null)}))}}}}],es=["$parse","$animate","$compile",function(e,t,n){var s=i("ngRepeat"),a=function(e,t,n,i,r,o,s){e[n]=i,r&&(e[r]=o),e.$index=t,e.$first=0===t,e.$last=t===s-1,e.$middle=!(e.$first||e.$last),e.$odd=!(e.$even=0==(1&t))},l=function(e,t,n){return je(n)},c=function(e,t){return t};return{restrict:"A",multiElement:!0,transclude:"element",priority:1e3,terminal:!0,$$tlb:!0,compile:function(i,u){var d=u.ngRepeat,h=n.$$createComment("end ngRepeat",d);if(!(f=d.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+track\s+by\s+([\s\S]+?))?\s*$/)))throw s("iexp",d);var f,p=f[1],g=f[2],m=f[3],v=f[4];if(!(f=p.match(/^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/)))throw s("iidexp",p);var $,y=f[3]||f[1],b=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 s("badident",m);if(v){var w={$id:je},k=e(v);$=function(e,t,n,i){return b&&(w[b]=t),w[y]=n,w.$index=i,k(e,w)}}return function(e,n,i,u,f){var p=ae();e.$watchCollection(g,(function(i){var u,g,v,k,S,_,C,x,T,E,A=n[0],D=ae();if(m&&(e[m]=i),r(i))x=i,g=$||l;else for(E in g=$||c,x=[],i)ti.call(i,E)&&"$"!==E.charAt(0)&&x.push(E);for(k=x.length,E=Array(k),u=0;u<k;u++)if(S=i===x?u:x[u],_=i[S],C=g(e,S,_,u),p[C])T=p[C],delete p[C],D[C]=T,E[u]=T;else{if(D[C])throw o(E,(function(e){e&&e.scope&&(p[e.id]=e)})),s("dupes",d,C,_);E[u]={id:C,scope:void 0,clone:void 0},D[C]=!0}for(v in w&&(w[y]=void 0),p){if(C=se((T=p[v]).clone),t.leave(C),C[0].parentNode)for(u=0,g=C.length;u<g;u++)C[u].$$NG_REMOVED=!0;T.scope.$destroy()}for(u=0;u<k;u++)if(S=i===x?u:x[u],_=i[S],(T=E[u]).scope){v=A;do{v=v.nextSibling}while(v&&v.$$NG_REMOVED);T.clone[0]!==v&&t.move(se(T.clone),null,A),A=T.clone[T.clone.length-1],a(T.scope,u,y,_,b,S,k)}else f((function(e,n){T.scope=n;var i=h.cloneNode(!1);e[e.length++]=i,t.enter(e,null,A),A=i,T.clone=e,D[T.id]=T,a(T.scope,u,y,_,b,S,k)}));p=D}))}}}}],ts=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,i){t.$watch(i.ngShow,(function(t){e[t?"removeClass":"addClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})}))}}}],ns=["$animate",function(e){return{restrict:"A",multiElement:!0,link:function(t,n,i){t.$watch(i.ngHide,(function(t){e[t?"addClass":"removeClass"](n,"ng-hide",{tempClasses:"ng-hide-animate"})}))}}}],is=xn((function(e,t,n){e.$watchCollection(n.ngStyle,(function(e,n){n&&e!==n&&o(n,(function(e,n){t.css(n,"")})),e&&t.css(e)}))})),rs=["$animate","$compile",function(e,t){return{require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(n,i,r,s){var a=[],l=[],c=[],u=[],d=function(e,t){return function(n){!1!==n&&e.splice(t,1)}};n.$watch(r.ngSwitch||r.on,(function(n){for(var i,r;c.length;)e.cancel(c.pop());for(i=0,r=u.length;i<r;++i){var h=se(l[i].clone);u[i].$destroy(),(c[i]=e.leave(h)).done(d(c,i))}l.length=0,u.length=0,(a=s.cases["!"+n]||s.cases["?"])&&o(a,(function(n){n.transclude((function(i,r){u.push(r);var o=n.element;i[i.length++]=t.$$createComment("end ngSwitchWhen"),l.push({clone:i}),e.enter(i,o.parent(),o)}))}))}))}}}],os=xn({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,i,r){e=n.ngSwitchWhen.split(n.ngSwitchWhenSeparator).sort().filter((function(e,t,n){return n[t-1]!==e})),o(e,(function(e){i.cases["!"+e]=i.cases["!"+e]||[],i.cases["!"+e].push({transclude:r,element:t})}))}}),ss=xn({transclude:"element",priority:1200,require:"^ngSwitch",multiElement:!0,link:function(e,t,n,i,r){i.cases["?"]=i.cases["?"]||[],i.cases["?"].push({transclude:r,element:t})}}),as=i("ngTransclude"),ls=["$compile",function(e){return{restrict:"EAC",compile:function(t){var n=e(t.contents());return t.empty(),function(e,t,i,r,o){function s(){n(e,(function(e){t.append(e)}))}if(!o)throw as("orphan",W(t));i.ngTransclude===i.$attr.ngTransclude&&(i.ngTransclude=""),o((function(e,n){var i;if(i=e.length)e:{i=0;for(var r=e.length;i<r;i++){var o=e[i];if(o.nodeType!==Ci||o.nodeValue.trim()){i=!0;break e}}i=void 0}i?t.append(e):(s(),n.$destroy())}),null,i=i.ngTransclude||i.ngTranscludeSlot),i&&!o.isSlotFilled(i)&&s()}}}}],cs=["$templateCache",function(e){return{restrict:"E",terminal:!0,compile:function(t,n){"text/ng-template"===n.type&&e.put(n.id,t[0].text)}}}],us={$setViewValue:p,$render:p},ds=["$element","$scope",function(t,n){function i(){a||(a=!0,n.$$postDigest((function(){a=!1,o.ngModelCtrl.$render()})))}function r(e){l||(l=!0,n.$$postDigest((function(){n.$$destroyed||(l=!1,o.ngModelCtrl.$setViewValue(o.readValue()),e&&o.ngModelCtrl.$render())})))}var o=this,s=new Gi;o.selectValueMap={},o.ngModelCtrl=us,o.multiple=!1,o.unknownOption=Qn(e.document.createElement("option")),o.hasEmptyOption=!1,o.emptyOption=void 0,o.renderUnknownOption=function(e){e=o.generateUnknownOptionValue(e),o.unknownOption.val(e),t.prepend(o.unknownOption),Wn(o.unknownOption,!0),t.val(e)},o.updateUnknownOption=function(e){e=o.generateUnknownOptionValue(e),o.unknownOption.val(e),Wn(o.unknownOption,!0),t.val(e)},o.generateUnknownOptionValue=function(e){return"? "+je(e)+" ?"},o.removeUnknownOption=function(){o.unknownOption.parent()&&o.unknownOption.remove()},o.selectEmptyOption=function(){o.emptyOption&&(t.val(""),Wn(o.emptyOption,!0))},o.unselectEmptyOption=function(){o.hasEmptyOption&&Wn(o.emptyOption,!1)},n.$on("$destroy",(function(){o.renderUnknownOption=p})),o.readValue=function(){var e=(e=t.val())in o.selectValueMap?o.selectValueMap[e]:e;return o.hasOption(e)?e:null},o.writeValue=function(e){var n=t[0].options[t[0].selectedIndex];n&&Wn(Qn(n),!1),o.hasOption(e)?(o.removeUnknownOption(),n=je(e),t.val(n in o.selectValueMap?n:e),Wn(Qn(t[0].options[t[0].selectedIndex]),!0)):o.selectUnknownOrEmptyOption(e)},o.addOption=function(e,t){if(8!==t[0].nodeType){oe(e,'"option value"'),""===e&&(o.hasEmptyOption=!0,o.emptyOption=t);var n=s.get(e)||0;s.set(e,n+1),i()}},o.removeOption=function(e){var t=s.get(e);t&&(1===t?(s.delete(e),""===e&&(o.hasEmptyOption=!1,o.emptyOption=void 0)):s.set(e,t-1))},o.hasOption=function(e){return!!s.get(e)},o.$hasEmptyOption=function(){return o.hasEmptyOption},o.$isUnknownOptionSelected=function(){return t[0].options[0]===o.unknownOption[0]},o.$isEmptyOptionSelected=function(){return o.hasEmptyOption&&t[0].options[t[0].selectedIndex]===o.emptyOption[0]},o.selectUnknownOrEmptyOption=function(e){null==e&&o.emptyOption?(o.removeUnknownOption(),o.selectEmptyOption()):o.unknownOption.parent().length?o.updateUnknownOption(e):o.renderUnknownOption(e)};var a=!1,l=!1;o.registerOption=function(e,t,n,s,a){var l,c;n.$attr.ngValue?n.$observe("value",(function(e){var n,i=t.prop("selected");y(c)&&(o.removeOption(l),delete o.selectValueMap[c],n=!0),c=je(e),l=e,o.selectValueMap[c]=e,o.addOption(e,t),t.attr("value",c),n&&i&&r()})):s?n.$observe("value",(function(e){o.readValue();var n,i=t.prop("selected");y(l)&&(o.removeOption(l),n=!0),l=e,o.addOption(e,t),n&&i&&r()})):a?e.$watch(a,(function(e,i){n.$set("value",e);var s=t.prop("selected");i!==e&&o.removeOption(i),o.addOption(e,t),i&&s&&r()})):o.addOption(n.value,t);n.$observe("disabled",(function(e){("true"===e||e&&t.prop("selected"))&&(o.multiple?r(!0):(o.ngModelCtrl.$setViewValue(null),o.ngModelCtrl.$render()))})),t.on("$destroy",(function(){var e=o.readValue(),t=n.value;o.removeOption(t),i(),(o.multiple&&e&&-1!==e.indexOf(t)||e===t)&&r(!0)}))}}],hs=function(){return{restrict:"E",require:["select","?ngModel"],controller:ds,priority:1,link:{pre:function(e,t,n,i){var r=i[0],s=i[1];if(s){if(r.ngModelCtrl=s,t.on("change",(function(){r.removeUnknownOption(),e.$apply((function(){s.$setViewValue(r.readValue())}))})),n.multiple){r.multiple=!0,r.readValue=function(){var e=[];return o(t.find("option"),(function(t){t.selected&&!t.disabled&&(t=t.value,e.push(t in r.selectValueMap?r.selectValueMap[t]:t))})),e},r.writeValue=function(e){o(t.find("option"),(function(t){var n=!!e&&(-1!==Array.prototype.indexOf.call(e,t.value)||-1!==Array.prototype.indexOf.call(e,r.selectValueMap[t.value]));n!==t.selected&&Wn(Qn(t),n)}))};var a,l=NaN;e.$watch((function(){l!==s.$viewValue||j(a,s.$viewValue)||(a=ce(s.$viewValue),s.$render()),l=s.$viewValue})),s.$isEmpty=function(e){return!e||0===e.length}}}else r.registerOption=p},post:function(e,t,n,i){var r=i[1];if(r){var o=i[0];r.$render=function(){o.writeValue(r.$viewValue)}}}}}},fs=["$interpolate",function(e){return{restrict:"E",priority:100,compile:function(t,n){var i,r;return y(n.ngValue)||(y(n.value)?i=e(n.value,!0):(r=e(t.text(),!0))||n.$set("value",t.text())),function(e,t,n){var o=t.parent();(o=o.data("$selectController")||o.parent().data("$selectController"))&&o.registerOption(e,t,n,i,r)}}}}],ps=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,i,r){if(r){var o=i.hasOwnProperty("required")||e(i.ngRequired)(t);i.ngRequired||(i.required=!0),r.$validators.required=function(e,t){return!o||!r.$isEmpty(t)},i.$observe("required",(function(e){o!==e&&(o=e,r.$validate())}))}}}}],gs=["$parse",function(e){return{restrict:"A",require:"?ngModel",compile:function(t,n){var i,r;return n.ngPattern&&(i=n.ngPattern,r="/"===n.ngPattern.charAt(0)&&ei.test(n.ngPattern)?function(){return n.ngPattern}:e(n.ngPattern)),function(e,t,n,o){if(o){var s=n.pattern;n.ngPattern?s=r(e):i=n.pattern;var a=Yn(s,i,t);n.$observe("pattern",(function(e){var n=a;a=Yn(e,i,t),(n&&n.toString())!==(a&&a.toString())&&o.$validate()})),o.$validators.pattern=function(e,t){return o.$isEmpty(t)||$(a)||a.test(t)}}}}}}],ms=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,i,r){if(r){var o=i.maxlength||e(i.ngMaxlength)(t),s=Gn(o);i.$observe("maxlength",(function(e){o!==e&&(s=Gn(e),o=e,r.$validate())})),r.$validators.maxlength=function(e,t){return 0>s||r.$isEmpty(t)||t.length<=s}}}}}],vs=["$parse",function(e){return{restrict:"A",require:"?ngModel",link:function(t,n,i,r){if(r){var o=i.minlength||e(i.ngMinlength)(t),s=Gn(o)||-1;i.$observe("minlength",(function(e){o!==e&&(s=Gn(e)||-1,o=e,r.$validate())})),r.$validators.minlength=function(e,t){return r.$isEmpty(t)||t.length>=s}}}}}];e.angular.bootstrap?e.console&&console.log("WARNING: Tried to load AngularJS more than once."):(function(){var t;if(!_i){var n=yi();(Jn=$(n)?e.jQuery:n?e[n]:void 0)&&Jn.fn.on?(Qn=Jn,u(Jn.fn,{scope:qi.scope,isolateScope:qi.isolateScope,controller:qi.controller,injector:qi.injector,inheritedData:qi.inheritedData})):Qn=ge,t=Qn.cleanData,Qn.cleanData=function(e){for(var n,i,r=0;null!=(i=e[r]);r++)(n=(Qn._data(i)||{}).events)&&n.$destroy&&Qn(i).triggerHandler("$destroy");t(e)},ui.element=Qn,_i=!0}}(),function(n){u(n,{errorHandlingConfig:t,bootstrap:X,copy:I,extend:u,merge:d,equals:j,element:Qn,forEach:o,injector:Ve,noop:p,bind:H,toJson:F,fromJson:U,identity:g,isUndefined:$,isDefined:y,isString:k,isFunction:T,isObject:b,isNumber:S,isElement:M,isArray:C,version:xi,isDate:_,callbacks:{$$counter:0},getTestability:ee,reloadWithDebugInfo:Z,UNSAFE_restoreLegacyJqLiteXHTMLReplacement:ne,$$minErr:i,$$csp:$i,$$encodeUriSegment:K,$$encodeUriQuery:Q,$$lowercase:ni,$$stringify:le,$$uppercase:ii}),Xn=function(e){function t(e,t,n){return e[t]||(e[t]=n())}var n=i("$injector"),r=i("ng");return(e=t(e,"angular",Object)).$$minErr=e.$$minErr||i,t(e,"module",(function(){var e={};return function(i,o,s){var a={};if("hasOwnProperty"===i)throw r("badname","module");return o&&e.hasOwnProperty(i)&&(e[i]=null),t(e,i,(function(){function e(e,t,n,i){return i||(i=l),function(){return i[n||"push"]([e,t,arguments]),h}}function t(e,t,n){return n||(n=l),function(r,o){return o&&T(o)&&(o.$$moduleName=i),n.push([e,t,arguments]),h}}if(!o)throw n("nomod",i);var l=[],c=[],u=[],d=e("$injector","invoke","push",c),h={_invokeQueue:l,_configBlocks:c,_runBlocks:u,info:function(e){if(y(e)){if(!b(e))throw r("aobj","value");return a=e,this}return a},requires:o,name:i,provider:t("$provide","provider"),factory:t("$provide","factory"),service:t("$provide","service"),value:e("$provide","value"),constant:e("$provide","constant","unshift"),decorator:t("$provide","decorator",c),animation:t("$animateProvider","register"),filter:t("$filterProvider","register"),controller:t("$controllerProvider","register"),directive:t("$compileProvider","directive"),component:t("$compileProvider","component"),config:d,run:function(e){return u.push(e),this}};return s&&d(s),h}))}}))}(e),Xn("ng",["ngLocale"],["$provide",function(e){e.provider({$$sanitizeUri:Wt}),e.provider("$compile",Ge).directive({a:eo,input:$o,textarea:$o,form:ro,script:cs,select:hs,option:fs,ngBind:ko,ngBindHtml:_o,ngBindTemplate:So,ngClass:xo,ngClassEven:Eo,ngClassOdd:To,ngCloak:Ao,ngController:Do,ngForm:oo,ngHide:ns,ngIf:No,ngInclude:Po,ngInit:Lo,ngNonBindable:Yo,ngPluralize:Jo,ngRef:Zo,ngRepeat:es,ngShow:ts,ngStyle:is,ngSwitch:rs,ngSwitchWhen:os,ngSwitchDefault:ss,ngOptions:Qo,ngTransclude:ls,ngModel:Bo,ngList:jo,ngChange:Co,pattern:gs,ngPattern:gs,required:ps,ngRequired:ps,minlength:vs,ngMinlength:vs,maxlength:ms,ngMaxlength:ms,ngValue:wo,ngModelOptions:Wo}).directive({ngInclude:Io,input:yo}).directive(to).directive(Oo),e.provider({$anchorScroll:Fe,$animate:or,$animateCss:lr,$$animateJs:ir,$$animateQueue:rr,$$AnimateRunner:ar,$$animateAsyncRun:sr,$browser:ze,$cacheFactory:We,$controller:et,$document:tt,$$isDocumentHidden:nt,$exceptionHandler:it,$filter:ln,$$forceReflow:gr,$interpolate:pt,$interval:gt,$$intervalFactory:mt,$http:dt,$httpParamSerializer:ot,$httpParamSerializerJQLike:st,$httpBackend:ft,$xhrFactory:ht,$jsonpCallbacks:_r,$location:Tt,$log:Et,$parse:Vt,$rootScope:zt,$q:Ft,$$q:Ut,$sce:Kt,$sceDelegate:Gt,$sniffer:Qt,$$taskTrackerFactory:Jt,$templateCache:Ye,$templateRequest:Zt,$$testability:en,$timeout:tn,$window:on,$$rAF:Bt,$$jqLite:Le,$$Map:Ki,$$cookieReader:an})}]).info({angularVersion:"1.8.3"})}(ui),ui.module("ngLocale",[],["$provide",function(e){e.value("$locale",{DATETIME_FORMATS:{AMPMS:["AM","PM"],DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),ERANAMES:["Before Christ","Anno Domini"],ERAS:["BC","AD"],FIRSTDAYOFWEEK:6,MONTH:"January February March April May June July August September October November December".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),STANDALONEMONTH:"January February March April May June July August September October November December".split(" "),WEEKENDRANGE:[5,6],fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",medium:"MMM d, y h:mm:ss a",mediumDate:"MMM d, y",mediumTime:"h:mm:ss a",short:"M/d/yy h:mm a",shortDate:"M/d/yy",shortTime:"h:mm a"},NUMBER_FORMATS:{CURRENCY_SYM:"$",DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{gSize:3,lgSize:3,maxFrac:3,minFrac:0,minInt:1,negPre:"-",negSuf:"",posPre:"",posSuf:""},{gSize:3,lgSize:3,maxFrac:2,minFrac:2,minInt:1,negPre:"-¤",negSuf:"",posPre:"¤",posSuf:""}]},id:"en-us",localeID:"en_US",pluralCat:function(e,t){var n=0|e,i=t;return void 0===i&&(i=Math.min(function(e){var t=(e+="").indexOf(".");return-1==t?0:e.length-t-1}(e),3)),Math.pow(10,i),1==n&&0==i?"one":"other"}})}]),Qn((function(){J(e.document,X)})))}(window),!window.angular.$$csp().noInlineStyle&&window.angular.element(document.head).prepend(window.angular.element("<style>").text('@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;}')),function(e,t){"use strict";var n,i,r,o,s,a,l,c,u,d,h=t.$$minErr("$sanitize");t.module("ngSanitize",[]).provider("$sanitize",(function(){function f(e,t){return p(e.split(","),t)}function p(e,t){var n,i={};for(n=0;n<e.length;n++)i[t?a(e[n]):e[n]]=!0;return i}function g(e,t){t&&t.length&&i(e,p(t))}function m(e){for(var t={},n=0,i=e.length;n<i;n++){var r=e[n];t[r.name]=r.value}return t}function v(e){return e.replace(/&/g,"&amp;").replace(k,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+((e=e.charCodeAt(1))-56320)+65536)+";"})).replace(S,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"&lt;").replace(/>/g,"&gt;")}function $(t){for(;t;){if(t.nodeType===e.Node.ELEMENT_NODE)for(var n=t.attributes,i=0,r=n.length;i<r;i++){var o=n[i],s=o.name.toLowerCase();"xmlns:ns1"!==s&&0!==s.lastIndexOf("ns1:",0)||(t.removeAttributeNode(o),i--,r--)}(n=t.firstChild)&&$(n),t=y("nextSibling",t)}}function y(e,t){var n=t[e];if(n&&c.call(t,n))throw h("elclob",t.outerHTML||t.outerText);return n}var b=!1,w=!1;this.$get=["$$sanitizeUri",function(e){return b=!0,w&&i(D,E),function(t){var n=[];return u(t,d(n,(function(t,n){return!/^unsafe:/.test(e(t,n))}))),n.join("")}}],this.enableSvg=function(e){return s(e)?(w=e,this):w},this.addValidElements=function(e){return b||(o(e)&&(e={htmlElements:e}),g(E,e.svgElements),g(_,e.htmlVoidElements),g(D,e.htmlVoidElements),g(D,e.htmlElements)),this},this.addValidAttrs=function(e){return b||i(M,p(e,!0)),this},n=t.bind,i=t.extend,r=t.forEach,o=t.isArray,s=t.isDefined,a=t.$$lowercase,l=t.noop,u=function(e,t){null==e?e="":"string"!=typeof e&&(e=""+e);var n=N(e);if(!n)return"";var i=5;do{if(0===i)throw h("uinput");i--,e=n.innerHTML,n=N(e)}while(e!==n.innerHTML);for(i=n.firstChild;i;){switch(i.nodeType){case 1:t.start(i.nodeName.toLowerCase(),m(i.attributes));break;case 3:t.chars(i.textContent)}var r;if(!(r=i.firstChild)&&(1===i.nodeType&&t.end(i.nodeName.toLowerCase()),!(r=y("nextSibling",i))))for(;null==r&&(i=y("parentNode",i))!==n;)r=y("nextSibling",i),1===i.nodeType&&t.end(i.nodeName.toLowerCase());i=r}for(;i=n.firstChild;)n.removeChild(i)},d=function(e,t){var i=!1,o=n(e,e.push);return{start:function(e,n){e=a(e),!i&&A[e]&&(i=e),i||!0!==D[e]||(o("<"),o(e),r(n,(function(n,i){var r=a(i),s="img"===e&&"src"===r||"background"===r;!0!==M[r]||!0===O[r]&&!t(n,s)||(o(" "),o(i),o('="'),o(v(n)),o('"'))})),o(">"))},end:function(e){e=a(e),i||!0!==D[e]||!0===_[e]||(o("</"),o(e),o(">")),e==i&&(i=!1)},chars:function(e){i||o(v(e))}}},c=e.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))};var k=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,S=/([^#-~ |!])/g,_=f("area,br,col,hr,img,wbr"),C=f("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),x=f("rp,rt"),T=i({},x,C),E=(C=i({},C,f("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,section,table,ul")),x=i({},x,f("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")),f("circle,defs,desc,ellipse,font-face,font-face-name,font-face-src,g,glyph,hkern,image,linearGradient,line,marker,metadata,missing-glyph,mpath,path,polygon,polyline,radialGradient,rect,stop,svg,switch,text,title,tspan")),A=f("script,style"),D=i({},_,C,x,T),O=f("background,cite,href,longdesc,src,xlink:href,xml:base"),M=(T=f("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,tabindex,target,title,type,valign,value,vspace,width"),x=f("accent-height,accumulate,additive,alphabetic,arabic-form,ascent,baseProfile,bbox,begin,by,calcMode,cap-height,class,color,color-rendering,content,cx,cy,d,dx,dy,descent,display,dur,end,fill,fill-rule,font-family,font-size,font-stretch,font-style,font-variant,font-weight,from,fx,fy,g1,g2,glyph-name,gradientUnits,hanging,height,horiz-adv-x,horiz-origin-x,ideographic,k,keyPoints,keySplines,keyTimes,lang,marker-end,marker-mid,marker-start,markerHeight,markerUnits,markerWidth,mathematical,max,min,offset,opacity,orient,origin,overline-position,overline-thickness,panose-1,path,pathLength,points,preserveAspectRatio,r,refX,refY,repeatCount,repeatDur,requiredExtensions,requiredFeatures,restart,rotate,rx,ry,slope,stemh,stemv,stop-color,stop-opacity,strikethrough-position,strikethrough-thickness,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,stroke-opacity,stroke-width,systemLanguage,target,text-anchor,to,transform,type,u1,u2,underline-position,underline-thickness,unicode,unicode-range,units-per-em,values,version,viewBox,visibility,width,widths,x,x-height,x1,x2,xlink:actuate,xlink:arcrole,xlink:role,xlink:show,xlink:title,xlink:type,xml:base,xml:lang,xml:space,xmlns,xmlns:xlink,y,y1,y2,zoomAndPan",!0),i({},O,x,T)),N=function(e,t){function n(t){t="<remove></remove>"+t;try{var n=(new e.DOMParser).parseFromString(t,"text/html").body;return n.firstChild.remove(),n}catch(e){}}var i;try{i=!!n("")}catch(e){i=!1}if(i)return n;if(!t||!t.implementation)throw h("noinert");var r=((i=t.implementation.createHTMLDocument("inert")).documentElement||i.getDocumentElement()).querySelector("body");return function(e){return r.innerHTML=e,t.documentMode&&$(r),r}}(e,e.document)})).info({angularVersion:"1.8.3"}),t.module("ngSanitize").filter("linky",["$sanitize",function(e){var n=/((s?ftp|https?):\/\/|(www\.)|(mailto:)?[A-Za-z0-9._%+-]+@)\S*[^\s.;,(){}<>"\u201d\u2019]/i,i=/^mailto:/i,r=t.$$minErr("linky"),o=t.isDefined,s=t.isFunction,a=t.isObject,c=t.isString;return function(t,u,h){function f(e){e&&y.push(function(e){var t=[];return d(t,l).chars(e),t.join("")}(e))}function p(e,t){var n,i=v(e);for(n in y.push("<a "),i)y.push(n+'="'+i[n]+'" ');!o(u)||"target"in i||y.push('target="',u,'" '),y.push('href="',e.replace(/"/g,"&quot;"),'">'),f(t),y.push("</a>")}if(null==t||""===t)return t;if(!c(t))throw r("notstring",t);for(var g,m,v=s(h)?h:a(h)?function(){return h}:function(){return{}},$=t,y=[];t=$.match(n);)g=t[0],t[2]||t[4]||(g=(t[3]?"http://":"mailto:")+g),m=t.index,f($.substr(0,m)),p(g,t[0].replace(i,"")),$=$.substring(m+t[0].length);return f($),e(y.join(""))}}])}(window,window.angular),function(e,t){var n=t.isDefined,i=t.isUndefined,r=t.isNumber,o=t.isObject,s=t.isArray,a=t.isString,l=t.extend,c=t.toJson;t.module("LocalStorageModule",[]).provider("localStorageService",(function(){this.prefix="ls",this.storageType="localStorage",this.cookie={expiry:30,path:"/",secure:!1},this.defaultToCookie=!0,this.notify={setItem:!0,removeItem:!1},this.setPrefix=function(e){return this.prefix=e,this},this.setStorageType=function(e){return this.storageType=e,this},this.setDefaultToCookie=function(e){return this.defaultToCookie=!!e,this},this.setStorageCookie=function(e,t,n){return this.cookie.expiry=e,this.cookie.path=t,this.cookie.secure=n,this},this.setStorageCookieDomain=function(e){return this.cookie.domain=e,this},this.setNotify=function(e,t){return this.notify={setItem:e,removeItem:t},this},this.$get=["$rootScope","$window","$document","$parse","$timeout",function(e,t,u,d,h){function f(n){if(n||(n=t.event),$.setItem&&a(n.key)&&k(n.key)){var i=w(n.key);h((function(){e.$broadcast("LocalStorageModule.notification.changed",{key:i,newvalue:n.newValue,storageType:g.storageType})}))}}var p,g=this,m=g.prefix,v=g.cookie,$=g.notify,y=g.storageType;u?u[0]&&(u=u[0]):u=document,"."!==m.substr(-1)&&(m=m?m+".":"");var b=function(e){return m+e},w=function(e){return e.replace(new RegExp("^"+m,"g"),"")},k=function(e){return 0===e.indexOf(m)},S=function(){try{var n=y in t&&null!==t[y],i=b("__"+Math.round(1e7*Math.random()));return n&&((p=t[y]).setItem(i,""),p.removeItem(i)),n}catch(t){return g.defaultToCookie&&(y="cookie"),e.$broadcast("LocalStorageModule.notification.error",t.message),!1}},_=S(),C=function(t,n,r){var o=N();try{if(P(r),n=i(n)?null:c(n),!_&&g.defaultToCookie||"cookie"===g.storageType)return _||e.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),$.setItem&&e.$broadcast("LocalStorageModule.notification.setitem",{key:t,newvalue:n,storageType:"cookie"}),A(t,n);try{p&&p.setItem(b(t),n),$.setItem&&e.$broadcast("LocalStorageModule.notification.setitem",{key:t,newvalue:n,storageType:g.storageType})}catch(i){return e.$broadcast("LocalStorageModule.notification.error",i.message),A(t,n)}return!0}finally{P(o)}},x=function(t,n){var i=N();try{if(P(n),!_&&g.defaultToCookie||"cookie"===g.storageType)return _||e.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),D(t);var r=p?p.getItem(b(t)):null;if(!r||"null"===r)return null;try{return JSON.parse(r)}catch(e){return r}}finally{P(i)}},T=function(){var t=N();try{var n,i,r=0;for(arguments.length>=1&&("localStorage"===arguments[arguments.length-1]||"sessionStorage"===arguments[arguments.length-1])&&(r=1,P(arguments[arguments.length-1])),n=0;n<arguments.length-r;n++)if(i=arguments[n],!_&&g.defaultToCookie||"cookie"===g.storageType)_||e.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),$.removeItem&&e.$broadcast("LocalStorageModule.notification.removeitem",{key:i,storageType:"cookie"}),O(i);else try{p.removeItem(b(i)),$.removeItem&&e.$broadcast("LocalStorageModule.notification.removeitem",{key:i,storageType:g.storageType})}catch(t){e.$broadcast("LocalStorageModule.notification.error",t.message),O(i)}}finally{P(t)}},E=function(){try{return t.navigator.cookieEnabled||"cookie"in u&&(u.cookie.length>0||(u.cookie="test").indexOf.call(u.cookie,"test")>-1)}catch(t){return e.$broadcast("LocalStorageModule.notification.error",t.message),!1}}(),A=function(t,n,a,l){if(i(n))return!1;if((s(n)||o(n))&&(n=c(n)),!E)return e.$broadcast("LocalStorageModule.notification.error","COOKIES_NOT_SUPPORTED"),!1;try{var d="",h=new Date,f="";if(null===n?(h.setTime(h.getTime()+-864e5),d="; expires="+h.toGMTString(),n=""):r(a)&&0!==a?(h.setTime(h.getTime()+24*a*60*60*1e3),d="; expires="+h.toGMTString()):0!==v.expiry&&(h.setTime(h.getTime()+24*v.expiry*60*60*1e3),d="; expires="+h.toGMTString()),t){var p="; path="+v.path;v.domain&&(f="; domain="+v.domain),"boolean"==typeof l?!0===l&&(f+="; secure"):!0===v.secure&&(f+="; secure"),u.cookie=b(t)+"="+encodeURIComponent(n)+d+p+f}}catch(t){return e.$broadcast("LocalStorageModule.notification.error",t.message),!1}return!0},D=function(t){if(!E)return e.$broadcast("LocalStorageModule.notification.error","COOKIES_NOT_SUPPORTED"),!1;for(var n=u.cookie&&u.cookie.split(";")||[],i=0;i<n.length;i++){for(var r=n[i];" "===r.charAt(0);)r=r.substring(1,r.length);if(0===r.indexOf(b(t)+"=")){var o=decodeURIComponent(r.substring(m.length+t.length+1,r.length));try{var s=JSON.parse(o);return"number"==typeof s?o:s}catch(e){return o}}}return null},O=function(e){A(e,null)},M=function(){for(var e=null,t=m.length,n=u.cookie.split(";"),i=0;i<n.length;i++){for(e=n[i];" "===e.charAt(0);)e=e.substring(1,e.length);var r=e.substring(t,e.indexOf("="));O(r)}},N=function(){return y},P=function(e){return e&&y!==e&&(y=e,_=S()),_};_&&(t.addEventListener?(t.addEventListener("storage",f,!1),e.$on("$destroy",(function(){t.removeEventListener("storage",f)}))):t.attachEvent&&(t.attachEvent("onstorage",f),e.$on("$destroy",(function(){t.detachEvent("onstorage",f)}))));return{isSupported:_,getStorageType:N,setStorageType:P,setPrefix:function(e){m=e},set:C,add:C,get:x,keys:function(t){var n=N();try{if(P(t),!_)return e.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),[];var i=m.length,r=[];for(var o in p)if(o.substr(0,i)===m)try{r.push(o.substr(i))}catch(t){return e.$broadcast("LocalStorageModule.notification.error",t.Description),[]}return r}finally{P(n)}},remove:T,clearAll:function(t,n){var i=N();try{P(n);var r=m?new RegExp("^"+m):new RegExp,o=t?new RegExp(t):new RegExp;if(!_&&g.defaultToCookie||"cookie"===g.storageType)return _||e.$broadcast("LocalStorageModule.notification.warning","LOCAL_STORAGE_NOT_SUPPORTED"),M();if(!_&&!g.defaultToCookie)return!1;var s=m.length;for(var a in p)if(r.test(a)&&o.test(a.substr(s)))try{T(a.substr(s))}catch(t){return e.$broadcast("LocalStorageModule.notification.error",t.message),M()}return!0}finally{P(i)}},bind:function(e,t,i,r,s){var a=x(r=r||t,s);return null===a&&n(i)?a=i:o(a)&&o(i)&&(a=l(a,i)),d(t).assign(e,a),e.$watch(t,(function(e){C(r,e,s)}),o(e[t]))},deriveKey:b,underiveKey:w,length:function(e){var n=N();try{P(e);for(var i=0,r=t[y],o=0;o<r.length;o++)0===r.key(o).indexOf(m)&&i++;return i}finally{P(n)}},defaultToCookie:this.defaultToCookie,cookie:{isSupported:E,set:A,add:A,get:D,remove:O,clearAll:M}}}]}))}(window,window.angular),function(e){"use strict";angular.module("firebase.utils",[]),angular.module("firebase.config",[]),angular.module("firebase.auth",["firebase.utils"]),angular.module("firebase.database",["firebase.utils"]),angular.module("firebase.storage",["firebase.utils"]),angular.module("firebase",["firebase.utils","firebase.config","firebase.auth","firebase.database","firebase.storage"]).value("Firebase",e.firebase).value("firebase",e.firebase)}(window),function(){"use strict";var e;angular.module("firebase.auth").factory("$firebaseAuth",["$q","$firebaseUtils",function(t,n){return function(i){return i=i||firebase.auth(),new e(t,n,i).construct()}}]),(e=function(e,t,n){if(this._q=e,this._utils=t,"string"==typeof n)throw new Error("The $firebaseAuth service accepts a Firebase auth instance (or nothing) instead of a URL.");if(void 0!==n.ref)throw new Error("The $firebaseAuth service accepts a Firebase auth instance (or nothing) instead of a Database reference.");this._auth=n,this._initialAuthResolver=this._initAuthResolver()}).prototype={construct:function(){return this._object={$signInWithCustomToken:this.signInWithCustomToken.bind(this),$signInAnonymously:this.signInAnonymously.bind(this),$signInWithEmailAndPassword:this.signInWithEmailAndPassword.bind(this),$signInWithPopup:this.signInWithPopup.bind(this),$signInWithRedirect:this.signInWithRedirect.bind(this),$signInWithCredential:this.signInWithCredential.bind(this),$signOut:this.signOut.bind(this),$onAuthStateChanged:this.onAuthStateChanged.bind(this),$getAuth:this.getAuth.bind(this),$requireSignIn:this.requireSignIn.bind(this),$waitForSignIn:this.waitForSignIn.bind(this),$createUserWithEmailAndPassword:this.createUserWithEmailAndPassword.bind(this),$updatePassword:this.updatePassword.bind(this),$updateEmail:this.updateEmail.bind(this),$deleteUser:this.deleteUser.bind(this),$sendPasswordResetEmail:this.sendPasswordResetEmail.bind(this),_:this},this._object},signInWithCustomToken:function(e){return this._q.when(this._auth.signInWithCustomToken(e))},signInAnonymously:function(){return this._q.when(this._auth.signInAnonymously())},signInWithEmailAndPassword:function(e,t){return this._q.when(this._auth.signInWithEmailAndPassword(e,t))},signInWithPopup:function(e){return this._q.when(this._auth.signInWithPopup(this._getProvider(e)))},signInWithRedirect:function(e){return this._q.when(this._auth.signInWithRedirect(this._getProvider(e)))},signInWithCredential:function(e){return this._q.when(this._auth.signInWithCredential(e))},signOut:function(){return null!==this.getAuth()?this._q.when(this._auth.signOut()):this._q.when()},onAuthStateChanged:function(e,t){var n=this._utils.debounce(e,t,0);return this._auth.onAuthStateChanged(n)},getAuth:function(){return this._auth.currentUser},_routerMethodOnAuthPromise:function(e,t){var n=this;return this._initialAuthResolver.then((function(){var i=n.getAuth();return e&&null===i?n._q.reject("AUTH_REQUIRED"):t&&!i.emailVerified?n._q.reject("EMAIL_VERIFICATION_REQUIRED"):n._q.when(i)}))},_getProvider:function(e){var t;if("string"==typeof e){var n=e.slice(0,1).toUpperCase()+e.slice(1);t=new firebase.auth[n+"AuthProvider"]}else t=e;return t},_initAuthResolver:function(){var e=this._auth;return this._q((function(t){var n;n=e.onAuthStateChanged((function(){n(),t()}))}))},requireSignIn:function(e){return this._routerMethodOnAuthPromise(!0,e)},waitForSignIn:function(){return this._routerMethodOnAuthPromise(!1,!1)},createUserWithEmailAndPassword:function(e,t){return this._q.when(this._auth.createUserWithEmailAndPassword(e,t))},updatePassword:function(e){var t=this.getAuth();return t?this._q.when(t.updatePassword(e)):this._q.reject("Cannot update password since there is no logged in user.")},updateEmail:function(e){var t=this.getAuth();return t?this._q.when(t.updateEmail(e)):this._q.reject("Cannot update email since there is no logged in user.")},deleteUser:function(){var e=this.getAuth();return e?this._q.when(e.delete()):this._q.reject("Cannot delete user since there is no logged in user.")},sendPasswordResetEmail:function(e){return this._q.when(this._auth.sendPasswordResetEmail(e))}}}(),function(){"use strict";function e(e){return e()}e.$inject=["$firebaseAuth"],angular.module("firebase.auth").factory("$firebaseAuthService",e)}(),function(){"use strict";angular.module("firebase.database").factory("$firebaseArray",["$log","$firebaseUtils","$q",function(e,t,n){function i(e){if(!(this instanceof i))return new i(e);var n=this;return this._observers=[],this.$list=[],this._ref=e,this._sync=new r(this),t.assertValidRef(e,"Must pass a valid Firebase reference to $firebaseArray (not a string or URL)"),this._indexCache={},t.getPublicMethods(n,(function(e,t){n.$list[t]=e.bind(n)})),this._sync.init(this.$list),this.$list.$resolved=!1,this.$loaded().finally((function(){n.$list.$resolved=!0})),this.$list}function r(i){function r(e,t){h||(h=!0,e?s.reject(e):s.resolve(t))}function o(e,t){var i=n.when(e);i.then((function(e){e&&t(e)})),h||d.push(i)}var s=n.defer(),a=function(e,t){i&&o(i.$$added(e,t),(function(e){i.$$process("child_added",e,t)}))},l=function(e){if(i){var t=i.$getRecord(e.key);t&&o(i.$$updated(e),(function(){i.$$process("child_changed",t)}))}},c=function(e,t){if(i){var n=i.$getRecord(e.key);n&&o(i.$$moved(e,t),(function(){i.$$process("child_moved",n,t)}))}},u=function(e){if(i){var t=i.$getRecord(e.key);t&&o(i.$$removed(e),(function(){i.$$process("child_removed",t)}))}},d=[],h=!1,f=t.batch((function(e){r(e),i&&i.$$error(e)})),p=t.batch(r),g={destroy:function(e){if(!g.isDestroyed){g.isDestroyed=!0;var t=i.$ref();t.off("child_added",a),t.off("child_moved",c),t.off("child_changed",l),t.off("child_removed",u),i=null,p(e||"destroyed")}},isDestroyed:!1,init:function(t){var n=i.$ref();n.on("child_added",a,f),n.on("child_moved",c,f),n.on("child_changed",l,f),n.on("child_removed",u,f),n.once("value",(function(n){angular.isArray(n.val())&&e.warn("Storing data using array indices in Firebase can result in unexpected behavior. See https://firebase.google.com/docs/database/web/structure-data for more information."),p(null,t)}),p)},ready:function(){return s.promise.then((function(e){return n.all(d).then((function(){return e}))}))}};return g}return i.prototype={$add:function(e){this._assertNotDestroyed("$add");var i,r=this,o=n.defer(),s=this.$ref().ref.push();try{i=t.toJSON(e)}catch(e){o.reject(e)}return void 0!==i&&t.doSet(s,i).then((function(){r.$$notify("child_added",s.key),o.resolve(s)})).catch(o.reject),o.promise},$save:function(e){this._assertNotDestroyed("$save");var i=this,r=i._resolveItem(e),o=i.$keyAt(r),s=n.defer();if(null!==o){var a,l=i.$ref().ref.child(o);try{a=t.toJSON(r)}catch(e){s.reject(e)}void 0!==a&&t.doSet(l,a).then((function(){i.$$notify("child_changed",o),s.resolve(l)})).catch(s.reject)}else s.reject("Invalid record; could not determine key for "+e);return s.promise},$remove:function(e){this._assertNotDestroyed("$remove");var i=this.$keyAt(e);if(null!==i){var r=this.$ref().ref.child(i);return t.doRemove(r).then((function(){return r}))}return n.reject("Invalid record; could not determine key for "+e)},$keyAt:function(e){var t=this._resolveItem(e);return this.$$getKey(t)},$indexFor:function(e){var t=this,n=t._indexCache;if(!n.hasOwnProperty(e)||t.$keyAt(n[e])!==e){var i=t.$list.findIndex((function(n){return t.$$getKey(n)===e}));-1!==i&&(n[e]=i)}return n.hasOwnProperty(e)?n[e]:-1},$loaded:function(e,t){var n=this._sync.ready();return arguments.length&&(n=n.then.call(n,e,t)),n},$ref:function(){return this._ref},$watch:function(e,t){var n=this._observers;return n.push([e,t]),function(){var i=n.findIndex((function(n){return n[0]===e&&n[1]===t}));i>-1&&n.splice(i,1)}},$destroy:function(e){this._isDestroyed||(this._isDestroyed=!0,this._sync.destroy(e),this.$list.length=0)},$getRecord:function(e){var t=this.$indexFor(e);return t>-1?this.$list[t]:null},$$added:function(e){if(-1===this.$indexFor(e.key)){var n=e.val();return angular.isObject(n)||(n={$value:n}),n.$id=e.key,n.$priority=e.getPriority(),t.applyDefaults(n,this.$$defaults),n}return!1},$$removed:function(e){return this.$indexFor(e.key)>-1},$$updated:function(e){var n=!1,i=this.$getRecord(e.key);return angular.isObject(i)&&(n=t.updateRec(i,e),t.applyDefaults(i,this.$$defaults)),n},$$moved:function(e){var t=this.$getRecord(e.key);return!!angular.isObject(t)&&(t.$priority=e.getPriority(),!0)},$$error:function(t){e.error(t),this.$destroy(t)},$$getKey:function(e){return angular.isObject(e)?e.$id:null},$$process:function(e,t,n){var i,r=this.$$getKey(t),o=!1;switch(e){case"child_added":i=this.$indexFor(r);break;case"child_moved":i=this.$indexFor(r),this._spliceOut(r);break;case"child_removed":o=null!==this._spliceOut(r);break;case"child_changed":o=!0;break;default:throw new Error("Invalid event type: "+e)}return angular.isDefined(i)&&(o=this._addAfter(t,n)!==i),o&&this.$$notify(e,r,n),o},$$notify:function(e,t,n){var i={event:e,key:t};angular.isDefined(n)&&(i.prevChild=n),angular.forEach(this._observers,(function(e){e[0].call(e[1],i)}))},_addAfter:function(e,t){var n;return null===t?n=0:0===(n=this.$indexFor(t)+1)&&(n=this.$list.length),this.$list.splice(n,0,e),this._indexCache[this.$$getKey(e)]=n,n},_spliceOut:function(e){var t=this.$indexFor(e);return t>-1?(delete this._indexCache[e],this.$list.splice(t,1)[0]):null},_resolveItem:function(e){var t=this.$list;if(angular.isNumber(e)&&e>=0&&t.length>=e)return t[e];if(angular.isObject(e)){var n=this.$$getKey(e),i=this.$getRecord(n);return i===e?i:null}return null},_assertNotDestroyed:function(e){if(this._isDestroyed)throw new Error("Cannot call "+e+" method on a destroyed $firebaseArray object")}},i.$extend=function(e,n){return 1===arguments.length&&angular.isObject(e)&&(n=e,e=function(t){return this instanceof e?(i.apply(this,arguments),this.$list):new e(t)}),t.inherit(e,i,n)},i}]),angular.module("firebase").factory("$FirebaseArray",["$log","$firebaseArray",function(e,t){return function(){return e.warn("$FirebaseArray has been renamed. Use $firebaseArray instead."),t.apply(null,arguments)}}])}(),function(){"use strict";angular.module("firebase.database").factory("$firebaseObject",["$parse","$firebaseUtils","$log","$q",function(e,t,n,i){function r(e){if(!(this instanceof r))return new r(e);var n=this;this.$$conf={sync:new s(this,e),ref:e,binding:new o(this),listeners:[]},Object.defineProperty(this,"$$conf",{value:this.$$conf}),this.$id=e.ref.key,this.$priority=null,t.applyDefaults(this,this.$$defaults),this.$$conf.sync.init(),this.$resolved=!1,this.$loaded().finally((function(){n.$resolved=!0}))}function o(e){this.subs=[],this.scope=null,this.key=null,this.rec=e}function s(e,r){function o(t){s||(s=!0,t?a.reject(t):a.resolve(e))}var s=!1,a=i.defer(),l=t.batch((function(t){e&&(e.$$updated(t)&&e.$$notify())})),c=t.batch((function(t){o(t),e&&e.$$error(t)})),u=t.batch(o),d={isDestroyed:!1,destroy:function(t){d.isDestroyed||(d.isDestroyed=!0,r.off("value",l),e=null,u(t||"destroyed"))},init:function(){r.on("value",l,c),r.once("value",(function(e){angular.isArray(e.val())&&n.warn("Storing data using array indices in Firebase can result in unexpected behavior. See https://firebase.google.com/docs/database/web/structure-data for more information. Also note that you probably wanted $firebaseArray and not $firebaseObject."),u(null)}),u)},ready:function(){return a.promise}};return d}return r.prototype={$save:function(){var e,n=this,r=n.$ref(),o=i.defer();try{e=t.toJSON(n)}catch(e){o.reject(e)}return void 0!==e&&t.doSet(r,e).then((function(){n.$$notify(),o.resolve(n.$ref())})).catch(o.reject),o.promise},$remove:function(){var e=this;return t.trimKeys(e,{}),e.$value=null,t.doRemove(e.$ref()).then((function(){return e.$$notify(),e.$ref()}))},$loaded:function(e,t){var n=this.$$conf.sync.ready();return arguments.length&&(n=n.then.call(n,e,t)),n},$ref:function(){return this.$$conf.ref},$bindTo:function(e,t){var n=this;return n.$loaded().then((function(){return n.$$conf.binding.bindTo(e,t)}))},$watch:function(e,t){var n=this.$$conf.listeners;return n.push([e,t]),function(){var i=n.findIndex((function(n){return n[0]===e&&n[1]===t}));i>-1&&n.splice(i,1)}},$destroy:function(e){var n=this;n.$isDestroyed||(n.$isDestroyed=!0,n.$$conf.sync.destroy(e),n.$$conf.binding.destroy(),t.each(n,(function(e,t){delete n[t]})))},$$updated:function(e){var n=t.updateRec(this,e);return t.applyDefaults(this,this.$$defaults),n},$$error:function(e){n.error(e),this.$destroy(e)},$$scopeUpdated:function(e){var n=i.defer();return this.$ref().set(t.toJSON(e),t.makeNodeResolver(n)),n.promise},$$notify:function(){var e=this,t=this.$$conf.listeners.slice();angular.forEach(t,(function(t){t[0].call(t[1],{event:"value",key:e.$id})}))},forEach:function(e,n){return t.each(this,e,n)}},r.$extend=function(e,n){return 1===arguments.length&&angular.isObject(e)&&(n=e,e=function(t){return this instanceof e?void r.apply(this,arguments):new e(t)}),t.inherit(e,r,n)},o.prototype={assertNotBound:function(e){if(this.scope){var t="Cannot bind to "+e+" because this instance is already bound to "+this.key+"; one binding per instance (call unbind method or create another FirebaseObject instance)";return n.error(t),i.reject(t)}},bindTo:function(n,i){return this.assertNotBound(i)||function(r){function o(e){return angular.equals(e,c)&&e.$priority===c.$priority&&e.$value===c.$value}function s(e){l.assign(n,t.scopeData(e))}var a=!1,l=e(i),c=r.rec;r.scope=n,r.varName=i;var u=t.debounce((function(e){var i=t.scopeData(e);c.$$scopeUpdated(i).finally((function(){a=!1,i.hasOwnProperty("$value")||(delete c.$value,delete l(n).$value),s(c)}))}),50,500);return s(c),r.subs.push(n.$on("$destroy",r.unbind.bind(r))),r.subs.push(n.$watch((function(){var e=l(n);return[e,e.$priority,e.$value]}),(function(e){o(e=e[0])||(a=!0,u(e))}),!0)),r.subs.push(c.$watch((function(){a||o(l(n))||s(c)}))),r.unbind.bind(r)}(this)},unbind:function(){this.scope&&(angular.forEach(this.subs,(function(e){e()})),this.subs=[],this.scope=null,this.key=null)},destroy:function(){this.unbind(),this.rec=null}},r}]),angular.module("firebase").factory("$FirebaseObject",["$log","$firebaseObject",function(e,t){return function(){return e.warn("$FirebaseObject has been renamed. Use $firebaseObject instead."),t.apply(null,arguments)}}])}(),function(){"use strict";angular.module("firebase.database").provider("$firebaseRef",(function(){this.urls=null,this.registerUrl=function(e){"string"==typeof e&&(this.urls={},this.urls.default=e),angular.isObject(e)&&(this.urls=e)},this.$$checkUrls=function(e){return e?e.default?void 0:new Error('No default Firebase URL registered. Use firebaseRefProvider.registerUrl({ default: "https://<my-firebase-app>.firebaseio.com/"}).'):new Error("No Firebase URL registered. Use firebaseRefProvider.registerUrl() in the config phase. This is required if you are using $firebaseAuthService.")},this.$$createRefsFromUrlConfig=function(e){var t={},n=this.$$checkUrls(e);if(n)throw n;return angular.forEach(e,(function(e,n){t[n]=firebase.database().refFromURL(e)})),t},this.$get=function(){return this.$$createRefsFromUrlConfig(this.urls)}}))}(),function(){"use strict";angular.module("firebase").factory("$firebase",(function(){return function(){throw new Error("$firebase has been removed. You may instantiate $firebaseArray and $firebaseObject directly now. For simple write operations, just use the Firebase ref directly. See the AngularFire 1.0.0 changelog for details: https://github.com/firebase/angularfire/releases/tag/v1.0.0")}}))}(),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){if(null==this)throw new TypeError("'this' is null or not defined");var n=this.length>>>0;for(t=+t||0,Math.abs(t)===1/0&&(t=0),t<0&&((t+=n)<0&&(t=0));t<n;t++)if(this[t]===e)return t;return-1}),Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,i=function(){},r=function(){return n.apply(this instanceof i&&e?this:e,t.concat(Array.prototype.slice.call(arguments)))};return i.prototype=this.prototype,r.prototype=new i,r}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(null==this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,n=Object(this),i=n.length>>>0,r=arguments[1],o=0;o<i;o++)if(o in n&&(t=n[o],e.call(r,t,o,n)))return o;return-1}}),"function"!=typeof Object.create&&function(){var e=function(){};Object.create=function(t){if(arguments.length>1)throw new Error("Second argument not supported");if(null===t)throw new Error("Cannot set a null [[Prototype]]");if("object"!=typeof t)throw new TypeError("Argument must be an object");return e.prototype=t,new e}}(),Object.keys||(Object.keys=function(){"use strict";var e=Object.prototype.hasOwnProperty,t=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],i=n.length;return function(r){if("object"!=typeof r&&("function"!=typeof r||null===r))throw new TypeError("Object.keys called on non-object");var o,s,a=[];for(o in r)e.call(r,o)&&a.push(o);if(t)for(s=0;s<i;s++)e.call(r,n[s])&&a.push(n[s]);return a}}()),"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"==typeof"test".__proto__?function(e){return e.__proto__}:function(e){return e.constructor.prototype}),function(){"use strict";function e(e,n){return{$progress:function(i){e.on("state_changed",(function(){n.compile((function(){i(t(e.snapshot))}))}))},$error:function(t){e.on("state_changed",null,(function(e){n.compile((function(){t(e)}))}))},$complete:function(i){e.on("state_changed",null,null,(function(){n.compile((function(){i(t(e.snapshot))}))}))},$cancel:e.cancel,$resume:e.resume,$pause:e.pause,then:e.then,catch:e.catch,$snapshot:e.snapshot}}function t(e){return{bytesTransferred:e.bytesTransferred,downloadURL:e.downloadURL,metadata:e.metadata,ref:e.ref,state:e.state,task:e.task,totalBytes:e.totalBytes}}function n(e){return"function"==typeof(e=e||{}).put}function i(e){if(!n(e))throw new Error("$firebaseStorage expects a Storage reference")}angular.module("firebase.storage").factory("$firebaseStorage",["$firebaseUtils","$q",function(r,o){var s=function(t){return i(t),{$put:function(n,i){return e(t.put(n,i),r)},$putString:function(n,i,o){return e(t.putString(n,i,o),r)},$getDownloadURL:function(){return o.when(t.getDownloadURL())},$delete:function(){return o.when(t.delete())},$getMetadata:function(){return o.when(t.getMetadata())},$updateMetadata:function(e){return o.when(t.updateMetadata(e))},$toString:function(){return t.toString()}}};return s.utils={_unwrapStorageSnapshot:t,_isStorageRef:n,_assertStorageRef:i},s}])}(),function(){"use strict";function e(e,t){return{restrict:"A",priority:99,scope:{},link:function(n,i,r){r.$observe("firebaseSrc",(function(n){if(""!==n){var r=t.storage().ref(n);e(r).$getDownloadURL().then((function(e){i[0].src=e}))}}))}}}e.$inject=["$firebaseStorage","firebase"],angular.module("firebase.storage").directive("firebaseSrc",e)}(),function(){"use strict";function e(t){if(!angular.isObject(t))return t;var n=angular.isArray(t)?[]:{};return angular.forEach(t,(function(t,i){"string"==typeof i&&"$"===i.charAt(0)||(n[i]=e(t))})),n}angular.module("firebase.utils").factory("$firebaseConfig",["$firebaseArray","$firebaseObject","$injector",function(e,t,n){return function(i){var r=angular.extend({},i);return"string"==typeof r.objectFactory&&(r.objectFactory=n.get(r.objectFactory)),"string"==typeof r.arrayFactory&&(r.arrayFactory=n.get(r.arrayFactory)),angular.extend({arrayFactory:e,objectFactory:t},r)}}]).factory("$firebaseUtils",["$q","$timeout","$rootScope",function(t,n,i){var r={batch:function(e,t){return function(){var n=Array.prototype.slice.call(arguments,0);r.compile((function(){e.apply(t,n)}))}},debounce:function(e,t,n,i){function o(){c&&(c(),c=null),l&&Date.now()-l>i?d||(d=!0,r.compile(s)):(l||(l=Date.now()),c=r.wait(s,n))}function s(){c=null,l=null,d=!1,e.apply(t,u)}function a(){u=Array.prototype.slice.call(arguments,0),o()}var l,c,u,d;if("number"==typeof t&&(i=n,n=t,t=null),"number"!=typeof n)throw new Error("Must provide a valid integer for wait. Try 0 for a default");if("function"!=typeof e)throw new Error("Must provide a valid function to debounce");return i||(i=10*n||100),a.running=function(){return l>0},a},assertValidRef:function(e,t){if(!angular.isObject(e)||"object"!=typeof e.ref||"function"!=typeof e.ref.transaction)throw new Error(t||"Invalid Firebase reference")},inherit:function(e,t,n){var i=e.prototype;return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,angular.forEach(Object.keys(i),(function(t){e.prototype[t]=i[t]})),angular.isObject(n)&&angular.extend(e.prototype,n),e},getPrototypeMethods:function(e,t,n){for(var i={},r=Object.getPrototypeOf({}),o=angular.isFunction(e)&&angular.isObject(e.prototype)?e.prototype:Object.getPrototypeOf(e);o&&o!==r;){for(var s in o)o.hasOwnProperty(s)&&!i.hasOwnProperty(s)&&(i[s]=!0,t.call(n,o[s],s,o));o=Object.getPrototypeOf(o)}},getPublicMethods:function(e,t,n){r.getPrototypeMethods(e,(function(e,i){"function"==typeof e&&"_"!==i.charAt(0)&&t.call(n,e,i)}))},makeNodeResolver:function(e){return function(t,n){null===t?(arguments.length>2&&(n=Array.prototype.slice.call(arguments,1)),e.resolve(n)):e.reject(t)}},wait:function(e,t){var i=n(e,t||0);return function(){i&&(n.cancel(i),i=null)}},compile:function(e){return i.$evalAsync(e||function(){})},deepCopy:function(e){if(!angular.isObject(e))return e;var t=angular.isArray(e)?e.slice():angular.extend({},e);for(var n in t)t.hasOwnProperty(n)&&angular.isObject(t[n])&&(t[n]=r.deepCopy(t[n]));return t},trimKeys:function(e,t){r.each(e,(function(n,i){t.hasOwnProperty(i)||delete e[i]}))},scopeData:function(e){var t={$id:e.$id,$priority:e.$priority},n=!1;return r.each(e,(function(e,i){n=!0,t[i]=r.deepCopy(e)})),!n&&e.hasOwnProperty("$value")&&(t.$value=e.$value),t},updateRec:function(e,t){var n=t.val(),i=angular.extend({},e);return angular.isObject(n)?delete e.$value:(e.$value=n,n={}),r.trimKeys(e,n),angular.extend(e,n),e.$priority=t.getPriority(),!angular.equals(i,e)||i.$value!==e.$value||i.$priority!==e.$priority},applyDefaults:function(e,t){return angular.isObject(t)&&angular.forEach(t,(function(t,n){e.hasOwnProperty(n)||(e[n]=t)})),e},dataKeys:function(e){var t=[];return r.each(e,(function(e,n){t.push(n)})),t},each:function(e,t,n){if(angular.isObject(e)){for(var i in e)if(e.hasOwnProperty(i)){var r=i.charAt(0);"_"!==r&&"$"!==r&&"."!==r&&t.call(n,e[i],i,e)}}else if(angular.isArray(e))for(var o=0,s=e.length;o<s;o++)t.call(n,e[o],o,e);return e},toJSON:function(t){var n;return angular.isObject(t)||(t={$value:t}),angular.isFunction(t.toJSON)?n=t.toJSON():(n={},r.each(t,(function(t,i){n[i]=e(t)}))),angular.isDefined(t.$value)&&0===Object.keys(n).length&&null!==t.$value&&(n[".value"]=t.$value),angular.isDefined(t.$priority)&&Object.keys(n).length>0&&null!==t.$priority&&(n[".priority"]=t.$priority),angular.forEach(n,(function(e,t){if(t.match(/[.$\[\]#\/]/)&&".value"!==t&&".priority"!==t)throw new Error("Invalid key "+t+" (cannot contain .$[]#/)");if(angular.isUndefined(e))throw new Error("Key "+t+" was undefined. Cannot pass undefined in JSON. Use null instead.")})),n},doSet:function(e,n){var i=t.defer();if(angular.isFunction(e.set)||!angular.isObject(n))try{e.set(n,r.makeNodeResolver(i))}catch(e){i.reject(e)}else{var o=angular.extend({},n);e.once("value",(function(t){t.forEach((function(e){o.hasOwnProperty(e.key)||(o[e.key]=null)})),e.ref.update(o,r.makeNodeResolver(i))}),(function(e){i.reject(e)}))}return i.promise},doRemove:function(e){var n=t.defer();return angular.isFunction(e.remove)?e.remove(r.makeNodeResolver(n)):e.once("value",(function(t){var i=[];t.forEach((function(e){i.push(e.ref.remove())})),r.allPromises(i).then((function(){n.resolve(e)}),(function(e){n.reject(e)}))}),(function(e){n.reject(e)})),n.promise},VERSION:"2.3.0",allPromises:t.all.bind(t)};return r}])}(),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@easepick/datetime")):"function"==typeof define&&define.amd?define(["exports","@easepick/datetime"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).easepick=e.easepick||{},e.easepick)}(this,(function(e,t){"use strict";class n{picker;constructor(e){this.picker=e}render(e,n){e||(e=new t.DateTime),e.setDate(1),e.setHours(0,0,0,0),"function"==typeof this[`get${n}View`]&&this[`get${n}View`](e)}getContainerView(e){this.picker.ui.container.innerHTML="",this.picker.options.header&&this.picker.trigger("render",{date:e.clone(),view:"Header"}),this.picker.trigger("render",{date:e.clone(),view:"Main"}),this.picker.options.autoApply||this.picker.trigger("render",{date:e.clone(),view:"Footer"})}getHeaderView(e){const t=document.createElement("header");this.picker.options.header instanceof HTMLElement&&t.appendChild(this.picker.options.header),"string"==typeof this.picker.options.header&&(t.innerHTML=this.picker.options.header),this.picker.ui.container.appendChild(t),this.picker.trigger("view",{target:t,date:e.clone(),view:"Header"})}getMainView(e){const t=document.createElement("main");this.picker.ui.container.appendChild(t);const n=document.createElement("div");n.className=`calendars grid-${this.picker.options.grid}`;for(let t=0;t<this.picker.options.calendars;t++){const i=document.createElement("div");i.className="calendar",n.appendChild(i);const r=this.getCalendarHeaderView(e.clone());i.appendChild(r),this.picker.trigger("view",{date:e.clone(),view:"CalendarHeader",index:t,target:r});const o=this.getCalendarDayNamesView();i.appendChild(o),this.picker.trigger("view",{date:e.clone(),view:"CalendarDayNames",index:t,target:o});const s=this.getCalendarDaysView(e.clone());i.appendChild(s),this.picker.trigger("view",{date:e.clone(),view:"CalendarDays",index:t,target:s});const a=this.getCalendarFooterView(this.picker.options.lang,e.clone());i.appendChild(a),this.picker.trigger("view",{date:e.clone(),view:"CalendarFooter",index:t,target:a}),this.picker.trigger("view",{date:e.clone(),view:"CalendarItem",index:t,target:i}),e.add(1,"month")}t.appendChild(n),this.picker.trigger("view",{date:e.clone(),view:"Calendars",target:n}),this.picker.trigger("view",{date:e.clone(),view:"Main",target:t})}getFooterView(e){const t=document.createElement("footer"),n=document.createElement("div");n.className="footer-buttons";const i=document.createElement("button");i.className="cancel-button unit",i.innerHTML=this.picker.options.locale.cancel,n.appendChild(i);const r=document.createElement("button");r.className="apply-button unit",r.innerHTML=this.picker.options.locale.apply,r.disabled=!0,n.appendChild(r),t.appendChild(n),this.picker.ui.container.appendChild(t),this.picker.trigger("view",{date:e,target:t,view:"Footer"})}getCalendarHeaderView(e){const t=document.createElement("div");t.className="header";const n=document.createElement("div");n.className="month-name",n.innerHTML=`<span>${e.toLocaleString(this.picker.options.lang,{month:"long"})}</span> ${e.format("YYYY")}`,t.appendChild(n);const i=document.createElement("button");i.className="previous-button unit",i.innerHTML=this.picker.options.locale.previousMonth,t.appendChild(i);const r=document.createElement("button");return r.className="next-button unit",r.innerHTML=this.picker.options.locale.nextMonth,t.appendChild(r),t}getCalendarDayNamesView(){const e=document.createElement("div");e.className="daynames-row";for(let t=1;t<=7;t++){const n=3+this.picker.options.firstDay+t,i=document.createElement("div");i.className="dayname",i.innerHTML=new Date(1970,0,n,12,0,0,0).toLocaleString(this.picker.options.lang,{weekday:"short"}),i.title=new Date(1970,0,n,12,0,0,0).toLocaleString(this.picker.options.lang,{weekday:"long"}),e.appendChild(i),this.picker.trigger("view",{dayIdx:n,view:"CalendarDayName",target:i})}return e}getCalendarDaysView(e){const t=document.createElement("div");t.className="days-grid";const n=this.calcOffsetDays(e,this.picker.options.firstDay),i=32-new Date(e.getFullYear(),e.getMonth(),32).getDate();for(let e=0;e<n;e++){const e=document.createElement("div");e.className="offset",t.appendChild(e)}for(let n=1;n<=i;n++){e.setDate(n);const i=this.getCalendarDayView(e);t.appendChild(i),this.picker.trigger("view",{date:e,view:"CalendarDay",target:i})}return t}getCalendarDayView(e){const n=this.picker.options.date?new t.DateTime(this.picker.options.date):null,i=new t.DateTime,r=document.createElement("div");return r.className="day unit",r.innerHTML=e.format("D"),r.dataset.time=String(e.getTime()),e.isSame(i,"day")&&r.classList.add("today"),[0,6].includes(e.getDay())&&r.classList.add("weekend"),this.picker.datePicked.length?this.picker.datePicked[0].isSame(e,"day")&&r.classList.add("selected"):n&&e.isSame(n,"day")&&r.classList.add("selected"),this.picker.trigger("view",{date:e,view:"CalendarDay",target:r}),r}getCalendarFooterView(e,t){const n=document.createElement("div");return n.className="footer",n}calcOffsetDays(e,t){let n=e.getDay()-t;return n<0&&(n+=7),n}}class i{picker;instances={};constructor(e){this.picker=e}initialize(){const e=[];this.picker.options.plugins.forEach((t=>{"function"==typeof t?e.push(new t):"string"==typeof t&&"undefined"!=typeof easepick&&Object.prototype.hasOwnProperty.call(easepick,t)?e.push(new easepick[t]):console.warn(`easepick: ${t} not found.`)})),e.sort(((e,t)=>e.priority>t.priority?-1:e.priority<t.priority||e.dependencies.length>t.dependencies.length?1:e.dependencies.length<t.dependencies.length?-1:0)),e.forEach((e=>{e.attach(this.picker),this.instances[e.getName()]=e}))}getInstance(e){return this.instances[e]}addInstance(e){if(Object.prototype.hasOwnProperty.call(this.instances,e))console.warn(`easepick: ${e} already added.`);else{if("undefined"!=typeof easepick&&Object.prototype.hasOwnProperty.call(easepick,e)){const t=new easepick[e];return t.attach(this.picker),this.instances[t.getName()]=t,t}if("undefined"!==this.getPluginFn(e)){const t=new(this.getPluginFn(e));return t.attach(this.picker),this.instances[t.getName()]=t,t}console.warn(`easepick: ${e} not found.`)}return null}removeInstance(e){return e in this.instances&&this.instances[e].detach(),delete this.instances[e]}reloadInstance(e){return this.removeInstance(e),this.addInstance(e)}getPluginFn(e){return[...this.picker.options.plugins].filter((t=>"function"==typeof t&&(new t).getName()===e)).shift()}}class r{Calendar=new n(this);PluginManager=new i(this);calendars=[];datePicked=[];cssLoaded=0;binds={hidePicker:this.hidePicker.bind(this),show:this.show.bind(this)};options={doc:document,css:[],element:null,firstDay:1,grid:1,calendars:1,lang:"en-US",date:null,format:"YYYY-MM-DD",readonly:!0,autoApply:!0,header:!1,inline:!1,scrollToDate:!0,locale:{nextMonth:'<svg width="11" height="16" xmlns="http://www.w3.org/2000/svg"><path d="M2.748 16L0 13.333 5.333 8 0 2.667 2.748 0l7.919 8z" fill-rule="nonzero"/></svg>',previousMonth:'<svg width="11" height="16" xmlns="http://www.w3.org/2000/svg"><path d="M7.919 0l2.748 2.667L5.333 8l5.334 5.333L7.919 16 0 8z" fill-rule="nonzero"/></svg>',cancel:"Cancel",apply:"Apply"},documentClick:this.binds.hidePicker,plugins:[]};ui={container:null,shadowRoot:null,wrapper:null};version="1.2.0";constructor(e){const t={...this.options.locale,...e.locale};this.options={...this.options,...e},this.options.locale=t,this.handleOptions(),this.ui.wrapper=document.createElement("span"),this.ui.wrapper.style.display="none",this.ui.wrapper.style.position="absolute",this.ui.wrapper.style.pointerEvents="none",this.ui.wrapper.className="easepick-wrapper",this.ui.wrapper.attachShadow({mode:"open"}),this.ui.shadowRoot=this.ui.wrapper.shadowRoot,this.ui.container=document.createElement("div"),this.ui.container.className="container",this.options.zIndex&&(this.ui.container.style.zIndex=String(this.options.zIndex)),this.options.inline&&(this.ui.wrapper.style.position="relative",this.ui.container.classList.add("inline")),this.ui.shadowRoot.appendChild(this.ui.container),this.options.element.after(this.ui.wrapper),this.handleCSS(),this.options.element.addEventListener("click",this.binds.show),this.on("view",this.onView.bind(this)),this.on("render",this.onRender.bind(this)),this.PluginManager.initialize(),this.parseValues(),"function"==typeof this.options.setup&&this.options.setup(this),this.on("click",this.onClick.bind(this));const n=this.options.scrollToDate?this.getDate():null;this.renderAll(n)}on(e,t,n={}){this.ui.container.addEventListener(e,t,n)}off(e,t,n={}){this.ui.container.removeEventListener(e,t,n)}trigger(e,t={}){return this.ui.container.dispatchEvent(new CustomEvent(e,{detail:t}))}destroy(){this.options.element.removeEventListener("click",this.binds.show),"function"==typeof this.options.documentClick&&document.removeEventListener("click",this.options.documentClick,!0),Object.keys(this.PluginManager.instances).forEach((e=>{this.PluginManager.removeInstance(e)})),this.ui.wrapper.remove()}onRender(e){const{view:t,date:n}=e.detail;this.Calendar.render(n,t)}onView(e){const{view:t,target:n}=e.detail;"Footer"===t&&this.datePicked.length&&(n.querySelector(".apply-button").disabled=!1)}onClickHeaderButton(e){this.isCalendarHeaderButton(e)&&(e.classList.contains("next-button")?this.calendars[0].add(1,"month"):this.calendars[0].subtract(1,"month"),this.renderAll(this.calendars[0]))}onClickCalendarDay(e){if(this.isCalendarDay(e)){const n=new t.DateTime(e.dataset.time);this.options.autoApply?(this.setDate(n),this.trigger("select",{date:this.getDate()}),this.hide()):(this.datePicked[0]=n,this.trigger("preselect",{date:this.getDate()}),this.renderAll())}}onClickApplyButton(e){if(this.isApplyButton(e)){if(this.datePicked[0]instanceof Date){const e=this.datePicked[0].clone();this.setDate(e)}this.hide(),this.trigger("select",{date:this.getDate()})}}onClickCancelButton(e){this.isCancelButton(e)&&this.hide()}onClick(e){const t=e.target;if(t instanceof HTMLElement){const e=t.closest(".unit");if(!(e instanceof HTMLElement))return;this.onClickHeaderButton(e),this.onClickCalendarDay(e),this.onClickApplyButton(e),this.onClickCancelButton(e)}}isShown(){return this.ui.container.classList.contains("inline")||this.ui.container.classList.contains("show")}show(e){if(this.isShown())return;const t=e&&"target"in e?e.target:this.options.element,{top:n,left:i}=this.adjustPosition(t);this.ui.container.style.top=`${n}px`,this.ui.container.style.left=`${i}px`,this.ui.container.classList.add("show"),this.trigger("show",{target:t})}hide(){this.ui.container.classList.remove("show"),this.datePicked.length=0,this.renderAll(),this.trigger("hide")}setDate(e){const n=new t.DateTime(e,this.options.format);this.options.date=n.clone(),this.updateValues(),this.calendars.length&&this.renderAll()}getDate(){return this.options.date instanceof t.DateTime?this.options.date.clone():null}parseValues(){this.options.date?this.setDate(this.options.date):this.options.element instanceof HTMLInputElement&&this.options.element.value.length&&this.setDate(this.options.element.value),this.options.date instanceof Date||(this.options.date=null)}updateValues(){const e=this.getDate(),t=e instanceof Date?e.format(this.options.format,this.options.lang):"",n=this.options.element;n instanceof HTMLInputElement?n.value=t:n instanceof HTMLElement&&(n.innerText=t)}hidePicker(e){let t=e.target,n=null;t.shadowRoot&&(t=e.composedPath()[0],n=t.getRootNode().host),this.isShown()&&n!==this.ui.wrapper&&t!==this.options.element&&this.hide()}renderAll(e){this.trigger("render",{view:"Container",date:(e||this.calendars[0]).clone()})}isCalendarHeaderButton(e){return["previous-button","next-button"].some((t=>e.classList.contains(t)))}isCalendarDay(e){return e.classList.contains("day")}isApplyButton(e){return e.classList.contains("apply-button")}isCancelButton(e){return e.classList.contains("cancel-button")}gotoDate(e){const n=new t.DateTime(e,this.options.format);n.setDate(1),this.calendars[0]=n.clone(),this.renderAll()}clear(){this.options.date=null,this.datePicked.length=0,this.updateValues(),this.renderAll(),this.trigger("clear")}handleOptions(){this.options.element instanceof HTMLElement||(this.options.element=this.options.doc.querySelector(this.options.element)),"function"==typeof this.options.documentClick&&document.addEventListener("click",this.options.documentClick,!0),this.options.element instanceof HTMLInputElement&&(this.options.element.readOnly=this.options.readonly),this.options.date?this.calendars[0]=new t.DateTime(this.options.date,this.options.format):this.calendars[0]=new t.DateTime}handleCSS(){if(Array.isArray(this.options.css))this.options.css.forEach((e=>{const t=document.createElement("link");t.href=e,t.rel="stylesheet";const n=()=>{this.cssLoaded++,this.cssLoaded===this.options.css.length&&(this.ui.wrapper.style.display="")};t.addEventListener("load",n),t.addEventListener("error",n),this.ui.shadowRoot.append(t)}));else if("string"==typeof this.options.css){const e=document.createElement("style"),t=document.createTextNode(this.options.css);e.appendChild(t),this.ui.shadowRoot.append(e),this.ui.wrapper.style.display=""}else"function"==typeof this.options.css&&(this.options.css.call(this,this),this.ui.wrapper.style.display="")}adjustPosition(e){const t=e.getBoundingClientRect(),n=this.ui.wrapper.getBoundingClientRect();this.ui.container.classList.add("calc");const i=this.ui.container.getBoundingClientRect();this.ui.container.classList.remove("calc");let r=t.bottom-n.bottom,o=t.left-n.left;return"undefined"!=typeof window&&(window.innerHeight<r+i.height&&r-i.height>=0&&(r=t.top-n.top-i.height),window.innerWidth<o+i.width&&t.right-i.width>=0&&(o=t.right-n.right-i.width)),{left:o,top:r}}}var o=Object.freeze({__proto__:null,Core:r,create:r});e.Core=r,e.create=r,e.easepick=o,Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).easepick=e.easepick||{})}(this,(function(e){"use strict";class t extends Date{static parseDateTime(e,n="YYYY-MM-DD",i="en-US"){if(!e)return new Date((new Date).setHours(0,0,0,0));if(e instanceof t)return e.toJSDate();if(e instanceof Date)return e;if(/^-?\d{10,}$/.test(String(e)))return new Date(Number(e));if("string"==typeof e){const r=[];let o=null;for(;null!=(o=t.regex.exec(n));)"\\"!==o[1]&&r.push(o);if(r.length){const n={year:null,month:null,shortMonth:null,longMonth:null,day:null,hour:0,minute:0,second:0,ampm:null,value:""};r[0].index>0&&(n.value+=".*?");for(const[e,o]of Object.entries(r)){const r=Number(e),{group:s,pattern:a}=t.formatPatterns(o[0],i);n[s]=r+1,n.value+=a,n.value+=".*?"}const o=new RegExp(`^${n.value}$`);if(o.test(e)){const r=o.exec(e),s=Number(r[n.year]);let a=null;n.month?a=Number(r[n.month])-1:n.shortMonth?a=t.shortMonths(i).indexOf(r[n.shortMonth]):n.longMonth&&(a=t.longMonths(i).indexOf(r[n.longMonth]));const l=Number(r[n.day])||1,c=Number(r[n.hour]);let u=Number.isNaN(c)?0:c;const d=Number(r[n.minute]),h=Number.isNaN(d)?0:d,f=Number(r[n.second]),p=Number.isNaN(f)?0:f,g=r[n.ampm];return g&&"PM"===g&&(u+=12,24===u&&(u=0)),new Date(s,a,l,u,h,p,0)}}}return new Date((new Date).setHours(0,0,0,0))}static regex=/(\\)?(Y{2,4}|M{1,4}|D{1,2}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|A|a)/g;static MONTH_JS=[0,1,2,3,4,5,6,7,8,9,10,11];static shortMonths(e){return t.MONTH_JS.map((t=>new Date(2019,t).toLocaleString(e,{month:"short"})))}static longMonths(e){return t.MONTH_JS.map((t=>new Date(2019,t).toLocaleString(e,{month:"long"})))}static formatPatterns(e,n){switch(e){case"YY":case"YYYY":return{group:"year",pattern:`(\\d{${e.length}})`};case"M":return{group:"month",pattern:"(\\d{1,2})"};case"MM":return{group:"month",pattern:"(\\d{2})"};case"MMM":return{group:"shortMonth",pattern:`(${t.shortMonths(n).join("|")})`};case"MMMM":return{group:"longMonth",pattern:`(${t.longMonths(n).join("|")})`};case"D":return{group:"day",pattern:"(\\d{1,2})"};case"DD":return{group:"day",pattern:"(\\d{2})"};case"h":case"H":return{group:"hour",pattern:"(\\d{1,2})"};case"hh":case"HH":return{group:"hour",pattern:"(\\d{2})"};case"m":return{group:"minute",pattern:"(\\d{1,2})"};case"mm":return{group:"minute",pattern:"(\\d{2})"};case"s":return{group:"second",pattern:"(\\d{1,2})"};case"ss":return{group:"second",pattern:"(\\d{2})"};case"a":case"A":return{group:"ampm",pattern:"(AM|PM|am|pm)"}}}lang;constructor(e=null,n="YYYY-MM-DD",i="en-US"){super(t.parseDateTime(e,n,i)),this.lang=i}getWeek(e){const t=new Date(this.midnight_ts(this)),n=(this.getDay()+(7-e))%7;t.setDate(t.getDate()-n);const i=t.getTime();return t.setMonth(0,1),t.getDay()!==e&&t.setMonth(0,1+(4-t.getDay()+7)%7),1+Math.ceil((i-t.getTime())/6048e5)}clone(){return new t(this)}toJSDate(){return new Date(this)}inArray(e,t="[]"){return e.some((e=>e instanceof Array?this.isBetween(e[0],e[1],t):this.isSame(e,"day")))}isBetween(e,t,n="()"){switch(n){default:case"()":return this.midnight_ts(this)>this.midnight_ts(e)&&this.midnight_ts(this)<this.midnight_ts(t);case"[)":return this.midnight_ts(this)>=this.midnight_ts(e)&&this.midnight_ts(this)<this.midnight_ts(t);case"(]":return this.midnight_ts(this)>this.midnight_ts(e)&&this.midnight_ts(this)<=this.midnight_ts(t);case"[]":return this.midnight_ts()>=this.midnight_ts(e)&&this.midnight_ts()<=this.midnight_ts(t)}}isBefore(e,t="days"){switch(t){case"day":case"days":return new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()>new Date(this.getFullYear(),this.getMonth(),this.getDate()).getTime();case"month":case"months":return new Date(e.getFullYear(),e.getMonth(),1).getTime()>new Date(this.getFullYear(),this.getMonth(),1).getTime();case"year":case"years":return e.getFullYear()>this.getFullYear()}throw new Error("isBefore: Invalid unit!")}isSameOrBefore(e,t="days"){switch(t){case"day":case"days":return new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()>=new Date(this.getFullYear(),this.getMonth(),this.getDate()).getTime();case"month":case"months":return new Date(e.getFullYear(),e.getMonth(),1).getTime()>=new Date(this.getFullYear(),this.getMonth(),1).getTime()}throw new Error("isSameOrBefore: Invalid unit!")}isAfter(e,t="days"){switch(t){case"day":case"days":return new Date(this.getFullYear(),this.getMonth(),this.getDate()).getTime()>new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime();case"month":case"months":return new Date(this.getFullYear(),this.getMonth(),1).getTime()>new Date(e.getFullYear(),e.getMonth(),1).getTime();case"year":case"years":return this.getFullYear()>e.getFullYear()}throw new Error("isAfter: Invalid unit!")}isSameOrAfter(e,t="days"){switch(t){case"day":case"days":return new Date(this.getFullYear(),this.getMonth(),this.getDate()).getTime()>=new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime();case"month":case"months":return new Date(this.getFullYear(),this.getMonth(),1).getTime()>=new Date(e.getFullYear(),e.getMonth(),1).getTime()}throw new Error("isSameOrAfter: Invalid unit!")}isSame(e,t="days"){switch(t){case"day":case"days":return new Date(this.getFullYear(),this.getMonth(),this.getDate()).getTime()===new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime();case"month":case"months":return new Date(this.getFullYear(),this.getMonth(),1).getTime()===new Date(e.getFullYear(),e.getMonth(),1).getTime()}throw new Error("isSame: Invalid unit!")}add(e,t="days"){switch(t){case"day":case"days":this.setDate(this.getDate()+e);break;case"month":case"months":this.setMonth(this.getMonth()+e)}return this}subtract(e,t="days"){switch(t){case"day":case"days":this.setDate(this.getDate()-e);break;case"month":case"months":this.setMonth(this.getMonth()-e)}return this}diff(e,t="days"){switch(t){default:case"day":case"days":return Math.round((this.midnight_ts()-this.midnight_ts(e))/864e5);case"month":case"months":let t=12*(e.getFullYear()-this.getFullYear());return t-=e.getMonth(),t+=this.getMonth(),t}}format(e,n="en-US"){let i="";const r=[];let o=null;for(;null!=(o=t.regex.exec(e));)"\\"!==o[1]&&r.push(o);if(r.length){r[0].index>0&&(i+=e.substring(0,r[0].index));for(const[t,o]of Object.entries(r)){const s=Number(t);i+=this.formatTokens(o[0],n),r[s+1]&&(i+=e.substring(o.index+o[0].length,r[s+1].index)),s===r.length-1&&(i+=e.substring(o.index+o[0].length))}}return i.replace(/\\/g,"")}midnight_ts(e){return e?new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0).getTime():new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0,0).getTime()}formatTokens(e,n){switch(e){case"YY":return String(this.getFullYear()).slice(-2);case"YYYY":return String(this.getFullYear());case"M":return String(this.getMonth()+1);case"MM":return`0${this.getMonth()+1}`.slice(-2);case"MMM":return t.shortMonths(n)[this.getMonth()];case"MMMM":return t.longMonths(n)[this.getMonth()];case"D":return String(this.getDate());case"DD":return`0${this.getDate()}`.slice(-2);case"H":return String(this.getHours());case"HH":return`0${this.getHours()}`.slice(-2);case"h":return String(this.getHours()%12||12);case"hh":return`0${this.getHours()%12||12}`.slice(-2);case"m":return String(this.getMinutes());case"mm":return`0${this.getMinutes()}`.slice(-2);case"s":return String(this.getSeconds());case"ss":return`0${this.getSeconds()}`.slice(-2);case"a":return this.getHours()<12||24===this.getHours()?"am":"pm";case"A":return this.getHours()<12||24===this.getHours()?"AM":"PM";default:return""}}}e.DateTime=t,Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).easepick=e.easepick||{})}(this,(function(e){"use strict";e.BasePlugin=class{picker;options;priority=0;dependencies=[];attach(e){const t=this.getName(),n={...this.options};this.options={...this.options,...e.options[t]||{}};for(const i of Object.keys(n))if(null!==n[i]&&"object"==typeof n[i]&&Object.keys(n[i]).length&&t in e.options&&i in e.options[t]){const r={...e.options[t][i]};null!==r&&"object"==typeof r&&Object.keys(r).length&&Object.keys(r).every((e=>Object.keys(n[i]).includes(e)))&&(this.options[i]={...n[i],...r})}if(this.picker=e,this.dependenciesNotFound()){const e=this.dependencies.filter((e=>!this.pluginsAsStringArray().includes(e)));return void console.warn(`${this.getName()}: required dependencies (${e.join(", ")}).`)}const i=this.camelCaseToKebab(this.getName());this.picker.ui.container.classList.add(i),this.onAttach()}detach(){const e=this.camelCaseToKebab(this.getName());this.picker.ui.container.classList.remove(e),"function"==typeof this.onDetach&&this.onDetach()}dependenciesNotFound(){return this.dependencies.length&&!this.dependencies.every((e=>this.pluginsAsStringArray().includes(e)))}pluginsAsStringArray(){return this.picker.options.plugins.map((e=>"function"==typeof e?(new e).getName():e))}camelCaseToKebab(e){return e.replace(/([a-zA-Z])(?=[A-Z])/g,"$1-").toLowerCase()}},Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@easepick/datetime"),require("@easepick/base-plugin")):"function"==typeof define&&define.amd?define(["exports","@easepick/datetime","@easepick/base-plugin"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).easepick=e.easepick||{},e.easepick,e.easepick)}(this,(function(e,t,n){"use strict";class i extends n.BasePlugin{priority=1;binds={onView:this.onView.bind(this)};options={minDate:null,maxDate:null,minDays:null,maxDays:null,selectForward:null,selectBackward:null,presets:!0,inseparable:!1,filter:null};getName(){return"LockPlugin"}onAttach(){if(this.options.minDate&&(this.options.minDate=new t.DateTime(this.options.minDate,this.picker.options.format,this.picker.options.lang)),this.options.maxDate&&(this.options.maxDate=new t.DateTime(this.options.maxDate,this.picker.options.format,this.picker.options.lang),this.options.maxDate instanceof t.DateTime&&this.picker.options.calendars>1&&this.picker.calendars[0].isSame(this.options.maxDate,"month"))){const e=this.picker.calendars[0].clone().subtract(1,"month");this.picker.gotoDate(e)}if((this.options.minDays||this.options.maxDays||this.options.selectForward||this.options.selectBackward)&&!this.picker.options.plugins.includes("RangePlugin")){const e=["minDays","maxDays","selectForward","selectBackward"];console.warn(`${this.getName()}: options ${e.join(", ")} required RangePlugin.`)}this.picker.on("view",this.binds.onView)}onDetach(){this.picker.off("view",this.binds.onView)}onView(e){const{view:n,target:i,date:r}=e.detail;if("CalendarHeader"===n&&(this.options.minDate instanceof t.DateTime&&r.isSameOrBefore(this.options.minDate,"month")&&i.classList.add("no-previous-month"),this.options.maxDate instanceof t.DateTime&&r.isSameOrAfter(this.options.maxDate,"month")&&i.classList.add("no-next-month")),"CalendarDay"===n){const e=this.picker.datePicked.length?this.picker.datePicked[0]:null;if(this.testFilter(r))return void i.classList.add("locked");if(this.options.inseparable){if(this.options.minDays){const e=r.clone().subtract(this.options.minDays-1,"day"),t=r.clone().add(this.options.minDays-1,"day");let n=!1,o=!1;for(;e.isBefore(r,"day");){if(this.testFilter(e)){n=!0;break}e.add(1,"day")}for(;t.isAfter(r,"day");){if(this.testFilter(t)){o=!0;break}t.subtract(1,"day")}n&&o&&i.classList.add("not-available")}this.rangeIsNotAvailable(r,e)&&i.classList.add("not-available")}this.dateIsNotAvailable(r,e)&&i.classList.add("not-available")}if(this.options.presets&&"PresetPluginButton"===n){const e=new t.DateTime(Number(i.dataset.start)),n=new t.DateTime(Number(i.dataset.end)),r=n.diff(e,"day"),o=this.options.minDays&&r<this.options.minDays,s=this.options.maxDays&&r>this.options.maxDays;(o||s||this.lockMinDate(e)||this.lockMaxDate(e)||this.lockMinDate(n)||this.lockMaxDate(n)||this.rangeIsNotAvailable(e,n))&&i.setAttribute("disabled","disabled")}}dateIsNotAvailable(e,t){return this.lockMinDate(e)||this.lockMaxDate(e)||this.lockMinDays(e,t)||this.lockMaxDays(e,t)||this.lockSelectForward(e)||this.lockSelectBackward(e)}rangeIsNotAvailable(e,t){if(!e||!t)return!1;const n=(e.isSameOrBefore(t,"day")?e:t).clone(),i=(t.isSameOrAfter(e,"day")?t:e).clone();for(;n.isSameOrBefore(i,"day");){if(this.testFilter(n))return!0;n.add(1,"day")}return!1}lockMinDate(e){return this.options.minDate instanceof t.DateTime&&e.isBefore(this.options.minDate,"day")}lockMaxDate(e){return this.options.maxDate instanceof t.DateTime&&e.isAfter(this.options.maxDate,"day")}lockMinDays(e,t){if(this.options.minDays&&t){const n=t.clone().subtract(this.options.minDays-1,"day"),i=t.clone().add(this.options.minDays-1,"day");return e.isBetween(n,i)}return!1}lockMaxDays(e,t){if(this.options.maxDays&&t){const n=t.clone().subtract(this.options.maxDays,"day"),i=t.clone().add(this.options.maxDays,"day");return!e.isBetween(n,i)}return!1}lockSelectForward(e){if(1===this.picker.datePicked.length&&this.options.selectForward){const t=this.picker.datePicked[0].clone();return e.isBefore(t,"day")}return!1}lockSelectBackward(e){if(1===this.picker.datePicked.length&&this.options.selectBackward){const t=this.picker.datePicked[0].clone();return e.isAfter(t,"day")}return!1}testFilter(e){return"function"==typeof this.options.filter&&this.options.filter(e,this.picker.datePicked)}}e.LockPlugin=i,Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@easepick/datetime"),require("@easepick/base-plugin")):"function"==typeof define&&define.amd?define(["exports","@easepick/datetime","@easepick/base-plugin"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).easepick=e.easepick||{},e.easepick,e.easepick)}(this,(function(e,t,n){"use strict";class i extends n.BasePlugin{tooltipElement;triggerElement;binds={setStartDate:this.setStartDate.bind(this),setEndDate:this.setEndDate.bind(this),setDateRange:this.setDateRange.bind(this),getStartDate:this.getStartDate.bind(this),getEndDate:this.getEndDate.bind(this),onView:this.onView.bind(this),onShow:this.onShow.bind(this),onMouseEnter:this.onMouseEnter.bind(this),onMouseLeave:this.onMouseLeave.bind(this),onClickCalendarDay:this.onClickCalendarDay.bind(this),onClickApplyButton:this.onClickApplyButton.bind(this),parseValues:this.parseValues.bind(this),updateValues:this.updateValues.bind(this),clear:this.clear.bind(this)};options={elementEnd:null,startDate:null,endDate:null,repick:!1,strict:!0,delimiter:" - ",tooltip:!0,tooltipNumber:e=>e,locale:{zero:"",one:"day",two:"",few:"",many:"",other:"days"},documentClick:this.hidePicker.bind(this)};getName(){return"RangePlugin"}onAttach(){this.binds._setStartDate=this.picker.setStartDate,this.binds._setEndDate=this.picker.setEndDate,this.binds._setDateRange=this.picker.setDateRange,this.binds._getStartDate=this.picker.getStartDate,this.binds._getEndDate=this.picker.getEndDate,this.binds._parseValues=this.picker.parseValues,this.binds._updateValues=this.picker.updateValues,this.binds._clear=this.picker.clear,this.binds._onClickCalendarDay=this.picker.onClickCalendarDay,this.binds._onClickApplyButton=this.picker.onClickApplyButton,Object.defineProperties(this.picker,{setStartDate:{configurable:!0,value:this.binds.setStartDate},setEndDate:{configurable:!0,value:this.binds.setEndDate},setDateRange:{configurable:!0,value:this.binds.setDateRange},getStartDate:{configurable:!0,value:this.binds.getStartDate},getEndDate:{configurable:!0,value:this.binds.getEndDate},parseValues:{configurable:!0,value:this.binds.parseValues},updateValues:{configurable:!0,value:this.binds.updateValues},clear:{configurable:!0,value:this.binds.clear},onClickCalendarDay:{configurable:!0,value:this.binds.onClickCalendarDay},onClickApplyButton:{configurable:!0,value:this.binds.onClickApplyButton}}),this.options.elementEnd&&(this.options.elementEnd instanceof HTMLElement||(this.options.elementEnd=this.picker.options.doc.querySelector(this.options.elementEnd)),this.options.elementEnd instanceof HTMLInputElement&&(this.options.elementEnd.readOnly=this.picker.options.readonly),"function"==typeof this.picker.options.documentClick&&(document.removeEventListener("click",this.picker.options.documentClick,!0),"function"==typeof this.options.documentClick&&document.addEventListener("click",this.options.documentClick,!0)),this.options.elementEnd.addEventListener("click",this.picker.show.bind(this.picker))),this.options.repick=this.options.repick&&this.options.elementEnd instanceof HTMLElement,this.picker.options.date=null,this.picker.on("view",this.binds.onView),this.picker.on("show",this.binds.onShow),this.picker.on("mouseenter",this.binds.onMouseEnter,!0),this.picker.on("mouseleave",this.binds.onMouseLeave,!0),this.checkIntlPluralLocales()}onDetach(){Object.defineProperties(this.picker,{setStartDate:{configurable:!0,value:this.binds._setStartDate},setEndDate:{configurable:!0,value:this.binds._setEndDate},setDateRange:{configurable:!0,value:this.binds._setDateRange},getStartDate:{configurable:!0,value:this.binds._getStartDate},getEndDate:{configurable:!0,value:this.binds._getEndDate},parseValues:{configurable:!0,value:this.binds._parseValues},updateValues:{configurable:!0,value:this.binds._updateValues},clear:{configurable:!0,value:this.binds._clear},onClickCalendarDay:{configurable:!0,value:this.binds._onClickCalendarDay},onClickApplyButton:{configurable:!0,value:this.binds._onClickApplyButton}}),this.picker.off("view",this.binds.onView),this.picker.off("show",this.binds.onShow),this.picker.off("mouseenter",this.binds.onMouseEnter,!0),this.picker.off("mouseleave",this.binds.onMouseLeave,!0)}parseValues(){if(this.options.startDate||this.options.endDate)this.options.strict?this.options.startDate&&this.options.endDate?this.setDateRange(this.options.startDate,this.options.endDate):(this.options.startDate=null,this.options.endDate=null):(this.options.startDate&&this.setStartDate(this.options.startDate),this.options.endDate&&this.setEndDate(this.options.endDate));else if(this.options.elementEnd)this.options.strict?this.picker.options.element instanceof HTMLInputElement&&this.picker.options.element.value.length&&this.options.elementEnd instanceof HTMLInputElement&&this.options.elementEnd.value.length&&this.setDateRange(this.picker.options.element.value,this.options.elementEnd.value):(this.picker.options.element instanceof HTMLInputElement&&this.picker.options.element.value.length&&this.setStartDate(this.picker.options.element.value),this.options.elementEnd instanceof HTMLInputElement&&this.options.elementEnd.value.length&&this.setEndDate(this.options.elementEnd.value));else if(this.picker.options.element instanceof HTMLInputElement&&this.picker.options.element.value.length){const[e,t]=this.picker.options.element.value.split(this.options.delimiter);this.options.strict?e&&t&&this.setDateRange(e,t):(e&&this.setStartDate(e),t&&this.setEndDate(t))}}updateValues(){const e=this.picker.options.element,t=this.options.elementEnd,n=this.picker.getStartDate(),i=this.picker.getEndDate(),r=n instanceof Date?n.format(this.picker.options.format,this.picker.options.lang):"",o=i instanceof Date?i.format(this.picker.options.format,this.picker.options.lang):"";if(t)e instanceof HTMLInputElement?e.value=r:e instanceof HTMLElement&&(e.innerText=r),t instanceof HTMLInputElement?t.value=o:t instanceof HTMLElement&&(t.innerText=o);else{const t=`${r}${r||o?this.options.delimiter:""}${o}`;e instanceof HTMLInputElement?e.value=t:e instanceof HTMLElement&&(e.innerText=t)}}clear(){this.options.startDate=null,this.options.endDate=null,this.picker.datePicked.length=0,this.updateValues(),this.picker.renderAll(),this.picker.trigger("clear")}onShow(e){const{target:t}=e.detail;this.triggerElement=t,this.picker.options.scrollToDate&&this.getStartDate()instanceof Date&&this.picker.gotoDate(this.getStartDate()),this.initializeRepick()}onView(e){const{view:n,target:i}=e.detail;if("Main"===n&&(this.tooltipElement=document.createElement("span"),this.tooltipElement.className="range-plugin-tooltip",i.appendChild(this.tooltipElement)),"CalendarDay"===n){const e=new t.DateTime(i.dataset.time),n=this.picker.datePicked,r=n.length?this.picker.datePicked[0]:this.getStartDate(),o=n.length?this.picker.datePicked[1]:this.getEndDate();r&&r.isSame(e,"day")&&i.classList.add("start"),r&&o&&(o.isSame(e,"day")&&i.classList.add("end"),e.isBetween(r,o)&&i.classList.add("in-range"))}if("Footer"===n){const e=1===this.picker.datePicked.length&&!this.options.strict||2===this.picker.datePicked.length;i.querySelector(".apply-button").disabled=!e}}hidePicker(e){let t=e.target,n=null;t.shadowRoot&&(t=e.composedPath()[0],n=t.getRootNode().host),this.picker.isShown()&&n!==this.picker.ui.wrapper&&t!==this.picker.options.element&&t!==this.options.elementEnd&&this.picker.hide()}setStartDate(e){const n=new t.DateTime(e,this.picker.options.format);this.options.startDate=n?n.clone():null,this.updateValues(),this.picker.renderAll()}setEndDate(e){const n=new t.DateTime(e,this.picker.options.format);this.options.endDate=n?n.clone():null,this.updateValues(),this.picker.renderAll()}setDateRange(e,n){const i=new t.DateTime(e,this.picker.options.format),r=new t.DateTime(n,this.picker.options.format);this.options.startDate=i?i.clone():null,this.options.endDate=r?r.clone():null,this.updateValues(),this.picker.renderAll()}getStartDate(){return this.options.startDate instanceof Date?this.options.startDate.clone():null}getEndDate(){return this.options.endDate instanceof Date?this.options.endDate.clone():null}onMouseEnter(e){const n=e.target;if(n instanceof HTMLElement){this.isContainer(n)&&this.initializeRepick();const e=n.closest(".unit");if(!(e instanceof HTMLElement))return;if(this.picker.isCalendarDay(e)){if(1!==this.picker.datePicked.length)return;let n=this.picker.datePicked[0].clone(),i=new t.DateTime(e.dataset.time),r=!1;if(n.isAfter(i,"day")){const e=n.clone();n=i.clone(),i=e.clone(),r=!0}if([...this.picker.ui.container.querySelectorAll(".day")].forEach((o=>{const s=new t.DateTime(o.dataset.time),a=this.picker.Calendar.getCalendarDayView(s);s.isBetween(n,i)&&a.classList.add("in-range"),s.isSame(this.picker.datePicked[0],"day")&&(a.classList.add("start"),a.classList.toggle("flipped",r)),o===e&&(a.classList.add("end"),a.classList.toggle("flipped",r)),o.className=a.className})),this.options.tooltip){const t=this.options.tooltipNumber(i.diff(n,"day")+1);if(t>0){const n=new Intl.PluralRules(this.picker.options.lang).select(t),i=`${t} ${this.options.locale[n]}`;this.showTooltip(e,i)}else this.hideTooltip()}}}}onMouseLeave(e){if(this.isContainer(e.target)&&this.options.repick){const e=this.getStartDate(),t=this.getEndDate();e&&t&&(this.picker.datePicked.length=0,this.picker.renderAll())}}onClickCalendarDay(e){if(this.picker.isCalendarDay(e)){2===this.picker.datePicked.length&&(this.picker.datePicked.length=0);const n=new t.DateTime(e.dataset.time);if(this.picker.datePicked[this.picker.datePicked.length]=n,2===this.picker.datePicked.length&&this.picker.datePicked[0].isAfter(this.picker.datePicked[1])){const e=this.picker.datePicked[1].clone();this.picker.datePicked[1]=this.picker.datePicked[0].clone(),this.picker.datePicked[0]=e.clone()}1!==this.picker.datePicked.length&&this.picker.options.autoApply||this.picker.trigger("preselect",{start:this.picker.datePicked[0]instanceof Date?this.picker.datePicked[0].clone():null,end:this.picker.datePicked[1]instanceof Date?this.picker.datePicked[1].clone():null}),1===this.picker.datePicked.length&&(!this.options.strict&&this.picker.options.autoApply&&(this.picker.options.element===this.triggerElement&&this.setStartDate(this.picker.datePicked[0]),this.options.elementEnd===this.triggerElement&&this.setEndDate(this.picker.datePicked[0]),this.picker.trigger("select",{start:this.picker.getStartDate(),end:this.picker.getEndDate()})),this.picker.renderAll()),2===this.picker.datePicked.length&&(this.picker.options.autoApply?(this.setDateRange(this.picker.datePicked[0],this.picker.datePicked[1]),this.picker.trigger("select",{start:this.picker.getStartDate(),end:this.picker.getEndDate()}),this.picker.hide()):(this.hideTooltip(),this.picker.renderAll()))}}onClickApplyButton(e){this.picker.isApplyButton(e)&&(1!==this.picker.datePicked.length||this.options.strict||(this.picker.options.element===this.triggerElement&&(this.options.endDate=null,this.setStartDate(this.picker.datePicked[0])),this.options.elementEnd===this.triggerElement&&(this.options.startDate=null,this.setEndDate(this.picker.datePicked[0]))),2===this.picker.datePicked.length&&this.setDateRange(this.picker.datePicked[0],this.picker.datePicked[1]),this.picker.trigger("select",{start:this.picker.getStartDate(),end:this.picker.getEndDate()}),this.picker.hide())}showTooltip(e,t){this.tooltipElement.style.visibility="visible",this.tooltipElement.innerHTML=t;const n=this.picker.ui.container.getBoundingClientRect(),i=this.tooltipElement.getBoundingClientRect(),r=e.getBoundingClientRect();let o=r.top,s=r.left;o-=n.top,s-=n.left,o-=i.height,s-=i.width/2,s+=r.width/2,this.tooltipElement.style.top=`${o}px`,this.tooltipElement.style.left=`${s}px`}hideTooltip(){this.tooltipElement.style.visibility="hidden"}checkIntlPluralLocales(){if(!this.options.tooltip)return;const e=[...new Set([new Intl.PluralRules(this.picker.options.lang).select(0),new Intl.PluralRules(this.picker.options.lang).select(1),new Intl.PluralRules(this.picker.options.lang).select(2),new Intl.PluralRules(this.picker.options.lang).select(6),new Intl.PluralRules(this.picker.options.lang).select(18)])],t=Object.keys(this.options.locale);e.every((e=>t.includes(e)))||console.warn(`${this.getName()}: provide locales (${e.join(", ")}) for correct tooltip text.`)}initializeRepick(){if(!this.options.repick)return;const e=this.getStartDate(),t=this.getEndDate();t&&this.triggerElement===this.picker.options.element&&(this.picker.datePicked[0]=t),e&&this.triggerElement===this.options.elementEnd&&(this.picker.datePicked[0]=e)}isContainer(e){return e===this.picker.ui.container}}e.RangePlugin=i,Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap={},e.jQuery,e.Popper)}(this,(function(e,t,n){"use strict";function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var r=i(t),o=i(n);function s(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}function a(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l.apply(this,arguments)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var u="transitionend",d={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(1e6*Math.random())}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var n=e.getAttribute("href");t=n&&"#"!==n?n.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=r.default(e).css("transition-duration"),n=r.default(e).css("transition-delay"),i=parseFloat(t),o=parseFloat(n);return i||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(t)+parseFloat(n))):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){r.default(e).trigger(u)},supportsTransitionEnd:function(){return Boolean(u)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var r=n[i],o=t[i],s=o&&d.isElement(o)?"element":null===(a=o)||void 0===a?""+a:{}.toString.call(a).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(r).test(s))throw new Error(e.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+r+'".')}var a},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?d.findShadowRoot(e.parentNode):null},jQueryDetection:function(){if(void 0===r.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=r.default.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1===e[0]&&9===e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};d.jQueryDetection(),r.default.fn.emulateTransitionEnd=function(e){var t=this,n=!1;return r.default(this).one(d.TRANSITION_END,(function(){n=!0})),setTimeout((function(){n||d.triggerTransitionEnd(t)}),e),this},r.default.event.special[d.TRANSITION_END]={bindType:u,delegateType:u,handle:function(e){if(r.default(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}};var h="bs.alert",f=r.default.fn.alert,p=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){r.default.removeData(this._element,h),this._element=null},t._getRootElement=function(e){var t=d.getSelectorFromElement(e),n=!1;return t&&(n=document.querySelector(t)),n||(n=r.default(e).closest(".alert")[0]),n},t._triggerCloseEvent=function(e){var t=r.default.Event("close.bs.alert");return r.default(e).trigger(t),t},t._removeElement=function(e){var t=this;if(r.default(e).removeClass("show"),r.default(e).hasClass("fade")){var n=d.getTransitionDurationFromElement(e);r.default(e).one(d.TRANSITION_END,(function(n){return t._destroyElement(e,n)})).emulateTransitionEnd(n)}else this._destroyElement(e)},t._destroyElement=function(e){r.default(e).detach().trigger("closed.bs.alert").remove()},e._jQueryInterface=function(t){return this.each((function(){var n=r.default(this),i=n.data(h);i||(i=new e(this),n.data(h,i)),"close"===t&&i[t](this)}))},e._handleDismiss=function(e){return function(t){t&&t.preventDefault(),e.close(this)}},a(e,null,[{key:"VERSION",get:function(){return"4.6.1"}}]),e}();r.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',p._handleDismiss(new p)),r.default.fn.alert=p._jQueryInterface,r.default.fn.alert.Constructor=p,r.default.fn.alert.noConflict=function(){return r.default.fn.alert=f,p._jQueryInterface};var g="bs.button",m=r.default.fn.button,v="active",$='[data-toggle^="button"]',y='input:not([type="hidden"])',b=".btn",w=function(){function e(e){this._element=e,this.shouldAvoidTriggerChange=!1}var t=e.prototype;return t.toggle=function(){var e=!0,t=!0,n=r.default(this._element).closest('[data-toggle="buttons"]')[0];if(n){var i=this._element.querySelector(y);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(v))e=!1;else{var o=n.querySelector(".active");o&&r.default(o).removeClass(v)}e&&("checkbox"!==i.type&&"radio"!==i.type||(i.checked=!this._element.classList.contains(v)),this.shouldAvoidTriggerChange||r.default(i).trigger("change")),i.focus(),t=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(t&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(v)),e&&r.default(this._element).toggleClass(v))},t.dispose=function(){r.default.removeData(this._element,g),this._element=null},e._jQueryInterface=function(t,n){return this.each((function(){var i=r.default(this),o=i.data(g);o||(o=new e(this),i.data(g,o)),o.shouldAvoidTriggerChange=n,"toggle"===t&&o[t]()}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.1"}}]),e}();r.default(document).on("click.bs.button.data-api",$,(function(e){var t=e.target,n=t;if(r.default(t).hasClass("btn")||(t=r.default(t).closest(b)[0]),!t||t.hasAttribute("disabled")||t.classList.contains("disabled"))e.preventDefault();else{var i=t.querySelector(y);if(i&&(i.hasAttribute("disabled")||i.classList.contains("disabled")))return void e.preventDefault();"INPUT"!==n.tagName&&"LABEL"===t.tagName||w._jQueryInterface.call(r.default(t),"toggle","INPUT"===n.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",$,(function(e){var t=r.default(e.target).closest(b)[0];r.default(t).toggleClass("focus",/^focus(in)?$/.test(e.type))})),r.default(window).on("load.bs.button.data-api",(function(){for(var e=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),t=0,n=e.length;t<n;t++){var i=e[t],r=i.querySelector(y);r.checked||r.hasAttribute("checked")?i.classList.add(v):i.classList.remove(v)}for(var o=0,s=(e=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;o<s;o++){var a=e[o];"true"===a.getAttribute("aria-pressed")?a.classList.add(v):a.classList.remove(v)}})),r.default.fn.button=w._jQueryInterface,r.default.fn.button.Constructor=w,r.default.fn.button.noConflict=function(){return r.default.fn.button=m,w._jQueryInterface};var k="carousel",S="bs.carousel",_=r.default.fn[k],C="active",x="next",T="prev",E="slid.bs.carousel",A=".active.carousel-item",D={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},O={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},M={TOUCH:"touch",PEN:"pen"},N=function(){function e(e,t){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._element=e,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var t=e.prototype;return t.next=function(){this._isSliding||this._slide(x)},t.nextWhenVisible=function(){var e=r.default(this._element);!document.hidden&&e.is(":visible")&&"hidden"!==e.css("visibility")&&this.next()},t.prev=function(){this._isSliding||this._slide(T)},t.pause=function(e){e||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(d.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},t.cycle=function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},t.to=function(e){var t=this;this._activeElement=this._element.querySelector(A);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)r.default(this._element).one(E,(function(){return t.to(e)}));else{if(n===e)return this.pause(),void this.cycle();var i=e>n?x:T;this._slide(i,this._items[e])}},t.dispose=function(){r.default(this._element).off(".bs.carousel"),r.default.removeData(this._element,S),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},t._getConfig=function(e){return e=l({},D,e),d.typeCheckConfig(k,e,O),e},t._handleSwipe=function(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t>0&&this.prev(),t<0&&this.next()}},t._addEventListeners=function(){var e=this;this._config.keyboard&&r.default(this._element).on("keydown.bs.carousel",(function(t){return e._keydown(t)})),"hover"===this._config.pause&&r.default(this._element).on("mouseenter.bs.carousel",(function(t){return e.pause(t)})).on("mouseleave.bs.carousel",(function(t){return e.cycle(t)})),this._config.touch&&this._addTouchEventListeners()},t._addTouchEventListeners=function(){var e=this;if(this._touchSupported){var t=function(t){e._pointerEvent&&M[t.originalEvent.pointerType.toUpperCase()]?e.touchStartX=t.originalEvent.clientX:e._pointerEvent||(e.touchStartX=t.originalEvent.touches[0].clientX)},n=function(t){e._pointerEvent&&M[t.originalEvent.pointerType.toUpperCase()]&&(e.touchDeltaX=t.originalEvent.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),500+e._config.interval))};r.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(e){return e.preventDefault()})),this._pointerEvent?(r.default(this._element).on("pointerdown.bs.carousel",(function(e){return t(e)})),r.default(this._element).on("pointerup.bs.carousel",(function(e){return n(e)})),this._element.classList.add("pointer-event")):(r.default(this._element).on("touchstart.bs.carousel",(function(e){return t(e)})),r.default(this._element).on("touchmove.bs.carousel",(function(t){return function(t){e.touchDeltaX=t.originalEvent.touches&&t.originalEvent.touches.length>1?0:t.originalEvent.touches[0].clientX-e.touchStartX}(t)})),r.default(this._element).on("touchend.bs.carousel",(function(e){return n(e)})))}},t._keydown=function(e){if(!/input|textarea/i.test(e.target.tagName))switch(e.which){case 37:e.preventDefault(),this.prev();break;case 39:e.preventDefault(),this.next()}},t._getItemIndex=function(e){return this._items=e&&e.parentNode?[].slice.call(e.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(e)},t._getItemByDirection=function(e,t){var n=e===x,i=e===T,r=this._getItemIndex(t),o=this._items.length-1;if((i&&0===r||n&&r===o)&&!this._config.wrap)return t;var s=(r+(e===T?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},t._triggerSlideEvent=function(e,t){var n=this._getItemIndex(e),i=this._getItemIndex(this._element.querySelector(A)),o=r.default.Event("slide.bs.carousel",{relatedTarget:e,direction:t,from:i,to:n});return r.default(this._element).trigger(o),o},t._setActiveIndicatorElement=function(e){if(this._indicatorsElement){var t=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));r.default(t).removeClass(C);var n=this._indicatorsElement.children[this._getItemIndex(e)];n&&r.default(n).addClass(C)}},t._updateInterval=function(){var e=this._activeElement||this._element.querySelector(A);if(e){var t=parseInt(e.getAttribute("data-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}},t._slide=function(e,t){var n,i,o,s=this,a=this._element.querySelector(A),l=this._getItemIndex(a),c=t||a&&this._getItemByDirection(e,a),u=this._getItemIndex(c),h=Boolean(this._interval);if(e===x?(n="carousel-item-left",i="carousel-item-next",o="left"):(n="carousel-item-right",i="carousel-item-prev",o="right"),c&&r.default(c).hasClass(C))this._isSliding=!1;else if(!this._triggerSlideEvent(c,o).isDefaultPrevented()&&a&&c){this._isSliding=!0,h&&this.pause(),this._setActiveIndicatorElement(c),this._activeElement=c;var f=r.default.Event(E,{relatedTarget:c,direction:o,from:l,to:u});if(r.default(this._element).hasClass("slide")){r.default(c).addClass(i),d.reflow(c),r.default(a).addClass(n),r.default(c).addClass(n);var p=d.getTransitionDurationFromElement(a);r.default(a).one(d.TRANSITION_END,(function(){r.default(c).removeClass(n+" "+i).addClass(C),r.default(a).removeClass("active "+i+" "+n),s._isSliding=!1,setTimeout((function(){return r.default(s._element).trigger(f)}),0)})).emulateTransitionEnd(p)}else r.default(a).removeClass(C),r.default(c).addClass(C),this._isSliding=!1,r.default(this._element).trigger(f);h&&this.cycle()}},e._jQueryInterface=function(t){return this.each((function(){var n=r.default(this).data(S),i=l({},D,r.default(this).data());"object"==typeof t&&(i=l({},i,t));var o="string"==typeof t?t:i.slide;if(n||(n=new e(this,i),r.default(this).data(S,n)),"number"==typeof t)n.to(t);else if("string"==typeof o){if(void 0===n[o])throw new TypeError('No method named "'+o+'"');n[o]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}))},e._dataApiClickHandler=function(t){var n=d.getSelectorFromElement(this);if(n){var i=r.default(n)[0];if(i&&r.default(i).hasClass("carousel")){var o=l({},r.default(i).data(),r.default(this).data()),s=this.getAttribute("data-slide-to");s&&(o.interval=!1),e._jQueryInterface.call(r.default(i),o),s&&r.default(i).data(S).to(s),t.preventDefault()}}},a(e,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return D}}]),e}();r.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",N._dataApiClickHandler),r.default(window).on("load.bs.carousel.data-api",(function(){for(var e=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),t=0,n=e.length;t<n;t++){var i=r.default(e[t]);N._jQueryInterface.call(i,i.data())}})),r.default.fn[k]=N._jQueryInterface,r.default.fn[k].Constructor=N,r.default.fn[k].noConflict=function(){return r.default.fn[k]=_,N._jQueryInterface};var P="collapse",I="bs.collapse",L=r.default.fn[P],j="show",R="collapse",H="collapsing",V="collapsed",F="width",U='[data-toggle="collapse"]',q={toggle:!0,parent:""},B={toggle:"boolean",parent:"(string|element)"},z=function(){function e(e,t){this._isTransitioning=!1,this._element=e,this._config=this._getConfig(t),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(U)),i=0,r=n.length;i<r;i++){var o=n[i],s=d.getSelectorFromElement(o),a=[].slice.call(document.querySelectorAll(s)).filter((function(t){return t===e}));null!==s&&a.length>0&&(this._selector=s,this._triggerArray.push(o))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var t=e.prototype;return t.toggle=function(){r.default(this._element).hasClass(j)?this.hide():this.show()},t.show=function(){var t,n,i=this;if(!(this._isTransitioning||r.default(this._element).hasClass(j)||(this._parent&&0===(t=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(e){return"string"==typeof i._config.parent?e.getAttribute("data-parent")===i._config.parent:e.classList.contains(R)}))).length&&(t=null),t&&(n=r.default(t).not(this._selector).data(I))&&n._isTransitioning))){var o=r.default.Event("show.bs.collapse");if(r.default(this._element).trigger(o),!o.isDefaultPrevented()){t&&(e._jQueryInterface.call(r.default(t).not(this._selector),"hide"),n||r.default(t).data(I,null));var s=this._getDimension();r.default(this._element).removeClass(R).addClass(H),this._element.style[s]=0,this._triggerArray.length&&r.default(this._triggerArray).removeClass(V).attr("aria-expanded",!0),this.setTransitioning(!0);var a="scroll"+(s[0].toUpperCase()+s.slice(1)),l=d.getTransitionDurationFromElement(this._element);r.default(this._element).one(d.TRANSITION_END,(function(){r.default(i._element).removeClass(H).addClass("collapse show"),i._element.style[s]="",i.setTransitioning(!1),r.default(i._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(l),this._element.style[s]=this._element[a]+"px"}}},t.hide=function(){var e=this;if(!this._isTransitioning&&r.default(this._element).hasClass(j)){var t=r.default.Event("hide.bs.collapse");if(r.default(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",d.reflow(this._element),r.default(this._element).addClass(H).removeClass("collapse show");var i=this._triggerArray.length;if(i>0)for(var o=0;o<i;o++){var s=this._triggerArray[o],a=d.getSelectorFromElement(s);null!==a&&(r.default([].slice.call(document.querySelectorAll(a))).hasClass(j)||r.default(s).addClass(V).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[n]="";var l=d.getTransitionDurationFromElement(this._element);r.default(this._element).one(d.TRANSITION_END,(function(){e.setTransitioning(!1),r.default(e._element).removeClass(H).addClass(R).trigger("hidden.bs.collapse")})).emulateTransitionEnd(l)}}},t.setTransitioning=function(e){this._isTransitioning=e},t.dispose=function(){r.default.removeData(this._element,I),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},t._getConfig=function(e){return(e=l({},q,e)).toggle=Boolean(e.toggle),d.typeCheckConfig(P,e,B),e},t._getDimension=function(){return r.default(this._element).hasClass(F)?F:"height"},t._getParent=function(){var t,n=this;d.isElement(this._config.parent)?(t=this._config.parent,void 0!==this._config.parent.jquery&&(t=this._config.parent[0])):t=document.querySelector(this._config.parent);var i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',o=[].slice.call(t.querySelectorAll(i));return r.default(o).each((function(t,i){n._addAriaAndCollapsedClass(e._getTargetFromElement(i),[i])})),t},t._addAriaAndCollapsedClass=function(e,t){var n=r.default(e).hasClass(j);t.length&&r.default(t).toggleClass(V,!n).attr("aria-expanded",n)},e._getTargetFromElement=function(e){var t=d.getSelectorFromElement(e);return t?document.querySelector(t):null},e._jQueryInterface=function(t){return this.each((function(){var n=r.default(this),i=n.data(I),o=l({},q,n.data(),"object"==typeof t&&t?t:{});if(!i&&o.toggle&&"string"==typeof t&&/show|hide/.test(t)&&(o.toggle=!1),i||(i=new e(this,o),n.data(I,i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return q}}]),e}();r.default(document).on("click.bs.collapse.data-api",U,(function(e){"A"===e.currentTarget.tagName&&e.preventDefault();var t=r.default(this),n=d.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(n));r.default(i).each((function(){var e=r.default(this),n=e.data(I)?"toggle":t.data();z._jQueryInterface.call(e,n)}))})),r.default.fn[P]=z._jQueryInterface,r.default.fn[P].Constructor=z,r.default.fn[P].noConflict=function(){return r.default.fn[P]=L,z._jQueryInterface};var W="dropdown",Y="bs.dropdown",G=r.default.fn[W],K=new RegExp("38|40|27"),Q="disabled",J="show",X="dropdown-menu-right",Z="hide.bs.dropdown",ee="hidden.bs.dropdown",te="click.bs.dropdown.data-api",ne="keydown.bs.dropdown.data-api",ie='[data-toggle="dropdown"]',re=".dropdown-menu",oe={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},se={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},ae=function(){function e(e,t){this._element=e,this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var t=e.prototype;return t.toggle=function(){if(!this._element.disabled&&!r.default(this._element).hasClass(Q)){var t=r.default(this._menu).hasClass(J);e._clearMenus(),t||this.show(!0)}},t.show=function(t){if(void 0===t&&(t=!1),!(this._element.disabled||r.default(this._element).hasClass(Q)||r.default(this._menu).hasClass(J))){var n={relatedTarget:this._element},i=r.default.Event("show.bs.dropdown",n),s=e._getParentFromElement(this._element);if(r.default(s).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar&&t){if(void 0===o.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var a=this._element;"parent"===this._config.reference?a=s:d.isElement(this._config.reference)&&(a=this._config.reference,void 0!==this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&r.default(s).addClass("position-static"),this._popper=new o.default(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===r.default(s).closest(".navbar-nav").length&&r.default(document.body).children().on("mouseover",null,r.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),r.default(this._menu).toggleClass(J),r.default(s).toggleClass(J).trigger(r.default.Event("shown.bs.dropdown",n))}}},t.hide=function(){if(!this._element.disabled&&!r.default(this._element).hasClass(Q)&&r.default(this._menu).hasClass(J)){var t={relatedTarget:this._element},n=r.default.Event(Z,t),i=e._getParentFromElement(this._element);r.default(i).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),r.default(this._menu).toggleClass(J),r.default(i).toggleClass(J).trigger(r.default.Event(ee,t)))}},t.dispose=function(){r.default.removeData(this._element,Y),r.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},t.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},t._addEventListeners=function(){var e=this;r.default(this._element).on("click.bs.dropdown",(function(t){t.preventDefault(),t.stopPropagation(),e.toggle()}))},t._getConfig=function(e){return e=l({},this.constructor.Default,r.default(this._element).data(),e),d.typeCheckConfig(W,e,this.constructor.DefaultType),e},t._getMenuElement=function(){if(!this._menu){var t=e._getParentFromElement(this._element);t&&(this._menu=t.querySelector(re))}return this._menu},t._getPlacement=function(){var e=r.default(this._element.parentNode),t="bottom-start";return e.hasClass("dropup")?t=r.default(this._menu).hasClass(X)?"top-end":"top-start":e.hasClass("dropright")?t="right-start":e.hasClass("dropleft")?t="left-start":r.default(this._menu).hasClass(X)&&(t="bottom-end"),t},t._detectNavbar=function(){return r.default(this._element).closest(".navbar").length>0},t._getOffset=function(){var e=this,t={};return"function"==typeof this._config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e._config.offset(t.offsets,e._element)),t}:t.offset=this._config.offset,t},t._getPopperConfig=function(){var e={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(e.modifiers.applyStyle={enabled:!1}),l({},e,this._config.popperConfig)},e._jQueryInterface=function(t){return this.each((function(){var n=r.default(this).data(Y);if(n||(n=new e(this,"object"==typeof t?t:null),r.default(this).data(Y,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},e._clearMenus=function(t){if(!t||3!==t.which&&("keyup"!==t.type||9===t.which))for(var n=[].slice.call(document.querySelectorAll(ie)),i=0,o=n.length;i<o;i++){var s=e._getParentFromElement(n[i]),a=r.default(n[i]).data(Y),l={relatedTarget:n[i]};if(t&&"click"===t.type&&(l.clickEvent=t),a){var c=a._menu;if(r.default(s).hasClass(J)&&!(t&&("click"===t.type&&/input|textarea/i.test(t.target.tagName)||"keyup"===t.type&&9===t.which)&&r.default.contains(s,t.target))){var u=r.default.Event(Z,l);r.default(s).trigger(u),u.isDefaultPrevented()||("ontouchstart"in document.documentElement&&r.default(document.body).children().off("mouseover",null,r.default.noop),n[i].setAttribute("aria-expanded","false"),a._popper&&a._popper.destroy(),r.default(c).removeClass(J),r.default(s).removeClass(J).trigger(r.default.Event(ee,l)))}}}},e._getParentFromElement=function(e){var t,n=d.getSelectorFromElement(e);return n&&(t=document.querySelector(n)),t||e.parentNode},e._dataApiKeydownHandler=function(t){if(!(/input|textarea/i.test(t.target.tagName)?32===t.which||27!==t.which&&(40!==t.which&&38!==t.which||r.default(t.target).closest(re).length):!K.test(t.which))&&!this.disabled&&!r.default(this).hasClass(Q)){var n=e._getParentFromElement(this),i=r.default(n).hasClass(J);if(i||27!==t.which){if(t.preventDefault(),t.stopPropagation(),!i||27===t.which||32===t.which)return 27===t.which&&r.default(n.querySelector(ie)).trigger("focus"),void r.default(this).trigger("click");var o=[].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter((function(e){return r.default(e).is(":visible")}));if(0!==o.length){var s=o.indexOf(t.target);38===t.which&&s>0&&s--,40===t.which&&s<o.length-1&&s++,s<0&&(s=0),o[s].focus()}}}},a(e,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return oe}},{key:"DefaultType",get:function(){return se}}]),e}();r.default(document).on(ne,ie,ae._dataApiKeydownHandler).on(ne,re,ae._dataApiKeydownHandler).on(te+" keyup.bs.dropdown.data-api",ae._clearMenus).on(te,ie,(function(e){e.preventDefault(),e.stopPropagation(),ae._jQueryInterface.call(r.default(this),"toggle")})).on(te,".dropdown form",(function(e){e.stopPropagation()})),r.default.fn[W]=ae._jQueryInterface,r.default.fn[W].Constructor=ae,r.default.fn[W].noConflict=function(){return r.default.fn[W]=G,ae._jQueryInterface};var le="bs.modal",ce=r.default.fn.modal,ue="modal-open",de="fade",he="show",fe="modal-static",pe="hidden.bs.modal",ge="show.bs.modal",me="focusin.bs.modal",ve="resize.bs.modal",$e="click.dismiss.bs.modal",ye="keydown.dismiss.bs.modal",be="mousedown.dismiss.bs.modal",we=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ke={backdrop:!0,keyboard:!0,focus:!0,show:!0},Se={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},_e=function(){function e(e,t){this._config=this._getConfig(t),this._element=e,this._dialog=e.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var t=e.prototype;return t.toggle=function(e){return this._isShown?this.hide():this.show(e)},t.show=function(e){var t=this;if(!this._isShown&&!this._isTransitioning){var n=r.default.Event(ge,{relatedTarget:e});r.default(this._element).trigger(n),n.isDefaultPrevented()||(this._isShown=!0,r.default(this._element).hasClass(de)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),r.default(this._element).on($e,'[data-dismiss="modal"]',(function(e){return t.hide(e)})),r.default(this._dialog).on(be,(function(){r.default(t._element).one("mouseup.dismiss.bs.modal",(function(e){r.default(e.target).is(t._element)&&(t._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return t._showElement(e)})))}},t.hide=function(e){var t=this;if(e&&e.preventDefault(),this._isShown&&!this._isTransitioning){var n=r.default.Event("hide.bs.modal");if(r.default(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=r.default(this._element).hasClass(de);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),r.default(document).off(me),r.default(this._element).removeClass(he),r.default(this._element).off($e),r.default(this._dialog).off(be),i){var o=d.getTransitionDurationFromElement(this._element);r.default(this._element).one(d.TRANSITION_END,(function(e){return t._hideModal(e)})).emulateTransitionEnd(o)}else this._hideModal()}}},t.dispose=function(){[window,this._element,this._dialog].forEach((function(e){return r.default(e).off(".bs.modal")})),r.default(document).off(me),r.default.removeData(this._element,le),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},t.handleUpdate=function(){this._adjustDialog()},t._getConfig=function(e){return e=l({},ke,e),d.typeCheckConfig("modal",e,Se),e},t._triggerBackdropTransition=function(){var e=this,t=r.default.Event("hidePrevented.bs.modal");if(r.default(this._element).trigger(t),!t.isDefaultPrevented()){var n=this._element.scrollHeight>document.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(fe);var i=d.getTransitionDurationFromElement(this._dialog);r.default(this._element).off(d.TRANSITION_END),r.default(this._element).one(d.TRANSITION_END,(function(){e._element.classList.remove(fe),n||r.default(e._element).one(d.TRANSITION_END,(function(){e._element.style.overflowY=""})).emulateTransitionEnd(e._element,i)})).emulateTransitionEnd(i),this._element.focus()}},t._showElement=function(e){var t=this,n=r.default(this._element).hasClass(de),i=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),r.default(this._dialog).hasClass("modal-dialog-scrollable")&&i?i.scrollTop=0:this._element.scrollTop=0,n&&d.reflow(this._element),r.default(this._element).addClass(he),this._config.focus&&this._enforceFocus();var o=r.default.Event("shown.bs.modal",{relatedTarget:e}),s=function(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,r.default(t._element).trigger(o)};if(n){var a=d.getTransitionDurationFromElement(this._dialog);r.default(this._dialog).one(d.TRANSITION_END,s).emulateTransitionEnd(a)}else s()},t._enforceFocus=function(){var e=this;r.default(document).off(me).on(me,(function(t){document!==t.target&&e._element!==t.target&&0===r.default(e._element).has(t.target).length&&e._element.focus()}))},t._setEscapeEvent=function(){var e=this;this._isShown?r.default(this._element).on(ye,(function(t){e._config.keyboard&&27===t.which?(t.preventDefault(),e.hide()):e._config.keyboard||27!==t.which||e._triggerBackdropTransition()})):this._isShown||r.default(this._element).off(ye)},t._setResizeEvent=function(){var e=this;this._isShown?r.default(window).on(ve,(function(t){return e.handleUpdate(t)})):r.default(window).off(ve)},t._hideModal=function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){r.default(document.body).removeClass(ue),e._resetAdjustments(),e._resetScrollbar(),r.default(e._element).trigger(pe)}))},t._removeBackdrop=function(){this._backdrop&&(r.default(this._backdrop).remove(),this._backdrop=null)},t._showBackdrop=function(e){var t=this,n=r.default(this._element).hasClass(de)?de:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),r.default(this._backdrop).appendTo(document.body),r.default(this._element).on($e,(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&("static"===t._config.backdrop?t._triggerBackdropTransition():t.hide())})),n&&d.reflow(this._backdrop),r.default(this._backdrop).addClass(he),!e)return;if(!n)return void e();var i=d.getTransitionDurationFromElement(this._backdrop);r.default(this._backdrop).one(d.TRANSITION_END,e).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){r.default(this._backdrop).removeClass(he);var o=function(){t._removeBackdrop(),e&&e()};if(r.default(this._element).hasClass(de)){var s=d.getTransitionDurationFromElement(this._backdrop);r.default(this._backdrop).one(d.TRANSITION_END,o).emulateTransitionEnd(s)}else o()}else e&&e()},t._adjustDialog=function(){var e=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&e&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!e&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},t._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},t._checkScrollbar=function(){var e=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(e.left+e.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},t._setScrollbar=function(){var e=this;if(this._isBodyOverflowing){var t=[].slice.call(document.querySelectorAll(we)),n=[].slice.call(document.querySelectorAll(".sticky-top"));r.default(t).each((function(t,n){var i=n.style.paddingRight,o=r.default(n).css("padding-right");r.default(n).data("padding-right",i).css("padding-right",parseFloat(o)+e._scrollbarWidth+"px")})),r.default(n).each((function(t,n){var i=n.style.marginRight,o=r.default(n).css("margin-right");r.default(n).data("margin-right",i).css("margin-right",parseFloat(o)-e._scrollbarWidth+"px")}));var i=document.body.style.paddingRight,o=r.default(document.body).css("padding-right");r.default(document.body).data("padding-right",i).css("padding-right",parseFloat(o)+this._scrollbarWidth+"px")}r.default(document.body).addClass(ue)},t._resetScrollbar=function(){var e=[].slice.call(document.querySelectorAll(we));r.default(e).each((function(e,t){var n=r.default(t).data("padding-right");r.default(t).removeData("padding-right"),t.style.paddingRight=n||""}));var t=[].slice.call(document.querySelectorAll(".sticky-top"));r.default(t).each((function(e,t){var n=r.default(t).data("margin-right");void 0!==n&&r.default(t).css("margin-right",n).removeData("margin-right")}));var n=r.default(document.body).data("padding-right");r.default(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},t._getScrollbarWidth=function(){var e=document.createElement("div");e.className="modal-scrollbar-measure",document.body.appendChild(e);var t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},e._jQueryInterface=function(t,n){return this.each((function(){var i=r.default(this).data(le),o=l({},ke,r.default(this).data(),"object"==typeof t&&t?t:{});if(i||(i=new e(this,o),r.default(this).data(le,i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t](n)}else o.show&&i.show(n)}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return ke}}]),e}();r.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(e){var t,n=this,i=d.getSelectorFromElement(this);i&&(t=document.querySelector(i));var o=r.default(t).data(le)?"toggle":l({},r.default(t).data(),r.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||e.preventDefault();var s=r.default(t).one(ge,(function(e){e.isDefaultPrevented()||s.one(pe,(function(){r.default(n).is(":visible")&&n.focus()}))}));_e._jQueryInterface.call(r.default(t),o,this)})),r.default.fn.modal=_e._jQueryInterface,r.default.fn.modal.Constructor=_e,r.default.fn.modal.noConflict=function(){return r.default.fn.modal=ce,_e._jQueryInterface};var Ce=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],xe=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Te=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function Ee(e,t,n){if(0===e.length)return e;if(n&&"function"==typeof n)return n(e);for(var i=(new window.DOMParser).parseFromString(e,"text/html"),r=Object.keys(t),o=[].slice.call(i.body.querySelectorAll("*")),s=function(e,n){var i=o[e],s=i.nodeName.toLowerCase();if(-1===r.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var a=[].slice.call(i.attributes),l=[].concat(t["*"]||[],t[s]||[]);a.forEach((function(e){(function(e,t){var n=e.nodeName.toLowerCase();if(-1!==t.indexOf(n))return-1===Ce.indexOf(n)||Boolean(xe.test(e.nodeValue)||Te.test(e.nodeValue));for(var i=t.filter((function(e){return e instanceof RegExp})),r=0,o=i.length;r<o;r++)if(i[r].test(n))return!0;return!1})(e,l)||i.removeAttribute(e.nodeName)}))},a=0,l=o.length;a<l;a++)s(a);return i.body.innerHTML}var Ae="tooltip",De="bs.tooltip",Oe=r.default.fn.tooltip,Me=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Ne=["sanitize","whiteList","sanitizeFn"],Pe="fade",Ie="show",Le="show",je="out",Re="hover",He="focus",Ve={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Fe={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Ue={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},qe={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Be=function(){function e(e,t){if(void 0===o.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=e,this.config=this._getConfig(t),this.tip=null,this._setListeners()}var t=e.prototype;return t.enable=function(){this._isEnabled=!0},t.disable=function(){this._isEnabled=!1},t.toggleEnabled=function(){this._isEnabled=!this._isEnabled},t.toggle=function(e){if(this._isEnabled)if(e){var t=this.constructor.DATA_KEY,n=r.default(e.currentTarget).data(t);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),r.default(e.currentTarget).data(t,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(r.default(this.getTipElement()).hasClass(Ie))return void this._leave(null,this);this._enter(null,this)}},t.dispose=function(){clearTimeout(this._timeout),r.default.removeData(this.element,this.constructor.DATA_KEY),r.default(this.element).off(this.constructor.EVENT_KEY),r.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&r.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},t.show=function(){var e=this;if("none"===r.default(this.element).css("display"))throw new Error("Please use show on visible elements");var t=r.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){r.default(this.element).trigger(t);var n=d.findShadowRoot(this.element),i=r.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(t.isDefaultPrevented()||!i)return;var s=this.getTipElement(),a=d.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&r.default(s).addClass(Pe);var l="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,c=this._getAttachment(l);this.addAttachmentClass(c);var u=this._getContainer();r.default(s).data(this.constructor.DATA_KEY,this),r.default.contains(this.element.ownerDocument.documentElement,this.tip)||r.default(s).appendTo(u),r.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new o.default(this.element,s,this._getPopperConfig(c)),r.default(s).addClass(Ie),r.default(s).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&r.default(document.body).children().on("mouseover",null,r.default.noop);var h=function(){e.config.animation&&e._fixTransition();var t=e._hoverState;e._hoverState=null,r.default(e.element).trigger(e.constructor.Event.SHOWN),t===je&&e._leave(null,e)};if(r.default(this.tip).hasClass(Pe)){var f=d.getTransitionDurationFromElement(this.tip);r.default(this.tip).one(d.TRANSITION_END,h).emulateTransitionEnd(f)}else h()}},t.hide=function(e){var t=this,n=this.getTipElement(),i=r.default.Event(this.constructor.Event.HIDE),o=function(){t._hoverState!==Le&&n.parentNode&&n.parentNode.removeChild(n),t._cleanTipClass(),t.element.removeAttribute("aria-describedby"),r.default(t.element).trigger(t.constructor.Event.HIDDEN),null!==t._popper&&t._popper.destroy(),e&&e()};if(r.default(this.element).trigger(i),!i.isDefaultPrevented()){if(r.default(n).removeClass(Ie),"ontouchstart"in document.documentElement&&r.default(document.body).children().off("mouseover",null,r.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,r.default(this.tip).hasClass(Pe)){var s=d.getTransitionDurationFromElement(n);r.default(n).one(d.TRANSITION_END,o).emulateTransitionEnd(s)}else o();this._hoverState=""}},t.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},t.isWithContent=function(){return Boolean(this.getTitle())},t.addAttachmentClass=function(e){r.default(this.getTipElement()).addClass("bs-tooltip-"+e)},t.getTipElement=function(){return this.tip=this.tip||r.default(this.config.template)[0],this.tip},t.setContent=function(){var e=this.getTipElement();this.setElementContent(r.default(e.querySelectorAll(".tooltip-inner")),this.getTitle()),r.default(e).removeClass("fade show")},t.setElementContent=function(e,t){"object"!=typeof t||!t.nodeType&&!t.jquery?this.config.html?(this.config.sanitize&&(t=Ee(t,this.config.whiteList,this.config.sanitizeFn)),e.html(t)):e.text(t):this.config.html?r.default(t).parent().is(e)||e.empty().append(t):e.text(r.default(t).text())},t.getTitle=function(){var e=this.element.getAttribute("data-original-title");return e||(e="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),e},t._getPopperConfig=function(e){var t=this;return l({},{placement:e,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(e){e.originalPlacement!==e.placement&&t._handlePopperPlacementChange(e)},onUpdate:function(e){return t._handlePopperPlacementChange(e)}},this.config.popperConfig)},t._getOffset=function(){var e=this,t={};return"function"==typeof this.config.offset?t.fn=function(t){return t.offsets=l({},t.offsets,e.config.offset(t.offsets,e.element)),t}:t.offset=this.config.offset,t},t._getContainer=function(){return!1===this.config.container?document.body:d.isElement(this.config.container)?r.default(this.config.container):r.default(document).find(this.config.container)},t._getAttachment=function(e){return Ve[e.toUpperCase()]},t._setListeners=function(){var e=this;this.config.trigger.split(" ").forEach((function(t){if("click"===t)r.default(e.element).on(e.constructor.Event.CLICK,e.config.selector,(function(t){return e.toggle(t)}));else if("manual"!==t){var n=t===Re?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,i=t===Re?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;r.default(e.element).on(n,e.config.selector,(function(t){return e._enter(t)})).on(i,e.config.selector,(function(t){return e._leave(t)}))}})),this._hideModalHandler=function(){e.element&&e.hide()},r.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=l({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},t._fixTitle=function(){var e=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==e)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},t._enter=function(e,t){var n=this.constructor.DATA_KEY;(t=t||r.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),r.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusin"===e.type?He:Re]=!0),r.default(t.getTipElement()).hasClass(Ie)||t._hoverState===Le?t._hoverState=Le:(clearTimeout(t._timeout),t._hoverState=Le,t.config.delay&&t.config.delay.show?t._timeout=setTimeout((function(){t._hoverState===Le&&t.show()}),t.config.delay.show):t.show())},t._leave=function(e,t){var n=this.constructor.DATA_KEY;(t=t||r.default(e.currentTarget).data(n))||(t=new this.constructor(e.currentTarget,this._getDelegateConfig()),r.default(e.currentTarget).data(n,t)),e&&(t._activeTrigger["focusout"===e.type?He:Re]=!1),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=je,t.config.delay&&t.config.delay.hide?t._timeout=setTimeout((function(){t._hoverState===je&&t.hide()}),t.config.delay.hide):t.hide())},t._isWithActiveTrigger=function(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1},t._getConfig=function(e){var t=r.default(this.element).data();return Object.keys(t).forEach((function(e){-1!==Ne.indexOf(e)&&delete t[e]})),"number"==typeof(e=l({},this.constructor.Default,t,"object"==typeof e&&e?e:{})).delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),d.typeCheckConfig(Ae,e,this.constructor.DefaultType),e.sanitize&&(e.template=Ee(e.template,e.whiteList,e.sanitizeFn)),e},t._getDelegateConfig=function(){var e={};if(this.config)for(var t in this.config)this.constructor.Default[t]!==this.config[t]&&(e[t]=this.config[t]);return e},t._cleanTipClass=function(){var e=r.default(this.getTipElement()),t=e.attr("class").match(Me);null!==t&&t.length&&e.removeClass(t.join(""))},t._handlePopperPlacementChange=function(e){this.tip=e.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(e.placement))},t._fixTransition=function(){var e=this.getTipElement(),t=this.config.animation;null===e.getAttribute("x-placement")&&(r.default(e).removeClass(Pe),this.config.animation=!1,this.hide(),this.show(),this.config.animation=t)},e._jQueryInterface=function(t){return this.each((function(){var n=r.default(this),i=n.data(De),o="object"==typeof t&&t;if((i||!/dispose|hide/.test(t))&&(i||(i=new e(this,o),n.data(De,i)),"string"==typeof t)){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return Fe}},{key:"NAME",get:function(){return Ae}},{key:"DATA_KEY",get:function(){return De}},{key:"Event",get:function(){return qe}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Ue}}]),e}();r.default.fn.tooltip=Be._jQueryInterface,r.default.fn.tooltip.Constructor=Be,r.default.fn.tooltip.noConflict=function(){return r.default.fn.tooltip=Oe,Be._jQueryInterface};var ze="bs.popover",We=r.default.fn.popover,Ye=new RegExp("(^|\\s)bs-popover\\S+","g"),Ge=l({},Be.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Ke=l({},Be.DefaultType,{content:"(string|element|function)"}),Qe={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Je=function(e){var t,n;function i(){return e.apply(this,arguments)||this}n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,c(t,n);var o=i.prototype;return o.isWithContent=function(){return this.getTitle()||this._getContent()},o.addAttachmentClass=function(e){r.default(this.getTipElement()).addClass("bs-popover-"+e)},o.getTipElement=function(){return this.tip=this.tip||r.default(this.config.template)[0],this.tip},o.setContent=function(){var e=r.default(this.getTipElement());this.setElementContent(e.find(".popover-header"),this.getTitle());var t=this._getContent();"function"==typeof t&&(t=t.call(this.element)),this.setElementContent(e.find(".popover-body"),t),e.removeClass("fade show")},o._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},o._cleanTipClass=function(){var e=r.default(this.getTipElement()),t=e.attr("class").match(Ye);null!==t&&t.length>0&&e.removeClass(t.join(""))},i._jQueryInterface=function(e){return this.each((function(){var t=r.default(this).data(ze),n="object"==typeof e?e:null;if((t||!/dispose|hide/.test(e))&&(t||(t=new i(this,n),r.default(this).data(ze,t)),"string"==typeof e)){if(void 0===t[e])throw new TypeError('No method named "'+e+'"');t[e]()}}))},a(i,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return Ge}},{key:"NAME",get:function(){return"popover"}},{key:"DATA_KEY",get:function(){return ze}},{key:"Event",get:function(){return Qe}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Ke}}]),i}(Be);r.default.fn.popover=Je._jQueryInterface,r.default.fn.popover.Constructor=Je,r.default.fn.popover.noConflict=function(){return r.default.fn.popover=We,Je._jQueryInterface};var Xe="scrollspy",Ze="bs.scrollspy",et=r.default.fn[Xe],tt="active",nt="position",it=".nav, .list-group",rt={offset:10,method:"auto",target:""},ot={offset:"number",method:"string",target:"(string|element)"},st=function(){function e(e,t){var n=this;this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(t),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,r.default(this._scrollElement).on("scroll.bs.scrollspy",(function(e){return n._process(e)})),this.refresh(),this._process()}var t=e.prototype;return t.refresh=function(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":nt,n="auto"===this._config.method?t:this._config.method,i=n===nt?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(e){var t,o=d.getSelectorFromElement(e);if(o&&(t=document.querySelector(o)),t){var s=t.getBoundingClientRect();if(s.width||s.height)return[r.default(t)[n]().top+i,o]}return null})).filter((function(e){return e})).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))},t.dispose=function(){r.default.removeData(this._element,Ze),r.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},t._getConfig=function(e){if("string"!=typeof(e=l({},rt,"object"==typeof e&&e?e:{})).target&&d.isElement(e.target)){var t=r.default(e.target).attr("id");t||(t=d.getUID(Xe),r.default(e.target).attr("id",t)),e.target="#"+t}return d.typeCheckConfig(Xe,e,ot),e},t._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},t._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},t._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},t._process=function(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var r=this._offsets.length;r--;)this._activeTarget!==this._targets[r]&&e>=this._offsets[r]&&(void 0===this._offsets[r+1]||e<this._offsets[r+1])&&this._activate(this._targets[r])}},t._activate=function(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map((function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'})),n=r.default([].slice.call(document.querySelectorAll(t.join(","))));n.hasClass("dropdown-item")?(n.closest(".dropdown").find(".dropdown-toggle").addClass(tt),n.addClass(tt)):(n.addClass(tt),n.parents(it).prev(".nav-link, .list-group-item").addClass(tt),n.parents(it).prev(".nav-item").children(".nav-link").addClass(tt)),r.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:e})},t._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(e){return e.classList.contains(tt)})).forEach((function(e){return e.classList.remove(tt)}))},e._jQueryInterface=function(t){return this.each((function(){var n=r.default(this).data(Ze);if(n||(n=new e(this,"object"==typeof t&&t),r.default(this).data(Ze,n)),"string"==typeof t){if(void 0===n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return rt}}]),e}();r.default(window).on("load.bs.scrollspy.data-api",(function(){for(var e=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),t=e.length;t--;){var n=r.default(e[t]);st._jQueryInterface.call(n,n.data())}})),r.default.fn[Xe]=st._jQueryInterface,r.default.fn[Xe].Constructor=st,r.default.fn[Xe].noConflict=function(){return r.default.fn[Xe]=et,st._jQueryInterface};var at="bs.tab",lt=r.default.fn.tab,ct="active",ut="fade",dt="show",ht=".active",ft="> li > .active",pt=function(){function e(e){this._element=e}var t=e.prototype;return t.show=function(){var e=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&r.default(this._element).hasClass(ct)||r.default(this._element).hasClass("disabled"))){var t,n,i=r.default(this._element).closest(".nav, .list-group")[0],o=d.getSelectorFromElement(this._element);if(i){var s="UL"===i.nodeName||"OL"===i.nodeName?ft:ht;n=(n=r.default.makeArray(r.default(i).find(s)))[n.length-1]}var a=r.default.Event("hide.bs.tab",{relatedTarget:this._element}),l=r.default.Event("show.bs.tab",{relatedTarget:n});if(n&&r.default(n).trigger(a),r.default(this._element).trigger(l),!l.isDefaultPrevented()&&!a.isDefaultPrevented()){o&&(t=document.querySelector(o)),this._activate(this._element,i);var c=function(){var t=r.default.Event("hidden.bs.tab",{relatedTarget:e._element}),i=r.default.Event("shown.bs.tab",{relatedTarget:n});r.default(n).trigger(t),r.default(e._element).trigger(i)};t?this._activate(t,t.parentNode,c):c()}}},t.dispose=function(){r.default.removeData(this._element,at),this._element=null},t._activate=function(e,t,n){var i=this,o=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?r.default(t).children(ht):r.default(t).find(ft))[0],s=n&&o&&r.default(o).hasClass(ut),a=function(){return i._transitionComplete(e,o,n)};if(o&&s){var l=d.getTransitionDurationFromElement(o);r.default(o).removeClass(dt).one(d.TRANSITION_END,a).emulateTransitionEnd(l)}else a()},t._transitionComplete=function(e,t,n){if(t){r.default(t).removeClass(ct);var i=r.default(t.parentNode).find("> .dropdown-menu .active")[0];i&&r.default(i).removeClass(ct),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}r.default(e).addClass(ct),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),d.reflow(e),e.classList.contains(ut)&&e.classList.add(dt);var o=e.parentNode;if(o&&"LI"===o.nodeName&&(o=o.parentNode),o&&r.default(o).hasClass("dropdown-menu")){var s=r.default(e).closest(".dropdown")[0];if(s){var a=[].slice.call(s.querySelectorAll(".dropdown-toggle"));r.default(a).addClass(ct)}e.setAttribute("aria-expanded",!0)}n&&n()},e._jQueryInterface=function(t){return this.each((function(){var n=r.default(this),i=n.data(at);if(i||(i=new e(this),n.data(at,i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t]()}}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.1"}}]),e}();r.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(e){e.preventDefault(),pt._jQueryInterface.call(r.default(this),"show")})),r.default.fn.tab=pt._jQueryInterface,r.default.fn.tab.Constructor=pt,r.default.fn.tab.noConflict=function(){return r.default.fn.tab=lt,pt._jQueryInterface};var gt="bs.toast",mt=r.default.fn.toast,vt="hide",$t="show",yt="showing",bt="click.dismiss.bs.toast",wt={animation:!0,autohide:!0,delay:500},kt={animation:"boolean",autohide:"boolean",delay:"number"},St=function(){function e(e,t){this._element=e,this._config=this._getConfig(t),this._timeout=null,this._setListeners()}var t=e.prototype;return t.show=function(){var e=this,t=r.default.Event("show.bs.toast");if(r.default(this._element).trigger(t),!t.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var n=function(){e._element.classList.remove(yt),e._element.classList.add($t),r.default(e._element).trigger("shown.bs.toast"),e._config.autohide&&(e._timeout=setTimeout((function(){e.hide()}),e._config.delay))};if(this._element.classList.remove(vt),d.reflow(this._element),this._element.classList.add(yt),this._config.animation){var i=d.getTransitionDurationFromElement(this._element);r.default(this._element).one(d.TRANSITION_END,n).emulateTransitionEnd(i)}else n()}},t.hide=function(){if(this._element.classList.contains($t)){var e=r.default.Event("hide.bs.toast");r.default(this._element).trigger(e),e.isDefaultPrevented()||this._close()}},t.dispose=function(){this._clearTimeout(),this._element.classList.contains($t)&&this._element.classList.remove($t),r.default(this._element).off(bt),r.default.removeData(this._element,gt),this._element=null,this._config=null},t._getConfig=function(e){return e=l({},wt,r.default(this._element).data(),"object"==typeof e&&e?e:{}),d.typeCheckConfig("toast",e,this.constructor.DefaultType),e},t._setListeners=function(){var e=this;r.default(this._element).on(bt,'[data-dismiss="toast"]',(function(){return e.hide()}))},t._close=function(){var e=this,t=function(){e._element.classList.add(vt),r.default(e._element).trigger("hidden.bs.toast")};if(this._element.classList.remove($t),this._config.animation){var n=d.getTransitionDurationFromElement(this._element);r.default(this._element).one(d.TRANSITION_END,t).emulateTransitionEnd(n)}else t()},t._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},e._jQueryInterface=function(t){return this.each((function(){var n=r.default(this),i=n.data(gt);if(i||(i=new e(this,"object"==typeof t&&t),n.data(gt,i)),"string"==typeof t){if(void 0===i[t])throw new TypeError('No method named "'+t+'"');i[t](this)}}))},a(e,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"DefaultType",get:function(){return kt}},{key:"Default",get:function(){return wt}}]),e}();r.default.fn.toast=St._jQueryInterface,r.default.fn.toast.Constructor=St,r.default.fn.toast.noConflict=function(){return r.default.fn.toast=mt,St._jQueryInterface},e.Alert=p,e.Button=w,e.Carousel=N,e.Collapse=z,e.Dropdown=ae,e.Modal=_e,e.Popover=Je,e.Scrollspy=st,e.Tab=pt,e.Toast=St,e.Tooltip=Be,e.Util=d,Object.defineProperty(e,"__esModule",{value:!0})})),function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)}((function(e){"use strict";var t,n=window.Slick||{};t=0,(n=function(n,i){var r,o=this;o.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(n),appendDots:e(n),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,n){return e('<button type="button" />').text(n+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},o.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(o,o.initials),o.activeBreakpoint=null,o.animType=null,o.animProp=null,o.breakpoints=[],o.breakpointSettings=[],o.cssTransitions=!1,o.focussed=!1,o.interrupted=!1,o.hidden="hidden",o.paused=!0,o.positionProp=null,o.respondTo=null,o.rowCount=1,o.shouldClick=!0,o.$slider=e(n),o.$slidesCache=null,o.transformType=null,o.transitionType=null,o.visibilityChange="visibilitychange",o.windowWidth=0,o.windowTimer=null,r=e(n).data("slick")||{},o.options=e.extend({},o.defaults,i,r),o.currentSlide=o.options.initialSlide,o.originalSettings=o.options,void 0!==document.mozHidden?(o.hidden="mozHidden",o.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(o.hidden="webkitHidden",o.visibilityChange="webkitvisibilitychange"),o.autoPlay=e.proxy(o.autoPlay,o),o.autoPlayClear=e.proxy(o.autoPlayClear,o),o.autoPlayIterator=e.proxy(o.autoPlayIterator,o),o.changeSlide=e.proxy(o.changeSlide,o),o.clickHandler=e.proxy(o.clickHandler,o),o.selectHandler=e.proxy(o.selectHandler,o),o.setPosition=e.proxy(o.setPosition,o),o.swipeHandler=e.proxy(o.swipeHandler,o),o.dragHandler=e.proxy(o.dragHandler,o),o.keyHandler=e.proxy(o.keyHandler,o),o.instanceUid=t++,o.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,o.registerBreakpoints(),o.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},n.prototype.addSlide=n.prototype.slickAdd=function(t,n,i){var r=this;if("boolean"==typeof n)i=n,n=null;else if(n<0||n>=r.slideCount)return!1;r.unload(),"number"==typeof n?0===n&&0===r.$slides.length?e(t).appendTo(r.$slideTrack):i?e(t).insertBefore(r.$slides.eq(n)):e(t).insertAfter(r.$slides.eq(n)):!0===i?e(t).prependTo(r.$slideTrack):e(t).appendTo(r.$slideTrack),r.$slides=r.$slideTrack.children(this.options.slide),r.$slideTrack.children(this.options.slide).detach(),r.$slideTrack.append(r.$slides),r.$slides.each((function(t,n){e(n).attr("data-slick-index",t)})),r.$slidesCache=r.$slides,r.reinit()},n.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},n.prototype.animateSlide=function(t,n){var i={},r=this;r.animateHeight(),!0===r.options.rtl&&!1===r.options.vertical&&(t=-t),!1===r.transformsEnabled?!1===r.options.vertical?r.$slideTrack.animate({left:t},r.options.speed,r.options.easing,n):r.$slideTrack.animate({top:t},r.options.speed,r.options.easing,n):!1===r.cssTransitions?(!0===r.options.rtl&&(r.currentLeft=-r.currentLeft),e({animStart:r.currentLeft}).animate({animStart:t},{duration:r.options.speed,easing:r.options.easing,step:function(e){e=Math.ceil(e),!1===r.options.vertical?(i[r.animType]="translate("+e+"px, 0px)",r.$slideTrack.css(i)):(i[r.animType]="translate(0px,"+e+"px)",r.$slideTrack.css(i))},complete:function(){n&&n.call()}})):(r.applyTransition(),t=Math.ceil(t),!1===r.options.vertical?i[r.animType]="translate3d("+t+"px, 0px, 0px)":i[r.animType]="translate3d(0px,"+t+"px, 0px)",r.$slideTrack.css(i),n&&setTimeout((function(){r.disableTransition(),n.call()}),r.options.speed))},n.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=e(t).not(this.$slider)),t},n.prototype.asNavFor=function(t){var n=this.getNavTarget();null!==n&&"object"==typeof n&&n.each((function(){var n=e(this).slick("getSlick");n.unslicked||n.slideHandler(t,!0)}))},n.prototype.applyTransition=function(e){var t=this,n={};!1===t.options.fade?n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},n.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},n.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},n.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},n.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},n.prototype.buildDots=function(){var t,n,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),n=e("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)n.append(e("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=n.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},n.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each((function(t,n){e(n).attr("data-slick-index",t).data("originalStyling",e(n).attr("style")||"")})),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},n.prototype.buildRows=function(){var e,t,n,i,r,o,s,a=this;if(i=document.createDocumentFragment(),o=a.$slider.children(),a.options.rows>0){for(s=a.options.slidesPerRow*a.options.rows,r=Math.ceil(o.length/s),e=0;e<r;e++){var l=document.createElement("div");for(t=0;t<a.options.rows;t++){var c=document.createElement("div");for(n=0;n<a.options.slidesPerRow;n++){var u=e*s+(t*a.options.slidesPerRow+n);o.get(u)&&c.appendChild(o.get(u))}l.appendChild(c)}i.appendChild(l)}a.$slider.empty().append(i),a.$slider.children().children().children().css({width:100/a.options.slidesPerRow+"%",display:"inline-block"})}},n.prototype.checkResponsive=function(t,n){var i,r,o,s=this,a=!1,l=s.$slider.width(),c=window.innerWidth||e(window).width();if("window"===s.respondTo?o=c:"slider"===s.respondTo?o=l:"min"===s.respondTo&&(o=Math.min(c,l)),s.options.responsive&&s.options.responsive.length&&null!==s.options.responsive){for(i in r=null,s.breakpoints)s.breakpoints.hasOwnProperty(i)&&(!1===s.originalSettings.mobileFirst?o<s.breakpoints[i]&&(r=s.breakpoints[i]):o>s.breakpoints[i]&&(r=s.breakpoints[i]));null!==r?null!==s.activeBreakpoint?(r!==s.activeBreakpoint||n)&&(s.activeBreakpoint=r,"unslick"===s.breakpointSettings[r]?s.unslick(r):(s.options=e.extend({},s.originalSettings,s.breakpointSettings[r]),!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t)),a=r):(s.activeBreakpoint=r,"unslick"===s.breakpointSettings[r]?s.unslick(r):(s.options=e.extend({},s.originalSettings,s.breakpointSettings[r]),!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t)),a=r):null!==s.activeBreakpoint&&(s.activeBreakpoint=null,s.options=s.originalSettings,!0===t&&(s.currentSlide=s.options.initialSlide),s.refresh(t),a=r),t||!1===a||s.$slider.trigger("breakpoint",[s,a])}},n.prototype.changeSlide=function(t,n){var i,r,o=this,s=e(t.currentTarget);switch(s.is("a")&&t.preventDefault(),s.is("li")||(s=s.closest("li")),i=o.slideCount%o.options.slidesToScroll!=0?0:(o.slideCount-o.currentSlide)%o.options.slidesToScroll,t.data.message){case"previous":r=0===i?o.options.slidesToScroll:o.options.slidesToShow-i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide-r,!1,n);break;case"next":r=0===i?o.options.slidesToScroll:i,o.slideCount>o.options.slidesToShow&&o.slideHandler(o.currentSlide+r,!1,n);break;case"index":var a=0===t.data.index?0:t.data.index||s.index()*o.options.slidesToScroll;o.slideHandler(o.checkNavigable(a),!1,n),s.children().trigger("focus");break;default:return}},n.prototype.checkNavigable=function(e){var t,n;if(n=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var i in t){if(e<t[i]){e=n;break}n=t[i]}return e},n.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},n.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},n.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>0&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},n.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},n.prototype.destroy=function(t){var n=this;n.autoPlayClear(),n.touchObject={},n.cleanUpEvents(),e(".slick-cloned",n.$slider).detach(),n.$dots&&n.$dots.remove(),n.$prevArrow&&n.$prevArrow.length&&(n.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.prevArrow)&&n.$prevArrow.remove()),n.$nextArrow&&n.$nextArrow.length&&(n.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.nextArrow)&&n.$nextArrow.remove()),n.$slides&&(n.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each((function(){e(this).attr("style",e(this).data("originalStyling"))})),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.detach(),n.$list.detach(),n.$slider.append(n.$slides)),n.cleanUpRows(),n.$slider.removeClass("slick-slider"),n.$slider.removeClass("slick-initialized"),n.$slider.removeClass("slick-dotted"),n.unslicked=!0,t||n.$slider.trigger("destroy",[n])},n.prototype.disableTransition=function(e){var t=this,n={};n[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},n.prototype.fadeSlide=function(e,t){var n=this;!1===n.cssTransitions?(n.$slides.eq(e).css({zIndex:n.options.zIndex}),n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)):(n.applyTransition(e),n.$slides.eq(e).css({opacity:1,zIndex:n.options.zIndex}),t&&setTimeout((function(){n.disableTransition(e),t.call()}),n.options.speed))},n.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},n.prototype.filterSlides=n.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},n.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",(function(n){n.stopImmediatePropagation();var i=e(this);setTimeout((function(){t.options.pauseOnFocus&&(t.focussed=i.is(":focus"),t.autoPlay())}),0)}))},n.prototype.getCurrent=n.prototype.slickCurrentSlide=function(){return this.currentSlide},n.prototype.getDotCount=function(){var e=this,t=0,n=0,i=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++i;else for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)i=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else i=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return i-1},n.prototype.getLeft=function(e){var t,n,i,r,o=this,s=0;return o.slideOffset=0,n=o.$slides.first().outerHeight(!0),!0===o.options.infinite?(o.slideCount>o.options.slidesToShow&&(o.slideOffset=o.slideWidth*o.options.slidesToShow*-1,r=-1,!0===o.options.vertical&&!0===o.options.centerMode&&(2===o.options.slidesToShow?r=-1.5:1===o.options.slidesToShow&&(r=-2)),s=n*o.options.slidesToShow*r),o.slideCount%o.options.slidesToScroll!=0&&e+o.options.slidesToScroll>o.slideCount&&o.slideCount>o.options.slidesToShow&&(e>o.slideCount?(o.slideOffset=(o.options.slidesToShow-(e-o.slideCount))*o.slideWidth*-1,s=(o.options.slidesToShow-(e-o.slideCount))*n*-1):(o.slideOffset=o.slideCount%o.options.slidesToScroll*o.slideWidth*-1,s=o.slideCount%o.options.slidesToScroll*n*-1))):e+o.options.slidesToShow>o.slideCount&&(o.slideOffset=(e+o.options.slidesToShow-o.slideCount)*o.slideWidth,s=(e+o.options.slidesToShow-o.slideCount)*n),o.slideCount<=o.options.slidesToShow&&(o.slideOffset=0,s=0),!0===o.options.centerMode&&o.slideCount<=o.options.slidesToShow?o.slideOffset=o.slideWidth*Math.floor(o.options.slidesToShow)/2-o.slideWidth*o.slideCount/2:!0===o.options.centerMode&&!0===o.options.infinite?o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)-o.slideWidth:!0===o.options.centerMode&&(o.slideOffset=0,o.slideOffset+=o.slideWidth*Math.floor(o.options.slidesToShow/2)),t=!1===o.options.vertical?e*o.slideWidth*-1+o.slideOffset:e*n*-1+s,!0===o.options.variableWidth&&(i=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow),t=!0===o.options.rtl?i[0]?-1*(o.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===o.options.centerMode&&(i=o.slideCount<=o.options.slidesToShow||!1===o.options.infinite?o.$slideTrack.children(".slick-slide").eq(e):o.$slideTrack.children(".slick-slide").eq(e+o.options.slidesToShow+1),t=!0===o.options.rtl?i[0]?-1*(o.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,t+=(o.$list.width()-i.outerWidth())/2)),t},n.prototype.getOption=n.prototype.slickGetOption=function(e){return this.options[e]},n.prototype.getNavigableIndexes=function(){var e,t=this,n=0,i=0,r=[];for(!1===t.options.infinite?e=t.slideCount:(n=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,e=2*t.slideCount);n<e;)r.push(n),n=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return r},n.prototype.getSlick=function(){return this},n.prototype.getSlideCount=function(){var t,n,i=this;return n=!0===i.options.centerMode?i.slideWidth*Math.floor(i.options.slidesToShow/2):0,!0===i.options.swipeToSlide?(i.$slideTrack.find(".slick-slide").each((function(r,o){if(o.offsetLeft-n+e(o).outerWidth()/2>-1*i.swipeLeft)return t=o,!1})),Math.abs(e(t).attr("data-slick-index")-i.currentSlide)||1):i.options.slidesToScroll},n.prototype.goTo=n.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:parseInt(e)}},t)},n.prototype.init=function(t){var n=this;e(n.$slider).hasClass("slick-initialized")||(e(n.$slider).addClass("slick-initialized"),n.buildRows(),n.buildOut(),n.setProps(),n.startLoad(),n.loadSlider(),n.initializeEvents(),n.updateArrows(),n.updateDots(),n.checkResponsive(!0),n.focusHandler()),t&&n.$slider.trigger("init",[n]),!0===n.options.accessibility&&n.initADA(),n.options.autoplay&&(n.paused=!1,n.autoPlay())},n.prototype.initADA=function(){var t=this,n=Math.ceil(t.slideCount/t.options.slidesToShow),i=t.getNavigableIndexes().filter((function(e){return e>=0&&e<t.slideCount}));t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each((function(n){var r=i.indexOf(n);if(e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+n,tabindex:-1}),-1!==r){var o="slick-slide-control"+t.instanceUid+r;e("#"+o).length&&e(this).attr({"aria-describedby":o})}})),t.$dots.attr("role","tablist").find("li").each((function(r){var o=i[r];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+r,"aria-controls":"slick-slide"+t.instanceUid+o,"aria-label":r+1+" of "+n,"aria-selected":null,tabindex:"-1"})})).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var r=t.currentSlide,o=r+t.options.slidesToShow;r<o;r++)t.options.focusOnChange?t.$slides.eq(r).attr({tabindex:"0"}):t.$slides.eq(r).removeAttr("tabindex");t.activateADA()},n.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},n.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&t.slideCount>t.options.slidesToShow&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},n.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},n.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"},t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},n.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},n.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},n.prototype.lazyLoad=function(){var t,n,i,r=this;function o(t){e("img[data-lazy]",t).each((function(){var t=e(this),n=e(this).attr("data-lazy"),i=e(this).attr("data-srcset"),o=e(this).attr("data-sizes")||r.$slider.attr("data-sizes"),s=document.createElement("img");s.onload=function(){i&&(t.attr("srcset",i),o&&t.attr("sizes",o)),t.attr("src",n),t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),r.$slider.trigger("lazyLoaded",[r,t,n])},s.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,n])},s.src=n}))}if(!0===r.options.centerMode?!0===r.options.infinite?i=(n=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(n=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),i=r.options.slidesToShow/2+1+2+r.currentSlide):(n=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,i=Math.ceil(n+r.options.slidesToShow),!0===r.options.fade&&(n>0&&n--,i<=r.slideCount&&i++)),t=r.$slider.find(".slick-slide").slice(n,i),"anticipated"===r.options.lazyLoad)for(var s=n-1,a=i,l=r.$slider.find(".slick-slide"),c=0;c<r.options.slidesToScroll;c++)s<0&&(s=r.slideCount-1),t=(t=t.add(l.eq(s))).add(l.eq(a)),s--,a++;o(t),r.slideCount<=r.options.slidesToShow?o(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?o(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&o(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},n.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},n.prototype.next=n.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},n.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},n.prototype.pause=n.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},n.prototype.play=n.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},n.prototype.postSlide=function(t){var n=this;n.unslicked||(n.$slider.trigger("afterChange",[n,t]),n.animating=!1,n.slideCount>n.options.slidesToShow&&n.setPosition(),n.swipeLeft=null,n.options.autoplay&&n.autoPlay(),!0===n.options.accessibility&&(n.initADA(),n.options.focusOnChange&&e(n.$slides.get(n.currentSlide)).attr("tabindex",0).focus()))},n.prototype.prev=n.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},n.prototype.preventDefault=function(e){e.preventDefault()},n.prototype.progressiveLazyLoad=function(t){t=t||1;var n,i,r,o,s,a=this,l=e("img[data-lazy]",a.$slider);l.length?(n=l.first(),i=n.attr("data-lazy"),r=n.attr("data-srcset"),o=n.attr("data-sizes")||a.$slider.attr("data-sizes"),(s=document.createElement("img")).onload=function(){r&&(n.attr("srcset",r),o&&n.attr("sizes",o)),n.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===a.options.adaptiveHeight&&a.setPosition(),a.$slider.trigger("lazyLoaded",[a,n,i]),a.progressiveLazyLoad()},s.onerror=function(){t<3?setTimeout((function(){a.progressiveLazyLoad(t+1)}),500):(n.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),a.$slider.trigger("lazyLoadError",[a,n,i]),a.progressiveLazyLoad())},s.src=i):a.$slider.trigger("allImagesLoaded",[a])},n.prototype.refresh=function(t){var n,i,r=this;i=r.slideCount-r.options.slidesToShow,!r.options.infinite&&r.currentSlide>i&&(r.currentSlide=i),r.slideCount<=r.options.slidesToShow&&(r.currentSlide=0),n=r.currentSlide,r.destroy(!0),e.extend(r,r.initials,{currentSlide:n}),r.init(),t||r.changeSlide({data:{message:"index",index:n}},!1)},n.prototype.registerBreakpoints=function(){var t,n,i,r=this,o=r.options.responsive||null;if("array"===e.type(o)&&o.length){for(t in r.respondTo=r.options.respondTo||"window",o)if(i=r.breakpoints.length-1,o.hasOwnProperty(t)){for(n=o[t].breakpoint;i>=0;)r.breakpoints[i]&&r.breakpoints[i]===n&&r.breakpoints.splice(i,1),i--;r.breakpoints.push(n),r.breakpointSettings[n]=o[t].settings}r.breakpoints.sort((function(e,t){return r.options.mobileFirst?e-t:t-e}))}},n.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.options.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},n.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout((function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()}),50))},n.prototype.removeSlide=n.prototype.slickRemove=function(e,t,n){var i=this;if(e="boolean"==typeof e?!0===(t=e)?0:i.slideCount-1:!0===t?--e:e,i.slideCount<1||e<0||e>i.slideCount-1)return!1;i.unload(),!0===n?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(e).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,i.reinit()},n.prototype.setCSS=function(e){var t,n,i=this,r={};!0===i.options.rtl&&(e=-e),t="left"==i.positionProp?Math.ceil(e)+"px":"0px",n="top"==i.positionProp?Math.ceil(e)+"px":"0px",r[i.positionProp]=e,!1===i.transformsEnabled?i.$slideTrack.css(r):(r={},!1===i.cssTransitions?(r[i.animType]="translate("+t+", "+n+")",i.$slideTrack.css(r)):(r[i.animType]="translate3d("+t+", "+n+", 0px)",i.$slideTrack.css(r)))},n.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},n.prototype.setFade=function(){var t,n=this;n.$slides.each((function(i,r){t=n.slideWidth*i*-1,!0===n.options.rtl?e(r).css({position:"relative",right:t,top:0,zIndex:n.options.zIndex-2,opacity:0}):e(r).css({position:"relative",left:t,top:0,zIndex:n.options.zIndex-2,opacity:0})})),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},n.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},n.prototype.setOption=n.prototype.slickSetOption=function(){var t,n,i,r,o,s=this,a=!1;if("object"===e.type(arguments[0])?(i=arguments[0],a=arguments[1],o="multiple"):"string"===e.type(arguments[0])&&(i=arguments[0],r=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)s.options[i]=r;else if("multiple"===o)e.each(i,(function(e,t){s.options[e]=t}));else if("responsive"===o)for(n in r)if("array"!==e.type(s.options.responsive))s.options.responsive=[r[n]];else{for(t=s.options.responsive.length-1;t>=0;)s.options.responsive[t].breakpoint===r[n].breakpoint&&s.options.responsive.splice(t,1),t--;s.options.responsive.push(r[n])}a&&(s.unload(),s.reinit())},n.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},n.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},n.prototype.setSlideClasses=function(e){var t,n,i,r,o=this;if(n=o.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),o.$slides.eq(e).addClass("slick-current"),!0===o.options.centerMode){var s=o.options.slidesToShow%2==0?1:0;t=Math.floor(o.options.slidesToShow/2),!0===o.options.infinite&&(e>=t&&e<=o.slideCount-1-t?o.$slides.slice(e-t+s,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(i=o.options.slidesToShow+e,n.slice(i-t+1+s,i+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?n.eq(n.length-1-o.options.slidesToShow).addClass("slick-center"):e===o.slideCount-1&&n.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=o.slideCount-o.options.slidesToShow?o.$slides.slice(e,e+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=o.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(r=o.slideCount%o.options.slidesToShow,i=!0===o.options.infinite?o.options.slidesToShow+e:e,o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-e<o.options.slidesToShow?n.slice(i-(o.options.slidesToShow-r),i+r).addClass("slick-active").attr("aria-hidden","false"):n.slice(i,i+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==o.options.lazyLoad&&"anticipated"!==o.options.lazyLoad||o.lazyLoad()},n.prototype.setupInfinite=function(){var t,n,i,r=this;if(!0===r.options.fade&&(r.options.centerMode=!1),!0===r.options.infinite&&!1===r.options.fade&&(n=null,r.slideCount>r.options.slidesToShow)){for(i=!0===r.options.centerMode?r.options.slidesToShow+1:r.options.slidesToShow,t=r.slideCount;t>r.slideCount-i;t-=1)n=t-1,e(r.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n-r.slideCount).prependTo(r.$slideTrack).addClass("slick-cloned");for(t=0;t<i+r.slideCount;t+=1)n=t,e(r.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n+r.slideCount).appendTo(r.$slideTrack).addClass("slick-cloned");r.$slideTrack.find(".slick-cloned").find("[id]").each((function(){e(this).attr("id","")}))}},n.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},n.prototype.selectHandler=function(t){var n=this,i=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),r=parseInt(i.attr("data-slick-index"));r||(r=0),n.slideCount<=n.options.slidesToShow?n.slideHandler(r,!1,!0):n.slideHandler(r)},n.prototype.slideHandler=function(e,t,n){var i,r,o,s,a,l,c=this;if(t=t||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===e))if(!1===t&&c.asNavFor(e),i=e,a=c.getLeft(i),s=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?s:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(e<0||e>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(s,(function(){c.postSlide(i)})):c.postSlide(i));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(e<0||e>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(s,(function(){c.postSlide(i)})):c.postSlide(i));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),r=i<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+i:i>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:i-c.slideCount:i,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,r]),o=c.currentSlide,c.currentSlide=r,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(l=(l=c.getNavTarget()).slick("getSlick")).slideCount<=l.options.slidesToShow&&l.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==n?(c.fadeSlideOut(o),c.fadeSlide(r,(function(){c.postSlide(r)}))):c.postSlide(r),void c.animateHeight();!0!==n&&c.slideCount>c.options.slidesToShow?c.animateSlide(a,(function(){c.postSlide(r)})):c.postSlide(r)}},n.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},n.prototype.swipeDirection=function(){var e,t,n,i,r=this;return e=r.touchObject.startX-r.touchObject.curX,t=r.touchObject.startY-r.touchObject.curY,n=Math.atan2(t,e),(i=Math.round(180*n/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?!1===r.options.rtl?"left":"right":i>=135&&i<=225?!1===r.options.rtl?"right":"left":!0===r.options.verticalSwiping?i>=35&&i<=135?"down":"up":"vertical"},n.prototype.swipeEnd=function(e){var t,n,i=this;if(i.dragging=!1,i.swiping=!1,i.scrolling)return i.scrolling=!1,!1;if(i.interrupted=!1,i.shouldClick=!(i.touchObject.swipeLength>10),void 0===i.touchObject.curX)return!1;if(!0===i.touchObject.edgeHit&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe){switch(n=i.swipeDirection()){case"left":case"down":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.currentDirection=0;break;case"right":case"up":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.currentDirection=1}"vertical"!=n&&(i.slideHandler(t),i.touchObject={},i.$slider.trigger("swipe",[i,n]))}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},n.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},n.prototype.swipeMove=function(e){var t,n,i,r,o,s,a=this;return o=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!a.dragging||a.scrolling||o&&1!==o.length)&&(t=a.getLeft(a.currentSlide),a.touchObject.curX=void 0!==o?o[0].pageX:e.clientX,a.touchObject.curY=void 0!==o?o[0].pageY:e.clientY,a.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(a.touchObject.curX-a.touchObject.startX,2))),s=Math.round(Math.sqrt(Math.pow(a.touchObject.curY-a.touchObject.startY,2))),!a.options.verticalSwiping&&!a.swiping&&s>4?(a.scrolling=!0,!1):(!0===a.options.verticalSwiping&&(a.touchObject.swipeLength=s),n=a.swipeDirection(),void 0!==e.originalEvent&&a.touchObject.swipeLength>4&&(a.swiping=!0,e.preventDefault()),r=(!1===a.options.rtl?1:-1)*(a.touchObject.curX>a.touchObject.startX?1:-1),!0===a.options.verticalSwiping&&(r=a.touchObject.curY>a.touchObject.startY?1:-1),i=a.touchObject.swipeLength,a.touchObject.edgeHit=!1,!1===a.options.infinite&&(0===a.currentSlide&&"right"===n||a.currentSlide>=a.getDotCount()&&"left"===n)&&(i=a.touchObject.swipeLength*a.options.edgeFriction,a.touchObject.edgeHit=!0),!1===a.options.vertical?a.swipeLeft=t+i*r:a.swipeLeft=t+i*(a.$list.height()/a.listWidth)*r,!0===a.options.verticalSwiping&&(a.swipeLeft=t+i*r),!0!==a.options.fade&&!1!==a.options.touchMove&&(!0===a.animating?(a.swipeLeft=null,!1):void a.setCSS(a.swipeLeft))))},n.prototype.swipeStart=function(e){var t,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return n.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==t?t.pageX:e.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==t?t.pageY:e.clientY,n.dragging=!0},n.prototype.unfilterSlides=n.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},n.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")},n.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},n.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},n.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},n.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,t,i=this,r=arguments[0],o=Array.prototype.slice.call(arguments,1),s=i.length;for(e=0;e<s;e++)if("object"==typeof r||void 0===r?i[e].slick=new n(i[e],r):t=i[e].slick[r].apply(i[e].slick,o),void 0!==t)return t;return i}})),window.__pt=window.__pt||{},window.__pt.fn=window.__pt.fn||{},window.__pt.squeletons=window.__pt.squeletons||{},window.__pt.ln=window.__pt.ln||{},window.__pt.settings=window.__pt.settings||{},window.__pt.settings.select_item="select_item",window.__pt.settings.view_item_list="view_item_list",window.__pt.settings.checkout_progress="checkout_progress",window.__pt.settings.add_to_cart="add_to_cart",window.__pt.settings.purchase="purchase",window.__pt.settings.loginEvent="header.signin",window.__pt.settings.logoutEvent="header.logout",window.__pt.settings.bookerValuesEvent="setValuesBooker",window.__pt.settings.bookerValuesEventFlight="setValuesBooker_Flight",window.__pt.settings.bookerValuesEventPackage="setValuesBooker_Package",window.__pt.settings.bookerSearchEvent="smallBookerSearch",window.__pt.settings.bookerChangeEvent="onBookerChange",window.__pt.settings.IsCheckmobileAndTablet=!0,window.__pt.settings.checkmobileAndTablet=!0,window.__pt.settings.screenSizes={mobile:"500px",small:"767px",tablet:"960px",desktop:"1280px"},window.__pt.settings.defaultPaxes={adults:1,children:[]},window.__pt.settings.defaultHotel={place_name:null,place_selected:{},checkIn:null,checkOut:null,paxes_name:"",paxes:{adults:2,children:[],rooms:1}},window.__pt.settings.defaultFlight={place_name:null,place_selected:{},place_name_to:null,place_selected_to:{},checkIn:null,checkOut:null,paxes_name:"",mode:!0,paxes:[{adults:1,children:[]}]},window.__pt.settings.defaultPackage={place_name:null,place_selected:{},place_name_to:null,place_selected_to:{},checkIn:null,checkOut:null,paxes_name:"",paxes:[{adults:2,children:[]}]},window.__pt.settings.bookerHistorySize=3,window.__pt.settings.historyStorageParam="history_search_hotels_fam",window.__pt.settings.historyStorageParamFlight="history_search_flights",window.__pt.settings.historyStorageParamPackage="history_search_packages",window.__pt.settings.recentDestinations="recent_destinations_fam",window.__pt.settings.recentDestinationsFlight="recent_destinations_flights",window.__pt.settings.recentDestinationsPackage="recent_destinations_packages",window.__pt.settings.checkoutData="pt.checkoutData",window.__pt.settings.limitDestinations=4,window.__pt.squeletons.list=[{}],window.__pt.squeletons.results=[{}],window.__pt.fn.mobileAndTabletCheck=function(){let e=!1;var t;return window.__pt.settings.IsCheckmobileAndTablet&&(window.__pt.settings.IsCheckmobileAndTablet=!1,t=navigator.userAgent||navigator.vendor||window.opera,(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|playbook|silk/i.test(t)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(t.substr(0,4)))&&(e=!0),window.__pt.settings.checkmobileAndTablet=e),e=window.__pt.settings.checkmobileAndTablet,e},window.__pt.fn.encodeUrl=function(e){return Object.keys(e).map((function(t){return encodeURIComponent(t)+"="+encodeURIComponent(e[t])})).join("&")},window.__pt.fn.getScript=function(e,t,n){$.cachedScript(e,t,n)},window.__pt.fn.search=function(){var e=new URLSearchParams(location.search);return Object.fromEntries(e)},window.__pt.fn.searchUri=function(e){var t=new URLSearchParams(e);return Object.fromEntries(t)},window.__pt.fn.findObject=function(e,t,n){for(var i=null,r=0;r<e.length;r++)if(e[r][t]==n){i=e[r];break}return i},window.__pt.fn.clone=function(e){return JSON.parse(JSON.stringify(e))},window.__pt.fn.getCountry=function(){return[{name:"Afghanistan",code:"AF"},{name:"Albania",code:"AL"},{name:"Algeria",code:"DZ"},{name:"American Samoa",code:"AS"},{name:"Andorra",code:"AD"},{name:"Angola",code:"AO"},{name:"Anguilla",code:"AI"},{name:"Antarctica",code:"AQ"},{name:"Antigua and Barbuda",code:"AG"},{name:"Argentina",code:"AR"},{name:"Armenia",code:"AM"},{name:"Aruba",code:"AW"},{name:"Australia",code:"AU"},{name:"Austria",code:"AT"},{name:"Azerbaijan",code:"AZ"},{name:"Bahamas",code:"BS"},{name:"Bahrain",code:"BH"},{name:"Bangladesh",code:"BD"},{name:"Barbados",code:"BB"},{name:"Belarus",code:"BY"},{name:"Belgium",code:"BE"},{name:"Belize",code:"BZ"},{name:"Benin",code:"BJ"},{name:"Bermuda",code:"BM"},{name:"Bhutan",code:"BT"},{name:"Bolivia",code:"BO"},{name:"Bosnia and Herzegovina",code:"BA"},{name:"Botswana",code:"BW"},{name:"Bouvet Island",code:"BV"},{name:"Brazil",code:"BR"},{name:"British Indian Ocean Territory",code:"IO"},{name:"Brunei Darussalam",code:"BN"},{name:"Bulgaria",code:"BG"},{name:"Burkina Faso",code:"BF"},{name:"Burundi",code:"BI"},{name:"Cambodia",code:"KH"},{name:"Cameroon",code:"CM"},{name:"Canada",code:"CA"},{name:"Cape Verde",code:"CV"},{name:"Cayman Islands",code:"KY"},{name:"Central African Republic",code:"CF"},{name:"Chad",code:"TD"},{name:"Chile",code:"CL"},{name:"China",code:"CN"},{name:"Christmas Island",code:"CX"},{name:"Cocos (Keeling) Islands",code:"CC"},{name:"Colombia",code:"CO"},{name:"Comoros",code:"KM"},{name:"Congo",code:"CG"},{name:"Congo, The Democratic Republic of the",code:"CD"},{name:"Cook Islands",code:"CK"},{name:"Costa Rica",code:"CR"},{name:'Cote D"Ivoire',code:"CI"},{name:"Croatia",code:"HR"},{name:"Cuba",code:"CU"},{name:"Cyprus",code:"CY"},{name:"Czech Republic",code:"CZ"},{name:"Denmark",code:"DK"},{name:"Djibouti",code:"DJ"},{name:"Dominica",code:"DM"},{name:"Dominican Republic",code:"DO"},{name:"Ecuador",code:"EC"},{name:"Egypt",code:"EG"},{name:"El Salvador",code:"SV"},{name:"Equatorial Guinea",code:"GQ"},{name:"Eritrea",code:"ER"},{name:"Estonia",code:"EE"},{name:"Ethiopia",code:"ET"},{name:"Falkland Islands (Malvinas)",code:"FK"},{name:"Faroe Islands",code:"FO"},{name:"Fiji",code:"FJ"},{name:"Finland",code:"FI"},{name:"France",code:"FR"},{name:"French Guiana",code:"GF"},{name:"French Polynesia",code:"PF"},{name:"French Southern Territories",code:"TF"},{name:"Gabon",code:"GA"},{name:"Gambia",code:"GM"},{name:"Georgia",code:"GE"},{name:"Germany",code:"DE"},{name:"Ghana",code:"GH"},{name:"Gibraltar",code:"GI"},{name:"Greece",code:"GR"},{name:"Greenland",code:"GL"},{name:"Grenada",code:"GD"},{name:"Guadeloupe",code:"GP"},{name:"Guam",code:"GU"},{name:"Guatemala",code:"GT"},{name:"Guernsey",code:"GG"},{name:"Guinea",code:"GN"},{name:"Guinea-Bissau",code:"GW"},{name:"Guyana",code:"GY"},{name:"Haiti",code:"HT"},{name:"Heard Island and Mcdonald Islands",code:"HM"},{name:"Holy See (Vatican City State)",code:"VA"},{name:"Honduras",code:"HN"},{name:"Hong Kong",code:"HK"},{name:"Hungary",code:"HU"},{name:"Iceland",code:"IS"},{name:"India",code:"IN"},{name:"Indonesia",code:"ID"},{name:"Iran, Islamic Republic Of",code:"IR"},{name:"Iraq",code:"IQ"},{name:"Ireland",code:"IE"},{name:"Isle of Man",code:"IM"},{name:"Israel",code:"IL"},{name:"Italy",code:"IT"},{name:"Jamaica",code:"JM"},{name:"Japan",code:"JP"},{name:"Jersey",code:"JE"},{name:"Jordan",code:"JO"},{name:"Kazakhstan",code:"KZ"},{name:"Kenya",code:"KE"},{name:"Kiribati",code:"KI"},{name:'Korea, Democratic People"S Republic of',code:"KP"},{name:"Korea, Republic of",code:"KR"},{name:"Kuwait",code:"KW"},{name:"Kyrgyzstan",code:"KG"},{name:'Lao People"S Democratic Republic',code:"LA"},{name:"Latvia",code:"LV"},{name:"Lebanon",code:"LB"},{name:"Lesotho",code:"LS"},{name:"Liberia",code:"LR"},{name:"Libyan Arab Jamahiriya",code:"LY"},{name:"Liechtenstein",code:"LI"},{name:"Lithuania",code:"LT"},{name:"Luxembourg",code:"LU"},{name:"Macao",code:"MO"},{name:"Macedonia, The Former Yugoslav Republic of",code:"MK"},{name:"Madagascar",code:"MG"},{name:"Malawi",code:"MW"},{name:"Malaysia",code:"MY"},{name:"Maldives",code:"MV"},{name:"Mali",code:"ML"},{name:"Malta",code:"MT"},{name:"Marshall Islands",code:"MH"},{name:"Martinique",code:"MQ"},{name:"Mauritania",code:"MR"},{name:"Mauritius",code:"MU"},{name:"Mayotte",code:"YT"},{name:"Mexico",code:"MX"},{name:"Micronesia, Federated States of",code:"FM"},{name:"Moldova, Republic of",code:"MD"},{name:"Monaco",code:"MC"},{name:"Mongolia",code:"MN"},{name:"Montserrat",code:"MS"},{name:"Morocco",code:"MA"},{name:"Mozambique",code:"MZ"},{name:"Myanmar",code:"MM"},{name:"Namibia",code:"NA"},{name:"Nauru",code:"NR"},{name:"Nepal",code:"NP"},{name:"Netherlands",code:"NL"},{name:"Netherlands Antilles",code:"AN"},{name:"New Caledonia",code:"NC"},{name:"New Zealand",code:"NZ"},{name:"Nicaragua",code:"NI"},{name:"Niger",code:"NE"},{name:"Nigeria",code:"NG"},{name:"Niue",code:"NU"},{name:"Norfolk Island",code:"NF"},{name:"Northern Mariana Islands",code:"MP"},{name:"Norway",code:"NO"},{name:"Oman",code:"OM"},{name:"Pakistan",code:"PK"},{name:"Palau",code:"PW"},{name:"Palestinian Territory, Occupied",code:"PS"},{name:"Panama",code:"PA"},{name:"Papua New Guinea",code:"PG"},{name:"Paraguay",code:"PY"},{name:"Peru",code:"PE"},{name:"Philippines",code:"PH"},{name:"Pitcairn",code:"PN"},{name:"Poland",code:"PL"},{name:"Portugal",code:"PT"},{name:"Puerto Rico",code:"PR"},{name:"Qatar",code:"QA"},{name:"Reunion",code:"RE"},{name:"Romania",code:"RO"},{name:"Russian Federation",code:"RU"},{name:"RWANDA",code:"RW"},{name:"Saint Helena",code:"SH"},{name:"Saint Kitts and Nevis",code:"KN"},{name:"Saint Lucia",code:"LC"},{name:"Saint Pierre and Miquelon",code:"PM"},{name:"Saint Vincent and the Grenadines",code:"VC"},{name:"Samoa",code:"WS"},{name:"San Marino",code:"SM"},{name:"Sao Tome and Principe",code:"ST"},{name:"Saudi Arabia",code:"SA"},{name:"Senegal",code:"SN"},{name:"Serbia and Montenegro",code:"CS"},{name:"Seychelles",code:"SC"},{name:"Sierra Leone",code:"SL"},{name:"Singapore",code:"SG"},{name:"Slovakia",code:"SK"},{name:"Slovenia",code:"SI"},{name:"Solomon Islands",code:"SB"},{name:"Somalia",code:"SO"},{name:"South Africa",code:"ZA"},{name:"South Georgia and the South Sandwich Islands",code:"GS"},{name:"Spain",code:"ES"},{name:"Sri Lanka",code:"LK"},{name:"Sudan",code:"SD"},{name:"Suriname",code:"SR"},{name:"Svalbard and Jan Mayen",code:"SJ"},{name:"Swaziland",code:"SZ"},{name:"Sweden",code:"SE"},{name:"Switzerland",code:"CH"},{name:"Syrian Arab Republic",code:"SY"},{name:"Taiwan, Province of China",code:"TW"},{name:"Tajikistan",code:"TJ"},{name:"Tanzania, United Republic of",code:"TZ"},{name:"Thailand",code:"TH"},{name:"Timor-Leste",code:"TL"},{name:"Togo",code:"TG"},{name:"Tokelau",code:"TK"},{name:"Tonga",code:"TO"},{name:"Trinidad and Tobago",code:"TT"},{name:"Tunisia",code:"TN"},{name:"Turkey",code:"TR"},{name:"Turkmenistan",code:"TM"},{name:"Turks and Caicos Islands",code:"TC"},{name:"Tuvalu",code:"TV"},{name:"Uganda",code:"UG"},{name:"Ukraine",code:"UA"},{name:"United Arab Emirates",code:"AE"},{name:"United Kingdom",code:"GB"},{name:"United States",code:"US"},{name:"United States Minor Outlying Islands",code:"UM"},{name:"Uruguay",code:"UY"},{name:"Uzbekistan",code:"UZ"},{name:"Vanuatu",code:"VU"},{name:"Venezuela",code:"VE"},{name:"Viet Nam",code:"VN"},{name:"Virgin Islands, British",code:"VG"},{name:"Virgin Islands, U.S.",code:"VI"},{name:"Wallis and Futuna",code:"WF"},{name:"Western Sahara",code:"EH"},{name:"Yemen",code:"YE"},{name:"Zambia",code:"ZM"},{name:"Zimbabwe",code:"ZW"}]},window.__pt.fn.getDate=function(e){if(!e)return new Date;if("object"==typeof e)return e;if(e.indexOf("T")>0&&e.indexOf("Z")>0)return new Date(e);var t=e.replace(/-/g,"/");return new Date(t.replace(/\.\d/g,""))},window.__pt.fn.formatDate=function(e,t,n){var i=["\0","January","February","March","April","May","June","July","August","September","October","November","December"],r=["","Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],o=["","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],s=["","Sun","Mon","Tue","Wed","Thu","Fri","Sat"];function a(e,t){var n=e+"";for(t=t||2;n.length<t;)n="0"+n;return n}var l=n?e.getUTCFullYear():e.getFullYear();t=(t=(t=t.replace(/(^|[^\\])yyyy+/g,"$1"+l)).replace(/(^|[^\\])yy/g,"$1"+l.toString().substr(2,2))).replace(/(^|[^\\])y/g,"$1"+l);var c=(n?e.getUTCMonth():e.getMonth())+1;t=(t=(t=(t=t.replace(/(^|[^\\])MMMM+/g,"$1"+i[0])).replace(/(^|[^\\])MMM/g,"$1"+r[0])).replace(/(^|[^\\])MM/g,"$1"+a(c))).replace(/(^|[^\\])M/g,"$1"+c);var u=n?e.getUTCDate():e.getDate();t=(t=(t=(t=t.replace(/(^|[^\\])dddd+/g,"$1"+o[0])).replace(/(^|[^\\])ddd/g,"$1"+s[0])).replace(/(^|[^\\])dd/g,"$1"+a(u))).replace(/(^|[^\\])d/g,"$1"+u);var d=n?e.getUTCHours():e.getHours(),h=d>12?d-12:0==d?12:d;t=(t=(t=(t=t.replace(/(^|[^\\])HH+/g,"$1"+a(d))).replace(/(^|[^\\])H/g,"$1"+d)).replace(/(^|[^\\])hh+/g,"$1"+a(h))).replace(/(^|[^\\])h/g,"$1"+h);var f=n?e.getUTCMinutes():e.getMinutes();t=(t=t.replace(/(^|[^\\])mm+/g,"$1"+a(f))).replace(/(^|[^\\])m/g,"$1"+f);var p=n?e.getUTCSeconds():e.getSeconds();t=(t=t.replace(/(^|[^\\])ss+/g,"$1"+a(p))).replace(/(^|[^\\])s/g,"$1"+p);var g=n?e.getUTCMilliseconds():e.getMilliseconds();t=t.replace(/(^|[^\\])fff+/g,"$1"+a(g,3)),g=Math.round(g/10),t=t.replace(/(^|[^\\])ff/g,"$1"+a(g)),g=Math.round(g/10);var m=d<12?"AM":"PM";t=(t=(t=t.replace(/(^|[^\\])f/g,"$1"+g)).replace(/(^|[^\\])TT+/g,"$1"+m)).replace(/(^|[^\\])T/g,"$1"+m.charAt(0));var v=m.toLowerCase();t=(t=t.replace(/(^|[^\\])tt+/g,"$1"+v)).replace(/(^|[^\\])t/g,"$1"+v.charAt(0));var $=-e.getTimezoneOffset(),y=n||!$?"Z":$>0?"+":"-";if(!n){var b=($=Math.abs($))%60;y+=a(Math.floor($/60))+":"+a(b)}t=t.replace(/(^|[^\\])K/g,"$1"+y);var w=(n?e.getUTCDay():e.getDay())+1;return t=(t=(t=(t=(t=t.replace(new RegExp(o[0],"g"),o[w])).replace(new RegExp(s[0],"g"),s[w])).replace(new RegExp(i[0],"g"),i[c])).replace(new RegExp(r[0],"g"),r[c])).replace(/\\(.)/g,"$1")},window.__pt.fn.setCookie=function(e,t,n){var i="";if(n){var r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3),i="; expires="+r.toUTCString()}document.cookie=e+"="+(t||"")+i+"; path=/"},window.__pt.fn.getCookie=function(e){for(var t=e+"=",n=document.cookie.split(";"),i=0;i<n.length;i++){for(var r=n[i];" "==r.charAt(0);)r=r.substring(1,r.length);if(0==r.indexOf(t))return r.substring(t.length,r.length)}return null},window.__pt.fn.eraseCookie=function(e){document.cookie=e+"=; Path=/; Expires=Thu, 01 Jan 1970 00:00:01 GMT;"},window.__pt.fn.objectToQueryParams=function(e){var t=[];for(var n in e)null!==e.hasOwnProperty(n)&&null!=e.hasOwnProperty(n)&&null!=e[n]&&null!=e[n]&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")},window.__pt.fn.updateQueryParam=function(e,t){if(history.pushState){const n=new URL(window.location);n.searchParams.set(""+e,t),window.history.pushState(null,"",n.toString())}},window.__pt.fn.getParamsJson=function(){return Object.fromEntries(new URLSearchParams(window.location.search))},window.__pt.fn.diffBetweenDays=function(e,t){const n=Math.abs(t.getTime()-e.getTime());return Math.ceil(n/864e5)},window.__pt.fn.onViewComponent=function(e,t,n){if(0!=$(e).length){var i=$(e).offset().top-$(window).outerHeight();if(i<$(window).scrollTop())return t(n),void $(e).removeClass("visibility-none");$(window).scroll((function(r){i>$(window).scrollTop()||(t(n),$(e).removeClass("visibility-none"),$(this).off(r))}))}},window.__pt.fn.countNigths=function(e,t){return e&&t?Math.ceil((new Date(t).getTime()-new Date(e).getTime())/864e5):null},window.__pt.fn.mediaQueries=function(e){return{mediaQueryDesktop:()=>window.matchMedia(`(min-width: ${e.desktop})`),mediaQueryTablet:()=>window.matchMedia(`(min-width: ${e.tablet})`),mediaQuerySmall:()=>window.matchMedia(`(min-width: ${e.small})`),mediaQueryMobile:()=>window.matchMedia(`(min-width: ${e.mobile})`)}},window.__pt.fn.sleep=function(e){return new Promise((t=>setTimeout(t,e)))},window.__pt.fn.isInViewport=(e,t=50)=>{if(0==$(e).length)return!1;const n=$(e)[0].getBoundingClientRect();return n.height>(window.innerHeight||document.documentElement.clientHeight)?n.top<=t&&n.bottom>0:n.top>=-t&&n.left>=0&&n.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&n.right<=(window.innerWidth||document.documentElement.clientWidth)},window.addEventListener("popstate",(function(e){e.isTrusted&&window.location.reload()})),window.jQuery&&(jQuery.cachedScript=function(e,t,n){var i=document.createElement("script");i.setAttribute("src",e),i.onload=n,document.body.appendChild(i)},jQuery.event.special.touchstart={setup:function(e,t,n){this.addEventListener("touchstart",n,{passive:!t.includes("noPreventDefault")})}},jQuery.event.special.touchmove={setup:function(e,t,n){this.addEventListener("touchmove",n,{passive:!t.includes("noPreventDefault")})}},jQuery.event.special.wheel={setup:function(e,t,n){this.addEventListener("wheel",n,{passive:!0})}},jQuery.event.special.mousewheel={setup:function(e,t,n){this.addEventListener("mousewheel",n,{passive:!0})}}),window.__pt.fn.mapPaxToUrlOriginal=(e,t,n)=>{let i=!!t,r=!!n,o={},s=0,a=0,l=0,c=[],u=e.length;for(let t=0;t<u;t++){const n=e[t];let r=t+1;o[`${i?"R":"r"}oom${r}.${i?"A":"a"}dults`]=n.adults,s+=n.adults;let u=n.children.length,d=[];for(let e=0;e<u;e++){const t=n.children[e];d.push(t.year),c.push(t.year),t.year>5?a+=1:l+=1}o[`${i?"R":"r"}oom${r}.${i?"K":"k"}ids`]=u,o[`${i?"R":"r"}oom${r}.${i?"A":"a"}gekids`]=d.join(",")}return o[(i?"R":"r")+"ooms"]=u,o[(i?"A":"a")+"dults"]=s,o[(i?"K":"k")+"ids"]=a,r?o[(i?"K":"k")+"ids"]=o[(i?"K":"k")+"ids"]+l:o[(i?"I":"i")+"nfants"]=l,o[(i?"A":"a")+"gekids"]=c.join(","),o},window.__pt.fn.mapPaxToUrlNew=(e,t,n)=>{let i=!!t,r=!!n,o={},s=0,a=0,l=0,c=[],u=e.length;for(let t=0;t<u;t++){const n=e[t];let r=t+1;const[u,d]=n.split("|"),h=d?d.split(","):[];o[`${i?"R":"r"}oom${r}.${i?"A":"a"}dults`]=parseInt(u)||0,s+=parseInt(u)||0;let f=h.length,p=[];for(let e=0;e<f;e++){const t=h[e];p.push(t),c.push(t),t>5?a+=1:l+=1}o[`${i?"R":"r"}oom${r}.${i?"K":"k"}ids`]=f,o[`${i?"R":"r"}oom${r}.${i?"A":"a"}gekids`]=p.join(",")}return o[(i?"R":"r")+"ooms"]=u,o[(i?"A":"a")+"dults"]=s,o[(i?"K":"k")+"ids"]=a,r?o[(i?"K":"k")+"ids"]=o[(i?"K":"k")+"ids"]+l:o[(i?"I":"i")+"nfants"]=l,o[(i?"A":"a")+"gekids"]=c.join(","),o},window.__pt.fn.mapPaxToUrl=e=>{let t={},n=e.adults,i=0,r=0,o=[];if(t.group_adults=n,t.no_rooms=e.rooms,e.children&&e.children.length>0){i=e.children.length,t.group_children=i;for(const t of e.children)o.push(t.year),t.year>5?i+=1:r+=1}return o.length>0&&(t.age=o),r>0&&(t.age_infant=r),t},window.__pt.fn.generateUUID=()=>{var e=(new Date).getTime(),t="undefined"!=typeof performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(n){var i=16*Math.random();return e>0?(i=(e+i)%16|0,e=Math.floor(e/16)):(i=(t+i)%16|0,t=Math.floor(t/16)),("x"===n?i:3&i|8).toString(16)}))};class Site{constructor(){this.onInit(),window.__pt.settings.site.isMobile=this.isMobile}onInit(){__pt.settings.rb||this.initFooter()}isMobile(){return window.matchMedia("only screen and (max-width: 760px)").matches}initFooter(){if(__pt.settings&&__pt.settings.site&&__pt.settings.site.mobile){let e=document.getElementsByClassName("footer-group-heading");for(let t=0;t<e.length;t++){e[t].nextElementSibling.style.display="none",e[t].addEventListener("click",(function(){this.classList.toggle("active");let e=this.nextElementSibling,t=this.firstElementChild;"block"===e.style.display?(e.style.display="none",t.classList.remove("icons-chevron-up"),t.classList.toggle("icons-chevron-down")):(e.style.display="block",t.classList.toggle("icons-chevron-up"),t.classList.remove("icons-chevron-down"))}))}}}}const site=new Site;
