pptxgenjs
Version:
JavaScript library that creates PowerPoint presentations
2 lines • 341 kB
JavaScript
/* PptxGenJS 2.3.0-20180912 */
!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(C,e){"use strict";var t=[],k=C.document,a=Object.getPrototypeOf,s=t.slice,m=t.concat,l=t.push,n=t.indexOf,r={},i=r.toString,g=r.hasOwnProperty,o=g.toString,c=o.call(Object),v={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},A=function(e){return null!=e&&e===e.window},p={type:!0,src:!0,noModule:!0};function b(e,t,r){var a,n=(t=t||k).createElement("script");if(n.text=e,r)for(a in p)r[a]&&(n[a]=r[a]);t.head.appendChild(n).parentNode.removeChild(n)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?r[i.call(e)]||"object":typeof e}var S=function(e,t){return new S.fn.init(e,t)},d=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function f(e){var t=!!e&&"length"in e&&e.length,r=x(e);return!y(e)&&!A(e)&&("array"===r||0===t||"number"==typeof t&&0<t&&t-1 in e)}S.fn=S.prototype={jquery:"3.3.1",constructor:S,length:0,toArray:function(){return s.call(this)},get:function(e){return null==e?s.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(r){return this.pushStack(S.map(this,function(e,t){return r.call(e,t,e)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,r=+e+(e<0?t:0);return this.pushStack(0<=r&&r<t?[this[r]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:t.sort,splice:t.splice},S.extend=S.fn.extend=function(){var e,t,r,a,n,i,o=arguments[0]||{},s=1,l=arguments.length,c=!1;for("boolean"==typeof o&&(c=o,o=arguments[s]||{},s++),"object"==typeof o||y(o)||(o={}),s===l&&(o=this,s--);s<l;s++)if(null!=(e=arguments[s]))for(t in e)r=o[t],o!==(a=e[t])&&(c&&a&&(S.isPlainObject(a)||(n=Array.isArray(a)))?(n?(n=!1,i=r&&Array.isArray(r)?r:[]):i=r&&S.isPlainObject(r)?r:{},o[t]=S.extend(c,i,a)):void 0!==a&&(o[t]=a));return o},S.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,r;return!(!e||"[object Object]"!==i.call(e)||(t=a(e))&&("function"!=typeof(r=g.call(t,"constructor")&&t.constructor)||o.call(r)!==c))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){b(e)},each:function(e,t){var r,a=0;if(f(e))for(r=e.length;a<r&&!1!==t.call(e[a],a,e[a]);a++);else for(a in e)if(!1===t.call(e[a],a,e[a]))break;return e},trim:function(e){return null==e?"":(e+"").replace(d,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(f(Object(e))?S.merge(r,"string"==typeof e?[e]:e):l.call(r,e)),r},inArray:function(e,t,r){return null==t?-1:n.call(t,e,r)},merge:function(e,t){for(var r=+t.length,a=0,n=e.length;a<r;a++)e[n++]=t[a];return e.length=n,e},grep:function(e,t,r){for(var a=[],n=0,i=e.length,o=!r;n<i;n++)!t(e[n],n)!==o&&a.push(e[n]);return a},map:function(e,t,r){var a,n,i=0,o=[];if(f(e))for(a=e.length;i<a;i++)null!=(n=t(e[i],i,r))&&o.push(n);else for(i in e)null!=(n=t(e[i],i,r))&&o.push(n);return m.apply([],o)},guid:1,support:v}),"function"==typeof Symbol&&(S.fn[Symbol.iterator]=t[Symbol.iterator]),S.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){r["[object "+t+"]"]=t.toLowerCase()});var u=function(r){var e,u,b,i,n,h,d,m,x,l,c,w,C,o,k,g,s,p,v,S="sizzle"+1*new Date,y=r.document,P=0,a=0,f=oe(),A=oe(),T=oe(),_=function(e,t){return e===t&&(c=!0),0},E={}.hasOwnProperty,t=[],L=t.pop,F=t.push,I=t.push,B=t.slice,N=function(e,t){for(var r=0,a=e.length;r<a;r++)if(e[r]===t)return r;return-1},D="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",R="[\\x20\\t\\r\\n\\f]",O="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",z="\\["+R+"*("+O+")(?:"+R+"*([*^$|!~]?=)"+R+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+O+"))|)"+R+"*\\]",j=":("+O+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+z+")*)|.*)\\)|)",M=new RegExp(R+"+","g"),U=new RegExp("^"+R+"+|((?:^|[^\\\\])(?:\\\\.)*)"+R+"+$","g"),W=new RegExp("^"+R+"*,"+R+"*"),H=new RegExp("^"+R+"*([>+~]|"+R+")"+R+"*"),G=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),q=new RegExp(j),Q=new RegExp("^"+O+"$"),V={ID:new RegExp("^#("+O+")"),CLASS:new RegExp("^\\.("+O+")"),TAG:new RegExp("^("+O+"|[*])"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+j),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+D+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,$=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),ee=function(e,t,r){var a="0x"+t-65536;return a!=a||r?t:a<0?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,1023&a|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,re=function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},ae=function(){w()},ne=ye(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{I.apply(t=B.call(y.childNodes),y.childNodes),t[y.childNodes.length].nodeType}catch(r){I={apply:t.length?function(e,t){F.apply(e,B.call(t))}:function(e,t){for(var r=e.length,a=0;e[r++]=t[a++];);e.length=r-1}}}function ie(e,t,r,a){var n,i,o,s,l,c,p,d=t&&t.ownerDocument,f=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==f&&9!==f&&11!==f)return r;if(!a&&((t?t.ownerDocument||t:y)!==C&&w(t),t=t||C,k)){if(11!==f&&(l=K.exec(e)))if(n=l[1]){if(9===f){if(!(o=t.getElementById(n)))return r;if(o.id===n)return r.push(o),r}else if(d&&(o=d.getElementById(n))&&v(t,o)&&o.id===n)return r.push(o),r}else{if(l[2])return I.apply(r,t.getElementsByTagName(e)),r;if((n=l[3])&&u.getElementsByClassName&&t.getElementsByClassName)return I.apply(r,t.getElementsByClassName(n)),r}if(u.qsa&&!T[e+" "]&&(!g||!g.test(e))){if(1!==f)d=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(te,re):t.setAttribute("id",s=S),i=(c=h(e)).length;i--;)c[i]="#"+s+" "+ve(c[i]);p=c.join(","),d=J.test(e)&&me(t.parentNode)||t}if(p)try{return I.apply(r,d.querySelectorAll(p)),r}catch(e){}finally{s===S&&t.removeAttribute("id")}}}return m(e.replace(U,"$1"),t,r,a)}function oe(){var a=[];return function e(t,r){return a.push(t+" ")>b.cacheLength&&delete e[a.shift()],e[t+" "]=r}}function se(e){return e[S]=!0,e}function le(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ce(e,t){for(var r=e.split("|"),a=r.length;a--;)b.attrHandle[r[a]]=t}function pe(e,t){var r=t&&e,a=r&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(a)return a;if(r)for(;r=r.nextSibling;)if(r===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function fe(r){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===r}}function ue(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ne(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function he(o){return se(function(i){return i=+i,se(function(e,t){for(var r,a=o([],e.length,i),n=a.length;n--;)e[r=a[n]]&&(e[r]=!(t[r]=e[r]))})})}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(e in u=ie.support={},n=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},w=ie.setDocument=function(e){var t,r,a=e?e.ownerDocument||e:y;return a!==C&&9===a.nodeType&&a.documentElement&&(o=(C=a).documentElement,k=!n(C),y!==C&&(r=C.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",ae,!1):r.attachEvent&&r.attachEvent("onunload",ae)),u.attributes=le(function(e){return e.className="i",!e.getAttribute("className")}),u.getElementsByTagName=le(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),u.getElementsByClassName=X.test(C.getElementsByClassName),u.getById=le(function(e){return o.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),u.getById?(b.filter.ID=function(e){var t=e.replace($,ee);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&k){var r=t.getElementById(e);return r?[r]:[]}}):(b.filter.ID=function(e){var r=e.replace($,ee);return function(e){var t=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===r}},b.find.ID=function(e,t){if(void 0!==t.getElementById&&k){var r,a,n,i=t.getElementById(e);if(i){if((r=i.getAttributeNode("id"))&&r.value===e)return[i];for(n=t.getElementsByName(e),a=0;i=n[a++];)if((r=i.getAttributeNode("id"))&&r.value===e)return[i]}return[]}}),b.find.TAG=u.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):u.qsa?t.querySelectorAll(e):void 0}:function(e,t){var r,a=[],n=0,i=t.getElementsByTagName(e);if("*"===e){for(;r=i[n++];)1===r.nodeType&&a.push(r);return a}return i},b.find.CLASS=u.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&k)return t.getElementsByClassName(e)},s=[],g=[],(u.qsa=X.test(C.querySelectorAll))&&(le(function(e){o.appendChild(e).innerHTML="<a id='"+S+"'></a><select id='"+S+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&g.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||g.push("\\["+R+"*(?:value|"+D+")"),e.querySelectorAll("[id~="+S+"-]").length||g.push("~="),e.querySelectorAll(":checked").length||g.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||g.push(".#.+[+~]")}),le(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&g.push("name"+R+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&g.push(":enabled",":disabled"),o.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&g.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),g.push(",.*:")})),(u.matchesSelector=X.test(p=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&le(function(e){u.disconnectedMatch=p.call(e,"*"),p.call(e,"[s!='']:x"),s.push("!=",j)}),g=g.length&&new RegExp(g.join("|")),s=s.length&&new RegExp(s.join("|")),t=X.test(o.compareDocumentPosition),v=t||X.test(o.contains)?function(e,t){var r=9===e.nodeType?e.documentElement:e,a=t&&t.parentNode;return e===a||!(!a||1!==a.nodeType||!(r.contains?r.contains(a):e.compareDocumentPosition&&16&e.compareDocumentPosition(a)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},_=t?function(e,t){if(e===t)return c=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!u.sortDetached&&t.compareDocumentPosition(e)===r?e===C||e.ownerDocument===y&&v(y,e)?-1:t===C||t.ownerDocument===y&&v(y,t)?1:l?N(l,e)-N(l,t):0:4&r?-1:1)}:function(e,t){if(e===t)return c=!0,0;var r,a=0,n=e.parentNode,i=t.parentNode,o=[e],s=[t];if(!n||!i)return e===C?-1:t===C?1:n?-1:i?1:l?N(l,e)-N(l,t):0;if(n===i)return pe(e,t);for(r=e;r=r.parentNode;)o.unshift(r);for(r=t;r=r.parentNode;)s.unshift(r);for(;o[a]===s[a];)a++;return a?pe(o[a],s[a]):o[a]===y?-1:s[a]===y?1:0}),C},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&w(e),t=t.replace(G,"='$1']"),u.matchesSelector&&k&&!T[t+" "]&&(!s||!s.test(t))&&(!g||!g.test(t)))try{var r=p.call(e,t);if(r||u.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return 0<ie(t,C,null,[e]).length},ie.contains=function(e,t){return(e.ownerDocument||e)!==C&&w(e),v(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==C&&w(e);var r=b.attrHandle[t.toLowerCase()],a=r&&E.call(b.attrHandle,t.toLowerCase())?r(e,t,!k):void 0;return void 0!==a?a:u.attributes||!k?e.getAttribute(t):(a=e.getAttributeNode(t))&&a.specified?a.value:null},ie.escape=function(e){return(e+"").replace(te,re)},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],a=0,n=0;if(c=!u.detectDuplicates,l=!u.sortStable&&e.slice(0),e.sort(_),c){for(;t=e[n++];)t===e[n]&&(a=r.push(n));for(;a--;)e.splice(r[a],1)}return l=null,e},i=ie.getText=function(e){var t,r="",a=0,n=e.nodeType;if(n){if(1===n||9===n||11===n){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)r+=i(e)}else if(3===n||4===n)return e.nodeValue}else for(;t=e[a++];)r+=i(t);return r},(b=ie.selectors={cacheLength:50,createPseudo:se,match:V,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($,ee),e[3]=(e[3]||e[4]||e[5]||"").replace($,ee),"~="===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]||ie.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]&&ie.error(e[0]),e},PSEUDO:function(e){var t,r=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":r&&q.test(r)&&(t=h(r,!0))&&(t=r.indexOf(")",r.length-t)-r.length)&&(e[0]=e[0].slice(0,t),e[2]=r.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace($,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=f[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&f(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(r,a,n){return function(e){var t=ie.attr(e,r);return null==t?"!="===a:!a||(t+="","="===a?t===n:"!="===a?t!==n:"^="===a?n&&0===t.indexOf(n):"*="===a?n&&-1<t.indexOf(n):"$="===a?n&&t.slice(-n.length)===n:"~="===a?-1<(" "+t.replace(M," ")+" ").indexOf(n):"|="===a&&(t===n||t.slice(0,n.length+1)===n+"-"))}},CHILD:function(h,e,t,m,g){var v="nth"!==h.slice(0,3),y="last"!==h.slice(-4),A="of-type"===e;return 1===m&&0===g?function(e){return!!e.parentNode}:function(e,t,r){var a,n,i,o,s,l,c=v!==y?"nextSibling":"previousSibling",p=e.parentNode,d=A&&e.nodeName.toLowerCase(),f=!r&&!A,u=!1;if(p){if(v){for(;c;){for(o=e;o=o[c];)if(A?o.nodeName.toLowerCase()===d:1===o.nodeType)return!1;l=c="only"===h&&!l&&"nextSibling"}return!0}if(l=[y?p.firstChild:p.lastChild],y&&f){for(u=(s=(a=(n=(i=(o=p)[S]||(o[S]={}))[o.uniqueID]||(i[o.uniqueID]={}))[h]||[])[0]===P&&a[1])&&a[2],o=s&&p.childNodes[s];o=++s&&o&&o[c]||(u=s=0)||l.pop();)if(1===o.nodeType&&++u&&o===e){n[h]=[P,s,u];break}}else if(f&&(u=s=(a=(n=(i=(o=e)[S]||(o[S]={}))[o.uniqueID]||(i[o.uniqueID]={}))[h]||[])[0]===P&&a[1]),!1===u)for(;(o=++s&&o&&o[c]||(u=s=0)||l.pop())&&((A?o.nodeName.toLowerCase()!==d:1!==o.nodeType)||!++u||(f&&((n=(i=o[S]||(o[S]={}))[o.uniqueID]||(i[o.uniqueID]={}))[h]=[P,u]),o!==e)););return(u-=g)===m||u%m==0&&0<=u/m}}},PSEUDO:function(e,i){var t,o=b.pseudos[e]||b.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return o[S]?o(i):1<o.length?(t=[e,e,"",i],b.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,t){for(var r,a=o(e,i),n=a.length;n--;)e[r=N(e,a[n])]=!(t[r]=a[n])}):function(e){return o(e,0,t)}):o}},pseudos:{not:se(function(e){var a=[],n=[],s=d(e.replace(U,"$1"));return s[S]?se(function(e,t,r,a){for(var n,i=s(e,null,a,[]),o=e.length;o--;)(n=i[o])&&(e[o]=!(t[o]=n))}):function(e,t,r){return a[0]=e,s(a,null,r,n),a[0]=null,!n.pop()}}),has:se(function(t){return function(e){return 0<ie(t,e).length}}),contains:se(function(t){return t=t.replace($,ee),function(e){return-1<(e.textContent||e.innerText||i(e)).indexOf(t)}}),lang:se(function(r){return Q.test(r||"")||ie.error("unsupported lang: "+r),r=r.replace($,ee).toLowerCase(),function(e){var t;do{if(t=k?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===r||0===t.indexOf(r+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=r.location&&r.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===o},focus:function(e){return e===C.activeElement&&(!C.hasFocus||C.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ue(!1),disabled:ue(!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!b.pseudos.empty(e)},header:function(e){return Z.test(e.nodeName)},input:function(e){return Y.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:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,r){return[r<0?r+t:r]}),even:he(function(e,t){for(var r=0;r<t;r+=2)e.push(r);return e}),odd:he(function(e,t){for(var r=1;r<t;r+=2)e.push(r);return e}),lt:he(function(e,t,r){for(var a=r<0?r+t:r;0<=--a;)e.push(a);return e}),gt:he(function(e,t,r){for(var a=r<0?r+t:r;++a<t;)e.push(a);return e})}}).pseudos.nth=b.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})b.pseudos[e]=de(e);for(e in{submit:!0,reset:!0})b.pseudos[e]=fe(e);function ge(){}function ve(e){for(var t=0,r=e.length,a="";t<r;t++)a+=e[t].value;return a}function ye(s,e,t){var l=e.dir,c=e.next,p=c||l,d=t&&"parentNode"===p,f=a++;return e.first?function(e,t,r){for(;e=e[l];)if(1===e.nodeType||d)return s(e,t,r);return!1}:function(e,t,r){var a,n,i,o=[P,f];if(r){for(;e=e[l];)if((1===e.nodeType||d)&&s(e,t,r))return!0}else for(;e=e[l];)if(1===e.nodeType||d)if(n=(i=e[S]||(e[S]={}))[e.uniqueID]||(i[e.uniqueID]={}),c&&c===e.nodeName.toLowerCase())e=e[l]||e;else{if((a=n[p])&&a[0]===P&&a[1]===f)return o[2]=a[2];if((n[p]=o)[2]=s(e,t,r))return!0}return!1}}function Ae(n){return 1<n.length?function(e,t,r){for(var a=n.length;a--;)if(!n[a](e,t,r))return!1;return!0}:n[0]}function be(e,t,r,a,n){for(var i,o=[],s=0,l=e.length,c=null!=t;s<l;s++)(i=e[s])&&(r&&!r(i,a,n)||(o.push(i),c&&t.push(s)));return o}function xe(u,h,m,g,v,e){return g&&!g[S]&&(g=xe(g)),v&&!v[S]&&(v=xe(v,e)),se(function(e,t,r,a){var n,i,o,s=[],l=[],c=t.length,p=e||function(e,t,r){for(var a=0,n=t.length;a<n;a++)ie(e,t[a],r);return r}(h||"*",r.nodeType?[r]:r,[]),d=!u||!e&&h?p:be(p,s,u,r,a),f=m?v||(e?u:c||g)?[]:t:d;if(m&&m(d,f,r,a),g)for(n=be(f,l),g(n,[],r,a),i=n.length;i--;)(o=n[i])&&(f[l[i]]=!(d[l[i]]=o));if(e){if(v||u){if(v){for(n=[],i=f.length;i--;)(o=f[i])&&n.push(d[i]=o);v(null,f=[],n,a)}for(i=f.length;i--;)(o=f[i])&&-1<(n=v?N(e,o):s[i])&&(e[n]=!(t[n]=o))}}else f=be(f===t?f.splice(c,f.length):f),v?v(null,t,f,a):I.apply(t,f)})}function we(e){for(var n,t,r,a=e.length,i=b.relative[e[0].type],o=i||b.relative[" "],s=i?1:0,l=ye(function(e){return e===n},o,!0),c=ye(function(e){return-1<N(n,e)},o,!0),p=[function(e,t,r){var a=!i&&(r||t!==x)||((n=t).nodeType?l(e,t,r):c(e,t,r));return n=null,a}];s<a;s++)if(t=b.relative[e[s].type])p=[ye(Ae(p),t)];else{if((t=b.filter[e[s].type].apply(null,e[s].matches))[S]){for(r=++s;r<a&&!b.relative[e[r].type];r++);return xe(1<s&&Ae(p),1<s&&ve(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(U,"$1"),t,s<r&&we(e.slice(s,r)),r<a&&we(e=e.slice(r)),r<a&&ve(e))}p.push(t)}return Ae(p)}return ge.prototype=b.filters=b.pseudos,b.setFilters=new ge,h=ie.tokenize=function(e,t){var r,a,n,i,o,s,l,c=A[e+" "];if(c)return t?0:c.slice(0);for(o=e,s=[],l=b.preFilter;o;){for(i in r&&!(a=W.exec(o))||(a&&(o=o.slice(a[0].length)||o),s.push(n=[])),r=!1,(a=H.exec(o))&&(r=a.shift(),n.push({value:r,type:a[0].replace(U," ")}),o=o.slice(r.length)),b.filter)!(a=V[i].exec(o))||l[i]&&!(a=l[i](a))||(r=a.shift(),n.push({value:r,type:i,matches:a}),o=o.slice(r.length));if(!r)break}return t?o.length:o?ie.error(e):A(e,s).slice(0)},d=ie.compile=function(e,t){var r,g,v,y,A,a,n=[],i=[],o=T[e+" "];if(!o){for(t||(t=h(e)),r=t.length;r--;)(o=we(t[r]))[S]?n.push(o):i.push(o);(o=T(e,(g=i,v=n,y=0<v.length,A=0<g.length,a=function(e,t,r,a,n){var i,o,s,l=0,c="0",p=e&&[],d=[],f=x,u=e||A&&b.find.TAG("*",n),h=P+=null==f?1:Math.random()||.1,m=u.length;for(n&&(x=t===C||t||n);c!==m&&null!=(i=u[c]);c++){if(A&&i){for(o=0,t||i.ownerDocument===C||(w(i),r=!k);s=g[o++];)if(s(i,t||C,r)){a.push(i);break}n&&(P=h)}y&&((i=!s&&i)&&l--,e&&p.push(i))}if(l+=c,y&&c!==l){for(o=0;s=v[o++];)s(p,d,t,r);if(e){if(0<l)for(;c--;)p[c]||d[c]||(d[c]=L.call(a));d=be(d)}I.apply(a,d),n&&!e&&0<d.length&&1<l+v.length&&ie.uniqueSort(a)}return n&&(P=h,x=f),p},y?se(a):a))).selector=e}return o},m=ie.select=function(e,t,r,a){var n,i,o,s,l,c="function"==typeof e&&e,p=!a&&h(e=c.selector||e);if(r=r||[],1===p.length){if(2<(i=p[0]=p[0].slice(0)).length&&"ID"===(o=i[0]).type&&9===t.nodeType&&k&&b.relative[i[1].type]){if(!(t=(b.find.ID(o.matches[0].replace($,ee),t)||[])[0]))return r;c&&(t=t.parentNode),e=e.slice(i.shift().value.length)}for(n=V.needsContext.test(e)?0:i.length;n--&&(o=i[n],!b.relative[s=o.type]);)if((l=b.find[s])&&(a=l(o.matches[0].replace($,ee),J.test(i[0].type)&&me(t.parentNode)||t))){if(i.splice(n,1),!(e=a.length&&ve(i)))return I.apply(r,a),r;break}}return(c||d(e,p))(a,t,!k,r,!t||J.test(e)&&me(t.parentNode)||t),r},u.sortStable=S.split("").sort(_).join("")===S,u.detectDuplicates=!!c,w(),u.sortDetached=le(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),le(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||ce("type|href|height|width",function(e,t,r){if(!r)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),u.attributes&&le(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ce("value",function(e,t,r){if(!r&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),le(function(e){return null==e.getAttribute("disabled")})||ce(D,function(e,t,r){var a;if(!r)return!0===e[t]?t.toLowerCase():(a=e.getAttributeNode(t))&&a.specified?a.value:null}),ie}(C);S.find=u,S.expr=u.selectors,S.expr[":"]=S.expr.pseudos,S.uniqueSort=S.unique=u.uniqueSort,S.text=u.getText,S.isXMLDoc=u.isXML,S.contains=u.contains,S.escapeSelector=u.escape;var h=function(e,t,r){for(var a=[],n=void 0!==r;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(n&&S(e).is(r))break;a.push(e)}return a},w=function(e,t){for(var r=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&r.push(e);return r},P=S.expr.match.needsContext;function T(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var _=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function E(e,r,a){return y(r)?S.grep(e,function(e,t){return!!r.call(e,t,e)!==a}):r.nodeType?S.grep(e,function(e){return e===r!==a}):"string"!=typeof r?S.grep(e,function(e){return-1<n.call(r,e)!==a}):S.filter(r,e,a)}S.filter=function(e,t,r){var a=t[0];return r&&(e=":not("+e+")"),1===t.length&&1===a.nodeType?S.find.matchesSelector(a,e)?[a]:[]:S.find.matches(e,S.grep(t,function(e){return 1===e.nodeType}))},S.fn.extend({find:function(e){var t,r,a=this.length,n=this;if("string"!=typeof e)return this.pushStack(S(e).filter(function(){for(t=0;t<a;t++)if(S.contains(n[t],this))return!0}));for(r=this.pushStack([]),t=0;t<a;t++)S.find(e,n[t],r);return 1<a?S.uniqueSort(r):r},filter:function(e){return this.pushStack(E(this,e||[],!1))},not:function(e){return this.pushStack(E(this,e||[],!0))},is:function(e){return!!E(this,"string"==typeof e&&P.test(e)?S(e):e||[],!1).length}});var L,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,r){var a,n;if(!e)return this;if(r=r||L,"string"==typeof e){if(!(a="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:F.exec(e))||!a[1]&&t)return!t||t.jquery?(t||r).find(e):this.constructor(t).find(e);if(a[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(a[1],t&&t.nodeType?t.ownerDocument||t:k,!0)),_.test(a[1])&&S.isPlainObject(t))for(a in t)y(this[a])?this[a](t[a]):this.attr(a,t[a]);return this}return(n=k.getElementById(a[2]))&&(this[0]=n,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==r.ready?r.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,L=S(k);var I=/^(?:parents|prev(?:Until|All))/,B={children:!0,contents:!0,next:!0,prev:!0};function N(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),r=t.length;return this.filter(function(){for(var e=0;e<r;e++)if(S.contains(this,t[e]))return!0})},closest:function(e,t){var r,a=0,n=this.length,i=[],o="string"!=typeof e&&S(e);if(!P.test(e))for(;a<n;a++)for(r=this[a];r&&r!==t;r=r.parentNode)if(r.nodeType<11&&(o?-1<o.index(r):1===r.nodeType&&S.find.matchesSelector(r,e))){i.push(r);break}return this.pushStack(1<i.length?S.uniqueSort(i):i)},index:function(e){return e?"string"==typeof e?n.call(S(e),this[0]):n.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return h(e,"parentNode")},parentsUntil:function(e,t,r){return h(e,"parentNode",r)},next:function(e){return N(e,"nextSibling")},prev:function(e){return N(e,"previousSibling")},nextAll:function(e){return h(e,"nextSibling")},prevAll:function(e){return h(e,"previousSibling")},nextUntil:function(e,t,r){return h(e,"nextSibling",r)},prevUntil:function(e,t,r){return h(e,"previousSibling",r)},siblings:function(e){return w((e.parentNode||{}).firstChild,e)},children:function(e){return w(e.firstChild)},contents:function(e){return T(e,"iframe")?e.contentDocument:(T(e,"template")&&(e=e.content||e),S.merge([],e.childNodes))}},function(a,n){S.fn[a]=function(e,t){var r=S.map(this,n,e);return"Until"!==a.slice(-5)&&(t=e),t&&"string"==typeof t&&(r=S.filter(t,r)),1<this.length&&(B[a]||S.uniqueSort(r),I.test(a)&&r.reverse()),this.pushStack(r)}});var D=/[^\x20\t\r\n\f]+/g;function R(e){return e}function O(e){throw e}function z(e,t,r,a){var n;try{e&&y(n=e.promise)?n.call(e).done(t).fail(r):e&&y(n=e.then)?n.call(e,t,r):t.apply(void 0,[e].slice(a))}catch(e){r.apply(void 0,[e])}}S.Callbacks=function(a){var e,r;a="string"==typeof a?(e=a,r={},S.each(e.match(D)||[],function(e,t){r[t]=!0}),r):S.extend({},a);var n,t,i,o,s=[],l=[],c=-1,p=function(){for(o=o||a.once,i=n=!0;l.length;c=-1)for(t=l.shift();++c<s.length;)!1===s[c].apply(t[0],t[1])&&a.stopOnFalse&&(c=s.length,t=!1);a.memory||(t=!1),n=!1,o&&(s=t?[]:"")},d={add:function(){return s&&(t&&!n&&(c=s.length-1,l.push(t)),function r(e){S.each(e,function(e,t){y(t)?a.unique&&d.has(t)||s.push(t):t&&t.length&&"string"!==x(t)&&r(t)})}(arguments),t&&!n&&p()),this},remove:function(){return S.each(arguments,function(e,t){for(var r;-1<(r=S.inArray(t,s,r));)s.splice(r,1),r<=c&&c--}),this},has:function(e){return e?-1<S.inArray(e,s):0<s.length},empty:function(){return s&&(s=[]),this},disable:function(){return o=l=[],s=t="",this},disabled:function(){return!s},lock:function(){return o=l=[],t||n||(s=t=""),this},locked:function(){return!!o},fireWith:function(e,t){return o||(t=[e,(t=t||[]).slice?t.slice():t],l.push(t),n||p()),this},fire:function(){return d.fireWith(this,arguments),this},fired:function(){return!!i}};return d},S.extend({Deferred:function(e){var i=[["notify","progress",S.Callbacks("memory"),S.Callbacks("memory"),2],["resolve","done",S.Callbacks("once memory"),S.Callbacks("once memory"),0,"resolved"],["reject","fail",S.Callbacks("once memory"),S.Callbacks("once memory"),1,"rejected"]],n="pending",o={state:function(){return n},always:function(){return s.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var n=arguments;return S.Deferred(function(a){S.each(i,function(e,t){var r=y(n[t[4]])&&n[t[4]];s[t[1]](function(){var e=r&&r.apply(this,arguments);e&&y(e.promise)?e.promise().progress(a.notify).done(a.resolve).fail(a.reject):a[t[0]+"With"](this,r?[e]:arguments)})}),n=null}).promise()},then:function(t,r,a){var l=0;function c(n,i,o,s){return function(){var r=this,a=arguments,e=function(){var e,t;if(!(n<l)){if((e=o.apply(r,a))===i.promise())throw new TypeError("Thenable self-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,y(t)?s?t.call(e,c(l,i,R,s),c(l,i,O,s)):(l++,t.call(e,c(l,i,R,s),c(l,i,O,s),c(l,i,R,i.notifyWith))):(o!==R&&(r=void 0,a=[e]),(s||i.resolveWith)(r,a))}},t=s?e:function(){try{e()}catch(e){S.Deferred.exceptionHook&&S.Deferred.exceptionHook(e,t.stackTrace),l<=n+1&&(o!==O&&(r=void 0,a=[e]),i.rejectWith(r,a))}};n?t():(S.Deferred.getStackHook&&(t.stackTrace=S.Deferred.getStackHook()),C.setTimeout(t))}}return S.Deferred(function(e){i[0][3].add(c(0,e,y(a)?a:R,e.notifyWith)),i[1][3].add(c(0,e,y(t)?t:R)),i[2][3].add(c(0,e,y(r)?r:O))}).promise()},promise:function(e){return null!=e?S.extend(e,o):o}},s={};return S.each(i,function(e,t){var r=t[2],a=t[5];o[t[1]]=r.add,a&&r.add(function(){n=a},i[3-e][2].disable,i[3-e][3].disable,i[0][2].lock,i[0][3].lock),r.add(t[3].fire),s[t[0]]=function(){return s[t[0]+"With"](this===s?void 0:this,arguments),this},s[t[0]+"With"]=r.fireWith}),o.promise(s),e&&e.call(s,s),s},when:function(e){var r=arguments.length,t=r,a=Array(t),n=s.call(arguments),i=S.Deferred(),o=function(t){return function(e){a[t]=this,n[t]=1<arguments.length?s.call(arguments):e,--r||i.resolveWith(a,n)}};if(r<=1&&(z(e,i.done(o(t)).resolve,i.reject,!r),"pending"===i.state()||y(n[t]&&n[t].then)))return i.then();for(;t--;)z(n[t],o(t),i.reject);return i.promise()}});var j=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(e,t){C.console&&C.console.warn&&e&&j.test(e.name)&&C.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},S.readyException=function(e){C.setTimeout(function(){throw e})};var M=S.Deferred();function U(){k.removeEventListener("DOMContentLoaded",U),C.removeEventListener("load",U),S.ready()}S.fn.ready=function(e){return M.then(e).catch(function(e){S.readyException(e)}),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||((S.isReady=!0)!==e&&0<--S.readyWait||M.resolveWith(k,[S]))}}),S.ready.then=M.then,"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?C.setTimeout(S.ready):(k.addEventListener("DOMContentLoaded",U),C.addEventListener("load",U));var W=function(e,t,r,a,n,i,o){var s=0,l=e.length,c=null==r;if("object"===x(r))for(s in n=!0,r)W(e,t,s,r[s],!0,i,o);else if(void 0!==a&&(n=!0,y(a)||(o=!0),c&&(o?(t.call(e,a),t=null):(c=t,t=function(e,t,r){return c.call(S(e),r)})),t))for(;s<l;s++)t(e[s],r,o?a:a.call(e[s],s,t(e[s],r)));return n?e:c?t.call(e):l?t(e[0],r):i},H=/^-ms-/,G=/-([a-z])/g;function q(e,t){return t.toUpperCase()}function Q(e){return e.replace(H,"ms-").replace(G,q)}var V=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Y(){this.expando=S.expando+Y.uid++}Y.uid=1,Y.prototype={cache:function(e){var t=e[this.expando];return t||(t={},V(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,r){var a,n=this.cache(e);if("string"==typeof t)n[Q(t)]=r;else for(a in t)n[Q(a)]=t[a];return n},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][Q(t)]},access:function(e,t,r){return void 0===t||t&&"string"==typeof t&&void 0===r?this.get(e,t):(this.set(e,t,r),void 0!==r?r:t)},remove:function(e,t){var r,a=e[this.expando];if(void 0!==a){if(void 0!==t){r=(t=Array.isArray(t)?t.map(Q):(t=Q(t))in a?[t]:t.match(D)||[]).length;for(;r--;)delete a[t[r]]}(void 0===t||S.isEmptyObject(a))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!S.isEmptyObject(t)}};var Z=new Y,X=new Y,K=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function $(e,t,r){var a,n;if(void 0===r&&1===e.nodeType)if(a="data-"+t.replace(J,"-$&").toLowerCase(),"string"==typeof(r=e.getAttribute(a))){try{r="true"===(n=r)||"false"!==n&&("null"===n?null:n===+n+""?+n:K.test(n)?JSON.parse(n):n)}catch(e){}X.set(e,t,r)}else r=void 0;return r}S.extend({hasData:function(e){return X.hasData(e)||Z.hasData(e)},data:function(e,t,r){return X.access(e,t,r)},removeData:function(e,t){X.remove(e,t)},_data:function(e,t,r){return Z.access(e,t,r)},_removeData:function(e,t){Z.remove(e,t)}}),S.fn.extend({data:function(r,e){var t,a,n,i=this[0],o=i&&i.attributes;if(void 0===r){if(this.length&&(n=X.get(i),1===i.nodeType&&!Z.get(i,"hasDataAttrs"))){for(t=o.length;t--;)o[t]&&0===(a=o[t].name).indexOf("data-")&&(a=Q(a.slice(5)),$(i,a,n[a]));Z.set(i,"hasDataAttrs",!0)}return n}return"object"==typeof r?this.each(function(){X.set(this,r)}):W(this,function(e){var t;if(i&&void 0===e){if(void 0!==(t=X.get(i,r)))return t;if(void 0!==(t=$(i,r)))return t}else this.each(function(){X.set(this,r,e)})},null,e,1<arguments.length,null,!0)},removeData:function(e){return this.each(function(){X.remove(this,e)})}}),S.extend({queue:function(e,t,r){var a;if(e)return t=(t||"fx")+"queue",a=Z.get(e,t),r&&(!a||Array.isArray(r)?a=Z.access(e,t,S.makeArray(r)):a.push(r)),a||[]},dequeue:function(e,t){t=t||"fx";var r=S.queue(e,t),a=r.length,n=r.shift(),i=S._queueHooks(e,t);"inprogress"===n&&(n=r.shift(),a--),n&&("fx"===t&&r.unshift("inprogress"),delete i.stop,n.call(e,function(){S.dequeue(e,t)},i)),!a&&i&&i.empty.fire()},_queueHooks:function(e,t){var r=t+"queueHooks";return Z.get(e,r)||Z.access(e,r,{empty:S.Callbacks("once memory").add(function(){Z.remove(e,[t+"queue",r])})})}}),S.fn.extend({queue:function(t,r){var e=2;return"string"!=typeof t&&(r=t,t="fx",e--),arguments.length<e?S.queue(this[0],t):void 0===r?this:this.each(function(){var e=S.queue(this,t,r);S._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&S.dequeue(this,t)})},dequeue:function(e){return this.each(function(){S.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var r,a=1,n=S.Deferred(),i=this,o=this.length,s=function(){--a||n.resolveWith(i,[i])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";o--;)(r=Z.get(i[o],e+"queueHooks"))&&r.empty&&(a++,r.empty.add(s));return s(),n.promise(t)}});var ee=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,te=new RegExp("^(?:([+-])=|)("+ee+")([a-z%]*)$","i"),re=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&S.contains(e.ownerDocument,e)&&"none"===S.css(e,"display")},ne=function(e,t,r,a){var n,i,o={};for(i in t)o[i]=e.style[i],e.style[i]=t[i];for(i in n=r.apply(e,a||[]),t)e.style[i]=o[i];return n};function ie(e,t,r,a){var n,i,o=20,s=a?function(){return a.cur()}:function(){return S.css(e,t,"")},l=s(),c=r&&r[3]||(S.cssNumber[t]?"":"px"),p=(S.cssNumber[t]||"px"!==c&&+l)&&te.exec(S.css(e,t));if(p&&p[3]!==c){for(l/=2,c=c||p[3],p=+l||1;o--;)S.style(e,t,p+c),(1-i)*(1-(i=s()/l||.5))<=0&&(o=0),p/=i;p*=2,S.style(e,t,p+c),r=r||[]}return r&&(p=+p||+l||0,n=r[1]?p+(r[1]+1)*r[2]:+r[2],a&&(a.unit=c,a.start=p,a.end=n)),n}var oe={};function se(e,t){for(var r,a,n=[],i=0,o=e.length;i<o;i++)(a=e[i]).style&&(r=a.style.display,t?("none"===r&&(n[i]=Z.get(a,"display")||null,n[i]||(a.style.display="")),""===a.style.display&&ae(a)&&(n[i]=(d=c=l=void 0,c=(s=a).ownerDocument,p=s.nodeName,(d=oe[p])||(l=c.body.appendChild(c.createElement(p)),d=S.css(l,"display"),l.parentNode.removeChild(l),"none"===d&&(d="block"),oe[p]=d)))):"none"!==r&&(n[i]="none",Z.set(a,"display",r)));var s,l,c,p,d;for(i=0;i<o;i++)null!=n[i]&&(e[i].style.display=n[i]);return e}S.fn.extend({show:function(){return se(this,!0)},hide:function(){return se(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?S(this).show():S(this).hide()})}});var le=/^(?:checkbox|radio)$/i,ce=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,pe=/^$|^module$|\/(?:java|ecma)script/i,de={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,"",""]};function fe(e,t){var r;return r=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&T(e,t)?S.merge([e],r):r}function ue(e,t){for(var r=0,a=e.length;r<a;r++)Z.set(e[r],"globalEval",!t||Z.get(t[r],"globalEval"))}de.optgroup=de.option,de.tbody=de.tfoot=de.colgroup=de.caption=de.thead,de.th=de.td;var he,me,ge=/<|&#?\w+;/;function ve(e,t,r,a,n){for(var i,o,s,l,c,p,d=t.createDocumentFragment(),f=[],u=0,h=e.length;u<h;u++)if((i=e[u])||0===i)if("object"===x(i))S.merge(f,i.nodeType?[i]:i);else if(ge.test(i)){for(o=o||d.appendChild(t.createElement("div")),s=(ce.exec(i)||["",""])[1].toLowerCase(),l=de[s]||de._default,o.innerHTML=l[1]+S.htmlPrefilter(i)+l[2],p=l[0];p--;)o=o.lastChild;S.merge(f,o.childNodes),(o=d.firstChild).textContent=""}else f.push(t.createTextNode(i));for(d.textContent="",u=0;i=f[u++];)if(a&&-1<S.inArray(i,a))n&&n.push(i);else if(c=S.contains(i.ownerDocument,i),o=fe(d.appendChild(i),"script"),c&&ue(o),r)for(p=0;i=o[p++];)pe.test(i.type||"")&&r.push(i);return d}he=k.createDocumentFragment().appendChild(k.createElement("div")),(me=k.createElement("input")).setAttribute("type","radio"),me.setAttribute("checked","checked"),me.setAttribute("name","t"),he.appendChild(me),v.checkClone=he.cloneNode(!0).cloneNode(!0).lastChild.checked,he.innerHTML="<textarea>x</textarea>",v.noCloneChecked=!!he.cloneNode(!0).lastChild.defaultValue;var ye=k.documentElement,Ae=/^key/,be=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,xe=/^([^.]*)(?:\.(.+)|)/;function we(){return!0}function Ce(){return!1}function ke(){try{return k.activeElement}catch(e){}}function Se(e,t,r,a,n,i){var o,s;if("object"==typeof t){for(s in"string"!=typeof r&&(a=a||r,r=void 0),t)Se(e,s,r,a,t[s],i);return e}if(null==a&&null==n?(n=r,a=r=void 0):null==n&&("string"==typeof r?(n=a,a=void 0):(n=a,a=r,r=void 0)),!1===n)n=Ce;else if(!n)return e;return 1===i&&(o=n,(n=function(e){return S().off(e),o.apply(this,arguments)}).guid=o.guid||(o.guid=S.guid++)),e.each(function(){S.event.add(this,t,n,a,r)})}S.event={global:{},add:function(t,e,r,a,n){var i,o,s,l,c,p,d,f,u,h,m,g=Z.get(t);if(g)for(r.handler&&(r=(i=r).handler,n=i.selector),n&&S.find.matchesSelector(ye,n),r.guid||(r.guid=S.guid++),(l=g.events)||(l=g.events={}),(o=g.handle)||(o=g.handle=function(e){return void 0!==S&&S.event.triggered!==e.type?S.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(D)||[""]).length;c--;)u=m=(s=xe.exec(e[c])||[])[1],h=(s[2]||"").split(".").sort(),u&&(d=S.event.special[u]||{},u=(n?d.delegateType:d.bindType)||u,d=S.event.special[u]||{},p=S.extend({type:u,origType:m,data:a,handler:r,guid:r.guid,selector:n,needsContext:n&&S.expr.match.needsContext.test(n),namespace:h.join(".")},i),(f=l[u])||((f=l[u]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,a,h,o)||t.addEventListener&&t.addEventListener(u,o)),d.add&&(d.add.call(t,p),p.handler.guid||(p.handler.guid=r.guid)),n?f.splice(f.delegateCount++,0,p):f.push(p),S.event.global[u]=!0)},remove:function(e,t,r,a,n){var i,o,s,l,c,p,d,f,u,h,m,g=Z.hasData(e)&&Z.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(D)||[""]).length;c--;)if(u=m=(s=xe.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),u){for(d=S.event.special[u]||{},f=l[u=(a?d.delegateType:d.bindType)||u]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),o=i=f.length;i--;)p=f[i],!n&&m!==p.origType||r&&r.guid!==p.guid||s&&!s.test(p.namespace)||a&&a!==p.selector&&("**"!==a||!p.selector)||(f.splice(i,1),p.selector&&f.delegateCount--,d.remove&&d.remove.call(e,p));o&&!f.length&&(d.teardown&&!1!==d.teardown.call(e,h,g.handle)||S.removeEvent(e,u,g.handle),delete l[u])}else for(u in l)S.event.remove(e,u+t[c],r,a,!0);S.isEmptyObject(l)&&Z.remove(e,"handle events")}},dispatch:function(e){var t,r,a,n,i,o,s=S.event.fix(e),l=new Array(arguments.length),c=(Z.get(this,"events")||{})[s.type]||[],p=S.event.special[s.type]||{};for(l[0]=s,t=1;t<arguments.length;t++)l[t]=arguments[t];if(s.delegateTarget=this,!p.preDispatch||!1!==p.preDispatch.call(this,s)){for(o=S.event.handlers.call(this,s,c),t=0;(n=o[t++])&&!s.isPropagationStopped();)for(s.currentTarget=n.elem,r=0;(i=n.handlers[r++])&&!s.isImmediatePropagationStopped();)s.rnamespace&&!s.rnamespace.test(i.namespace)||(s.handleObj=i,s.data=i.data,void 0!==(a=((S.event.special[i.origType]||{}).handle||i.handler).apply(n.elem,l))&&!1===(s.result=a)&&(s.preventDefault(),s.stopPropagation()));return p.postDispatch&&p.postDispatch.call(this,s),s.result}},handlers:function(e,t){var r,a,n,i,o,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(i=[],o={},r=0;r<l;r++)void 0===o[n=(a=t[r]).selector+" "]&&(o[n]=a.needsContext?-1<S(n,this).index(c):S.find(n,this,null,[c]).length),o[n]&&i.push(a);i.length&&s.push({elem:c,handlers:i})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(t,e){Object.defineProperty(S.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[S.expando]?e:new S.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==ke()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===ke()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&T(this,"input"))return this.click(),!1},_default:function(e){return T(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},S.removeEvent=function(e,t,r){e.removeEventListener&&e.removeEventListener(t,r)},S.Event=function(e,t){if(!(this instanceof S.Event))return new S.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?we:Ce,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&&S.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[S.expando]=!0},S.Event.prototype={constructor:S.Event,isDefaultPrevented:Ce,isPropagationStopped:Ce,isImmediatePropagationStopped:Ce,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=we,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=we,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=we,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},S.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&&Ae.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&be.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},S.event.addProp),S.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,n){S.event.special[e]={delegateType:n,bindType:n,handle:function(e){var t,r=e.relatedTarget,a=e.handleObj;return r&&(r===this||S.contains(this,r))||(e.type=a.origType,t=a.handler.apply(this,arguments),e.type=n),t}}}),S.fn.extend({on:function(e,t,r,a){return Se(this,e,t,r,a)},one:function(e,t,r,a){return Se(this,e,t,r,a,1)},off:function(e,t,r){var a,n;if(e&&e.preventDefault&&e.handleObj)return a=e.handleObj,S(e.delegateTarget).off(a.namespace?a.origType+"."+a.namespace:a.origType,a.selector,a.handler),this;if("object"==typeof e){for(n in e)this.off(n,t,e[n]);return this}return!1!==t&&"function"!=typeof t||(r=t,t=void 0),!1===r&&(r=Ce),this.each(function(){S.event.remove(this,e,r,t)})}});var Pe=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Te=/<script|<style|<link/i,_e=/checked\s*(?:[^=]|=\s*.checked.)/i,Ee=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return T(e,"table")&&T(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function Fe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ie(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Be(e,t){var r,a,n,i,o,s,l,c;if(1===t.nodeType){if(Z.hasData(e)&&(i=Z.access(e),o=Z.set(t,i),c=i.events))for(n in delete o.handle,o.events={},c)for(r=0,a=c[n].length;r<a;r++)S.event.add(t,n,c[n][r]);X.hasData(e)&&(s=X.access(e),l=S.extend({},s),X.set(t,l))}}function Ne(r,a,n,i){a=m.apply([],a);var e,t,o,s,l,c,p=0,d=r.length,f=d-1,u=a[0],h=y(u);if(h||1<d&&"string"==typeof u&&!v.checkClone&&_e.test(u))return r.each(function(e){var t=r.eq(e);h&&(a[0]=u.call(this,e,t.html())),Ne(t,a,n,i)});if(d&&(t=(e=ve(a,r[0].ownerDocument,!1,r,i)).firstChild,1===e.childNodes.length&&(e=t),t||i)){for(s=(o=S.map(fe(e,"script"),Fe)).length;p<d;p++)l=e,p!==f&&(l=S.clone(l,!0,!0),s&&S.merge(o,fe(l,"script"))),n.call(r[p],l,p);if(s)for(c=o[o.length-1].ownerDocument,S.map(o,Ie),p=0;p<s;p++)l=o[p],pe.test(l.type||"")&&!Z.access(l,"globalEval")&&S.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?S._evalUrl&&S._evalUrl(l.src):b(l.textContent.replace(Ee,""),c,l))}return r}function De(e,t,r){for(var a,n=t?S.filter(t,e):e,i=0;null!=(a=n[i]);i++)r||1!==a.nodeType||S.cleanData(fe(a)),a.parentNode&&(r&&S.contains(a.ownerDocument,a)&&ue(fe(a,"script")),a.parentNode.removeChild(a));return e}S.extend({htmlPrefilter:function(e){return e.replace(Pe,"<$1></$2>")},clone:function(e,t,r){var a,n,i,o,s,l,c,p=e.cloneNode(!0),d=S.contains(e.ownerDocument,e);if(!(v.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||S.isXMLDoc(e)))for(o=fe(p),a=0,n=(i=fe(e)).length;a<n;a++)s=i[a],l=o[a],void 0,"input"===(c=l.nodeName.toLowerCase())&&le.test(s.type)?l.checked=s.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=s.defaultValue);if(t)if(r)for(i=i||fe(e),o=o||fe(p),a=0,n=i.length;a<n;a++)Be(i[a],o[a]);else Be(e,p);return 0<(o=fe(p,"script")).length&&ue(o,!d&&fe(e,"script")),p},cleanData:function(e){for(var t,r,a,n=S.event.special,i=0;void 0!==(r=e[i]);i++)if(V(r)){if(t=r[Z.expando]){if(t.events)for(a in t.events)n[a]?S.event.remove(r,a):S.removeEvent(r,a,t.handle);r[Z.expando]=void 0}r[X.expando]&&(r[X.expando]=void 0)}}}),S.fn.extend({detach:function(e){return De(this,e,!0)},remove:function(e){return De(this,e)},text:function(e){return W(this,function(e){return void 0===e?S.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 Ne(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Ne(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ne(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ne(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&&(S.cleanData(fe(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return S.clone(this,e,t)})},html:function(e){return W(this,function(e){var t=this[0]||{},r=0,a=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Te.test(e)&&!de[(ce.exec(e)||["",""])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;r<a;r++)1===(t=this[r]||{}).nodeType&&(S.cleanData(fe(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var r=[];return Ne(this,arguments,function(e){var t=this.parentNode;S.inArray(this,r)<0&&(S.cleanData(fe(this)),t&&t.replaceChild(e,this))},r)}}),S.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,o){S.fn[e]=function(e){for(var t,r=[],a=S(e),n=a.length-1,i=0;i<=n;i++)t=i===n?this:this.clone(!0),S(a[i])[o](t),l.apply(r,t.get());return this.pushStack(r)}});var Re=new RegExp("^("+ee+")(?!px)[a-z%]+$","i"),Oe=function(e){var t=e.ownerDocument.defaultView;return t&&