text: function MD5(e){return result=M(V(Y(X(e),8*e.length))),result.toLowerCase()}function M(e){for(var t,n="0123456789ABCDEF",o="",r=0;r<e.length;r++)t=e.charCodeAt(r),o+=n.charAt(t>>>4&15)+n.charAt(15&t);return o}function X(e){for(var t=Array(e.length>>2),n=0;n<t.length;n++)t[n]=0;for(n=0;n<8*e.length;n+=8)t[n>>5]|=(255&e.charCodeAt(n/8))<<n%32;return t}function V(e){for(var t="",n=0;n<32*e.length;n+=8)t+=String.fromCharCode(e[n>>5]>>>n%32&255);return t}function Y(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,o=-271733879,r=-1732584194,i=271733878,s=0;s<e.length;s+=16){var a=n,l=o,u=r,c=i;o=md5_ii(o=md5_ii(o=md5_ii(o=md5_ii(o=md5_hh(o=md5_hh(o=md5_hh(o=md5_hh(o=md5_gg(o=md5_gg(o=md5_gg(o=md5_gg(o=md5_ff(o=md5_ff(o=md5_ff(o=md5_ff(o,r=md5_ff(r,i=md5_ff(i,n=md5_ff(n,o,r,i,e[s+0],7,-680876936),o,r,e[s+1],12,-389564586),n,o,e[s+2],17,606105819),i,n,e[s+3],22,-1044525330),r=md5_ff(r,i=md5_ff(i,n=md5_ff(n,o,r,i,e[s+4],7,-176418897),o,r,e[s+5],12,1200080426),n,o,e[s+6],17,-1473231341),i,n,e[s+7],22,-45705983),r=md5_ff(r,i=md5_ff(i,n=md5_ff(n,o,r,i,e[s+8],7,1770035416),o,r,e[s+9],12,-1958414417),n,o,e[s+10],17,-42063),i,n,e[s+11],22,-1990404162),r=md5_ff(r,i=md5_ff(i,n=md5_ff(n,o,r,i,e[s+12],7,1804603682),o,r,e[s+13],12,-40341101),n,o,e[s+14],17,-1502002290),i,n,e[s+15],22,1236535329),r=md5_gg(r,i=md5_gg(i,n=md5_gg(n,o,r,i,e[s+1],5,-165796510),o,r,e[s+6],9,-1069501632),n,o,e[s+11],14,643717713),i,n,e[s+0],20,-373897302),r=md5_gg(r,i=md5_gg(i,n=md5_gg(n,o,r,i,e[s+5],5,-701558691),o,r,e[s+10],9,38016083),n,o,e[s+15],14,-660478335),i,n,e[s+4],20,-405537848),r=md5_gg(r,i=md5_gg(i,n=md5_gg(n,o,r,i,e[s+9],5,568446438),o,r,e[s+14],9,-1019803690),n,o,e[s+3],14,-187363961),i,n,e[s+8],20,1163531501),r=md5_gg(r,i=md5_gg(i,n=md5_gg(n,o,r,i,e[s+13],5,-1444681467),o,r,e[s+2],9,-51403784),n,o,e[s+7],14,1735328473),i,n,e[s+12],20,-1926607734),r=md5_hh(r,i=md5_hh(i,n=md5_hh(n,o,r,i,e[s+5],4,-378558),o,r,e[s+8],11,-2022574463),n,o,e[s+11],16,1839030562),i,n,e[s+14],23,-35309556),r=md5_hh(r,i=md5_hh(i,n=md5_hh(n,o,r,i,e[s+1],4,-1530992060),o,r,e[s+4],11,1272893353),n,o,e[s+7],16,-155497632),i,n,e[s+10],23,-1094730640),r=md5_hh(r,i=md5_hh(i,n=md5_hh(n,o,r,i,e[s+13],4,681279174),o,r,e[s+0],11,-358537222),n,o,e[s+3],16,-722521979),i,n,e[s+6],23,76029189),r=md5_hh(r,i=md5_hh(i,n=md5_hh(n,o,r,i,e[s+9],4,-640364487),o,r,e[s+12],11,-421815835),n,o,e[s+15],16,530742520),i,n,e[s+2],23,-995338651),r=md5_ii(r,i=md5_ii(i,n=md5_ii(n,o,r,i,e[s+0],6,-198630844),o,r,e[s+7],10,1126891415),n,o,e[s+14],15,-1416354905),i,n,e[s+5],21,-57434055),r=md5_ii(r,i=md5_ii(i,n=md5_ii(n,o,r,i,e[s+12],6,1700485571),o,r,e[s+3],10,-1894986606),n,o,e[s+10],15,-1051523),i,n,e[s+1],21,-2054922799),r=md5_ii(r,i=md5_ii(i,n=md5_ii(n,o,r,i,e[s+8],6,1873313359),o,r,e[s+15],10,-30611744),n,o,e[s+6],15,-1560198380),i,n,e[s+13],21,1309151649),r=md5_ii(r,i=md5_ii(i,n=md5_ii(n,o,r,i,e[s+4],6,-145523070),o,r,e[s+11],10,-1120210379),n,o,e[s+2],15,718787259),i,n,e[s+9],21,-343485551),n=safe_add(n,a),o=safe_add(o,l),r=safe_add(r,u),i=safe_add(i,c)}return Array(n,o,r,i)}function md5_cmn(e,t,n,o,r,i){return safe_add(bit_rol(safe_add(safe_add(t,e),safe_add(o,i)),r),n)}function md5_ff(e,t,n,o,r,i,s){return md5_cmn(t&n|~t&o,e,t,r,i,s)}function md5_gg(e,t,n,o,r,i,s){return md5_cmn(t&o|n&~o,e,t,r,i,s)}function md5_hh(e,t,n,o,r,i,s){return md5_cmn(t^n^o,e,t,r,i,s)}function md5_ii(e,t,n,o,r,i,s){return md5_cmn(n^(t|~o),e,t,r,i,s)}function safe_add(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function bit_rol(e,t){return e<<t|e>>>32-t}function authorize(e,t,n){set("authorize",'{"Username": "'+e+'", "Password":"'+t+'","UserProfile":'+n+"}")}function getUser(){return get("authorize")}function deleteUser(){remove("authorize")}function set(e,t){isIE()?setCookie(e,t,365):window.localStorage.setItem(e,t)}function get(e){return isIE()?getCookie(e):window.localStorage.getItem(e)}function remove(e){isIE()?setCookie(e,"",-365):window.localStorage.removeItem(e)}function setCookie(e,t,n){var o=new Date;o.setTime(o.getTime()+24*n*60*60*1e3);var r="expires="+o.toUTCString();document.cookie=e+"="+t+";"+r+";path=/"}function getCookie(e){for(var t=e+"=",n=document.cookie.split(";"),o=0;o<n.length;o++){for(var r=n[o];" "===r.charAt(0);)r=r.substring(1);if(0===r.indexOf(t))return r.substring(t.length,r.length)}return""}function isIE(){return ua=navigator.userAgent,ua.indexOf("MSIE ")>-1||ua.indexOf("Trident/")>-1}function Users(){"use strict";function e(r,i){Common.get(y+"/searchUsers?keyword="+encodeURIComponent(G.value)+"&uo="+Z,function(s){for(var a=[],y=0;y<s.length;y++){var v,b=s[y];v=r===b.Username?"<tr class='selected'>":"<tr>",a.push(v+"<td class='userid'>"+b.Id+"</td><td class='username'>"+b.Username+"</td><td class='userprofile'>"+t(b.UserProfile)+"</td></tr>")}var x="<table id='wf-users-table' class='table'><thead class='thead-dark'><tr><th id='th-id'>Id</th><th id='th-username'>Username&nbsp;&nbsp;🔺</th><th>Profile</th></tr></thead><tbody>"+a.join("")+"</tbody></table>";k.innerHTML=x,g=document.getElementById("th-username"),g.onclick=function(){Z=0===Z?1:0,e(l,!0)},g.innerHTML=0===Z?"Username&nbsp;&nbsp;🔺":"Username&nbsp;&nbsp;🔻";var w=document.getElementById("wf-users-table"),C=document.getElementsByClassName("selected");C.length>0&&(m=C[0],u=m.getElementsByClassName("username")[0],f=m.getElementsByClassName("userprofile")[0]);for(var T=w.getElementsByTagName("tbody")[0].getElementsByTagName("tr"),E=0;E<T.length;E++){var S=T[E];if(i===!0){var A=S.getElementsByClassName("userid")[0];if(void 0!==A&&null!==A){A.innerHTML===c&&S.scrollIntoView(!0)}}S.onclick=function(){var e=document.getElementsByClassName("selected");e.length>0&&(m=e[0],m.className=m.className.replace("selected","")),this.className+="selected",m=this,u=this.getElementsByClassName("username")[0],f=this.getElementsByClassName("userprofile")[0],l=u.innerHTML,c=this.getElementsByClassName("userid")[0].innerHTML,d=n(this.getElementsByClassName("userprofile")[0].innerHTML),o(),P.style.display="none",O.style.display="none",U.style.display="none",R.style.display="block",l!==p&&0===d||1===h&&l!==p&&1===d?R.style.display="none":B.innerHTML="New password",Q=!1,K=!1}}},function(){},ne)}function t(e){switch(e){case 0:return"SuperAdministrator";case 1:return"Administrator";case 2:return"Restricted";default:return"Unknown"}}function n(e){switch(e){case"SuperAdministrator":return 0;case"Administrator":return 1;case"Restricted":return 2;default:return-1}}function o(){S.style.display="block",A.style.display="block",l===p?(I.style.display="none",N.value=0,N.disabled=!0):P.style.display="none",Common.get(y+"/user?username="+encodeURIComponent(l),function(e){$.value=e.Id,F.value=e.CreatedOn,e.ModifiedOn.indexOf("0001")>-1?z.value="-":z.value=e.ModifiedOn,M.value=e.Username,N.value=e.UserProfile,W.value=e.Email,_.value="",j.value="",D.value="",X.style.display="table-row",V.style.display="table-row",Y.style.display="table-row",2===e.UserProfile&&(N.disabled=!1,I.style.display="block",P.style.display="none"),(e.Username===p||e.Username!==p&&0===e.UserProfile)&&(P.style.display="",N.disabled=!0,I.style.display="none"),e.Username!==p&&0===e.UserProfile&&(M.disabled=!0,W.disabled=!0,H.style.display="none"),e.Username===p&&0===e.UserProfile?H.style.display="block":0!==h||e.Username===p||1!==e.UserProfile&&2!==e.UserProfile?e.Username===p&&1===e.UserProfile?(M.disabled=!1,W.disabled=!1,H.style.display="block",I.style.display="none"):2===e.UserProfile?(M.disabled=!1,W.disabled=!1,N.disabled=!0,H.style.display="block",I.style.display="block"):(M.disabled=!0,W.disabled=!0,N.disabled=!0,H.style.display="none",I.style.display="none"):(M.disabled=!1,W.disabled=!1,N.disabled=!1,H.style.display="block",I.style.display="block")},function(){},ne)}function r(){if(Q===!0){var t=M.value,n=parseInt(s()),o=j.value,r=D.value;""===t?Common.toastInfo("Type a username."):Common.get(y+"/user?username="+encodeURIComponent(t),function(i){if(void 0===i)if(n===-1)Common.toastInfo("Choose a user profile for this user.");else if(""===o||""===r)Common.toastInfo("Type a password.");else if(o!==r)Common.toastInfo("Passwords don't match.");else if(""===W.value||a(W.value)===!1)Common.toastInfo("Enter a valid email address.");else{var s=MD5(o);Common.post(y+"/insertUser?username="+encodeURIComponent(t)+"&password="+s+"&up="+n+"&email="+encodeURIComponent(W.value),function(n){n===!0?(Common.toastSuccess("The user "+t+" was created with success."),Common.get(y+"/user?username="+encodeURIComponent(t),function(n){c=n.Id,l=n.Username,Q=!1,e(t,!0),1===n.UserProfile||2==n.UserProfile?I.style.display="block":0===n.UserProfile&&(N.disabled=!0,H.style.display="none",M.disabled=!0,W.disabled=!0,R.style.display="none",O.style.display="none",U.style.display="none"),X.style.display="table-row",V.style.display="table-row",Y.style.display="table-row",$.value=n.Id,F.value=n.CreatedOn,z.value="-"},function(){},ne)):Common.toastError("An error occured while creating the user "+t+".")},function(){},"",ne)}else Common.toastInfo("A user with this name already exists. Type another username.")},function(){},ne)}else{var f=parseInt(s());K===!1?""===M.value?Common.toastInfo("Enter a username."):""===W.value||a(W.value)===!1?Common.toastInfo("Enter a valid email address."):f===-1?Common.toastInfo("Choose a user profile for this user."):Common.get(y+"/user?username="+encodeURIComponent(M.value),function(e){if(void 0!==e&&null!==e&&e.Username!==l)Common.toastInfo("The user "+M.value+" already exists. Choose another username.");else if(l!==p&&0===d)if(""===j.value)Common.toastInfo("Type the password of this user.");else{var t=MD5(j.value);t!==e.Password?Common.toastInfo("The password is incorrect."):i()}else i()},function(){},ne):Common.get(y+"/user?username="+encodeURIComponent(l),function(e){var t=MD5(_.value);if(0===e.UserProfile&&e.Password!==t)Common.toastInfo("The old password is not valid.");else if(j.value!==D.value)Common.toastInfo("New passwords don't match.");else if(""===j.value||""===D.value)Common.toastInfo("Enter a new password.");else{var n=MD5(j.value),o=s();""===M.value?Common.toastInfo("Enter a username."):""===W.value||a(W.value)===!1?Common.toastInfo("Enter a valid email address."):o===-1?Common.toastInfo("Choose a user profile for this user."):Common.get(y+"/user?username="+encodeURIComponent(M.value),function(e){void 0!==e&&null!==e&&e.Username!==l?Common.toastInfo("The user "+M.value+" already exists. Choose another username."):Common.post(y+"/updateUser?userId="+c+"&username="+encodeURIComponent(M.value)+"&password="+encodeURIComponent(n)+"&up="+o+"&email="+encodeURIComponent(W.value),function(e){e===!0?(ne="Basic "+btoa(ee+":"+(l===p?n:te)),Common.get(y+"/user?username="+encodeURIComponent(M.value),function(e){l===p&&(te=e.Password,ne="Basic "+btoa(ee+":"+te),deleteUser(),authorize(M.value,e.Password,e.UserProfile),q.innerHTML="Logout ("+M.value+")"),u.innerHTML=M.value,p===l&&(p=M.value),l=M.value,X.style.display="table-row",V.style.display="table-row",Y.style.display="table-row",$.value=e.Id,F.value=e.CreatedOn,z.value=e.ModifiedOn,p!==l&&0===e.UserProfile&&(N.disabled=!0,H.style.display="none",M.disabled=!0,W.disabled=!0,R.style.display="none"),Common.toastSuccess("The user "+M.value+" was updated with success.")},function(){},ne)):Common.toastError("An error occured while updating the user "+M.value+".")},function(){},"",ne)},function(){},ne)}},function(){},ne)}}function i(){var e=parseInt(s());Common.post(y+"/updateUsernameAndEmailAndUserProfile?userId="+c+"&username="+encodeURIComponent(M.value)+"&email="+encodeURIComponent(W.value)+"&up="+e,function(e){e===!0?Common.get(y+"/user?username="+encodeURIComponent(M.value),function(e){p===l&&(te=e.Password,q.innerHTML="Logout ("+M.value+")",deleteUser(),authorize(M.value,e.Password,e.UserProfile)),Common.toastSuccess("The user "+M.value+" was updated with success."),u.innerHTML=M.value,f.innerHTML=t(e.UserProfile),p===l&&(p=M.value),l=M.value,X.style.display="table-row",V.style.display="table-row",Y.style.display="table-row",$.value=e.Id,F.value=e.CreatedOn,z.value=e.ModifiedOn,p!==l&&0===e.UserProfile&&(N.disabled=!0,H.style.display="none",M.disabled=!0,W.disabled=!0,R.style.display="none",I.style.display="none",O.style.display="none",U.style.display="none")},function(){},ne):Common.toastError("An error occured while updating the user "+M.value+".")},function(){},"",ne)}function s(){return N.options[N.selectedIndex].value}function a(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(e).toLowerCase())}var l,u,c,d,f,p,h,m,g,y=Common.trimEnd(Settings.Uri,"/"),v=document.getElementById("lnk-manager"),b=document.getElementById("lnk-designer"),x=document.getElementById("lnk-editor"),w=document.getElementById("lnk-approval"),C=document.getElementById("lnk-users"),T=document.getElementById("lnk-profiles"),E=document.getElementById("users"),k=document.getElementById("users-table"),S=document.getElementById("user-actions"),A=document.getElementById("user-profile"),N=document.getElementById("slct-profile"),_=document.getElementById("old-password-text"),j=document.getElementById("new-password-text"),D=document.getElementById("confirm-password-text"),I=document.getElementById("delete-action"),H=document.getElementById("save-action"),L=document.getElementById("new-user-action"),q=document.getElementById("btn-logout"),P=document.getElementById("old-password-tr"),O=document.getElementById("new-password-tr"),U=document.getElementById("confirm-password-tr"),B=document.getElementById("lbl-new-password"),M=document.getElementById("username-text"),R=document.getElementById("change-password"),W=document.getElementById("email-text"),$=document.getElementById("txt-id"),F=document.getElementById("txt-createdOn"),z=document.getElementById("txt-modifiedOn"),X=document.getElementById("tr-id"),V=document.getElementById("tr-createdOn"),Y=document.getElementById("tr-modifiedOn"),G=document.getElementById("users-search-text"),J=document.getElementById("users-search-action"),Q=!1,K=!1,Z=0,ee="",te="",ne="",oe=getUser();if(null===oe||""===oe)Common.redirectToLoginPage();else{var re=JSON.parse(oe);ee=re.Username,te=re.Password,ne="Basic "+btoa(ee+":"+te),Common.get(y+"/user?username="+encodeURIComponent(re.Username),function(t){re.Password!==t.Password?Common.redirectToLoginPage():0===t.UserProfile||1===t.UserProfile?(p=t.Username,h=t.UserProfile,E.style.display="block",v.style.display="inline",b.style.display="inline",x.style.display="inline",w.style.display="inline",C.style.display="inline",0===t.UserProfile&&(T.style.display="inline"),q.innerHTML="Logout ("+t.Username+")",q.onclick=function(){deleteUser(),Common.redirectToLoginPage()},1===t.UserProfile&&(L.style.display="none"),e()):Common.redirectToLoginPage()},function(){},ne)}J.onclick=function(){e()},G.onkeyup=function(t){t.preventDefault(),13===t.keyCode&&e()},L.onclick=function(){S.style.display="block",A.style.display="block",I.style.display="none",$.value="",F.value="",z.value="",X.style.display="none",V.style.display="none",Y.style.display="none",M.disabled=!1,P.style.display="none",B.innerHTML="Password",M.value="",N.disabled=!1,N.value=-1,j.value="",_.value="",D.value="",W.disabled=!1,W.value="",O.style.display="table-row",U.style.display="table-row",R.style.display="none",H.style.display="block",void 0!==m&&(m.className=m.className.replace("selected","")),Q=!0},R.onclick=function(){0===d&&(P.style.display="table-row"),O.style.display="table-row",U.style.display="table-row",R.style.display="none",K=!0},I.onclick=function(){confirm("Are you sure you want to delete this user?")===!0&&l!==p&&Common.get(y+"/user?username="+encodeURIComponent(l),function(t){Common.post(y+"/deleteUser?username="+encodeURIComponent(l)+"&password="+encodeURIComponent(t.Password),function(t){t===!0?(Common.toastSuccess("The user "+l+" was deleted with success."),e(),S.style.display="none",A.style.display="none"):Common.toastError("An error occured while deleting the user "+l+".")},function(){},"",ne)},function(){},ne)},H.onclick=function(){r()}}!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";function n(e,t,n){var o,r=(t=t||se).createElement("script");if(r.text=e,n)for(o in xe)n[o]&&(r[o]=n[o]);t.head.appendChild(r).parentNode.removeChild(r)}function o(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?fe[pe.call(e)]||"object":typeof e}function r(e){var t=!!e&&"length"in e&&e.length,n=o(e);return!ve(e)&&!be(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function i(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}function s(e,t,n){return ve(t)?we.grep(e,function(e,o){return!!t.call(e,o,e)!==n}):t.nodeType?we.grep(e,function(e){return e===t!==n}):"string"!=typeof t?we.grep(e,function(e){return de.call(t,e)>-1!==n}):we.filter(t,e,n)}function a(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function l(e){var t={};return we.each(e.match(De)||[],function(e,n){t[n]=!0}),t}function u(e){return e}function c(e){throw e}function d(e,t,n,o){var r;try{e&&ve(r=e.promise)?r.call(e).done(t).fail(n):e&&ve(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(o))}catch(e){n.apply(void 0,[e])}}function f(){se.removeEventListener("DOMContentLoaded",f),e.removeEventListener("load",f),we.ready()}function p(e,t){return t.toUpperCase()}function h(e){return e.replace(qe,"ms-").replace(Pe,p)}function m(){this.expando=we.expando+m.uid++}function g(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Me.test(e)?JSON.parse(e):e)}function y(e,t,n){var o;if(void 0===n&&1===e.nodeType)if(o="data-"+t.replace(Re,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(o))){try{n=g(n)}catch(e){}Be.set(e,t,n)}else n=void 0;return n}function v(e,t,n,o){var r,i,s=20,a=o?function(){return o.cur()}:function(){return we.css(e,t,"")},l=a(),u=n&&n[3]||(we.cssNumber[t]?"":"px"),c=(we.cssNumber[t]||"px"!==u&&+l)&&$e.exec(we.css(e,t));if(c&&c[3]!==u){for(l/=2,u=u||c[3],c=+l||1;s--;)we.style(e,t,c+u),(1-i)*(1-(i=a()/l||.5))<=0&&(s=0),c/=i;c*=2,we.style(e,t,c+u),n=n||[]}return n&&(c=+c||+l||0,r=n[1]?c+(n[1]+1)*n[2]:+n[2],o&&(o.unit=u,o.start=c,o.end=r)),r}function b(e){var t,n=e.ownerDocument,o=e.nodeName,r=Ve[o];return r||(t=n.body.appendChild(n.createElement(o)),r=we.css(t,"display"),t.parentNode.removeChild(t),"none"===r&&(r="block"),Ve[o]=r,r)}function x(e,t){for(var n,o,r=[],i=0,s=e.length;i<s;i++)(o=e[i]).style&&(n=o.style.display,t?("none"===n&&(r[i]=Ue.get(o,"display")||null,r[i]||(o.style.display="")),""===o.style.display&&ze(o)&&(r[i]=b(o))):"none"!==n&&(r[i]="none",Ue.set(o,"display",n)));for(i=0;i<s;i++)null!=r[i]&&(e[i].style.display=r[i]);return e}function w(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&i(e,t)?we.merge([e],n):n}function C(e,t){for(var n=0,o=e.length;n<o;n++)Ue.set(e[n],"globalEval",!t||Ue.get(t[n],"globalEval"))}function T(e,t,n,r,i){for(var s,a,l,u,c,d,f=t.createDocumentFragment(),p=[],h=0,m=e.length;h<m;h++)if((s=e[h])||0===s)if("object"===o(s))we.merge(p,s.nodeType?[s]:s);else if(Ke.test(s)){for(a=a||f.appendChild(t.createElement("div")),l=(Ge.exec(s)||["",""])[1].toLowerCase(),u=Qe[l]||Qe._default,a.innerHTML=u[1]+we.htmlPrefilter(s)+u[2],d=u[0];d--;)a=a.lastChild;we.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(s));for(f.textContent="",h=0;s=p[h++];)if(r&&we.inArray(s,r)>-1)i&&i.push(s);else if(c=we.contains(s.ownerDocument,s),a=w(f.appendChild(s),"script"),c&&C(a),n)for(d=0;s=a[d++];)Je.test(s.type||"")&&n.push(s);return f}function E(){return!0}function k(){return!1}function S(){try{return se.activeElement}catch(e){}}function A(e,t,n,o,r,i){var s,a;if("object"==typeof t){"string"!=typeof n&&(o=o||n,n=void 0);for(a in t)A(e,a,n,o,t[a],i);return e}if(null==o&&null==r?(r=n,o=n=void 0):null==r&&("string"==typeof n?(r=o,o=void 0):(r=o,o=n,n=void 0)),!1===r)r=k;else if(!r)return e;return 1===i&&(s=r,(r=function(e){return we().off(e),s.apply(this,arguments)}).guid=s.guid||(s.guid=we.guid++)),e.each(function(){we.event.add(this,t,r,o,n)})}function N(e,t){return i(e,"table")&&i(11!==t.nodeType?t:t.firstChild,"tr")?we(e).children("tbody")[0]||e:e}function _(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function j(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function D(e,t){var n,o,r,i,s,a,l,u;if(1===t.nodeType){if(Ue.hasData(e)&&(i=Ue.access(e),s=Ue.set(t,i),u=i.events)){delete s.handle,s.events={};for(r in u)for(n=0,o=u[r].length;n<o;n++)we.event.add(t,r,u[r][n])}Be.hasData(e)&&(a=Be.access(e),l=we.extend({},a),Be.set(t,l))}}function I(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Ye.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function H(e,t,o,r){t=ue.apply([],t);var i,s,a,l,u,c,d=0,f=e.length,p=f-1,h=t[0],m=ve(h);if(m||f>1&&"string"==typeof h&&!ye.checkClone&&rt.test(h))return e.each(function(n){var i=e.eq(n);m&&(t[0]=h.call(this,n,i.html())),H(i,t,o,r)});if(f&&(i=T(t,e[0].ownerDocument,!1,e,r),s=i.firstChild,1===i.childNodes.length&&(i=s),s||r)){for(l=(a=we.map(w(i,"script"),_)).length;d<f;d++)u=i,d!==p&&(u=we.clone(u,!0,!0),l&&we.merge(a,w(u,"script"))),o.call(e[d],u,d);if(l)for(c=a[a.length-1].ownerDocument,we.map(a,j),d=0;d<l;d++)u=a[d],Je.test(u.type||"")&&!Ue.access(u,"globalEval")&&we.contains(c,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?we._evalUrl&&we._evalUrl(u.src):n(u.textContent.replace(it,""),c,u))}return e}function L(e,t,n){for(var o,r=t?we.filter(t,e):e,i=0;null!=(o=r[i]);i++)n||1!==o.nodeType||we.cleanData(w(o)),o.parentNode&&(n&&we.contains(o.ownerDocument,o)&&C(w(o,"script")),o.parentNode.removeChild(o));return e}function q(e,t,n){var o,r,i,s,a=e.style;return(n=n||at(e))&&(""!==(s=n.getPropertyValue(t)||n[t])||we.contains(e.ownerDocument,e)||(s=we.style(e,t)),!ye.pixelBoxStyles()&&st.test(s)&&lt.test(t)&&(o=a.width,r=a.minWidth,i=a.maxWidth,a.minWidth=a.maxWidth=a.width=s,s=n.width,a.width=o,a.minWidth=r,a.maxWidth=i)),void 0!==s?s+"":s}function P(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function O(e){if(e in ht)return e;for(var t=e[0].toUpperCase()+e.slice(1),n=pt.length;n--;)if((e=pt[n]+t)in ht)return e}function U(e){var t=we.cssProps[e];return t||(t=we.cssProps[e]=O(e)||e),t}function B(e,t,n){var o=$e.exec(t);return o?Math.max(0,o[2]-(n||0))+(o[3]||"px"):t}function M(e,t,n,o,r,i){var s="width"===t?1:0,a=0,l=0;if(n===(o?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=we.css(e,n+Fe[s],!0,r)),o?("content"===n&&(l-=we.css(e,"padding"+Fe[s],!0,r)),"margin"!==n&&(l-=we.css(e,"border"+Fe[s]+"Width",!0,r))):(l+=we.css(e,"padding"+Fe[s],!0,r),"padding"!==n?l+=we.css(e,"border"+Fe[s]+"Width",!0,r):a+=we.css(e,"border"+Fe[s]+"Width",!0,r));return!o&&i>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-i-l-a-.5))),l}function R(e,t,n){var o=at(e),r=q(e,t,o),i="border-box"===we.css(e,"boxSizing",!1,o),s=i;if(st.test(r)){if(!n)return r;r="auto"}return s=s&&(ye.boxSizingReliable()||r===e.style[t]),("auto"===r||!parseFloat(r)&&"inline"===we.css(e,"display",!1,o))&&(r=e["offset"+t[0].toUpperCase()+t.slice(1)],s=!0),(r=parseFloat(r)||0)+M(e,t,n||(i?"border":"content"),s,o,r)+"px"}function W(e,t,n,o,r){return new W.prototype.init(e,t,n,o,r)}function $(){gt&&(!1===se.hidden&&e.requestAnimationFrame?e.requestAnimationFrame($):e.setTimeout($,we.fx.interval),we.fx.tick())}function F(){return e.setTimeout(function(){mt=void 0}),mt=Date.now()}function z(e,t){var n,o=0,r={height:e};for(t=t?1:0;o<4;o+=2-t)r["margin"+(n=Fe[o])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function X(e,t,n){for(var o,r=(G.tweeners[t]||[]).concat(G.tweeners["*"]),i=0,s=r.length;i<s;i++)if(o=r[i].call(n,t,e))return o}function V(e,t,n){var o,r,i,s,a,l,u,c,d="width"in t||"height"in t,f=this,p={},h=e.style,m=e.nodeType&&ze(e),g=Ue.get(e,"fxshow");n.queue||(null==(s=we._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,we.queue(e,"fx").length||s.empty.fire()})}));for(o in t)if(r=t[o],yt.test(r)){if(delete t[o],i=i||"toggle"===r,r===(m?"hide":"show")){if("show"!==r||!g||void 0===g[o])continue;m=!0}p[o]=g&&g[o]||we.style(e,o)}if((l=!we.isEmptyObject(t))||!we.isEmptyObject(p)){d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(u=g&&g.display)&&(u=Ue.get(e,"display")),"none"===(c=we.css(e,"display"))&&(u?c=u:(x([e],!0),u=e.style.display||u,c=we.css(e,"display"),x([e]))),("inline"===c||"inline-block"===c&&null!=u)&&"none"===we.css(e,"float")&&(l||(f.done(function(){h.display=u}),null==u&&(c=h.display,u="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",f.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1;for(o in p)l||(g?"hidden"in g&&(m=g.hidden):g=Ue.access(e,"fxshow",{display:u}),i&&(g.hidden=!m),m&&x([e],!0),f.done(function(){m||x([e]),Ue.remove(e,"fxshow");for(o in p)we.style(e,o,p[o])})),l=X(m?g[o]:0,o,f),o in g||(g[o]=l.start,m&&(l.end=l.start,l.start=0))}}function Y(e,t){var n,o,r,i,s;for(n in e)if(o=h(n),r=t[o],i=e[n],Array.isArray(i)&&(r=i[1],i=e[n]=i[0]),n!==o&&(e[o]=i,delete e[n]),(s=we.cssHooks[o])&&"expand"in s){i=s.expand(i),delete e[o];for(n in i)n in e||(e[n]=i[n],t[n]=r)}else t[o]=r}function G(e,t,n){var o,r,i=0,s=G.prefilters.length,a=we.Deferred().always(function(){delete l.elem}),l=function(){if(r)return!1;for(var t=mt||F(),n=Math.max(0,u.startTime+u.duration-t),o=1-(n/u.duration||0),i=0,s=u.tweens.length;i<s;i++)u.tweens[i].run(o);return a.notifyWith(e,[u,o,n]),o<1&&s?n:(s||a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u]),!1)},u=a.promise({elem:e,props:we.extend({},t),opts:we.extend(!0,{specialEasing:{},easing:we.easing._default},n),originalProperties:t,originalOptions:n,startTime:mt||F(),duration:n.duration,tweens:[],createTween:function(t,n){var o=we.Tween(e,u.opts,t,n,u.opts.specialEasing[t]||u.opts.easing);return u.tweens.push(o),o},stop:function(t){var n=0,o=t?u.tweens.length:0;if(r)return this;for(r=!0;n<o;n++)u.tweens[n].run(1);return t?(a.notifyWith(e,[u,1,0]),a.resolveWith(e,[u,t])):a.rejectWith(e,[u,t]),this}}),c=u.props;for(Y(c,u.opts.specialEasing);i<s;i++)if(o=G.prefilters[i].call(u,e,c,u.opts))return ve(o.stop)&&(we._queueHooks(u.elem,u.opts.queue).stop=o.stop.bind(o)),o;return we.map(c,X,u),ve(u.opts.start)&&u.opts.start.call(e,u),u.progress(u.opts.progress).done(u.opts.done,u.opts.complete).fail(u.opts.fail).always(u.opts.always),we.fx.timer(we.extend(l,{elem:e,anim:u,queue:u.opts.queue})),u}function J(e){return(e.match(De)||[]).join(" ")}function Q(e){return e.getAttribute&&e.getAttribute("class")||""}function K(e){return Array.isArray(e)?e:"string"==typeof e?e.match(De)||[]:[]}function Z(e,t,n,r){var i;if(Array.isArray(t))we.each(t,function(t,o){n||Nt.test(e)?r(e,o):Z(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,r)});else if(n||"object"!==o(t))r(e,t);else for(i in t)Z(e+"["+i+"]",t[i],n,r)}function ee(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var o,r=0,i=t.toLowerCase().match(De)||[];if(ve(n))for(;o=i[r++];)"+"===o[0]?(o=o.slice(1)||"*",(e[o]=e[o]||[]).unshift(n)):(e[o]=e[o]||[]).push(n)}}function te(e,t,n,o){function r(a){var l;return i[a]=!0,we.each(e[a]||[],function(e,a){var u=a(t,n,o);return"string"!=typeof u||s||i[u]?s?!(l=u):void 0:(t.dataTypes.unshift(u),r(u),!1)}),l}var i={},s=e===qt;return r(t.dataTypes[0])||!i["*"]&&r("*")}function ne(e,t){var n,o,r=we.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:o||(o={}))[n]=t[n]);return o&&we.extend(!0,e,o),e}function oe(e,t,n){for(var o,r,i,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===o&&(o=e.mimeType||t.getResponseHeader("Content-Type"));if(o)for(r in a)if(a[r]&&a[r].test(o)){l.unshift(r);break}if(l[0]in n)i=l[0];else{for(r in n){if(!l[0]||e.converters[r+" "+l[0]]){i=r;break}s||(s=r)}i=i||s}if(i)return i!==l[0]&&l.unshift(i),n[i]}function re(e,t,n,o){var r,i,s,a,l,u={},c=e.dataTypes.slice();if(c[1])for(s in e.converters)u[s.toLowerCase()]=e.converters[s];for(i=c.shift();i;)if(e.responseFields[i]&&(n[e.responseFields[i]]=t),!l&&o&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=i,i=c.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(s=u[l+" "+i]||u["* "+i]))for(r in u)if((a=r.split(" "))[1]===i&&(s=u[l+" "+a[0]]||u["* "+a[0]])){!0===s?s=u[r]:!0!==u[r]&&(i=a[0],c.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+i}}}return{state:"success",data:t}}var ie=[],se=e.document,ae=Object.getPrototypeOf,le=ie.slice,ue=ie.concat,ce=ie.push,de=ie.indexOf,fe={},pe=fe.toString,he=fe.hasOwnProperty,me=he.toString,ge=me.call(Object),ye={},ve=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},be=function(e){return null!=e&&e===e.window},xe={type:!0,src:!0,noModule:!0},we=function(e,t){return new we.fn.init(e,t)};we.fn=we.prototype={jquery:"3.3.1",constructor:we,length:0,toArray:function(){return le.call(this)},get:function(e){return null==e?le.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=we.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return we.each(this,e)},map:function(e){return this.pushStack(we.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(le.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ce,sort:ie.sort,splice:ie.splice},we.extend=we.fn.extend=function(){var e,t,n,o,r,i,s=arguments[0]||{},a=1,l=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[a]||{},a++),"object"==typeof s||ve(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)n=s[t],s!==(o=e[t])&&(u&&o&&(we.isPlainObject(o)||(r=Array.isArray(o)))?(r?(r=!1,i=n&&Array.isArray(n)?n:[]):i=n&&we.isPlainObject(n)?n:{},s[t]=we.extend(u,i,o)):void 0!==o&&(s[t]=o));return s},we.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==pe.call(e)||(t=ae(e))&&("function"!=typeof(n=he.call(t,"constructor")&&t.constructor)||me.call(n)!==ge))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){n(e)},each:function(e,t){var n,o=0;if(r(e))for(n=e.length;o<n&&!1!==t.call(e[o],o,e[o]);o++);else for(o in e)if(!1===t.call(e[o],o,e[o]))break;return e},trim:function(e){return null==e?"":(e+"").replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(r(Object(e))?we.merge(n,"string"==typeof e?[e]:e):ce.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:de.call(t,e,n)},merge:function(e,t){for(var n=+t.length,o=0,r=e.length;o<n;o++)e[r++]=t[o];return e.length=r,e},grep:function(e,t,n){for(var o=[],r=0,i=e.length,s=!n;r<i;r++)!t(e[r],r)!==s&&o.push(e[r]);return o},map:function(e,t,n){var o,i,s=0,a=[];if(r(e))for(o=e.length;s<o;s++)null!=(i=t(e[s],s,n))&&a.push(i);else for(s in e)null!=(i=t(e[s],s,n))&&a.push(i);return ue.apply([],a)},guid:1,support:ye}),"function"==typeof Symbol&&(we.fn[Symbol.iterator]=ie[Symbol.iterator]),
  we.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){fe["[object "+t+"]"]=t.toLowerCase()});var Ce=function(e){function t(e,t,n,o){var r,i,s,a,l,c,f,p=t&&t.ownerDocument,h=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return n;if(!o&&((t?t.ownerDocument||t:B)!==D&&j(t),t=t||D,H)){if(11!==h&&(l=me.exec(e)))if(r=l[1]){if(9===h){if(!(s=t.getElementById(r)))return n;if(s.id===r)return n.push(s),n}else if(p&&(s=p.getElementById(r))&&O(t,s)&&s.id===r)return n.push(s),n}else{if(l[2])return J.apply(n,t.getElementsByTagName(e)),n;if((r=l[3])&&x.getElementsByClassName&&t.getElementsByClassName)return J.apply(n,t.getElementsByClassName(r)),n}if(x.qsa&&!F[e+" "]&&(!L||!L.test(e))){if(1!==h)p=t,f=e;else if("object"!==t.nodeName.toLowerCase()){for((a=t.getAttribute("id"))?a=a.replace(be,xe):t.setAttribute("id",a=U),i=(c=E(e)).length;i--;)c[i]="#"+a+" "+d(c[i]);f=c.join(","),p=ge.test(e)&&u(t.parentNode)||t}if(f)try{return J.apply(n,p.querySelectorAll(f)),n}catch(e){}finally{a===U&&t.removeAttribute("id")}}}return S(e.replace(ie,"$1"),t,n,o)}function n(){function e(n,o){return t.push(n+" ")>w.cacheLength&&delete e[t.shift()],e[n+" "]=o}var t=[];return e}function o(e){return e[U]=!0,e}function r(e){var t=D.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function i(e,t){for(var n=e.split("|"),o=n.length;o--;)w.attrHandle[n[o]]=t}function s(e,t){var n=t&&e,o=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(o)return o;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function a(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Ce(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function l(e){return o(function(t){return t=+t,o(function(n,o){for(var r,i=e([],n.length,t),s=i.length;s--;)n[r=i[s]]&&(n[r]=!(o[r]=n[r]))})})}function u(e){return e&&void 0!==e.getElementsByTagName&&e}function c(){}function d(e){for(var t=0,n=e.length,o="";t<n;t++)o+=e[t].value;return o}function f(e,t,n){var o=t.dir,r=t.next,i=r||o,s=n&&"parentNode"===i,a=R++;return t.first?function(t,n,r){for(;t=t[o];)if(1===t.nodeType||s)return e(t,n,r);return!1}:function(t,n,l){var u,c,d,f=[M,a];if(l){for(;t=t[o];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[o];)if(1===t.nodeType||s)if(d=t[U]||(t[U]={}),c=d[t.uniqueID]||(d[t.uniqueID]={}),r&&r===t.nodeName.toLowerCase())t=t[o]||t;else{if((u=c[i])&&u[0]===M&&u[1]===a)return f[2]=u[2];if(c[i]=f,f[2]=e(t,n,l))return!0}return!1}}function p(e){return e.length>1?function(t,n,o){for(var r=e.length;r--;)if(!e[r](t,n,o))return!1;return!0}:e[0]}function h(e,n,o){for(var r=0,i=n.length;r<i;r++)t(e,n[r],o);return o}function m(e,t,n,o,r){for(var i,s=[],a=0,l=e.length,u=null!=t;a<l;a++)(i=e[a])&&(n&&!n(i,o,r)||(s.push(i),u&&t.push(a)));return s}function g(e,t,n,r,i,s){return r&&!r[U]&&(r=g(r)),i&&!i[U]&&(i=g(i,s)),o(function(o,s,a,l){var u,c,d,f=[],p=[],g=s.length,y=o||h(t||"*",a.nodeType?[a]:a,[]),v=!e||!o&&t?y:m(y,f,e,a,l),b=n?i||(o?e:g||r)?[]:s:v;if(n&&n(v,b,a,l),r)for(u=m(b,p),r(u,[],a,l),c=u.length;c--;)(d=u[c])&&(b[p[c]]=!(v[p[c]]=d));if(o){if(i||e){if(i){for(u=[],c=b.length;c--;)(d=b[c])&&u.push(v[c]=d);i(null,b=[],u,l)}for(c=b.length;c--;)(d=b[c])&&(u=i?K(o,d):f[c])>-1&&(o[u]=!(s[u]=d))}}else b=m(b===s?b.splice(g,b.length):b),i?i(null,s,b,l):J.apply(s,b)})}function y(e){for(var t,n,o,r=e.length,i=w.relative[e[0].type],s=i||w.relative[" "],a=i?1:0,l=f(function(e){return e===t},s,!0),u=f(function(e){return K(t,e)>-1},s,!0),c=[function(e,n,o){var r=!i&&(o||n!==A)||((t=n).nodeType?l(e,n,o):u(e,n,o));return t=null,r}];a<r;a++)if(n=w.relative[e[a].type])c=[f(p(c),n)];else{if((n=w.filter[e[a].type].apply(null,e[a].matches))[U]){for(o=++a;o<r&&!w.relative[e[o].type];o++);return g(a>1&&p(c),a>1&&d(e.slice(0,a-1).concat({value:" "===e[a-2].type?"*":""})).replace(ie,"$1"),n,a<o&&y(e.slice(a,o)),o<r&&y(e=e.slice(o)),o<r&&d(e))}c.push(n)}return p(c)}function v(e,n){var r=n.length>0,i=e.length>0,s=function(o,s,a,l,u){var c,d,f,p=0,h="0",g=o&&[],y=[],v=A,b=o||i&&w.find.TAG("*",u),x=M+=null==v?1:Math.random()||.1,C=b.length;for(u&&(A=s===D||s||u);h!==C&&null!=(c=b[h]);h++){if(i&&c){for(d=0,s||c.ownerDocument===D||(j(c),a=!H);f=e[d++];)if(f(c,s||D,a)){l.push(c);break}u&&(M=x)}r&&((c=!f&&c)&&p--,o&&g.push(c))}if(p+=h,r&&h!==p){for(d=0;f=n[d++];)f(g,y,s,a);if(o){if(p>0)for(;h--;)g[h]||y[h]||(y[h]=Y.call(l));y=m(y)}J.apply(l,y),u&&!o&&y.length>0&&p+n.length>1&&t.uniqueSort(l)}return u&&(M=x,A=v),g};return r?o(s):s}var b,x,w,C,T,E,k,S,A,N,_,j,D,I,H,L,q,P,O,U="sizzle"+1*new Date,B=e.document,M=0,R=0,W=n(),$=n(),F=n(),z=function(e,t){return e===t&&(_=!0),0},X={}.hasOwnProperty,V=[],Y=V.pop,G=V.push,J=V.push,Q=V.slice,K=function(e,t){for(var n=0,o=e.length;n<o;n++)if(e[n]===t)return n;return-1},Z="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ee="[\\x20\\t\\r\\n\\f]",te="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",ne="\\["+ee+"*("+te+")(?:"+ee+"*([*^$|!~]?=)"+ee+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+te+"))|)"+ee+"*\\]",oe=":("+te+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ne+")*)|.*)\\)|)",re=new RegExp(ee+"+","g"),ie=new RegExp("^"+ee+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ee+"+$","g"),se=new RegExp("^"+ee+"*,"+ee+"*"),ae=new RegExp("^"+ee+"*([>+~]|"+ee+")"+ee+"*"),le=new RegExp("="+ee+"*([^\\]'\"]*?)"+ee+"*\\]","g"),ue=new RegExp(oe),ce=new RegExp("^"+te+"$"),de={ID:new RegExp("^#("+te+")"),CLASS:new RegExp("^\\.("+te+")"),TAG:new RegExp("^("+te+"|[*])"),ATTR:new RegExp("^"+ne),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ee+"*(even|odd|(([+-]|)(\\d*)n|)"+ee+"*(?:([+-]|)"+ee+"*(\\d+)|))"+ee+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+ee+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ee+"*((?:-\\d)?\\d*)"+ee+"*\\)|)(?=[^-]|$)","i")},fe=/^(?:input|select|textarea|button)$/i,pe=/^h\d$/i,he=/^[^{]+\{\s*\[native \w/,me=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ge=/[+~]/,ye=new RegExp("\\\\([\\da-f]{1,6}"+ee+"?|("+ee+")|.)","ig"),ve=function(e,t,n){var o="0x"+t-65536;return o!==o||n?t:o<0?String.fromCharCode(o+65536):String.fromCharCode(o>>10|55296,1023&o|56320)},be=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,xe=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},we=function(){j()},Ce=f(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{J.apply(V=Q.call(B.childNodes),B.childNodes),V[B.childNodes.length].nodeType}catch(e){J={apply:V.length?function(e,t){G.apply(e,Q.call(t))}:function(e,t){for(var n=e.length,o=0;e[n++]=t[o++];);e.length=n-1}}}x=t.support={},T=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},j=t.setDocument=function(e){var t,n,o=e?e.ownerDocument||e:B;return o!==D&&9===o.nodeType&&o.documentElement?(D=o,I=D.documentElement,H=!T(D),B!==D&&(n=D.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",we,!1):n.attachEvent&&n.attachEvent("onunload",we)),x.attributes=r(function(e){return e.className="i",!e.getAttribute("className")}),x.getElementsByTagName=r(function(e){return e.appendChild(D.createComment("")),!e.getElementsByTagName("*").length}),x.getElementsByClassName=he.test(D.getElementsByClassName),x.getById=r(function(e){return I.appendChild(e).id=U,!D.getElementsByName||!D.getElementsByName(U).length}),x.getById?(w.filter.ID=function(e){var t=e.replace(ye,ve);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&H){var n=t.getElementById(e);return n?[n]:[]}}):(w.filter.ID=function(e){var t=e.replace(ye,ve);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&H){var n,o,r,i=t.getElementById(e);if(i){if((n=i.getAttributeNode("id"))&&n.value===e)return[i];for(r=t.getElementsByName(e),o=0;i=r[o++];)if((n=i.getAttributeNode("id"))&&n.value===e)return[i]}return[]}}),w.find.TAG=x.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):x.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,o=[],r=0,i=t.getElementsByTagName(e);if("*"===e){for(;n=i[r++];)1===n.nodeType&&o.push(n);return o}return i},w.find.CLASS=x.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&H)return t.getElementsByClassName(e)},q=[],L=[],(x.qsa=he.test(D.querySelectorAll))&&(r(function(e){I.appendChild(e).innerHTML="<a id='"+U+"'></a><select id='"+U+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&L.push("[*^$]="+ee+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||L.push("\\["+ee+"*(?:value|"+Z+")"),e.querySelectorAll("[id~="+U+"-]").length||L.push("~="),e.querySelectorAll(":checked").length||L.push(":checked"),e.querySelectorAll("a#"+U+"+*").length||L.push(".#.+[+~]")}),r(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=D.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&L.push("name"+ee+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&L.push(":enabled",":disabled"),I.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&L.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),L.push(",.*:")})),(x.matchesSelector=he.test(P=I.matches||I.webkitMatchesSelector||I.mozMatchesSelector||I.oMatchesSelector||I.msMatchesSelector))&&r(function(e){x.disconnectedMatch=P.call(e,"*"),P.call(e,"[s!='']:x"),q.push("!=",oe)}),L=L.length&&new RegExp(L.join("|")),q=q.length&&new RegExp(q.join("|")),t=he.test(I.compareDocumentPosition),O=t||he.test(I.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,o=t&&t.parentNode;return e===o||!(!o||1!==o.nodeType||!(n.contains?n.contains(o):e.compareDocumentPosition&&16&e.compareDocumentPosition(o)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},z=t?function(e,t){if(e===t)return _=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!x.sortDetached&&t.compareDocumentPosition(e)===n?e===D||e.ownerDocument===B&&O(B,e)?-1:t===D||t.ownerDocument===B&&O(B,t)?1:N?K(N,e)-K(N,t):0:4&n?-1:1)}:function(e,t){if(e===t)return _=!0,0;var n,o=0,r=e.parentNode,i=t.parentNode,a=[e],l=[t];if(!r||!i)return e===D?-1:t===D?1:r?-1:i?1:N?K(N,e)-K(N,t):0;if(r===i)return s(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)l.unshift(n);for(;a[o]===l[o];)o++;return o?s(a[o],l[o]):a[o]===B?-1:l[o]===B?1:0},D):D},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==D&&j(e),n=n.replace(le,"='$1']"),x.matchesSelector&&H&&!F[n+" "]&&(!q||!q.test(n))&&(!L||!L.test(n)))try{var o=P.call(e,n);if(o||x.disconnectedMatch||e.document&&11!==e.document.nodeType)return o}catch(e){}return t(n,D,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==D&&j(e),O(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==D&&j(e);var n=w.attrHandle[t.toLowerCase()],o=n&&X.call(w.attrHandle,t.toLowerCase())?n(e,t,!H):void 0;return void 0!==o?o:x.attributes||!H?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},t.escape=function(e){return(e+"").replace(be,xe)},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],o=0,r=0;if(_=!x.detectDuplicates,N=!x.sortStable&&e.slice(0),e.sort(z),_){for(;t=e[r++];)t===e[r]&&(o=n.push(r));for(;o--;)e.splice(n[o],1)}return N=null,e},C=t.getText=function(e){var t,n="",o=0,r=e.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===r||4===r)return e.nodeValue}else for(;t=e[o++];)n+=C(t);return n},(w=t.selectors={cacheLength:50,createPseudo:o,match:de,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(ye,ve),e[3]=(e[3]||e[4]||e[5]||"").replace(ye,ve),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return de.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&ue.test(n)&&(t=E(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(ye,ve).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=W[e+" "];return t||(t=new RegExp("(^|"+ee+")"+e+"("+ee+"|$)"))&&W(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,o){return function(r){var i=t.attr(r,e);return null==i?"!="===n:!n||(i+="","="===n?i===o:"!="===n?i!==o:"^="===n?o&&0===i.indexOf(o):"*="===n?o&&i.indexOf(o)>-1:"$="===n?o&&i.slice(-o.length)===o:"~="===n?(" "+i.replace(re," ")+" ").indexOf(o)>-1:"|="===n&&(i===o||i.slice(0,o.length+1)===o+"-"))}},CHILD:function(e,t,n,o,r){var i="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===o&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var u,c,d,f,p,h,m=i!==s?"nextSibling":"previousSibling",g=t.parentNode,y=a&&t.nodeName.toLowerCase(),v=!l&&!a,b=!1;if(g){if(i){for(;m;){for(f=t;f=f[m];)if(a?f.nodeName.toLowerCase()===y:1===f.nodeType)return!1;h=m="only"===e&&!h&&"nextSibling"}return!0}if(h=[s?g.firstChild:g.lastChild],s&&v){for(b=(p=(u=(c=(d=(f=g)[U]||(f[U]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===M&&u[1])&&u[2],f=p&&g.childNodes[p];f=++p&&f&&f[m]||(b=p=0)||h.pop();)if(1===f.nodeType&&++b&&f===t){c[e]=[M,p,b];break}}else if(v&&(b=p=(u=(c=(d=(f=t)[U]||(f[U]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]||[])[0]===M&&u[1]),!1===b)for(;(f=++p&&f&&f[m]||(b=p=0)||h.pop())&&((a?f.nodeName.toLowerCase()!==y:1!==f.nodeType)||!++b||(v&&((c=(d=f[U]||(f[U]={}))[f.uniqueID]||(d[f.uniqueID]={}))[e]=[M,b]),f!==t)););return(b-=r)===o||b%o==0&&b/o>=0}}},PSEUDO:function(e,n){var r,i=w.pseudos[e]||w.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return i[U]?i(n):i.length>1?(r=[e,e,"",n],w.setFilters.hasOwnProperty(e.toLowerCase())?o(function(e,t){for(var o,r=i(e,n),s=r.length;s--;)e[o=K(e,r[s])]=!(t[o]=r[s])}):function(e){return i(e,0,r)}):i}},pseudos:{not:o(function(e){var t=[],n=[],r=k(e.replace(ie,"$1"));return r[U]?o(function(e,t,n,o){for(var i,s=r(e,null,o,[]),a=e.length;a--;)(i=s[a])&&(e[a]=!(t[a]=i))}):function(e,o,i){return t[0]=e,r(t,null,i,n),t[0]=null,!n.pop()}}),has:o(function(e){return function(n){return t(e,n).length>0}}),contains:o(function(e){return e=e.replace(ye,ve),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:o(function(e){return ce.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(ye,ve).toLowerCase(),function(t){var n;do if(n=H?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType)return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===I},focus:function(e){return e===D.activeElement&&(!D.hasFocus||D.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:a(!1),disabled:a(!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!w.pseudos.empty(e)},header:function(e){return pe.test(e.nodeName)},input:function(e){return fe.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:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var o=n<0?n+t:n;--o>=0;)e.push(o);return e}),gt:l(function(e,t,n){for(var o=n<0?n+t:n;++o<t;)e.push(o);return e})}}).pseudos.nth=w.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[b]=function(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}(b);for(b in{submit:!0,reset:!0})w.pseudos[b]=function(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}(b);return c.prototype=w.filters=w.pseudos,w.setFilters=new c,E=t.tokenize=function(e,n){var o,r,i,s,a,l,u,c=$[e+" "];if(c)return n?0:c.slice(0);for(a=e,l=[],u=w.preFilter;a;){o&&!(r=se.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(i=[])),o=!1,(r=ae.exec(a))&&(o=r.shift(),i.push({value:o,type:r[0].replace(ie," ")}),a=a.slice(o.length));for(s in w.filter)!(r=de[s].exec(a))||u[s]&&!(r=u[s](r))||(o=r.shift(),i.push({value:o,type:s,matches:r}),a=a.slice(o.length));if(!o)break}return n?a.length:a?t.error(e):$(e,l).slice(0)},k=t.compile=function(e,t){var n,o=[],r=[],i=F[e+" "];if(!i){for(t||(t=E(e)),n=t.length;n--;)(i=y(t[n]))[U]?o.push(i):r.push(i);(i=F(e,v(r,o))).selector=e}return i},S=t.select=function(e,t,n,o){var r,i,s,a,l,c="function"==typeof e&&e,f=!o&&E(e=c.selector||e);if(n=n||[],1===f.length){if((i=f[0]=f[0].slice(0)).length>2&&"ID"===(s=i[0]).type&&9===t.nodeType&&H&&w.relative[i[1].type]){if(!(t=(w.find.ID(s.matches[0].replace(ye,ve),t)||[])[0]))return n;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(r=de.needsContext.test(e)?0:i.length;r--&&(s=i[r],!w.relative[a=s.type]);)if((l=w.find[a])&&(o=l(s.matches[0].replace(ye,ve),ge.test(i[0].type)&&u(t.parentNode)||t))){if(i.splice(r,1),!(e=o.length&&d(i)))return J.apply(n,o),n;break}}return(c||k(e,f))(o,t,!H,n,!t||ge.test(e)&&u(t.parentNode)||t),n},x.sortStable=U.split("").sort(z).join("")===U,x.detectDuplicates=!!_,j(),x.sortDetached=r(function(e){return 1&e.compareDocumentPosition(D.createElement("fieldset"))}),r(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||i("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),x.attributes&&r(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||i("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),r(function(e){return null==e.getAttribute("disabled")})||i(Z,function(e,t,n){var o;if(!n)return!0===e[t]?t.toLowerCase():(o=e.getAttributeNode(t))&&o.specified?o.value:null}),t}(e);we.find=Ce,we.expr=Ce.selectors,we.expr[":"]=we.expr.pseudos,we.uniqueSort=we.unique=Ce.uniqueSort,we.text=Ce.getText,we.isXMLDoc=Ce.isXML,we.contains=Ce.contains,we.escapeSelector=Ce.escape;var Te=function(e,t,n){for(var o=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&we(e).is(n))break;o.push(e)}return o},Ee=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},ke=we.expr.match.needsContext,Se=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;we.filter=function(e,t,n){var o=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===o.nodeType?we.find.matchesSelector(o,e)?[o]:[]:we.find.matches(e,we.grep(t,function(e){return 1===e.nodeType}))},we.fn.extend({find:function(e){var t,n,o=this.length,r=this;if("string"!=typeof e)return this.pushStack(we(e).filter(function(){for(t=0;t<o;t++)if(we.contains(r[t],this))return!0}));for(n=this.pushStack([]),t=0;t<o;t++)we.find(e,r[t],n);return o>1?we.uniqueSort(n):n},filter:function(e){return this.pushStack(s(this,e||[],!1))},not:function(e){return this.pushStack(s(this,e||[],!0))},is:function(e){return!!s(this,"string"==typeof e&&ke.test(e)?we(e):e||[],!1).length}});var Ae,Ne=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(we.fn.init=function(e,t,n){var o,r;if(!e)return this;if(n=n||Ae,"string"==typeof e){if(!(o="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:Ne.exec(e))||!o[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(o[1]){if(t=t instanceof we?t[0]:t,we.merge(this,we.parseHTML(o[1],t&&t.nodeType?t.ownerDocument||t:se,!0)),Se.test(o[1])&&we.isPlainObject(t))for(o in t)ve(this[o])?this[o](t[o]):this.attr(o,t[o]);return this}return(r=se.getElementById(o[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):ve(e)?void 0!==n.ready?n.ready(e):e(we):we.makeArray(e,this)}).prototype=we.fn,Ae=we(se);var _e=/^(?:parents|prev(?:Until|All))/,je={children:!0,contents:!0,next:!0,prev:!0};we.fn.extend({has:function(e){var t=we(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(we.contains(this,t[e]))return!0})},closest:function(e,t){var n,o=0,r=this.length,i=[],s="string"!=typeof e&&we(e);if(!ke.test(e))for(;o<r;o++)for(n=this[o];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&we.find.matchesSelector(n,e))){i.push(n);break}return this.pushStack(i.length>1?we.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?de.call(we(e),this[0]):de.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(we.uniqueSort(we.merge(this.get(),we(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),we.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Te(e,"parentNode")},parentsUntil:function(e,t,n){return Te(e,"parentNode",n)},next:function(e){return a(e,"nextSibling")},prev:function(e){return a(e,"previousSibling")},nextAll:function(e){return Te(e,"nextSibling")},prevAll:function(e){return Te(e,"previousSibling")},nextUntil:function(e,t,n){return Te(e,"nextSibling",n)},prevUntil:function(e,t,n){return Te(e,"previousSibling",n)},siblings:function(e){return Ee((e.parentNode||{}).firstChild,e)},children:function(e){return Ee(e.firstChild)},contents:function(e){return i(e,"iframe")?e.contentDocument:(i(e,"template")&&(e=e.content||e),we.merge([],e.childNodes))}},function(e,t){we.fn[e]=function(n,o){var r=we.map(this,t,n);return"Until"!==e.slice(-5)&&(o=n),o&&"string"==typeof o&&(r=we.filter(o,r)),this.length>1&&(je[e]||we.uniqueSort(r),_e.test(e)&&r.reverse()),this.pushStack(r)}});var De=/[^\x20\t\r\n\f]+/g;we.Callbacks=function(e){e="string"==typeof e?l(e):we.extend({},e);var t,n,r,i,s=[],a=[],u=-1,c=function(){for(i=i||e.once,r=t=!0;a.length;u=-1)for(n=a.shift();++u<s.length;)!1===s[u].apply(n[0],n[1])&&e.stopOnFalse&&(u=s.length,n=!1);e.memory||(n=!1),t=!1,i&&(s=n?[]:"")},d={add:function(){return s&&(n&&!t&&(u=s.length-1,a.push(n)),function t(n){we.each(n,function(n,r){ve(r)?e.unique&&d.has(r)||s.push(r):r&&r.length&&"string"!==o(r)&&t(r)})}(arguments),n&&!t&&c()),this},remove:function(){return we.each(arguments,function(e,t){for(var n;(n=we.inArray(t,s,n))>-1;)s.splice(n,1),n<=u&&u--}),this},has:function(e){return e?we.inArray(e,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return i=a=[],s=n="",this},disabled:function(){return!s},lock:function(){return i=a=[],n||t||(s=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||c()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!r}};return d},we.extend({Deferred:function(t){var n=[["notify","progress",we.Callbacks("memory"),we.Callbacks("memory"),2],["resolve","done",we.Callbacks("once memory"),we.Callbacks("once memory"),0,"resolved"],["reject","fail",we.Callbacks("once memory"),we.Callbacks("once memory"),1,"rejected"]],o="pending",r={state:function(){return o},always:function(){return i.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return we.Deferred(function(t){we.each(n,function(n,o){var r=ve(e[o[4]])&&e[o[4]];i[o[1]](function(){var e=r&&r.apply(this,arguments);e&&ve(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[o[0]+"With"](this,r?[e]:arguments)})}),e=null}).promise()},then:function(t,o,r){function i(t,n,o,r){return function(){var a=this,l=arguments,d=function(){var e,d;if(!(t<s)){if((e=o.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");d=e&&("object"==typeof e||"function"==typeof e)&&e.then,ve(d)?r?d.call(e,i(s,n,u,r),i(s,n,c,r)):(s++,d.call(e,i(s,n,u,r),i(s,n,c,r),i(s,n,u,n.notifyWith))):(o!==u&&(a=void 0,l=[e]),(r||n.resolveWith)(a,l))}},f=r?d:function(){try{d()}catch(e){we.Deferred.exceptionHook&&we.Deferred.exceptionHook(e,f.stackTrace),t+1>=s&&(o!==c&&(a=void 0,l=[e]),n.rejectWith(a,l))}};t?f():(we.Deferred.getStackHook&&(f.stackTrace=we.Deferred.getStackHook()),e.setTimeout(f))}}var s=0;return we.Deferred(function(e){n[0][3].add(i(0,e,ve(r)?r:u,e.notifyWith)),n[1][3].add(i(0,e,ve(t)?t:u)),n[2][3].add(i(0,e,ve(o)?o:c))}).promise()},promise:function(e){return null!=e?we.extend(e,r):r}},i={};return we.each(n,function(e,t){var s=t[2],a=t[5];r[t[1]]=s.add,a&&s.add(function(){o=a},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),s.add(t[3].fire),i[t[0]]=function(){return i[t[0]+"With"](this===i?void 0:this,arguments),this},i[t[0]+"With"]=s.fireWith}),r.promise(i),t&&t.call(i,i),i},when:function(e){var t=arguments.length,n=t,o=Array(n),r=le.call(arguments),i=we.Deferred(),s=function(e){return function(n){o[e]=this,r[e]=arguments.length>1?le.call(arguments):n,--t||i.resolveWith(o,r)}};if(t<=1&&(d(e,i.done(s(n)).resolve,i.reject,!t),"pending"===i.state()||ve(r[n]&&r[n].then)))return i.then();for(;n--;)d(r[n],s(n),i.reject);return i.promise()}});var Ie=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;we.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Ie.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},we.readyException=function(t){e.setTimeout(function(){throw t})};var He=we.Deferred();we.fn.ready=function(e){return He.then(e).catch(function(e){we.readyException(e)}),this},we.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--we.readyWait:we.isReady)||(we.isReady=!0,!0!==e&&--we.readyWait>0||He.resolveWith(se,[we]))}}),we.ready.then=He.then,"complete"===se.readyState||"loading"!==se.readyState&&!se.documentElement.doScroll?e.setTimeout(we.ready):(se.addEventListener("DOMContentLoaded",f),e.addEventListener("load",f));var Le=function(e,t,n,r,i,s,a){var l=0,u=e.length,c=null==n;if("object"===o(n)){i=!0;for(l in n)Le(e,t,l,n[l],!0,s,a)}else if(void 0!==r&&(i=!0,ve(r)||(a=!0),c&&(a?(t.call(e,r),t=null):(c=t,t=function(e,t,n){return c.call(we(e),n)})),t))for(;l<u;l++)t(e[l],n,a?r:r.call(e[l],l,t(e[l],n)));return i?e:c?t.call(e):u?t(e[0],n):s},qe=/^-ms-/,Pe=/-([a-z])/g,Oe=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};m.uid=1,m.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Oe(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var o,r=this.cache(e);if("string"==typeof t)r[h(t)]=n;else for(o in t)r[h(o)]=t[o];return r},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][h(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,o=e[this.expando];if(void 0!==o){if(void 0!==t){n=(t=Array.isArray(t)?t.map(h):(t=h(t))in o?[t]:t.match(De)||[]).length;for(;n--;)delete o[t[n]]}(void 0===t||we.isEmptyObject(o))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!we.isEmptyObject(t)}};var Ue=new m,Be=new m,Me=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Re=/[A-Z]/g;we.extend({hasData:function(e){return Be.hasData(e)||Ue.hasData(e)},data:function(e,t,n){return Be.access(e,t,n)},removeData:function(e,t){Be.remove(e,t)},_data:function(e,t,n){return Ue.access(e,t,n)},_removeData:function(e,t){Ue.remove(e,t)}}),we.fn.extend({data:function(e,t){var n,o,r,i=this[0],s=i&&i.attributes;if(void 0===e){if(this.length&&(r=Be.get(i),1===i.nodeType&&!Ue.get(i,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(o=s[n].name).indexOf("data-")&&(o=h(o.slice(5)),y(i,o,r[o]));Ue.set(i,"hasDataAttrs",!0)}return r}return"object"==typeof e?this.each(function(){Be.set(this,e)}):Le(this,function(t){var n;if(i&&void 0===t){if(void 0!==(n=Be.get(i,e)))return n;if(void 0!==(n=y(i,e)))return n}else this.each(function(){Be.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){Be.remove(this,e)})}}),we.extend({queue:function(e,t,n){var o;if(e)return t=(t||"fx")+"queue",o=Ue.get(e,t),n&&(!o||Array.isArray(n)?o=Ue.access(e,t,we.makeArray(n)):o.push(n)),o||[]},dequeue:function(e,t){t=t||"fx";var n=we.queue(e,t),o=n.length,r=n.shift(),i=we._queueHooks(e,t),s=function(){we.dequeue(e,t)};"inprogress"===r&&(r=n.shift(),o--),r&&("fx"===t&&n.unshift("inprogress"),delete i.stop,r.call(e,s,i)),!o&&i&&i.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ue.get(e,n)||Ue.access(e,n,{empty:we.Callbacks("once memory").add(function(){Ue.remove(e,[t+"queue",n])})})}}),we.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?we.queue(this[0],e):void 0===t?this:this.each(function(){var n=we.queue(this,e,t);we._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&we.dequeue(this,e)})},dequeue:function(e){return this.each(function(){we.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,o=1,r=we.Deferred(),i=this,s=this.length,a=function(){--o||r.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=Ue.get(i[s],e+"queueHooks"))&&n.empty&&(o++,n.empty.add(a));return a(),r.promise(t)}});var We=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,$e=new RegExp("^(?:([+-])=|)("+We+")([a-z%]*)$","i"),Fe=["Top","Right","Bottom","Left"],ze=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&we.contains(e.ownerDocument,e)&&"none"===we.css(e,"display")},Xe=function(e,t,n,o){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.apply(e,o||[]);for(i in t)e.style[i]=s[i];return r},Ve={};we.fn.extend({show:function(){return x(this,!0)},hide:function(){return x(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ze(this)?we(this).show():we(this).hide()})}});var Ye=/^(?:checkbox|radio)$/i,Ge=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,Je=/^$|^module$|\/(?:java|ecma)script/i,Qe={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};Qe.optgroup=Qe.option,Qe.tbody=Qe.tfoot=Qe.colgroup=Qe.caption=Qe.thead,Qe.th=Qe.td;var Ke=/<|&#?\w+;/;!function(){
  var e=se.createDocumentFragment().appendChild(se.createElement("div")),t=se.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),ye.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",ye.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var Ze=se.documentElement,et=/^key/,tt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,nt=/^([^.]*)(?:\.(.+)|)/;we.event={global:{},add:function(e,t,n,o,r){var i,s,a,l,u,c,d,f,p,h,m,g=Ue.get(e);if(g)for(n.handler&&(n=(i=n).handler,r=i.selector),r&&we.find.matchesSelector(Ze,r),n.guid||(n.guid=we.guid++),(l=g.events)||(l=g.events={}),(s=g.handle)||(s=g.handle=function(t){return void 0!==we&&we.event.triggered!==t.type?we.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(De)||[""]).length;u--;)p=m=(a=nt.exec(t[u])||[])[1],h=(a[2]||"").split(".").sort(),p&&(d=we.event.special[p]||{},p=(r?d.delegateType:d.bindType)||p,d=we.event.special[p]||{},c=we.extend({type:p,origType:m,data:o,handler:n,guid:n.guid,selector:r,needsContext:r&&we.expr.match.needsContext.test(r),namespace:h.join(".")},i),(f=l[p])||((f=l[p]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,o,h,s)||e.addEventListener&&e.addEventListener(p,s)),d.add&&(d.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),r?f.splice(f.delegateCount++,0,c):f.push(c),we.event.global[p]=!0)},remove:function(e,t,n,o,r){var i,s,a,l,u,c,d,f,p,h,m,g=Ue.hasData(e)&&Ue.get(e);if(g&&(l=g.events)){for(u=(t=(t||"").match(De)||[""]).length;u--;)if(a=nt.exec(t[u])||[],p=m=a[1],h=(a[2]||"").split(".").sort(),p){for(d=we.event.special[p]||{},f=l[p=(o?d.delegateType:d.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=f.length;i--;)c=f[i],!r&&m!==c.origType||n&&n.guid!==c.guid||a&&!a.test(c.namespace)||o&&o!==c.selector&&("**"!==o||!c.selector)||(f.splice(i,1),c.selector&&f.delegateCount--,d.remove&&d.remove.call(e,c));s&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||we.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)we.event.remove(e,p+t[u],n,o,!0);we.isEmptyObject(l)&&Ue.remove(e,"handle events")}},dispatch:function(e){var t,n,o,r,i,s,a=we.event.fix(e),l=new Array(arguments.length),u=(Ue.get(this,"events")||{})[a.type]||[],c=we.event.special[a.type]||{};for(l[0]=a,t=1;t<arguments.length;t++)l[t]=arguments[t];if(a.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,a)){for(s=we.event.handlers.call(this,a,u),t=0;(r=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!a.rnamespace.test(i.namespace)||(a.handleObj=i,a.data=i.data,void 0!==(o=((we.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,l))&&!1===(a.result=o)&&(a.preventDefault(),a.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,a),a.result}},handlers:function(e,t){var n,o,r,i,s,a=[],l=t.delegateCount,u=e.target;if(l&&u.nodeType&&!("click"===e.type&&e.button>=1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&("click"!==e.type||!0!==u.disabled)){for(i=[],s={},n=0;n<l;n++)void 0===s[r=(o=t[n]).selector+" "]&&(s[r]=o.needsContext?we(r,this).index(u)>-1:we.find(r,this,null,[u]).length),s[r]&&i.push(o);i.length&&a.push({elem:u,handlers:i})}return u=this,l<t.length&&a.push({elem:u,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(we.Event.prototype,e,{enumerable:!0,configurable:!0,get:ve(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[we.expando]?e:new we.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==S()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===S()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&i(this,"input"))return this.click(),!1},_default:function(e){return i(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},we.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},we.Event=function(e,t){if(!(this instanceof we.Event))return new we.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?E:k,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&we.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[we.expando]=!0},we.Event.prototype={constructor:we.Event,isDefaultPrevented:k,isPropagationStopped:k,isImmediatePropagationStopped:k,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=E,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=E,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=E,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},we.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&et.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&tt.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},we.event.addProp),we.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){we.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,o=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===o||we.contains(o,r))||(e.type=i.origType,n=i.handler.apply(this,arguments),e.type=t),n}}}),we.fn.extend({on:function(e,t,n,o){return A(this,e,t,n,o)},one:function(e,t,n,o){return A(this,e,t,n,o,1)},off:function(e,t,n){var o,r;if(e&&e.preventDefault&&e.handleObj)return o=e.handleObj,we(e.delegateTarget).off(o.namespace?o.origType+"."+o.namespace:o.origType,o.selector,o.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=k),this.each(function(){we.event.remove(this,e,n,t)})}});var ot=/<script|<style|<link/i,rt=/checked\s*(?:[^=]|=\s*.checked.)/i,it=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;we.extend({htmlPrefilter:function(e){return e.replace(/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,"<$1></$2>")},clone:function(e,t,n){var o,r,i,s,a=e.cloneNode(!0),l=we.contains(e.ownerDocument,e);if(!(ye.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||we.isXMLDoc(e)))for(s=w(a),o=0,r=(i=w(e)).length;o<r;o++)I(i[o],s[o]);if(t)if(n)for(i=i||w(e),s=s||w(a),o=0,r=i.length;o<r;o++)D(i[o],s[o]);else D(e,a);return(s=w(a,"script")).length>0&&C(s,!l&&w(e,"script")),a},cleanData:function(e){for(var t,n,o,r=we.event.special,i=0;void 0!==(n=e[i]);i++)if(Oe(n)){if(t=n[Ue.expando]){if(t.events)for(o in t.events)r[o]?we.event.remove(n,o):we.removeEvent(n,o,t.handle);n[Ue.expando]=void 0}n[Be.expando]&&(n[Be.expando]=void 0)}}}),we.fn.extend({detach:function(e){return L(this,e,!0)},remove:function(e){return L(this,e)},text:function(e){return Le(this,function(e){return void 0===e?we.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return H(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||N(this,e).appendChild(e)})},prepend:function(){return H(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=N(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return H(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return H(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(we.cleanData(w(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return we.clone(this,e,t)})},html:function(e){return Le(this,function(e){var t=this[0]||{},n=0,o=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!ot.test(e)&&!Qe[(Ge.exec(e)||["",""])[1].toLowerCase()]){e=we.htmlPrefilter(e);try{for(;n<o;n++)1===(t=this[n]||{}).nodeType&&(we.cleanData(w(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return H(this,arguments,function(t){var n=this.parentNode;we.inArray(this,e)<0&&(we.cleanData(w(this)),n&&n.replaceChild(t,this))},e)}}),we.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){we.fn[e]=function(e){for(var n,o=[],r=we(e),i=r.length-1,s=0;s<=i;s++)n=s===i?this:this.clone(!0),we(r[s])[t](n),ce.apply(o,n.get());return this.pushStack(o)}});var st=new RegExp("^("+We+")(?!px)[a-z%]+$","i"),at=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},lt=new RegExp(Fe.join("|"),"i");!function(){function t(){if(u){l.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%",Ze.appendChild(l).appendChild(u);var t=e.getComputedStyle(u);o="1%"!==t.top,a=12===n(t.marginLeft),u.style.right="60%",s=36===n(t.right),r=36===n(t.width),u.style.position="absolute",i=36===u.offsetWidth||"absolute",Ze.removeChild(l),u=null}}function n(e){return Math.round(parseFloat(e))}var o,r,i,s,a,l=se.createElement("div"),u=se.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",ye.clearCloneStyle="content-box"===u.style.backgroundClip,we.extend(ye,{boxSizingReliable:function(){return t(),r},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),o},reliableMarginLeft:function(){return t(),a},scrollboxSize:function(){return t(),i}}))}();var ut=/^(none|table(?!-c[ea]).+)/,ct=/^--/,dt={position:"absolute",visibility:"hidden",display:"block"},ft={letterSpacing:"0",fontWeight:"400"},pt=["Webkit","Moz","ms"],ht=se.createElement("div").style;we.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=q(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,o){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,i,s,a=h(t),l=ct.test(t),u=e.style;if(l||(t=U(a)),s=we.cssHooks[t]||we.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,o))?r:u[t];"string"==(i=typeof n)&&(r=$e.exec(n))&&r[1]&&(n=v(e,t,r),i="number"),null!=n&&n===n&&("number"===i&&(n+=r&&r[3]||(we.cssNumber[a]?"":"px")),ye.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,o))||(l?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,o){var r,i,s,a=h(t);return ct.test(t)||(t=U(a)),(s=we.cssHooks[t]||we.cssHooks[a])&&"get"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=q(e,t,o)),"normal"===r&&t in ft&&(r=ft[t]),""===n||n?(i=parseFloat(r),!0===n||isFinite(i)?i||0:r):r}}),we.each(["height","width"],function(e,t){we.cssHooks[t]={get:function(e,n,o){if(n)return!ut.test(we.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?R(e,t,o):Xe(e,dt,function(){return R(e,t,o)})},set:function(e,n,o){var r,i=at(e),s="border-box"===we.css(e,"boxSizing",!1,i),a=o&&M(e,t,o,s,i);return s&&ye.scrollboxSize()===i.position&&(a-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(i[t])-M(e,t,"border",!1,i)-.5)),a&&(r=$e.exec(n))&&"px"!==(r[3]||"px")&&(e.style[t]=n,n=we.css(e,t)),B(e,n,a)}}}),we.cssHooks.marginLeft=P(ye.reliableMarginLeft,function(e,t){if(t)return(parseFloat(q(e,"marginLeft"))||e.getBoundingClientRect().left-Xe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),we.each({margin:"",padding:"",border:"Width"},function(e,t){we.cssHooks[e+t]={expand:function(n){for(var o=0,r={},i="string"==typeof n?n.split(" "):[n];o<4;o++)r[e+Fe[o]+t]=i[o]||i[o-2]||i[0];return r}},"margin"!==e&&(we.cssHooks[e+t].set=B)}),we.fn.extend({css:function(e,t){return Le(this,function(e,t,n){var o,r,i={},s=0;if(Array.isArray(t)){for(o=at(e),r=t.length;s<r;s++)i[t[s]]=we.css(e,t[s],!1,o);return i}return void 0!==n?we.style(e,t,n):we.css(e,t)},e,t,arguments.length>1)}}),we.Tween=W,W.prototype={constructor:W,init:function(e,t,n,o,r,i){this.elem=e,this.prop=n,this.easing=r||we.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=o,this.unit=i||(we.cssNumber[n]?"":"px")},cur:function(){var e=W.propHooks[this.prop];return e&&e.get?e.get(this):W.propHooks._default.get(this)},run:function(e){var t,n=W.propHooks[this.prop];return this.options.duration?this.pos=t=we.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):W.propHooks._default.set(this),this}},W.prototype.init.prototype=W.prototype,W.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=we.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){we.fx.step[e.prop]?we.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[we.cssProps[e.prop]]&&!we.cssHooks[e.prop]?e.elem[e.prop]=e.now:we.style(e.elem,e.prop,e.now+e.unit)}}},W.propHooks.scrollTop=W.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},we.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},we.fx=W.prototype.init,we.fx.step={};var mt,gt,yt=/^(?:toggle|show|hide)$/,vt=/queueHooks$/;we.Animation=we.extend(G,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return v(n.elem,e,$e.exec(t),n),n}]},tweener:function(e,t){ve(e)?(t=e,e=["*"]):e=e.match(De);for(var n,o=0,r=e.length;o<r;o++)n=e[o],G.tweeners[n]=G.tweeners[n]||[],G.tweeners[n].unshift(t)},prefilters:[V],prefilter:function(e,t){t?G.prefilters.unshift(e):G.prefilters.push(e)}}),we.speed=function(e,t,n){var o=e&&"object"==typeof e?we.extend({},e):{complete:n||!n&&t||ve(e)&&e,duration:e,easing:n&&t||t&&!ve(t)&&t};return we.fx.off?o.duration=0:"number"!=typeof o.duration&&(o.duration in we.fx.speeds?o.duration=we.fx.speeds[o.duration]:o.duration=we.fx.speeds._default),null!=o.queue&&!0!==o.queue||(o.queue="fx"),o.old=o.complete,o.complete=function(){ve(o.old)&&o.old.call(this),o.queue&&we.dequeue(this,o.queue)},o},we.fn.extend({fadeTo:function(e,t,n,o){return this.filter(ze).css("opacity",0).show().end().animate({opacity:t},e,n,o)},animate:function(e,t,n,o){var r=we.isEmptyObject(e),i=we.speed(t,n,o),s=function(){var t=G(this,we.extend({},e),i);(r||Ue.get(this,"finish"))&&t.stop(!0)};return s.finish=s,r||!1===i.queue?this.each(s):this.queue(i.queue,s)},stop:function(e,t,n){var o=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,r=null!=e&&e+"queueHooks",i=we.timers,s=Ue.get(this);if(r)s[r]&&s[r].stop&&o(s[r]);else for(r in s)s[r]&&s[r].stop&&vt.test(r)&&o(s[r]);for(r=i.length;r--;)i[r].elem!==this||null!=e&&i[r].queue!==e||(i[r].anim.stop(n),t=!1,i.splice(r,1));!t&&n||we.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=Ue.get(this),o=n[e+"queue"],r=n[e+"queueHooks"],i=we.timers,s=o?o.length:0;for(n.finish=!0,we.queue(this,e,[]),r&&r.stop&&r.stop.call(this,!0),t=i.length;t--;)i[t].elem===this&&i[t].queue===e&&(i[t].anim.stop(!0),i.splice(t,1));for(t=0;t<s;t++)o[t]&&o[t].finish&&o[t].finish.call(this);delete n.finish})}}),we.each(["toggle","show","hide"],function(e,t){var n=we.fn[t];we.fn[t]=function(e,o,r){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(z(t,!0),e,o,r)}}),we.each({slideDown:z("show"),slideUp:z("hide"),slideToggle:z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){we.fn[e]=function(e,n,o){return this.animate(t,e,n,o)}}),we.timers=[],we.fx.tick=function(){var e,t=0,n=we.timers;for(mt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||we.fx.stop(),mt=void 0},we.fx.timer=function(e){we.timers.push(e),we.fx.start()},we.fx.interval=13,we.fx.start=function(){gt||(gt=!0,$())},we.fx.stop=function(){gt=null},we.fx.speeds={slow:600,fast:200,_default:400},we.fn.delay=function(t,n){return t=we.fx?we.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,o){var r=e.setTimeout(n,t);o.stop=function(){e.clearTimeout(r)}})},function(){var e=se.createElement("input"),t=se.createElement("select").appendChild(se.createElement("option"));e.type="checkbox",ye.checkOn=""!==e.value,ye.optSelected=t.selected,(e=se.createElement("input")).value="t",e.type="radio",ye.radioValue="t"===e.value}();var bt,xt=we.expr.attrHandle;we.fn.extend({attr:function(e,t){return Le(this,we.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){we.removeAttr(this,e)})}}),we.extend({attr:function(e,t,n){var o,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===e.getAttribute?we.prop(e,t,n):(1===i&&we.isXMLDoc(e)||(r=we.attrHooks[t.toLowerCase()]||(we.expr.match.bool.test(t)?bt:void 0)),void 0!==n?null===n?void we.removeAttr(e,t):r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:(e.setAttribute(t,n+""),n):r&&"get"in r&&null!==(o=r.get(e,t))?o:null==(o=we.find.attr(e,t))?void 0:o)},attrHooks:{type:{set:function(e,t){if(!ye.radioValue&&"radio"===t&&i(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,o=0,r=t&&t.match(De);if(r&&1===e.nodeType)for(;n=r[o++];)e.removeAttribute(n)}}),bt={set:function(e,t,n){return!1===t?we.removeAttr(e,n):e.setAttribute(n,n),n}},we.each(we.expr.match.bool.source.match(/\w+/g),function(e,t){var n=xt[t]||we.find.attr;xt[t]=function(e,t,o){var r,i,s=t.toLowerCase();return o||(i=xt[s],xt[s]=r,r=null!=n(e,t,o)?s:null,xt[s]=i),r}});var wt=/^(?:input|select|textarea|button)$/i,Ct=/^(?:a|area)$/i;we.fn.extend({prop:function(e,t){return Le(this,we.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[we.propFix[e]||e]})}}),we.extend({prop:function(e,t,n){var o,r,i=e.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&we.isXMLDoc(e)||(t=we.propFix[t]||t,r=we.propHooks[t]),void 0!==n?r&&"set"in r&&void 0!==(o=r.set(e,n,t))?o:e[t]=n:r&&"get"in r&&null!==(o=r.get(e,t))?o:e[t]},propHooks:{tabIndex:{get:function(e){var t=we.find.attr(e,"tabindex");return t?parseInt(t,10):wt.test(e.nodeName)||Ct.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),ye.optSelected||(we.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),we.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){we.propFix[this.toLowerCase()]=this}),we.fn.extend({addClass:function(e){var t,n,o,r,i,s,a,l=0;if(ve(e))return this.each(function(t){we(this).addClass(e.call(this,t,Q(this)))});if((t=K(e)).length)for(;n=this[l++];)if(r=Q(n),o=1===n.nodeType&&" "+J(r)+" "){for(s=0;i=t[s++];)o.indexOf(" "+i+" ")<0&&(o+=i+" ");r!==(a=J(o))&&n.setAttribute("class",a)}return this},removeClass:function(e){var t,n,o,r,i,s,a,l=0;if(ve(e))return this.each(function(t){we(this).removeClass(e.call(this,t,Q(this)))});if(!arguments.length)return this.attr("class","");if((t=K(e)).length)for(;n=this[l++];)if(r=Q(n),o=1===n.nodeType&&" "+J(r)+" "){for(s=0;i=t[s++];)for(;o.indexOf(" "+i+" ")>-1;)o=o.replace(" "+i+" "," ");r!==(a=J(o))&&n.setAttribute("class",a)}return this},toggleClass:function(e,t){var n=typeof e,o="string"===n||Array.isArray(e);return"boolean"==typeof t&&o?t?this.addClass(e):this.removeClass(e):ve(e)?this.each(function(n){we(this).toggleClass(e.call(this,n,Q(this),t),t)}):this.each(function(){var t,r,i,s;if(o)for(r=0,i=we(this),s=K(e);t=s[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||((t=Q(this))&&Ue.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":Ue.get(this,"__className__")||""))})},hasClass:function(e){var t,n,o=0;for(t=" "+e+" ";n=this[o++];)if(1===n.nodeType&&(" "+J(Q(n))+" ").indexOf(t)>-1)return!0;return!1}});we.fn.extend({val:function(e){var t,n,o,r=this[0];return arguments.length?(o=ve(e),this.each(function(n){var r;1===this.nodeType&&(null==(r=o?e.call(this,n,we(this).val()):e)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=we.map(r,function(e){return null==e?"":e+""})),(t=we.valHooks[this.type]||we.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,r,"value")||(this.value=r))})):r?(t=we.valHooks[r.type]||we.valHooks[r.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(/\r/g,""):null==n?"":n:void 0}}),we.extend({valHooks:{option:{get:function(e){var t=we.find.attr(e,"value");return null!=t?t:J(we.text(e))}},select:{get:function(e){var t,n,o,r=e.options,s=e.selectedIndex,a="select-one"===e.type,l=a?null:[],u=a?s+1:r.length;for(o=s<0?u:a?s:0;o<u;o++)if(((n=r[o]).selected||o===s)&&!n.disabled&&(!n.parentNode.disabled||!i(n.parentNode,"optgroup"))){if(t=we(n).val(),a)return t;l.push(t)}return l},set:function(e,t){for(var n,o,r=e.options,i=we.makeArray(t),s=r.length;s--;)((o=r[s]).selected=we.inArray(we.valHooks.option.get(o),i)>-1)&&(n=!0);return n||(e.selectedIndex=-1),i}}}}),we.each(["radio","checkbox"],function(){we.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=we.inArray(we(e).val(),t)>-1}},ye.checkOn||(we.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),ye.focusin="onfocusin"in e;var Tt=/^(?:focusinfocus|focusoutblur)$/,Et=function(e){e.stopPropagation()};we.extend(we.event,{trigger:function(t,n,o,r){var i,s,a,l,u,c,d,f,p=[o||se],h=he.call(t,"type")?t.type:t,m=he.call(t,"namespace")?t.namespace.split("."):[];if(s=f=a=o=o||se,3!==o.nodeType&&8!==o.nodeType&&!Tt.test(h+we.event.triggered)&&(h.indexOf(".")>-1&&(h=(m=h.split(".")).shift(),m.sort()),u=h.indexOf(":")<0&&"on"+h,t=t[we.expando]?t:new we.Event(h,"object"==typeof t&&t),t.isTrigger=r?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=o),n=null==n?[t]:we.makeArray(n,[t]),d=we.event.special[h]||{},r||!d.trigger||!1!==d.trigger.apply(o,n))){if(!r&&!d.noBubble&&!be(o)){for(l=d.delegateType||h,Tt.test(l+h)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(o.ownerDocument||se)&&p.push(a.defaultView||a.parentWindow||e)}for(i=0;(s=p[i++])&&!t.isPropagationStopped();)f=s,t.type=i>1?l:d.bindType||h,(c=(Ue.get(s,"events")||{})[t.type]&&Ue.get(s,"handle"))&&c.apply(s,n),(c=u&&s[u])&&c.apply&&Oe(s)&&(t.result=c.apply(s,n),!1===t.result&&t.preventDefault());return t.type=h,r||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(p.pop(),n)||!Oe(o)||u&&ve(o[h])&&!be(o)&&((a=o[u])&&(o[u]=null),we.event.triggered=h,t.isPropagationStopped()&&f.addEventListener(h,Et),o[h](),t.isPropagationStopped()&&f.removeEventListener(h,Et),we.event.triggered=void 0,a&&(o[u]=a)),t.result}},simulate:function(e,t,n){var o=we.extend(new we.Event,n,{type:e,isSimulated:!0});we.event.trigger(o,null,t)}}),we.fn.extend({trigger:function(e,t){return this.each(function(){we.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return we.event.trigger(e,t,n,!0)}}),ye.focusin||we.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){we.event.simulate(t,e.target,we.event.fix(e))};we.event.special[t]={setup:function(){var o=this.ownerDocument||this,r=Ue.access(o,t);r||o.addEventListener(e,n,!0),Ue.access(o,t,(r||0)+1)},teardown:function(){var o=this.ownerDocument||this,r=Ue.access(o,t)-1;r?Ue.access(o,t,r):(o.removeEventListener(e,n,!0),Ue.remove(o,t))}}});var kt=e.location,St=Date.now(),At=/\?/;we.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||we.error("Invalid XML: "+t),n};var Nt=/\[\]$/,_t=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;we.param=function(e,t){var n,o=[],r=function(e,t){var n=ve(t)?t():t;o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!we.isPlainObject(e))we.each(e,function(){r(this.name,this.value)});else for(n in e)Z(n,e[n],t,r);return o.join("&")},we.fn.extend({serialize:function(){return we.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=we.prop(this,"elements");return e?we.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!we(this).is(":disabled")&&jt.test(this.nodeName)&&!_t.test(e)&&(this.checked||!Ye.test(e))}).map(function(e,t){var n=we(this).val();return null==n?null:Array.isArray(n)?we.map(n,function(e){return{name:t.name,value:e.replace(/\r?\n/g,"\r\n")}}):{name:t.name,value:n.replace(/\r?\n/g,"\r\n")}}).get()}});var Dt=/^(.*?):[ \t]*([^\r\n]*)$/gm,It=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ht=/^(?:GET|HEAD)$/,Lt={},qt={},Pt="*/".concat("*"),Ot=se.createElement("a");Ot.href=kt.href,we.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:kt.href,type:"GET",isLocal:It.test(kt.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Pt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":we.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?ne(ne(e,we.ajaxSettings),t):ne(we.ajaxSettings,e)},ajaxPrefilter:ee(Lt),ajaxTransport:ee(qt),ajax:function(t,n){function o(t,n,o,a){var u,f,p,x,w,C=n;c||(c=!0,l&&e.clearTimeout(l),r=void 0,s=a||"",T.readyState=t>0?4:0,u=t>=200&&t<300||304===t,o&&(x=oe(h,T,o)),x=re(h,x,T,u),u?(h.ifModified&&((w=T.getResponseHeader("Last-Modified"))&&(we.lastModified[i]=w),(w=T.getResponseHeader("etag"))&&(we.etag[i]=w)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=x.state,f=x.data,u=!(p=x.error))):(p=C,!t&&C||(C="error",t<0&&(t=0))),T.status=t,T.statusText=(n||C)+"",u?y.resolveWith(m,[f,C,T]):y.rejectWith(m,[T,C,p]),T.statusCode(b),b=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[T,h,u?f:p]),v.fireWith(m,[T,C]),d&&(g.trigger("ajaxComplete",[T,h]),--we.active||we.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var r,i,s,a,l,u,c,d,f,p,h=we.ajaxSetup({},n),m=h.context||h,g=h.context&&(m.nodeType||m.jquery)?we(m):we.event,y=we.Deferred(),v=we.Callbacks("once memory"),b=h.statusCode||{},x={},w={},C="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(c){if(!a)for(a={};t=Dt.exec(s);)a[t[1].toLowerCase()]=t[2];t=a[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?s:null},setRequestHeader:function(e,t){return null==c&&(e=w[e.toLowerCase()]=w[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)T.always(e[T.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||C;return r&&r.abort(t),o(0,t),this}};if(y.promise(T),h.url=((t||h.url||kt.href)+"").replace(/^\/\//,kt.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(De)||[""],null==h.crossDomain){u=se.createElement("a");try{u.href=h.url,u.href=u.href,h.crossDomain=Ot.protocol+"//"+Ot.host!=u.protocol+"//"+u.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=we.param(h.data,h.traditional)),te(Lt,h,n,T),c)return T;(d=we.event&&h.global)&&0==we.active++&&we.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ht.test(h.type),i=h.url.replace(/#.*$/,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(/%20/g,"+")):(p=h.url.slice(i.length),h.data&&(h.processData||"string"==typeof h.data)&&(i+=(At.test(i)?"&":"?")+h.data,delete h.data),!1===h.cache&&(i=i.replace(/([?&])_=[^&]*/,"$1"),p=(At.test(i)?"&":"?")+"_="+St+++p),h.url=i+p),h.ifModified&&(we.lastModified[i]&&T.setRequestHeader("If-Modified-Since",we.lastModified[i]),we.etag[i]&&T.setRequestHeader("If-None-Match",we.etag[i])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&T.setRequestHeader("Content-Type",h.contentType),T.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Pt+"; q=0.01":""):h.accepts["*"]);for(f in h.headers)T.setRequestHeader(f,h.headers[f]);if(h.beforeSend&&(!1===h.beforeSend.call(m,T,h)||c))return T.abort();if(C="abort",v.add(h.complete),T.done(h.success),T.fail(h.error),r=te(qt,h,n,T)){if(T.readyState=1,d&&g.trigger("ajaxSend",[T,h]),c)return T;h.async&&h.timeout>0&&(l=e.setTimeout(function(){T.abort("timeout")},h.timeout));try{c=!1,r.send(x,o)}catch(e){if(c)throw e;o(-1,e)}}else o(-1,"No Transport");return T},getJSON:function(e,t,n){return we.get(e,t,n,"json")},getScript:function(e,t){return we.get(e,void 0,t,"script")}}),we.each(["get","post"],function(e,t){we[t]=function(e,n,o,r){return ve(n)&&(r=r||o,o=n,n=void 0),we.ajax(we.extend({url:e,type:t,dataType:r,data:n,success:o},we.isPlainObject(e)&&e))}}),we._evalUrl=function(e){return we.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,throws:!0})},we.fn.extend({wrapAll:function(e){var t;return this[0]&&(ve(e)&&(e=e.call(this[0])),t=we(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return ve(e)?this.each(function(t){we(this).wrapInner(e.call(this,t))}):this.each(function(){var t=we(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=ve(e);return this.each(function(n){we(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){we(this).replaceWith(this.childNodes)}),this}}),we.expr.pseudos.hidden=function(e){return!we.expr.pseudos.visible(e)},we.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},we.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Ut={0:200,1223:204},Bt=we.ajaxSettings.xhr();ye.cors=!!Bt&&"withCredentials"in Bt,ye.ajax=Bt=!!Bt,we.ajaxTransport(function(t){var n,o;if(ye.cors||Bt&&!t.crossDomain)return{send:function(r,i){var s,a=t.xhr()
  ;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(s in r)a.setRequestHeader(s,r[s]);n=function(e){return function(){n&&(n=o=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?i(0,"error"):i(a.status,a.statusText):i(Ut[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),o=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=o:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout(function(){n&&o()})},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),we.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),we.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return we.globalEval(e),e}}}),we.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),we.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(o,r){t=we("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&r("error"===e.type?404:200,e.type)}),se.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Mt=[],Rt=/(=)\?(?=&|$)|\?\?/;we.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mt.pop()||we.expando+"_"+St++;return this[e]=!0,e}}),we.ajaxPrefilter("json jsonp",function(t,n,o){var r,i,s,a=!1!==t.jsonp&&(Rt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Rt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return r=t.jsonpCallback=ve(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Rt,"$1"+r):!1!==t.jsonp&&(t.url+=(At.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return s||we.error(r+" was not called"),s[0]},t.dataTypes[0]="json",i=e[r],e[r]=function(){s=arguments},o.always(function(){void 0===i?we(e).removeProp(r):e[r]=i,t[r]&&(t.jsonpCallback=n.jsonpCallback,Mt.push(r)),s&&ve(i)&&i(s[0]),s=i=void 0}),"script"}),ye.createHTMLDocument=function(){var e=se.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),we.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var o,r,i;return t||(ye.createHTMLDocument?((o=(t=se.implementation.createHTMLDocument("")).createElement("base")).href=se.location.href,t.head.appendChild(o)):t=se),r=Se.exec(e),i=!n&&[],r?[t.createElement(r[1])]:(r=T([e],t,i),i&&i.length&&we(i).remove(),we.merge([],r.childNodes))},we.fn.load=function(e,t,n){var o,r,i,s=this,a=e.indexOf(" ");return a>-1&&(o=J(e.slice(a)),e=e.slice(0,a)),ve(t)?(n=t,t=void 0):t&&"object"==typeof t&&(r="POST"),s.length>0&&we.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){i=arguments,s.html(o?we("<div>").append(we.parseHTML(e)).find(o):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,i||[e.responseText,t,e])})}),this},we.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){we.fn[t]=function(e){return this.on(t,e)}}),we.expr.pseudos.animated=function(e){return we.grep(we.timers,function(t){return e===t.elem}).length},we.offset={setOffset:function(e,t,n){var o,r,i,s,a,l,u=we.css(e,"position"),c=we(e),d={};"static"===u&&(e.style.position="relative"),a=c.offset(),i=we.css(e,"top"),l=we.css(e,"left"),("absolute"===u||"fixed"===u)&&(i+l).indexOf("auto")>-1?(s=(o=c.position()).top,r=o.left):(s=parseFloat(i)||0,r=parseFloat(l)||0),ve(t)&&(t=t.call(e,n,we.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):c.css(d)}},we.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){we.offset.setOffset(this,e,t)});var t,n,o=this[0];return o?o.getClientRects().length?(t=o.getBoundingClientRect(),n=o.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,o=this[0],r={top:0,left:0};if("fixed"===we.css(o,"position"))t=o.getBoundingClientRect();else{for(t=this.offset(),n=o.ownerDocument,e=o.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===we.css(e,"position");)e=e.parentNode;e&&e!==o&&1===e.nodeType&&((r=we(e).offset()).top+=we.css(e,"borderTopWidth",!0),r.left+=we.css(e,"borderLeftWidth",!0))}return{top:t.top-r.top-we.css(o,"marginTop",!0),left:t.left-r.left-we.css(o,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===we.css(e,"position");)e=e.offsetParent;return e||Ze})}}),we.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;we.fn[e]=function(o){return Le(this,function(e,o,r){var i;if(be(e)?i=e:9===e.nodeType&&(i=e.defaultView),void 0===r)return i?i[t]:e[o];i?i.scrollTo(n?i.pageXOffset:r,n?r:i.pageYOffset):e[o]=r},e,o,arguments.length)}}),we.each(["top","left"],function(e,t){we.cssHooks[t]=P(ye.pixelPosition,function(e,n){if(n)return n=q(e,t),st.test(n)?we(e).position()[t]+"px":n})}),we.each({Height:"height",Width:"width"},function(e,t){we.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,o){we.fn[o]=function(r,i){var s=arguments.length&&(n||"boolean"!=typeof r),a=n||(!0===r||!0===i?"margin":"border");return Le(this,function(t,n,r){var i;return be(t)?0===o.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?we.css(t,n,a):we.style(t,n,r,a)},t,s?r:void 0,s)}})}),we.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){we.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),we.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),we.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,o){return this.on(t,e,n,o)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),we.proxy=function(e,t){var n,o,r;if("string"==typeof t&&(n=e[t],t=e,e=n),ve(e))return o=le.call(arguments,2),r=function(){return e.apply(t||this,o.concat(le.call(arguments)))},r.guid=e.guid=e.guid||we.guid++,r},we.holdReady=function(e){e?we.readyWait++:we.ready(!0)},we.isArray=Array.isArray,we.parseJSON=JSON.parse,we.nodeName=i,we.isFunction=ve,we.isWindow=be,we.camelCase=h,we.type=o,we.now=Date.now,we.isNumeric=function(e){var t=we.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return we});var Wt=e.jQuery,$t=e.$;return we.noConflict=function(t){return e.$===we&&(e.$=$t),t&&e.jQuery===we&&(e.jQuery=Wt),we},t||(e.jQuery=e.$=we),we}),"function"!=typeof Object.create&&(Object.create=function(e){function t(){}return t.prototype=e,new t}),function(e,t,n,o){"use strict";var r={_positionClasses:["bottom-left","bottom-right","top-right","top-left","bottom-center","top-center","mid-center"],_defaultIcons:["success","error","info","warning"],init:function(t,n){this.prepareOptions(t,e.toast.options),this.process()},prepareOptions:function(t,n){var o={};"string"==typeof t||t instanceof Array?o.text=t:o=t,this.options=e.extend({},n,o)},process:function(){this.setup(),this.addToDom(),this.position(),this.bindToast(),this.animate()},setup:function(){var t="";if(this._toastEl=this._toastEl||e("<div></div>",{class:"jq-toast-single"}),t+='<span class="jq-toast-loader"></span>',this.options.allowToastClose&&(t+='<span class="close-jq-toast-single">&times;</span>'),this.options.text instanceof Array){this.options.heading&&(t+='<h2 class="jq-toast-heading">'+this.options.heading+"</h2>"),t+='<ul class="jq-toast-ul">';for(var n=0;n<this.options.text.length;n++)t+='<li class="jq-toast-li" id="jq-toast-item-'+n+'">'+this.options.text[n]+"</li>";t+="</ul>"}else this.options.heading&&(t+='<h2 class="jq-toast-heading">'+this.options.heading+"</h2>"),t+=this.options.text;this._toastEl.html(t),this.options.bgColor!==!1&&this._toastEl.css("background-color",this.options.bgColor),this.options.textColor!==!1&&this._toastEl.css("color",this.options.textColor),this.options.textAlign&&this._toastEl.css("text-align",this.options.textAlign),this.options.icon!==!1&&(this._toastEl.addClass("jq-has-icon"),-1!==e.inArray(this.options.icon,this._defaultIcons)&&this._toastEl.addClass("jq-icon-"+this.options.icon)),this.options.class!==!1&&this._toastEl.addClass(this.options.class)},position:function(){"string"==typeof this.options.position&&-1!==e.inArray(this.options.position,this._positionClasses)?"bottom-center"===this.options.position?this._container.css({left:e(t).outerWidth()/2-this._container.outerWidth()/2,bottom:20}):"top-center"===this.options.position?this._container.css({left:e(t).outerWidth()/2-this._container.outerWidth()/2,top:20}):"mid-center"===this.options.position?this._container.css({left:e(t).outerWidth()/2-this._container.outerWidth()/2,top:e(t).outerHeight()/2-this._container.outerHeight()/2}):this._container.addClass(this.options.position):"object"==typeof this.options.position?this._container.css({top:this.options.position.top?this.options.position.top:"auto",bottom:this.options.position.bottom?this.options.position.bottom:"auto",left:this.options.position.left?this.options.position.left:"auto",right:this.options.position.right?this.options.position.right:"auto"}):this._container.addClass("bottom-left")},bindToast:function(){var e=this;this._toastEl.on("afterShown",function(){e.processLoader()}),this._toastEl.find(".close-jq-toast-single").on("click",function(t){t.preventDefault(),"fade"===e.options.showHideTransition?(e._toastEl.trigger("beforeHide"),e._toastEl.fadeOut(function(){e._toastEl.trigger("afterHidden")})):"slide"===e.options.showHideTransition?(e._toastEl.trigger("beforeHide"),e._toastEl.slideUp(function(){e._toastEl.trigger("afterHidden")})):(e._toastEl.trigger("beforeHide"),e._toastEl.hide(function(){e._toastEl.trigger("afterHidden")}))}),"function"==typeof this.options.beforeShow&&this._toastEl.on("beforeShow",function(){e.options.beforeShow()}),"function"==typeof this.options.afterShown&&this._toastEl.on("afterShown",function(){e.options.afterShown()}),"function"==typeof this.options.beforeHide&&this._toastEl.on("beforeHide",function(){e.options.beforeHide()}),"function"==typeof this.options.afterHidden&&this._toastEl.on("afterHidden",function(){e.options.afterHidden()})},addToDom:function(){var t=e(".jq-toast-wrap");if(0===t.length?(t=e("<div></div>",{class:"jq-toast-wrap"}),e("body").append(t)):(!this.options.stack||isNaN(parseInt(this.options.stack,10)))&&t.empty(),t.find(".jq-toast-single:hidden").remove(),t.append(this._toastEl),this.options.stack&&!isNaN(parseInt(this.options.stack),10)){var n=t.find(".jq-toast-single").length,o=n-this.options.stack;o>0&&e(".jq-toast-wrap").find(".jq-toast-single").slice(0,o).remove()}this._container=t},canAutoHide:function(){return this.options.hideAfter!==!1&&!isNaN(parseInt(this.options.hideAfter,10))},processLoader:function(){if(!this.canAutoHide()||this.options.loader===!1)return!1;var e=this._toastEl.find(".jq-toast-loader"),t=(this.options.hideAfter-400)/1e3+"s",n=this.options.loaderBg,o=e.attr("style")||"";o=o.substring(0,o.indexOf("-webkit-transition")),o+="-webkit-transition: width "+t+" ease-in;                       -o-transition: width "+t+" ease-in;                       transition: width "+t+" ease-in;                       background-color: "+n+";",e.attr("style",o).addClass("jq-toast-loaded")},animate:function(){var e=this;if(this._toastEl.hide(),this._toastEl.trigger("beforeShow"),"fade"===this.options.showHideTransition.toLowerCase()?this._toastEl.fadeIn(function(){e._toastEl.trigger("afterShown")}):"slide"===this.options.showHideTransition.toLowerCase()?this._toastEl.slideDown(function(){e._toastEl.trigger("afterShown")}):this._toastEl.show(function(){e._toastEl.trigger("afterShown")}),this.canAutoHide()){var e=this;t.setTimeout(function(){"fade"===e.options.showHideTransition.toLowerCase()?(e._toastEl.trigger("beforeHide"),e._toastEl.fadeOut(function(){e._toastEl.trigger("afterHidden")})):"slide"===e.options.showHideTransition.toLowerCase()?(e._toastEl.trigger("beforeHide"),e._toastEl.slideUp(function(){e._toastEl.trigger("afterHidden")})):(e._toastEl.trigger("beforeHide"),e._toastEl.hide(function(){e._toastEl.trigger("afterHidden")}))},this.options.hideAfter)}},reset:function(t){"all"===t?e(".jq-toast-wrap").remove():this._toastEl.remove()},update:function(e){this.prepareOptions(e,this.options),this.setup(),this.bindToast()}};e.toast=function(e){var t=Object.create(r);return t.init(e,this),{reset:function(e){t.reset(e)},update:function(e){t.update(e)}}},e.toast.options={text:"",heading:"",showHideTransition:"fade",allowToastClose:!0,hideAfter:3e3,loader:!0,loaderBg:"#9EC600",stack:5,position:"bottom-left",bgColor:!1,textColor:!1,textAlign:"left",icon:!1,beforeShow:function(){},afterShown:function(){},beforeHide:function(){},afterHidden:function(){}}}(jQuery,window,document),Common={redirectToLoginPage:function(){window.location.replace("index.html")},trimEnd:function(e,t){for(;e.charAt(e.length-1)===t;)e=e.substring(0,e.length-1);return e},get:function(e,t,n,o){var r=new XMLHttpRequest;r.onreadystatechange=function(){if(4===this.readyState&&200===this.status&&t)if(""!==this.responseText){var e=JSON.parse(this.responseText);t(e)}else t()},r.onerror=function(){n&&n()},r.open("GET",e,!0),o&&r.setRequestHeader("Authorization",o),r.send()},post:function(e,t,n,o,r,i){var s=new XMLHttpRequest;s.onreadystatechange=function(){if(4===this.readyState&&200===this.status&&t)if(""!==this.responseText){var e=JSON.parse(this.responseText);t(e)}else t()},s.onerror=function(){n&&n()},s.open("POST",e,!0),r&&s.setRequestHeader("Authorization",r),i===!0?s.send(o):s.send(JSON.stringify(o))},launchType:function(e){switch(e){case 0:return"Startup";case 1:return"Trigger";case 2:return"Periodic";case 3:return"Cron";default:return""}},status:function(e){switch(e){case 0:return"<img src='images/pending-small.png' /> Pending";case 1:return"<img src='images/running-small.png' /> Running";case 2:return"<img src='images/done-small.png' /> Done";case 3:return"<img src='images/failed-small.png' /> Failed";case 4:return"<img src='images/warning-small.png' /> Warning";case 6:return"<img src='images/stopped-small.png' /> Stopped";case 7:return"<img src='images/disapproved-small.png' /> Rejected";default:return""}},disableButton:function(e,t){e.disabled=t},formatDate:function(e){return("0"+e.getDate()).slice(-2)+"-"+("0"+(e.getMonth()+1)).slice(-2)+"-"+e.getFullYear()+" "+("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)+":"+("0"+e.getSeconds()).slice(-2)},os:function(){var e="Unknown";return window.navigator.userAgent.indexOf("Windows NT 10.0")!==-1&&(e="Windows 10"),window.navigator.userAgent.indexOf("Windows NT 6.2")!==-1&&(e="Windows 8"),window.navigator.userAgent.indexOf("Windows NT 6.1")!==-1&&(e="Windows 7"),window.navigator.userAgent.indexOf("Windows NT 6.0")!==-1&&(e="Windows Vista"),window.navigator.userAgent.indexOf("Windows NT 5.1")!==-1&&(e="Windows XP"),window.navigator.userAgent.indexOf("Windows NT 5.0")!==-1&&(e="Windows 2000"),window.navigator.userAgent.indexOf("Mac")!==-1&&(e="Mac/iOS"),window.navigator.userAgent.indexOf("X11")!==-1&&(e="UNIX"),window.navigator.userAgent.indexOf("Linux")!==-1&&(e="Linux"),e},toastInfo:function(e){$.toast({heading:"Information",text:e,hideAfter:5e3,icon:"info"})},toastSuccess:function(e){$.toast({heading:"Success",text:e,hideAfter:5e3,icon:"success"})},toastError:function(e){$.toast({heading:"Error",text:e,hideAfter:5e3,icon:"error"})},escape:function(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}};