!function(t,e){"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(t.document)return e(t);throw new Error("jQuery requires a window with a document")}:e(t)}("undefined"!=typeof window?window:this,function(_,M){function W(t,e){return e.toUpperCase()}var t=[],x=_.document,l=t.slice,L=t.concat,F=t.push,i=t.indexOf,H={},B=H.toString,d=H.hasOwnProperty,g={},e="2.2.4",C=function(t,e){return new C.fn.init(t,e)},q=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,z=/^-ms-/,U=/-([\da-z])/gi;function G(t){var e=!!t&&"length"in t&&t.length,n=C.type(t);return"function"!==n&&!C.isWindow(t)&&("array"===n||0===e||"number"==typeof e&&0>10|55296,1023&r|56320)}function W(){x()}var t,d,w,o,L,g,F,H,_,u,c,x,C,e,k,m,r,i,v,S="sizzle"+ +new Date,y=M.document,O=0,B=0,q=ct(),z=ct(),b=ct(),U=function(t,e){return t===e&&(c=!0),0},G={}.hasOwnProperty,n=[],V=n.pop,$=n.push,E=n.push,X=n.slice,T=function(t,e){for(var n=0,r=t.length;n+~]|"+s+")"+s+"*"),et=new RegExp("="+s+"*([^\\]'\"]*?)"+s+"*\\]","g"),nt=new RegExp(Q),rt=new RegExp("^"+a+"$"),f={ID:new RegExp("^#("+a+")"),CLASS:new RegExp("^\\.("+a+")"),TAG:new RegExp("^("+a+"|[*])"),ATTR:new RegExp("^"+K),PSEUDO:new RegExp("^"+Q),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+s+"*(even|odd|(([+-]|)(\\d*)n|)"+s+"*(?:([+-]|)"+s+"*(\\d+)|))"+s+"*\\)|)","i"),bool:new RegExp("^(?:"+Y+")$","i"),needsContext:new RegExp("^"+s+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+s+"*((?:-\\d)?\\d*)"+s+"*\\)|)(?=[^-]|$)","i")},it=/^(?:input|select|textarea|button)$/i,ot=/^h\d$/i,l=/^[^{]+\{\s*\[native \w/,st=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,at=/[+~]/,ut=/'|\\/g,p=new RegExp("\\\\([\\da-f]{1,6}"+s+"?|("+s+")|.)","ig");try{E.apply(n=X.call(y.childNodes),y.childNodes),n[y.childNodes.length].nodeType}catch(t){E={apply:n.length?function(t,e){$.apply(t,X.call(e))}:function(t,e){for(var n=t.length,r=0;t[n++]=e[r++];);t.length=n-1}}}function I(t,e,n,r){var i,o,s,a,u,c,l,h,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:y)!==C&&x(e),e=e||C,k)){if(11!==p&&(c=st.exec(t)))if(i=c[1]){if(9===p){if(!(s=e.getElementById(i)))return n;if(s.id===i)return n.push(s),n}else if(f&&(s=f.getElementById(i))&&v(e,s)&&s.id===i)return n.push(s),n}else{if(c[2])return E.apply(n,e.getElementsByTagName(t)),n;if((i=c[3])&&d.getElementsByClassName&&e.getElementsByClassName)return E.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!b[t+" "]&&(!m||!m.test(t))){if(1!==p)f=e,h=t;else if("object"!==e.nodeName.toLowerCase()){for((a=e.getAttribute("id"))?a=a.replace(ut,"\\$&"):e.setAttribute("id",a=S),o=(l=g(t)).length,u=rt.test(a)?"#"+a:"[id='"+a+"']";o--;)l[o]=u+" "+N(l[o]);h=l.join(","),f=at.test(t)&&ft(e.parentNode)||e}if(h)try{return E.apply(n,f.querySelectorAll(h)),n}catch(t){}finally{a===S&&e.removeAttribute("id")}}}return H(t.replace(A,"$1"),e,n,r)}function ct(){var n=[];function r(t,e){return n.push(t+" ")>w.cacheLength&&delete r[n.shift()],r[t+" "]=e}return r}function j(t){return t[S]=!0,t}function P(t){var e=C.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e)}}function lt(t,e){for(var n=t.split("|"),r=n.length;r--;)w.attrHandle[n[r]]=e}function ht(t,e){var n=e&&t,r=n&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function D(s){return j(function(o){return o=+o,j(function(t,e){for(var n,r=s([],t.length,o),i=r.length;i--;)t[n=r[i]]&&(t[n]=!(e[n]=t[n]))})})}function ft(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in d=I.support={},L=I.isXML=function(t){t=t&&(t.ownerDocument||t).documentElement;return!!t&&"HTML"!==t.nodeName},x=I.setDocument=function(t){var t=t?t.ownerDocument||t:y;return t!==C&&9===t.nodeType&&t.documentElement&&(e=(C=t).documentElement,k=!L(C),(t=C.defaultView)&&t.top!==t&&(t.addEventListener?t.addEventListener("unload",W,!1):t.attachEvent&&t.attachEvent("onunload",W)),d.attributes=P(function(t){return t.className="i",!t.getAttribute("className")}),d.getElementsByTagName=P(function(t){return t.appendChild(C.createComment("")),!t.getElementsByTagName("*").length}),d.getElementsByClassName=l.test(C.getElementsByClassName),d.getById=P(function(t){return e.appendChild(t).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(w.find.ID=function(t,e){if(void 0!==e.getElementById&&k)return(e=e.getElementById(t))?[e]:[]},w.filter.ID=function(t){var e=t.replace(p,h);return function(t){return t.getAttribute("id")===e}}):(delete w.find.ID,w.filter.ID=function(t){var e=t.replace(p,h);return function(t){t=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return t&&t.value===e}}),w.find.TAG=d.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):d.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,r=[],i=0,o=e.getElementsByTagName(t);if("*"!==t)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},w.find.CLASS=d.getElementsByClassName&&function(t,e){return void 0!==e.getElementsByClassName&&k?e.getElementsByClassName(t):void 0},r=[],m=[],(d.qsa=l.test(C.querySelectorAll))&&(P(function(t){e.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+s+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+s+"*(?:value|"+Y+")"),t.querySelectorAll("[id~="+S+"-]").length||m.push("~="),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+S+"+*").length||m.push(".#.+[+~]")}),P(function(t){var e=C.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+s+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")})),(d.matchesSelector=l.test(i=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.msMatchesSelector))&&P(function(t){d.disconnectedMatch=i.call(t,"div"),i.call(t,"[s!='']:x"),r.push("!=",Q)}),m=m.length&&new RegExp(m.join("|")),r=r.length&&new RegExp(r.join("|")),t=l.test(e.compareDocumentPosition),v=t||l.test(e.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,e=e&&e.parentNode;return t===e||!(!e||1!==e.nodeType||!(n.contains?n.contains(e):t.compareDocumentPosition&&16&t.compareDocumentPosition(e)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=t?function(t,e){var n;return t===e?(c=!0,0):(n=!t.compareDocumentPosition-!e.compareDocumentPosition)||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!d.sortDetached&&e.compareDocumentPosition(t)===n?t===C||t.ownerDocument===y&&v(y,t)?-1:e===C||e.ownerDocument===y&&v(y,e)?1:u?T(u,t)-T(u,e):0:4&n?-1:1)}:function(t,e){if(t===e)return c=!0,0;var n,r=0,i=t.parentNode,o=e.parentNode,s=[t],a=[e];if(!i||!o)return t===C?-1:e===C?1:i?-1:o?1:u?T(u,t)-T(u,e):0;if(i===o)return ht(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)a.unshift(n);for(;s[r]===a[r];)r++;return r?ht(s[r],a[r]):s[r]===y?-1:a[r]===y?1:0}),C},I.matches=function(t,e){return I(t,null,null,e)},I.matchesSelector=function(t,e){if((t.ownerDocument||t)!==C&&x(t),e=e.replace(et,"='$1']"),d.matchesSelector&&k&&!b[e+" "]&&(!r||!r.test(e))&&(!m||!m.test(e)))try{var n=i.call(t,e);if(n||d.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(p,h),t[3]=(t[3]||t[4]||t[5]||"").replace(p,h),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||I.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&I.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return f.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&nt.test(n)&&(e=(e=g(n,!0))&&n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(p,h).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=q[t+" "];return e||(e=new RegExp("(^|"+s+")"+t+"("+s+"|$)"))&&q(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(t){t=I.attr(t,e);return null==t?"!="===n:!n||(t+="","="===n?t===r:"!="===n?t!==r:"^="===n?r&&0===t.indexOf(r):"*="===n?r&&-1(?:<\/\1>|)$/,Y=/^.[^:#\[\.,]*$/;function K(t,n,r){if(C.isFunction(n))return C.grep(t,function(t,e){return!!n.call(t,e,t)!==r});if(n.nodeType)return C.grep(t,function(t){return t===n!==r});if("string"==typeof n){if(Y.test(n))return C.filter(n,t,r);n=C.filter(n,t)}return C.grep(t,function(t){return-1)[^>]*|#([\w-]*))$/,Z=((C.fn.init=function(t,e,n){if(t){if(n=n||Q,"string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):C.isFunction(t)?void 0!==n.ready?n.ready(t):t(C):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),C.makeArray(t,this));if(!(r="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:J.exec(t))||!r[1]&&e)return(!e||e.jquery?e||n:this.constructor(e)).find(t);if(r[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:x,!0)),X.test(r[1])&&C.isPlainObject(e))for(var r in e)C.isFunction(this[r])?this[r](e[r]):this.attr(r,e[r])}else(n=x.getElementById(r[2]))&&n.parentNode&&(this.length=1,this[0]=n),this.context=x,this.selector=t}return this}).prototype=C.fn,Q=C(x),/^(?:parents|prev(?:Until|All))/),tt={children:!0,contents:!0,next:!0,prev:!0};function et(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),n=e.length;return this.filter(function(){for(var t=0;t",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"","
"],_default:[0,"",""]};function w(t,e){var n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[];return void 0===e||e&&C.nodeName(t,e)?C.merge([t],n):n}function ht(t,e){for(var n=0,r=t.length;nx",g.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue;var dt=/^key/,gt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,mt=/^([^.]*)(?:\.(.+)|)/;function vt(){return!0}function c(){return!1}function yt(){try{return x.activeElement}catch(t){}}function bt(t,e,n,r,i,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(r=r||n,n=void 0),e)bt(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=c;else if(!i)return t;return 1===o&&(s=i,(i=function(t){return C().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=C.guid++)),t.each(function(){C.event.add(this,e,i,r,n)})}C.event={global:{},add:function(e,t,n,r,i){var o,s,a,u,c,l,h,f,p,d=v.get(e);if(d)for(n.handler&&(n=(o=n).handler,i=o.selector),n.guid||(n.guid=C.guid++),a=(a=d.events)||(d.events={}),s=(s=d.handle)||(d.handle=function(t){return void 0!==C&&C.event.triggered!==t.type?C.event.dispatch.apply(e,arguments):void 0}),u=(t=(t||"").match(k)||[""]).length;u--;)h=p=(f=mt.exec(t[u])||[])[1],f=(f[2]||"").split(".").sort(),h&&(c=C.event.special[h]||{},h=(i?c.delegateType:c.bindType)||h,c=C.event.special[h]||{},p=C.extend({type:h,origType:p,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:f.join(".")},o),(l=a[h])||((l=a[h]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(e,r,f,s))||e.addEventListener&&e.addEventListener(h,s),c.add&&(c.add.call(e,p),p.handler.guid||(p.handler.guid=n.guid)),i?l.splice(l.delegateCount++,0,p):l.push(p),C.event.global[h]=!0)},remove:function(t,e,n,r,i){var o,s,a,u,c,l,h,f,p,d,g,m=v.hasData(t)&&v.get(t);if(m&&(u=m.events)){for(c=(e=(e||"").match(k)||[""]).length;c--;)if(p=g=(a=mt.exec(e[c])||[])[1],d=(a[2]||"").split(".").sort(),p){for(h=C.event.special[p]||{},f=u[p=(r?h.delegateType:h.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)l=f[o],!i&&g!==l.origType||n&&n.guid!==l.guid||a&&!a.test(l.namespace)||r&&r!==l.selector&&("**"!==r||!l.selector)||(f.splice(o,1),l.selector&&f.delegateCount--,h.remove&&h.remove.call(t,l));s&&!f.length&&(h.teardown&&!1!==h.teardown.call(t,d,m.handle)||C.removeEvent(t,p,m.handle),delete u[p])}else for(p in u)C.event.remove(t,p+e[c],n,r,!0);C.isEmptyObject(u)&&v.remove(t,"handle events")}},dispatch:function(t){t=C.event.fix(t);var e,n,r,i,o,s=l.call(arguments),a=(v.get(this,"events")||{})[t.type]||[],u=C.event.special[t.type]||{};if((s[0]=t).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,t)){for(o=C.event.handlers.call(this,t,a),e=0;(r=o[e++])&&!t.isPropagationStopped();)for(t.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!t.isImmediatePropagationStopped();)t.rnamespace&&!t.rnamespace.test(i.namespace)||(t.handleObj=i,t.data=i.data,void 0!==(i=((C.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,s))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,t),t.result}},handlers:function(t,e){var n,r,i,o,s=[],a=e.delegateCount,u=t.target;if(a&&u.nodeType&&("click"!==t.type||isNaN(t.button)||t.button<1))for(;u!==this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==t.type)){for(r=[],n=0;n]*)\/>/gi,_t=/\s*$/g;function St(t,e){return C.nodeName(t,"table")&&C.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function Ot(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Et(t){var e=Ct.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function Tt(t,e){var n,r,i,o,s,a;if(1===e.nodeType){if(v.hasData(t)&&(o=v.access(t),s=v.set(e,o),a=o.events))for(i in delete s.handle,s.events={},a)for(n=0,r=a[i].length;n")},clone:function(t,e,n){var r,i,o,s,a,u,c,l=t.cloneNode(!0),h=C.contains(t.ownerDocument,t);if(!(g.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||C.isXMLDoc(t)))for(s=w(l),r=0,i=(o=w(t)).length;r")).appendTo(e.documentElement))[0].contentDocument).write(),e.close(),n=Pt(t,e),It.detach()),jt[t]=n),n}function Nt(t){var e=t.ownerDocument.defaultView;return(e=e&&e.opener?e:_).getComputedStyle(t)}function Rt(t,e,n,r){var i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];for(i in n=n.apply(t,r||[]),e)t.style[i]=o[i];return n}var Mt,o,Wt,Lt,s,p,Ft=/^margin/,Ht=new RegExp("^("+t+")(?!px)[a-z%]+$","i"),O=x.documentElement;function Bt(){p.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",p.innerHTML="",O.appendChild(s);var t=_.getComputedStyle(p);Mt="1%"!==t.top,Lt="2px"===t.marginLeft,o="4px"===t.width,p.style.marginRight="50%",Wt="4px"===t.marginRight,O.removeChild(s)}function E(t,e,n){var r,i,o=t.style;return""!==(i=(n=n||Nt(t))?n.getPropertyValue(e)||n[e]:void 0)&&void 0!==i||C.contains(t.ownerDocument,t)||(i=C.style(t,e)),n&&!g.pixelMarginRight()&&Ht.test(i)&&Ft.test(e)&&(t=o.width,e=o.minWidth,r=o.maxWidth,o.minWidth=o.maxWidth=o.width=i,i=n.width,o.width=t,o.minWidth=e,o.maxWidth=r),void 0!==i?i+"":i}function qt(t,e){return{get:function(){return t()?void delete this.get:(this.get=e).apply(this,arguments)}}}s=x.createElement("div"),(p=x.createElement("div")).style&&(p.style.backgroundClip="content-box",p.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===p.style.backgroundClip,s.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",s.appendChild(p),C.extend(g,{pixelPosition:function(){return Bt(),Mt},boxSizingReliable:function(){return null==o&&Bt(),o},pixelMarginRight:function(){return null==o&&Bt(),Wt},reliableMarginLeft:function(){return null==o&&Bt(),Lt},reliableMarginRight:function(){var t,e=p.appendChild(x.createElement("div"));return e.style.cssText=p.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",e.style.marginRight=e.style.width="0",p.style.width="1px",O.appendChild(s),t=!parseFloat(_.getComputedStyle(e).marginRight),O.removeChild(s),p.removeChild(e),t}}));var zt=/^(none|table(?!-c[ea]).+)/,Ut={position:"absolute",visibility:"hidden",display:"block"},Gt={letterSpacing:"0",fontWeight:"400"},Vt=["Webkit","O","Moz","ms"],$t=x.createElement("div").style;function Xt(t){if(t in $t)return t;for(var e=t[0].toUpperCase()+t.slice(1),n=Vt.length;n--;)if((t=Vt[n]+e)in $t)return t}function Yt(t,e,n){var r=f.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function Kt(t,e,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===e?1:0,s=0;o<4;o+=2)"margin"===n&&(s+=C.css(t,n+a[o],!0,i)),r?("content"===n&&(s-=C.css(t,"padding"+a[o],!0,i)),"margin"!==n&&(s-=C.css(t,"border"+a[o]+"Width",!0,i))):(s+=C.css(t,"padding"+a[o],!0,i),"padding"!==n&&(s+=C.css(t,"border"+a[o]+"Width",!0,i)));return s}function Qt(t,e,n){var r=!0,i="width"===e?t.offsetWidth:t.offsetHeight,o=Nt(t),s="border-box"===C.css(t,"boxSizing",!1,o);if(i<=0||null==i){if(((i=E(t,e,o))<0||null==i)&&(i=t.style[e]),Ht.test(i))return i;r=s&&(g.boxSizingReliable()||i===t.style[e]),i=parseFloat(i)||0}return i+Kt(t,e,n||(s?"border":"content"),r,o)+"px"}function Jt(t,e){for(var n,r,i,o=[],s=0,a=t.length;s").prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(t){r.remove(),i=null,t&&e("error"===t.type?404:200,t.type)}),x.head.appendChild(r[0])},abort:function(){i&&i()}}}),[]),De=/(=)\?(?=&|$)|\?\?/,Ne=(C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Pe.pop()||C.expando+"_"+fe++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",function(t,e,n){var r,i,o,s=!1!==t.jsonp&&(De.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&De.test(t.data)&&"data");return s||"jsonp"===t.dataTypes[0]?(r=t.jsonpCallback=C.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(De,"$1"+r):!1!==t.jsonp&&(t.url+=(pe.test(t.url)?"&":"?")+t.jsonp+"="+r),t.converters["script json"]=function(){return o||C.error(r+" was not called"),o[0]},t.dataTypes[0]="json",i=_[r],_[r]=function(){o=arguments},n.always(function(){void 0===i?C(_).removeProp(r):_[r]=i,t[r]&&(t.jsonpCallback=e.jsonpCallback,Pe.push(r)),o&&C.isFunction(i)&&i(o[0]),o=i=void 0}),"script"):void 0}),C.parseHTML=function(t,e,n){if(!t||"string"!=typeof t)return null;"boolean"==typeof e&&(n=e,e=!1),e=e||x;var r=X.exec(t),n=!n&&[];return r?[e.createElement(r[1])]:(r=pt([t],e,n),n&&n.length&&C(n).remove(),C.merge([],r.childNodes))},C.fn.load);function Re(t){return C.isWindow(t)?t:9===t.nodeType&&t.defaultView}C.fn.load=function(t,e,n){var r,i,o,s,a;return"string"!=typeof t&&Ne?Ne.apply(this,arguments):(s=this,-1<(a=t.indexOf(" "))&&(r=C.trim(t.slice(a)),t=t.slice(0,a)),C.isFunction(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),0").append(C.parseHTML(t)).find(r):t)}).always(n&&function(t,e){s.each(function(){n.apply(this,o||[t.responseText,e,t])})}),this)},C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){C.fn[e]=function(t){return this.on(e,t)}}),C.expr.filters.animated=function(e){return C.grep(C.timers,function(t){return e===t.elem}).length},C.offset={setOffset:function(t,e,n){var r,i,o,s,a=C.css(t,"position"),u=C(t),c={};"static"===a&&(t.style.position="relative"),o=u.offset(),r=C.css(t,"top"),s=C.css(t,"left"),a=("absolute"===a||"fixed"===a)&&-1<(r+s).indexOf("auto")?(i=(a=u.position()).top,a.left):(i=parseFloat(r)||0,parseFloat(s)||0),null!=(e=C.isFunction(e)?e.call(t,n,C.extend({},o)):e).top&&(c.top=e.top-o.top+i),null!=e.left&&(c.left=e.left-o.left+a),"using"in e?e.using.call(t,c):u.css(c)}},C.fn.extend({offset:function(e){var t,n,r,i;return arguments.length?void 0===e?this:this.each(function(t){C.offset.setOffset(this,e,t)}):(r={top:0,left:0},(i=(n=this[0])&&n.ownerDocument)?(t=i.documentElement,C.contains(t,n)?(r=n.getBoundingClientRect(),n=Re(i),{top:r.top+n.pageYOffset-t.clientTop,left:r.left+n.pageXOffset-t.clientLeft}):r):void 0)},position:function(){var t,e,n,r;if(this[0])return n=this[0],r={top:0,left:0},"fixed"===C.css(n,"position")?e=n.getBoundingClientRect():(t=this.offsetParent(),e=this.offset(),(r=C.nodeName(t[0],"html")?r:t.offset()).top+=C.css(t[0],"borderTopWidth",!0),r.left+=C.css(t[0],"borderLeftWidth",!0)),{top:e.top-r.top-C.css(n,"marginTop",!0),left:e.left-r.left-C.css(n,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===C.css(t,"position");)t=t.offsetParent;return t||O})}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,i){var o="pageYOffset"===i;C.fn[e]=function(t){return h(this,function(t,e,n){var r=Re(t);return void 0===n?r?r[i]:t[e]:void(r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):t[e]=n)},e,t,arguments.length)}}),C.each(["top","left"],function(t,n){C.cssHooks[n]=qt(g.pixelPosition,function(t,e){return e?(e=E(t,n),Ht.test(e)?C(t).position()[n]+"px":e):void 0})}),C.each({Height:"height",Width:"width"},function(o,s){C.each({padding:"inner"+o,content:s,"":"outer"+o},function(r,t){C.fn[t]=function(t,e){var n=arguments.length&&(r||"boolean"!=typeof t),i=r||(!0===t||!0===e?"margin":"border");return h(this,function(t,e,n){var r;return C.isWindow(t)?t.document.documentElement["client"+o]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+o],r["scroll"+o],t.body["offset"+o],r["offset"+o],r["client"+o])):void 0===n?C.css(t,e,i):C.style(t,e,n,i)},s,n?t:void 0,n,null)}})}),C.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},size:function(){return this.length}}),C.fn.andSelf=C.fn.addBack,"function"==typeof define&&define.amd&&define("jquery",[],function(){return C});var Me=_.jQuery,We=_.$;return C.noConflict=function(t){return _.$===C&&(_.$=We),t&&_.jQuery===C&&(_.jQuery=Me),C},M||(_.jQuery=_.$=C),C}),!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).uuid={})}(this,function(t){"use strict";var e,n=new Uint8Array(16);function l(){if(e=e||"undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto))return e(n);throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported")}var r=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function i(t){return"string"==typeof t&&r.test(t)}for(var h,f,o=[],s=0;s<256;++s)o.push((s+256).toString(16).substr(1));function p(t){var e=1>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n;throw TypeError("Invalid UUID")}function a(t,s,a){function e(t,e,n,r){if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));for(var e=[],n=0;n>>9<<4)+1}function v(t,e){var n=(65535&t)+(65535&e);return(t>>16)+(e>>16)+(n>>16)<<16|65535&n}function c(t,e,n,r,i,o){return v((e=v(v(e,t),v(r,o)))<>>32-i,n)}function y(t,e,n,r,i,o,s){return c(e&n|~e&r,t,e,i,o,s)}function b(t,e,n,r,i,o,s){return c(e&r|n&~r,t,e,i,o,s)}function w(t,e,n,r,i,o,s){return c(e^n^r,t,e,i,o,s)}function _(t,e,n,r,i,o,s){return c(n^(e|~r),t,e,i,o,s)}var x=a("v3",48,function(t){if("string"==typeof t){var e=unescape(encodeURIComponent(t));t=new Uint8Array(e.length);for(var n=0;n>5]|=128<>5]|=(255&t[r/8])<>5]>>>a%32&255,u=parseInt(s.charAt(u>>>4&15)+s.charAt(15&u),16);i.push(u)}return i});function C(t,e){return t<>>32-e}var k=a("v5",80,function(t){var e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){var r=unescape(encodeURIComponent(t));t=[];for(var i=0;i>>0,b=y,y=v,v=C(m,30)>>>0,m=g,g=_;n[0]=n[0]+g>>>0,n[1]=n[1]+m>>>0,n[2]=n[2]+v>>>0,n[3]=n[3]+y>>>0,n[4]=n[4]+b>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]});t.NIL="00000000-0000-0000-0000-000000000000",t.parse=u,t.stringify=p,t.v1=function(t,e,n){var r=e&&n||0,i=e||new Array(16),o=(t=t||{}).node||h,n=void 0!==t.clockseq?t.clockseq:f,s=(null!=o&&null!=n||(s=t.random||(t.rng||l)(),null==o&&(o=h=[1|s[0],s[1],s[2],s[3],s[4],s[5]]),null==n&&(n=f=16383&(s[6]<<8|s[7]))),void 0!==t.msecs?t.msecs:Date.now()),a=void 0!==t.nsecs?t.nsecs:g+1,u=s-d+(a-g)/1e4;if(u<0&&void 0===t.clockseq&&(n=n+1&16383),1e4<=(a=(u<0||d>>24&255,i[r++]=u>>>16&255,i[r++]=u>>>8&255,i[r++]=255&u,t=s/4294967296*1e4&268435455;i[r++]=t>>>8&255,i[r++]=255&t,i[r++]=t>>>24&15|16,i[r++]=t>>>16&255,i[r++]=n>>>8|128,i[r++]=255&n;for(var c=0;c<6;++c)i[r+c]=o[c];return e||p(i)},t.v3=x,t.v4=function(t,e,n){var r=(t=t||{}).random||(t.rng||l)();if(r[6]=15&r[6]|64,r[8]=63&r[8]|128,e){n=n||0;for(var i=0;i<16;++i)e[n+i]=r[i];return e}return p(r)},t.v5=k,t.validate=i,t.version=function(t){if(i(t))return parseInt(t.substr(14,1),16);throw TypeError("Invalid UUID")},Object.defineProperty(t,"__esModule",{value:!0})}),!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.clipboard=e():t.clipboard=e()}(this,function(){return n=[function(t,e,n){"use strict";function a(t){var e=new v,t=function(n,t,r){p("listener called"),n.success=!0,t.forEach(function(t,e){r.clipboardData.setData(e,t),e===m&&r.clipboardData.getData(e)!=t&&(p("setting text/plain failed"),n.success=!1)}),r.preventDefault()}.bind(this,e,t);document.addEventListener("copy",t);try{document.execCommand("copy")}finally{document.removeEventListener("copy",t)}return e.success}function u(t,e){c(t);t=a(e);return l(),t}function c(t){var e=document.getSelection(),n=document.createRange();n.selectNodeContents(t),e.removeAllRanges(),e.addRange(n)}function l(){document.getSelection().removeAllRanges()}function h(){return"undefined"==typeof ClipboardEvent&&void 0!==window.clipboardData&&void 0!==window.clipboardData.setData}function r(){return new f(function(t,e){var n=window.clipboardData.getData("Text");""===n?e(new Error("Empty clipboard or could not read plain text from clipboard")):t(n)})}Object.defineProperty(e,"__esModule",{value:!0});var i=n(1),o=n(5),f="undefined"==typeof Promise?i.Promise:Promise,p=function(t){},d=!0,g=function(){(console.warn||console.log).call(arguments)}.bind(console,"[clipboard-polyfill]"),m="text/plain",n=(s.setDebugLog=function(t){p=t},s.suppressWarnings=function(){d=!1,o.suppressDTWarnings()},s.write=function(s){return d&&!s.getData(m)&&g("clipboard.write() was called without a `text/plain` data type. On some platforms, this may result in an empty clipboard. Call clipboard.suppressWarnings() to suppress this warning."),new f(function(t,e){var n,r,i,o;h()?function(t){if(void 0!==(t=t.getData(m)))return window.clipboardData.setData("Text",t);throw"No `text/plain` value was specified."}(s)?t():e(new Error("Copying failed, possibly because the user rejected it.")):a(s)?(p("regular execCopy worked"),t()):-1 assuming success'),t()):u(document.body,s)?(p("copyUsingTempSelection worked"),t()):(n=s,(r=document.createElement("div")).setAttribute("style","-webkit-user-select: text !important"),r.textContent="temporary element",document.body.appendChild(r),n=u(r,n),document.body.removeChild(r),n?(p("copyUsingTempElem worked"),t()):void 0!==(r=s.getData(m))&&(n=r,p("copyTextUsingDOM"),(r=document.createElement("div")).setAttribute("style","-webkit-user-select: text !important"),(i=r).attachShadow&&(p("Using shadow DOM."),i=r.attachShadow({mode:"open"})),(o=document.createElement("span")).innerText=n,i.appendChild(o),document.body.appendChild(r),c(o),n=document.execCommand("copy"),l(),document.body.removeChild(r),n)?(p("copyTextUsingDOM worked"),t()):e(new Error("Copy command failed.")))})},s.writeText=function(t){var e;return navigator.clipboard&&navigator.clipboard.writeText?navigator.clipboard.writeText(t):((e=new o.DT).setData(m,t),this.write(e))},s.read=function(){return new f(function(n,t){h()?r().then(function(t){return n((t=t,(e=new o.DT).setData(m,t),e));var e},t):t("Read is not supported in your browser.")})},s.readText=function(){return navigator.clipboard&&navigator.clipboard.readText?navigator.clipboard.readText():h()?r():new f(function(t,e){e("Read is not supported in your browser.")})},s.DT=o.DT,s);function s(){}e.default=n;var v=function(){this.success=!1};t.exports=n},function(t,e,st){!function(it,ot){t.exports=function(){"use strict";function n(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}function c(t){return"function"==typeof t}function t(t){C=t}function M(t){k=t}function W(){return void 0!==x?function(){x(r)}:e()}function e(){var t=setTimeout;return function(){return t(r,1)}}function r(){for(var t=0;t<_;t+=2)(0,T[t])(T[t+1]),T[t]=void 0,T[t+1]=void 0;_=0}function s(t,e){var n=arguments,r=this,i=new this.constructor(u);void 0===i[A]&&y(i);var o=r._state;return o?function(){var t=n[o-1];k(function(){return v(o,i,t,r._result)})}():g(r,i,t,e),i}function a(t){var e=this;if(t&&"object"==typeof t&&t.constructor===e)return t;var n=new e(u);return f(n,t),n}function u(){}function L(){return new TypeError("You cannot resolve a promise with itself")}function F(){return new TypeError("A promises callback cannot return that same promise.")}function l(t){try{return t.then}catch(t){return D.error=t,D}}function H(t,e,n,r){try{t.call(e,n,r)}catch(t){return t}}function B(t,r,i){k(function(e){var n=!1,t=H(i,r,function(t){n||(n=!0,r!==t?f(e,t):p(e,t))},function(t){n||(n=!0,d(e,t))},"Settle: "+(e._label||" unknown promise"));!n&&t&&(n=!0,d(e,t))},t)}function q(e,t){t._state===j?p(e,t._result):t._state===P?d(e,t._result):g(t,void 0,function(t){return f(e,t)},function(t){return d(e,t)})}function h(t,e,n){e.constructor===t.constructor&&n===s&&e.constructor.resolve===a?q(t,e):n===D?(d(t,D.error),D.error=null):void 0===n?p(t,e):c(n)?B(t,e,n):p(t,e)}function f(t,e){t===e?d(t,L()):n(e)?h(t,e,l(e)):p(t,e)}function z(t){t._onerror&&t._onerror(t._result),m(t)}function p(t,e){t._state===I&&(t._result=e,t._state=j,0!==t._subscribers.length&&k(m,t))}function d(t,e){t._state===I&&(t._state=P,t._result=e,k(z,t))}function g(t,e,n,r){var i=t._subscribers,o=i.length;t._onerror=null,i[o]=e,i[o+j]=n,i[o+P]=r,0===o&&t._state&&k(m,t)}function m(t){var e=t._subscribers,n=t._state;if(0!==e.length){for(var r=void 0,i=void 0,o=t._result,s=0;s","
","
",""].join(""),Bt=function(){var t="";if(Nt)for(var e=1;e<=6;e++)t+="
";return["
","
","
","
","","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
","
",t,"
","
","
","
","
","","
","
","
","","","
","
","
"].join("")}();function t(t,e){return!!~(""+t).indexOf(e)}function Mt(t,e,n,r){for(var i=[],o=0;o')):i.push(It("
").append(It('').attr("title",r.noColorSelectedText)).html())}return"
"+i.join("")+"
"}function p(t,e){i=t,(e=It.extend({},Pt,e)).callbacks={move:Wt(e.move,i),change:Wt(e.change,i),show:Wt(e.show,i),hide:Wt(e.hide,i),beforeShow:Wt(e.beforeShow,i)};var M,W,n,a=e,u=a.flat,L=a.showSelectionPalette,r=a.localStorageKey,i=a.theme,o=a.callbacks,F=(M=R,function(){var t=this,e=arguments;W=W||setTimeout(function(){W=null,M.apply(t,e)},10)}),c=!10,H=!1,l=0,h=0,f=0,B=0,q=0,z=0,U=0,s=0,p=0,d=0,g=1,G=[],m=[],V={},v=a.selectionPalette.slice(0),$=a.maxSelectionSize,X="sp-dragging",y=null,b=t.ownerDocument,w=(b.body,It(t)),Y=!1,_=It(Bt,b).addClass(i),K=_.find(".sp-picker-container"),Q=_.find(".sp-color"),J=_.find(".sp-dragger"),Z=_.find(".sp-hue"),tt=_.find(".sp-slider"),x=_.find(".sp-alpha-inner"),et=_.find(".sp-alpha"),nt=_.find(".sp-alpha-handle"),C=_.find(".sp-input"),rt=_.find(".sp-palette"),it=_.find(".sp-initial"),e=_.find(".sp-cancel"),t=_.find(".sp-clear"),ot=_.find(".sp-choose"),st=_.find(".sp-palette-toggle"),at=w.is("input"),ut=at&&"color"===w.attr("type")&&Ft(),ct=at&&!u,k=ct?It(Ht).addClass(i).addClass(a.className).addClass(a.replacerClassName):It([]),lt=ct?k:w,S=k.find(".sp-preview-inner"),i=a.color||at&&w.val(),ht=!1,O=a.preferredFormat,ft=!a.showButtons||a.clickoutFiresChange,E=!i,T=a.allowEmpty&&!ut;function pt(){if(a.showPaletteOnly&&(a.showPalette=!0),st.text(a.showPaletteOnly?a.togglePaletteMoreText:a.togglePaletteLessText),a.palette){G=a.palette.slice(0),m=It.isArray(G[0])?G:[G],V={};for(var t=0;t$;)v.shift();if(r&&window.localStorage)try{window.localStorage[r]=v.join(";")}catch(t){}}}function mt(){var n=j(),t=It.map(m,function(t,e){return Mt(t,n,"sp-palette-row sp-palette-row-"+e,a)});dt(),v&&t.push(Mt(function(){var t=[];if(a.showPalette)for(var e=0;ei&&eo&&nMath.abs(e-r),y=n?"x":"y"):y=null;var r=!y||"y"===y;y&&"x"!==y||(p=parseFloat(t/l)),r&&(d=parseFloat((h-e)/h)),E=!1,a.showAlpha||(g=1),P()},yt,bt),i?(I(i),D(),O=a.preferredFormat||tinycolor(i).format,gt(i)):D(),u&&xt(),n=Nt?"mousedown.spectrum":"click.spectrum touchstart.spectrum",rt.delegate(".sp-thumb-el",n,Tt),it.delegate(".sp-thumb-el:nth-child(1)",n,{ignore:!0},Tt);var At={show:xt,hide:A,toggle:_t,reflow:R,option:function(t,e){return t===jt?It.extend({},a):e===jt?a[t]:(a[t]=e,"preferredFormat"===t&&(O=a.preferredFormat),void pt())},enable:function(){Y=!1,w.attr("disabled",!1),lt.removeClass("sp-disabled")},disable:Et,offset:function(t){a.offset=t,R()},set:function(t){I(t),N()},get:j,destroy:function(){w.show(),lt.unbind("click.spectrum touchstart.spectrum"),_.remove(),k.remove(),Dt[At.id]=null},container:_};return At.id=Dt.push(At)-1,At}function e(){}function qt(t){t.stopPropagation()}function Wt(t,e){var n=Array.prototype.slice,r=n.call(arguments,2);return function(){return t.apply(e,r.concat(n.call(arguments)))}}function Lt(r,i,e,t){i=i||function(){},e=e||function(){},t=t||function(){};var o=document,s=!1,a={},u=0,c=0,l="ontouchstart"in window,n={};function h(t){t.stopPropagation&&t.stopPropagation(),t.preventDefault&&t.preventDefault(),t.returnValue=!1}function f(t){if(s){if(Nt&&o.documentMode<9&&!t.button)return p();var e=t.originalEvent&&t.originalEvent.touches&&t.originalEvent.touches[0],n=e&&e.pageX||t.pageX,e=e&&e.pageY||t.pageY,n=Math.max(0,Math.min(n-a.left,c)),e=Math.max(0,Math.min(e-a.top,u));l&&h(t),i.apply(r,[n,e,t])}}function p(){s&&(It(o).unbind(n),It(o.body).removeClass("sp-dragging"),setTimeout(function(){t.apply(r,arguments)},0)),s=!1}n.selectstart=h,n.dragstart=h,n["touchmove mousemove"]=f,n["touchend mouseup"]=p,It(r).bind("touchstart mousedown",function(t){(t.which?3==t.which:2==t.button)||s||!1!==e.apply(r,arguments)&&(s=!0,u=It(r).height(),c=It(r).width(),a=It(r).offset(),It(o).bind(n),It(o.body).addClass("sp-dragging"),f(t),h(t))})}function Ft(){return It.fn.spectrum.inputTypeColorSupport()}var v,y,b,w,_,x,C,n,k,r,i,o,S,s="spectrum.id";function O(t,e){var n,r,i,o,s,a,u,c,l,h,f,p,d,g;return e=e||{},(t=t||"")instanceof O?t:this instanceof O?(f={r:0,g:0,b:0},g=d=!(p=1),p=H(p="object"==typeof(n="string"==typeof(n=t)?function(t){t=t.replace(v,"").replace(y,"").toLowerCase();var e,n=!1;if(k[t])t=k[t],n=!0;else if("transparent"==t)return{r:0,g:0,b:0,a:0,format:"name"};return(e=S.rgb.exec(t))?{r:e[1],g:e[2],b:e[3]}:(e=S.rgba.exec(t))?{r:e[1],g:e[2],b:e[3],a:e[4]}:(e=S.hsl.exec(t))?{h:e[1],s:e[2],l:e[3]}:(e=S.hsla.exec(t))?{h:e[1],s:e[2],l:e[3],a:e[4]}:(e=S.hsv.exec(t))?{h:e[1],s:e[2],v:e[3]}:(e=S.hsva.exec(t))?{h:e[1],s:e[2],v:e[3],a:e[4]}:(e=S.hex8.exec(t))?{a:T(e[1])/255,r:T(e[2]),g:T(e[3]),b:T(e[4]),format:n?"name":"hex8"}:(e=S.hex6.exec(t))?{r:T(e[1]),g:T(e[2]),b:T(e[3]),format:n?"name":"hex"}:!!(e=S.hex3.exec(t))&&{r:T(e[1]+""+e[1]),g:T(e[2]+""+e[2]),b:T(e[3]+""+e[3]),format:n?"name":"hex"}}(n):n)&&(n.hasOwnProperty("r")&&n.hasOwnProperty("g")&&n.hasOwnProperty("b")?(c=n.r,l=n.g,h=n.b,f={r:255*E(c,255),g:255*E(l,255),b:255*E(h,255)},d=!0,g="%"===String(n.r).substr(-1)?"prgb":"rgb"):n.hasOwnProperty("h")&&n.hasOwnProperty("s")&&n.hasOwnProperty("v")?(n.s=A(n.s),n.v=A(n.v),c=n.h,l=n.s,h=n.v,c=6*E(c,360),l=E(l,100),h=E(h,100),s=w.floor(c),f={r:255*[h,u=h*(1-(c-=s)*l),a=h*(1-l),a,c=h*(1-(1-c)*l),h][l=s%6],g:255*[c,h,h,u,a,a][l],b:255*[a,a,c,h,h,u][l]},d=!0,g="hsv"):n.hasOwnProperty("h")&&n.hasOwnProperty("s")&&n.hasOwnProperty("l")&&(n.s=A(n.s),n.l=A(n.l),s=n.h,a=n.s,c=n.l,s=E(s,360),a=E(a,100),c=E(c,100),0===a?r=i=o=c:(r=m(a=2*c-(c=c<.5?c*(1+a):c+a-c*a),c,s+1/3),i=m(a,c,s),o=m(a,c,s-1/3)),f={r:255*r,g:255*i,b:255*o},d=!0,g="hsl"),n.hasOwnProperty("a"))?n.a:p),h={ok:d,format:n.format||g,r:x(255,C(f.r,0)),g:x(255,C(f.g,0)),b:x(255,C(f.b,0)),a:p},this._originalInput=t,this._r=h.r,this._g=h.g,this._b=h.b,this._a=h.a,this._roundA=_(100*this._a)/100,this._format=e.format||h.format,this._gradientType=e.gradientType,this._r<1&&(this._r=_(this._r)),this._g<1&&(this._g=_(this._g)),this._b<1&&(this._b=_(this._b)),this._ok=h.ok,void(this._tc_id=b++)):new O(t,e);function m(t,e,n){return n<0&&(n+=1),1>1)+720)%360;--e;)r.h=(r.h+i)%360,o.push(O(r));return o}function F(t,e){e=e||6;for(var t=O(t).toHsv(),n=t.h,r=t.s,i=t.v,o=[],s=1/e;e--;)o.push(O({h:n,s:r,v:i})),i=(i+s)%1;return o}function H(t){return t=parseFloat(t),t=isNaN(t)||t<0||1")[0],t._cachedResult="color"===e.type&&""!==e.value),t._cachedResult},It.spectrum={},It.spectrum.localization={},It.spectrum.palettes={},It.fn.spectrum.processNativeColorInputs=function(){var t=It("input[type=color]");t.length&&!Ft()&&t.spectrum({preferredFormat:"hex6"})},v=/^[\s,#]+/,y=/\s+$/,b=0,w=Math,_=w.round,x=w.min,C=w.max,n=w.random,O.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var t=this.toRgb();return(299*t.r+587*t.g+114*t.b)/1e3},setAlpha:function(t){return this._a=H(t),this._roundA=_(100*this._a)/100,this},toHsv:function(){var t=u(this._r,this._g,this._b);return{h:360*t.h,s:t.s,v:t.v,a:this._a}},toHsvString:function(){var t=u(this._r,this._g,this._b),e=_(360*t.h),n=_(100*t.s),t=_(100*t.v);return 1==this._a?"hsv("+e+", "+n+"%, "+t+"%)":"hsva("+e+", "+n+"%, "+t+"%, "+this._roundA+")"},toHsl:function(){var t=a(this._r,this._g,this._b);return{h:360*t.h,s:t.s,l:t.l,a:this._a}},toHslString:function(){var t=a(this._r,this._g,this._b),e=_(360*t.h),n=_(100*t.s),t=_(100*t.l);return 1==this._a?"hsl("+e+", "+n+"%, "+t+"%)":"hsla("+e+", "+n+"%, "+t+"%, "+this._roundA+")"},toHex:function(t){return c(this._r,this._g,this._b,t)},toHexString:function(t){return"#"+this.toHex(t)},toHex8:function(){return l(this._r,this._g,this._b,this._a)},toHex8String:function(){return"#"+this.toHex8()},toRgb:function(){return{r:_(this._r),g:_(this._g),b:_(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+_(this._r)+", "+_(this._g)+", "+_(this._b)+")":"rgba("+_(this._r)+", "+_(this._g)+", "+_(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:_(100*E(this._r,255))+"%",g:_(100*E(this._g,255))+"%",b:_(100*E(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+_(100*E(this._r,255))+"%, "+_(100*E(this._g,255))+"%, "+_(100*E(this._b,255))+"%)":"rgba("+_(100*E(this._r,255))+"%, "+_(100*E(this._g,255))+"%, "+_(100*E(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(r[c(this._r,this._g,this._b,!0)]||!1)},toFilter:function(t){var e="#"+l(this._r,this._g,this._b,this._a),n=e;return"progid:DXImageTransform.Microsoft.gradient("+(this._gradientType?"GradientType = 1, ":"")+"startColorstr="+e+",endColorstr="+(n=t?O(t).toHex8String():n)+")"},toString:function(t){var e=!!t,n=(t=t||this._format,!1),r=this._a<1&&0<=this._a;return e||!r||"hex"!==t&&"hex6"!==t&&"hex3"!==t&&"name"!==t?("rgb"===t&&(n=this.toRgbString()),"prgb"===t&&(n=this.toPercentageRgbString()),"hex"!==t&&"hex6"!==t||(n=this.toHexString()),"hex3"===t&&(n=this.toHexString(!0)),"hex8"===t&&(n=this.toHex8String()),"name"===t&&(n=this.toName()),"hsl"===t&&(n=this.toHslString()),(n="hsv"===t?this.toHsvString():n)||this.toHexString()):"name"===t&&0===this._a?this.toName():this.toRgbString()},_applyModification:function(t,e){t=t.apply(null,[this].concat([].slice.call(e)));return this._r=t._r,this._g=t._g,this._b=t._b,this.setAlpha(t._a),this},lighten:function(){return this._applyModification(I,arguments)},brighten:function(){return this._applyModification(j,arguments)},darken:function(){return this._applyModification(P,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(g,arguments)},greyscale:function(){return this._applyModification(m,arguments)},spin:function(){return this._applyModification(D,arguments)},_applyCombination:function(t,e){return t.apply(null,[this].concat([].slice.call(e)))},analogous:function(){return this._applyCombination(L,arguments)},complement:function(){return this._applyCombination(N,arguments)},monochromatic:function(){return this._applyCombination(F,arguments)},splitcomplement:function(){return this._applyCombination(W,arguments)},triad:function(){return this._applyCombination(R,arguments)},tetrad:function(){return this._applyCombination(M,arguments)}},O.fromRatio=function(t,e){if("object"==typeof t){var n,r={};for(n in t)t.hasOwnProperty(n)&&(r[n]="a"===n?t[n]:A(t[n]));t=r}return O(t,e)},O.equals=function(t,e){return!(!t||!e)&&O(t).toRgbString()==O(e).toRgbString()},O.random=function(){return O.fromRatio({r:n(),g:n(),b:n()})},O.mix=function(t,e,n){n=0===n?0:n||50;var t=O(t).toRgb(),e=O(e).toRgb(),n=n/100,r=2*n-1,i=e.a-t.a,i=1-(r=(1+(r*i==-1?r:(r+i)/(1+r*i)))/2),r={r:e.r*r+t.r*i,g:e.g*r+t.g*i,b:e.b*r+t.b*i,a:e.a*n+t.a*(1-n)};return O(r)},O.readability=function(t,e){var t=O(t),e=O(e),n=t.toRgb(),r=e.toRgb(),t=t.getBrightness(),e=e.getBrightness(),n=Math.max(n.r,r.r)-Math.min(n.r,r.r)+Math.max(n.g,r.g)-Math.min(n.g,r.g)+Math.max(n.b,r.b)-Math.min(n.b,r.b);return{brightness:Math.abs(t-e),color:n}},O.isReadable=function(t,e){t=O.readability(t,e);return 125",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=l++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var n=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){n._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var n,r,i,o=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(n=t.split(".")).shift(),n.length){for(r=o[t]=x.widget.extend({},this.options[t]),i=0;i
")).children()[0],x("body").append(e),t=n.offsetWidth,e.css("overflow","scroll"),t===(n=n.offsetWidth)&&(n=e[0].clientWidth),e.remove(),r=t-n)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),n=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthC(k(r),k(i))?o.important="horizontal":o.important="vertical",h.using.call(this,t,o)}),s.offset(x.extend(c,{using:t}))})},x.ui.position={fit:{left:function(t,e){var n,r=e.within,i=r.isWindow?r.scrollLeft:r.offset.left,r=r.width,o=t.left-e.collisionPosition.marginLeft,s=i-o,a=o+e.collisionWidth-r-i;e.collisionWidth>r?0i?0?@[\]^`{|}~])/g,function(t){return t.replace(e,"\\$1")}),x.fn.labels=function(){var t,e,n;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(n=(n=this.eq(0).parents().last()).add((n.length?n:this).siblings()),t="label[for='"+x.ui.escapeSelector(t)+"']",e=e.add(n.find(t).addBack(t))),this.pushStack(e))},x.fn.extend({uniqueId:(t=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});var e,t,f,p=/ui-corner-([a-z]){2,6}/g,d=(x.widget("ui.controlgroup",{version:"1.12.1",defaultElement:"
",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var o=this,s=[];x.each(this.options.items,function(r,t){var e,i;if(t)return"controlgroupLabel"===r?((e=o.element.find(t)).each(function(){var t=x(this);t.children(".ui-controlgroup-label-contents").length||t.contents().wrapAll("")}),o._addClass(e,null,"ui-widget ui-widget-content ui-state-default"),void(s=s.concat(e.get()))):void(x.fn[r]&&(i=o["_"+r+"Options"]?o["_"+r+"Options"]("middle"):{classes:{}},o.element.find(t).each(function(){var t=x(this),e=t[r]("instance"),n=x.widget.extend({},i);"button"===r&&t.parent(".ui-spinner").length||((e=e||t[r]()[r]("instance"))&&(n.classes=o._resolveClassesValues(n.classes,e)),t[r](n),n=t[r]("widget"),x.data(n[0],"ui-controlgroup-data",e||t[r]("instance")),s.push(n[0]))})))}),this.childWidgets=x(x.unique(s)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(e){this.childWidgets.each(function(){var t=x(this).data("ui-controlgroup-data");t&&t[e]&&t[e]()})},_updateCornerClass:function(t,e){e=this._buildSimpleOptions(e,"label").classes.label;this._removeClass(t,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(t,null,e)},_buildSimpleOptions:function(t,e){var n="vertical"===this.options.direction,r={classes:{}};return r.classes[e]={middle:"",first:"ui-corner-"+(n?"top":"left"),last:"ui-corner-"+(n?"bottom":"right"),only:"ui-corner-all"}[t],r},_spinnerOptions:function(t){t=this._buildSimpleOptions(t,"ui-spinner");return t.classes["ui-spinner-up"]="",t.classes["ui-spinner-down"]="",t},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:!!e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(n,r){var i={};return x.each(n,function(t){var e=r.options.classes[t]||"",e=x.trim(e.replace(p,""));i[t]=(e+" "+n[t]).replace(/\s+/g," ")}),i},_setOption:function(t,e){"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"!==t?this.refresh():this._callChildMethod(e?"disable":"enable")},refresh:function(){var i,o=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),i=this.childWidgets,(i=this.options.onlyVisible?i.filter(":visible"):i).length&&(x.each(["first","last"],function(t,e){var n,r=i[e]().data("ui-controlgroup-data");r&&o["_"+r.widgetName+"Options"]?((n=o["_"+r.widgetName+"Options"](1===i.length?"only":e)).classes=o._resolveClassesValues(n.classes,r),r.element[r.widgetName](n)):o._updateCornerClass(i[e](),e)}),this._callChildMethod("refresh"))}}),x.widget("ui.checkboxradio",[x.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var t,e=this,n=this._super()||{};return this._readType(),t=this.element.labels(),this.label=x(t[t.length-1]),this.label.length||x.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){e.originalLabel+=3===this.nodeType?x(this).text():this.outerHTML}),this.originalLabel&&(n.label=this.originalLabel),null!=(t=this.element[0].disabled)&&(n.disabled=t),n},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon)&&this._addClass(this.icon,null,"ui-state-hover"),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var t=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===t&&/radio|checkbox/.test(this.type)||x.error("Can't create checkboxradio on element.nodeName="+t+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var t=this.element[0].name,e="input[name='"+x.ui.escapeSelector(t)+"']";return t?(this.form.length?x(this.form[0].elements).filter(e):x(e).filter(function(){return 0===x(this).form().length})).not(this.element):x([])},_toggleClasses:function(){var t=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",t)._toggleClass(this.icon,null,"ui-icon-blank",!t),"radio"===this.type&&this._getRadioGroup().each(function(){var t=x(this).checkboxradio("instance");t&&t._removeClass(t.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){"label"===t&&!e||(this._super(t,e),"disabled"===t?(this._toggleClass(this.label,null,"ui-state-disabled",e),this.element[0].disabled=e):this.refresh())},_updateIcon:function(t){var e="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=x(""),this.iconSpace=x(" "),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(e+=t?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,t?"ui-icon-blank":"ui-icon-check")):e+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",e),t||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),(t=this.iconSpace?t.not(this.iconSpace[0]):t).remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]),x.ui.checkboxradio,x.widget("ui.button",{version:"1.12.1",defaultElement:"
"),n.push('
'),this.pageList=[],t.showPN&&(1==t.page?this.pageList.push(''):this.pageList.push('')),e<=6)for(var r=1;r...');for(r=e-3;r<=e;r++)this.creatHtml(r)}else{this.pageList.push(''),3...');for(r=t.page-1;r<=Number(t.page)+1;r++)this.creatHtml(r);t.page<=e-3&&this.pageList.push(''),this.pageList.push("")}if(t.showPN&&(t.page==e?this.pageList.push(''):this.pageList.push('')),n.push(this.pageList.join("")),n.push("
"),0"+t.selectOption[o]+"行/页":i+=">"+t.selectOption[o]+"行/页";n.push(i+="")}t.showSkip&&n.push('
跳至  页  
'),this.element.html(n.join(""))},clickBtn:function(){var n=this,r=this.settings,i=this.element,o=this.pageTatol;this.element.on("change","select",function(t){var e=parseInt(document.getElementById("selectNum").value);r.pageSize=e,r.page=1,n.element.empty(),n.viewHtml(),r.backFun(r)}),this.element.off("click","button"),this.element.on("click","button",function(){var t=s(this).data("page");switch(t){case"prev":r.page=1<=r.page-1?r.page-1:1,t=r.page;break;case"next":r.page=Number(r.page)+1<=o?Number(r.page)+1:o,t=r.page;break;case"before":r.page=1<=r.page-r.fastForward?r.page-r.fastForward:1,t=r.page;break;case"after":r.page=Number(r.page)+Number(r.fastForward)<=o?Number(r.page)+Number(r.fastForward):o,t=r.page;break;case"go":var e=parseInt(i.find("input").val());if(!(/^[0-9]*$/.test(e)&&1<=e&&e<=o))return;t=r.page=e;break;default:r.page=t}t!=n.pageNum&&(n.pageNum=r.page,n.viewHtml(),r.backFun(r))}),this.element.off("keyup","input"),this.element.on("keyup","input",function(t){13==t.keyCode&&(t=parseInt(i.find("input").val()),/^[0-9]*$/.test(t))&&1<=t&&t<=o&&t!=n.pageNum&&(r.page=t,n.pageNum=t,n.viewHtml(),r.backFun(r))}),0