obstacle-wl-1
Version:
## Project setup ``` npm install ```
25 lines • 888 kB
JavaScript
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e():"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["obstacle-wl"]=e():t["obstacle-wl"]=e()})("undefined"!==typeof self?self:this,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"005c":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var i,r=n("1157"),s=n.n(r),o=n("bcd7");(function(t){function e(t){return null!=t&&!n(t)}function n(t){return null!=t&&"string"===typeof t}function i(t){return null==t||n(t)?t:o["g"].cloneDeep(t)}function r(t){return(""+t).trim().replace(/[\r|\n]/g," ").replace(/>\s+</g,"><")}function a(t){const e=document.createDocumentFragment(),n={},i={},s=r(t),a=o["k"].sanitizeHTML(s,{raw:!0});return a.forEach(t=>{e.appendChild(t)}),{fragment:e,selectors:i,groups:n}}function l(t,e={ns:o["c"].ns.svg}){const n=document.createDocumentFragment(),i={},r={},a=[{markup:Array.isArray(t)?t:[t],parent:n,ns:e.ns}];while(a.length>0){const t=a.pop();let e=t.ns||o["c"].ns.svg;const n=t.markup,l=t.parent;n.forEach(t=>{const n=t.tagName;if(!n)throw new TypeError("Invalid tagName");t.ns&&(e=t.ns);const c=e===o["c"].ns.svg,h=e?o["c"].createElementNS(n,e):o["c"].createElement(n),u=t.attrs;u&&(c?o["c"].attr(h,o["c"].kebablizeAttrs(u)):s()(h).attr(u));const d=t.style;d&&s()(h).css(d);const g=t.className;null!=g&&h.setAttribute("class",Array.isArray(g)?g.join(" "):g),t.textContent&&(h.textContent=t.textContent);const p=t.selector;if(null!=p){if(r[p])throw new TypeError("Selector must be unique");r[p]=h}if(t.groupSelector){let e=t.groupSelector;Array.isArray(e)||(e=[e]),e.forEach(t=>{i[t]||(i[t]=[]),i[t].push(h)})}l.appendChild(h);const f=t.children;Array.isArray(f)&&a.push({ns:e,markup:f,parent:h})})}return Object.keys(i).forEach(t=>{if(r[t])throw new Error("Ambiguous group selector");r[t]=i[t]}),{fragment:n,selectors:r,groups:i}}function c(t){return t instanceof SVGElement?o["c"].createSvgElement("g"):o["c"].createElement("div")}function h(t){if(n(t)){const e=o["m"].createVectors(t),n=e.length;if(1===n)return{elem:e[0].node};if(n>1){const t=c(e[0].node);return e.forEach(e=>{t.appendChild(e.node)}),{elem:t}}return{}}const e=l(t),i=e.fragment;let r=null;return i.childNodes.length>1?(r=c(i.firstChild),r.appendChild(i)):r=i.firstChild,{elem:r,selectors:e.selectors}}function u(t){const e=o["m"].createVectors(t),n=document.createDocumentFragment();for(let i=0,r=e.length;i<r;i+=1){const t=e[i].node;n.appendChild(t)}return{fragment:n,selectors:{}}}t.isJSONMarkup=e,t.isStringMarkup=n,t.clone=i,t.sanitize=r,t.parseStringMarkup=a,t.parseJSONMarkup=l,t.renderMarkup=h,t.parseLabelStringMarkup=u})(i||(i={})),function(t){function e(t,n,i){if(null!=t){let r;const s=t.tagName.toLowerCase();if(t===n)return r="string"===typeof i?`> ${s} > ${i}`:"> "+s,r;const a=t.parentNode;if(a&&a.childNodes.length>1){const e=o["c"].index(t)+1;r=`${s}:nth-child(${e})`}else r=s;return i&&(r+=" > "+i),e(t.parentNode,n,r)}return i}function n(t,n,i){if("#text"===t.nodeName)return null;let r=null,s=null,a=null,l=!1;const c={tagName:t.tagName};if(t.attributes){a={};for(let e=0,n=t.attributes.length;e<n;e+=1){const n=t.attributes[e],i=n.nodeName,o=n.nodeValue;"selector"===i?r=o:"groupSelector"===i?s=o:"class"===i?c.attrs={class:o}:a[i]=o}}return null==r&&(l=!0,r=e(t,n)),t.namespaceURI&&(c.ns=t.namespaceURI),null==c.ns&&(["body","div","section","main","nav","footer","span","p","h1","h2","h3","h4","h5","h6","ul","ol","dl","center","strong","pre","form","select","textarea","fieldset","marquee","bgsound","iframe","frameset"].includes(t.tagName)?c.ns=o["c"].ns.xhtml:i&&(c.ns=i)),r&&(c.selector=r),null!=s&&(c.groupSelector=s),{markup:c,attrs:a,isCSSSelector:l}}function i(e){const i=t.sanitize(e),r=o["c"].parseXML(i,{mimeType:"image/svg+xml"}),s=Array.prototype.slice.call(r.childNodes),a={},l=new WeakMap,c=(t,e,i)=>{const r=n(t,e,i);if(null!=r){const{markup:n,attrs:i,isCSSSelector:s}=r;if(l.set(t,n),n.selector&&null!=i&&(Object.keys(i).length&&(a[n.selector]=i),s&&delete n.selector),t.childNodes&&t.childNodes.length>0)for(let r=0,o=t.childNodes.length;r<o;r+=1){const i=t.childNodes[r],s=c(i,e,n.ns);s&&(null==n.children&&(n.children=[]),n.children.push(s))}return n}{const e=l.get(t.parentNode);e&&t.textContent&&(e.textContent=t.textContent)}},h=s.map(t=>c(t,t)).filter(t=>null!=t);return{markup:h,attrs:a}}t.getSelector=e,t.xml2json=i}(i||(i={})),function(t){function e(){return"g"}function n(){return{tagName:"circle",selector:"circle",attrs:{r:10,fill:"#FFFFFF",stroke:"#000000"}}}function i(){return{tagName:"text",selector:"text",attrs:{fill:"#000000"}}}t.getPortContainerMarkup=e,t.getPortMarkup=n,t.getPortLabelMarkup=i}(i||(i={})),function(t){function e(){return t.sanitize('\n <path class="connection" stroke="black" d="M 0 0 0 0"/>\n <path class="source-marker" fill="black" stroke="black" d="M 0 0 0 0"/>\n <path class="target-marker" fill="black" stroke="black" d="M 0 0 0 0"/>\n <path class="connection-wrap" d="M 0 0 0 0"/>\n <g class="labels"/>\n <g class="vertices"/>\n <g class="arrowheads"/>\n <g class="tools"/>\n ')}function n(){return t.sanitize('\n <g class="edge-tool">\n <g class="tool-remove" event="edge:remove">\n <circle r="11" />\n <path transform="scale(.8) translate(-16, -16)" d="M24.778,21.419 19.276,15.917 24.777,10.415 21.949,7.585 16.447,13.087 10.945,7.585 8.117,10.415 13.618,15.917 8.116,21.419 10.946,24.248 16.447,18.746 21.948,24.248z" />\n <title>Remove edge.</title>\n </g>\n <g class="tool-options" event="edge:options">\n <circle r="11" transform="translate(25)"/>\n <path fill="white" transform="scale(.55) translate(29, -16)" d="M31.229,17.736c0.064-0.571,0.104-1.148,0.104-1.736s-0.04-1.166-0.104-1.737l-4.377-1.557c-0.218-0.716-0.504-1.401-0.851-2.05l1.993-4.192c-0.725-0.91-1.549-1.734-2.458-2.459l-4.193,1.994c-0.647-0.347-1.334-0.632-2.049-0.849l-1.558-4.378C17.165,0.708,16.588,0.667,16,0.667s-1.166,0.041-1.737,0.105L12.707,5.15c-0.716,0.217-1.401,0.502-2.05,0.849L6.464,4.005C5.554,4.73,4.73,5.554,4.005,6.464l1.994,4.192c-0.347,0.648-0.632,1.334-0.849,2.05l-4.378,1.557C0.708,14.834,0.667,15.412,0.667,16s0.041,1.165,0.105,1.736l4.378,1.558c0.217,0.715,0.502,1.401,0.849,2.049l-1.994,4.193c0.725,0.909,1.549,1.733,2.459,2.458l4.192-1.993c0.648,0.347,1.334,0.633,2.05,0.851l1.557,4.377c0.571,0.064,1.148,0.104,1.737,0.104c0.588,0,1.165-0.04,1.736-0.104l1.558-4.377c0.715-0.218,1.399-0.504,2.049-0.851l4.193,1.993c0.909-0.725,1.733-1.549,2.458-2.458l-1.993-4.193c0.347-0.647,0.633-1.334,0.851-2.049L31.229,17.736zM16,20.871c-2.69,0-4.872-2.182-4.872-4.871c0-2.69,2.182-4.872,4.872-4.872c2.689,0,4.871,2.182,4.871,4.872C20.871,18.689,18.689,20.871,16,20.871z"/>\n <title>Edge options.</title>\n </g>\n </g>\n ')}function i(){return t.sanitize('\n <g class="vertex-group" transform="translate(<%= x %>, <%= y %>)">\n <circle class="vertex" data-index="<%= index %>" r="10" />\n <path class="vertex-remove-area" data-index="<%= index %>" d="M16,5.333c-7.732,0-14,4.701-14,10.5c0,1.982,0.741,3.833,2.016,5.414L2,25.667l5.613-1.441c2.339,1.317,5.237,2.107,8.387,2.107c7.732,0,14-4.701,14-10.5C30,10.034,23.732,5.333,16,5.333z" transform="translate(5, -33)"/>\n <path class="vertex-remove" data-index="<%= index %>" transform="scale(.8) translate(9.5, -37)" d="M24.778,21.419 19.276,15.917 24.777,10.415 21.949,7.585 16.447,13.087 10.945,7.585 8.117,10.415 13.618,15.917 8.116,21.419 10.946,24.248 16.447,18.746 21.948,24.248z">\n <title>Remove vertex.</title>\n </path>\n </g>\n ')}function r(){return t.sanitize('\n <g class="arrowhead-group arrowhead-group-<%= end %>">\n <path class="arrowhead" data-terminal="<%= end %>" d="M 26 0 L 0 13 L 26 26 z" />\n </g>\n ')}t.getEdgeMarkup=e,t.getEdgeToolMarkup=n,t.getEdgeVertexMarkup=i,t.getEdgeArrowheadMarkup=r}(i||(i={})),function(t){function e(t=!1){return{tagName:"foreignObject",selector:"fo",children:[{ns:o["c"].ns.xhtml,tagName:"body",selector:"foBody",attrs:{xmlns:o["c"].ns.xhtml},style:{width:"100%",height:"100%",background:"transparent"},children:t?[]:[{tagName:"div",selector:"foContent",style:{width:"100%",height:"100%"}}]}]}}t.getForeignObjectMarkup=e}(i||(i={}))},"00ee":function(t,e,n){var i=n("b622"),r=i("toStringTag"),s={};s[r]="z",t.exports="[object z]"===String(s)},"0366":function(t,e,n){var i=n("e330"),r=n("59ed"),s=i(i.bind);t.exports=function(t,e){return r(t),void 0===e?t:s?s(t,e):function(){return t.apply(e,arguments)}}},"057f":function(t,e,n){var i=n("c6b6"),r=n("fc6a"),s=n("241c").f,o=n("4dae"),a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],l=function(t){try{return s(t)}catch(e){return o(a)}};t.exports.f=function(t){return a&&"Window"==i(t)?l(t):s(r(t))}},"06cf":function(t,e,n){var i=n("83ab"),r=n("c65b"),s=n("d1e7"),o=n("5c6c"),a=n("fc6a"),l=n("a04b"),c=n("1a2d"),h=n("0cfb"),u=Object.getOwnPropertyDescriptor;e.f=i?u:function(t,e){if(t=a(t),e=l(e),h)try{return u(t,e)}catch(n){}if(c(t,e))return o(!r(s.f,t,e),t[e])}},"07fa":function(t,e,n){var i=n("50c4");t.exports=function(t){return i(t.length)}},"0b19":function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const i=t=>!Array.isArray(t)&&t-parseFloat(t)+1>=0},"0b42":function(t,e,n){var i=n("da84"),r=n("e8b5"),s=n("68ee"),o=n("861d"),a=n("b622"),l=a("species"),c=i.Array;t.exports=function(t){var e;return r(t)&&(e=t.constructor,s(e)&&(e===c||r(e.prototype))?e=void 0:o(e)&&(e=e[l],null===e&&(e=void 0))),void 0===e?c:e}},"0cfb":function(t,e,n){var i=n("83ab"),r=n("d039"),s=n("cc12");t.exports=!i&&!r((function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}))},"0d51":function(t,e,n){var i=n("da84"),r=i.String;t.exports=function(t){try{return r(t)}catch(e){return"Object"}}},"0f4a":function(t,e){t.exports="data:image/svg+xml,%3csvg id='组_5' data-name='组 5' xmlns='http://www.w3.org/2000/svg' width='200' height='100' viewBox='0 0 200 100'%3e %3cdefs%3e %3cstyle%3e .cls-1, .cls-2 %7b fill: none; stroke: %23000; stroke-width: 2px; %7d .cls-2 %7b fill-rule: evenodd; %7d %3c/style%3e %3c/defs%3e %3crect id='形状_4' data-name='形状 4' class='cls-1' x='88' y='37' width='96' height='30' rx='15' ry='15'/%3e %3cpath id='矩形_3' data-name='矩形 3' class='cls-2' d='M16,26s9.837-15,27-15c17.745,0,27,15,27,15V90H16V26Z'/%3e %3cg id='组_6' data-name='组 6'%3e %3crect id='矩形_2' data-name='矩形 2' x='70' y='49' width='18' height='2'/%3e %3c/g%3e %3c/svg%3e"},1147:function(t,e,n){"use strict";function i(t){return null!=t&&"object"==typeof t}e["a"]=i},1157:function(t,e,n){var i,r;
/*!
* jQuery JavaScript Library v3.6.0
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright OpenJS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2021-03-02T17:08Z
*/(function(e,n){"use strict";"object"===typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)})("undefined"!==typeof window?window:this,(function(n,s){"use strict";var o=[],a=Object.getPrototypeOf,l=o.slice,c=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},h=o.push,u=o.indexOf,d={},g=d.toString,p=d.hasOwnProperty,f=p.toString,m=f.call(Object),b={},y=function(t){return"function"===typeof t&&"number"!==typeof t.nodeType&&"function"!==typeof t.item},v=function(t){return null!=t&&t===t.window},C=n.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){n=n||C;var i,r,s=n.createElement("script");if(s.text=t,e)for(i in x)r=e[i]||e.getAttribute&&e.getAttribute(i),r&&s.setAttribute(i,r);n.head.appendChild(s).parentNode.removeChild(s)}function E(t){return null==t?t+"":"object"===typeof t||"function"===typeof t?d[g.call(t)]||"object":typeof t}var S="3.6.0",O=function(t,e){return new O.fn.init(t,e)};function A(t){var e=!!t&&"length"in t&&t.length,n=E(t);return!y(t)&&!v(t)&&("array"===n||0===e||"number"===typeof e&&e>0&&e-1 in t)}O.fn=O.prototype={jquery:S,constructor:O,length:0,toArray:function(){return l.call(this)},get:function(t){return null==t?l.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=O.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return O.each(this,t)},map:function(t){return this.pushStack(O.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(O.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(O.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:h,sort:o.sort,splice:o.splice},O.extend=O.fn.extend=function(){var t,e,n,i,r,s,o=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"===typeof o&&(c=o,o=arguments[a]||{},a++),"object"===typeof o||y(o)||(o={}),a===l&&(o=this,a--);a<l;a++)if(null!=(t=arguments[a]))for(e in t)i=t[e],"__proto__"!==e&&o!==i&&(c&&i&&(O.isPlainObject(i)||(r=Array.isArray(i)))?(n=o[e],s=r&&!Array.isArray(n)?[]:r||O.isPlainObject(n)?n:{},r=!1,o[e]=O.extend(c,s,i)):void 0!==i&&(o[e]=i));return o},O.extend({expando:"jQuery"+(S+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==g.call(t))&&(e=a(t),!e||(n=p.call(e,"constructor")&&e.constructor,"function"===typeof n&&f.call(n)===m))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){w(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,i=0;if(A(t)){for(n=t.length;i<n;i++)if(!1===e.call(t[i],i,t[i]))break}else for(i in t)if(!1===e.call(t[i],i,t[i]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(A(Object(t))?O.merge(n,"string"===typeof t?[t]:t):h.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:u.call(e,t,n)},merge:function(t,e){for(var n=+e.length,i=0,r=t.length;i<n;i++)t[r++]=e[i];return t.length=r,t},grep:function(t,e,n){for(var i,r=[],s=0,o=t.length,a=!n;s<o;s++)i=!e(t[s],s),i!==a&&r.push(t[s]);return r},map:function(t,e,n){var i,r,s=0,o=[];if(A(t))for(i=t.length;s<i;s++)r=e(t[s],s,n),null!=r&&o.push(r);else for(s in t)r=e(t[s],s,n),null!=r&&o.push(r);return c(o)},guid:1,support:b}),"function"===typeof Symbol&&(O.fn[Symbol.iterator]=o[Symbol.iterator]),O.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){d["[object "+e+"]"]=e.toLowerCase()}));var M=
/*!
* Sizzle CSS Selector Engine v2.3.6
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2021-02-16
*/
function(t){var e,n,i,r,s,o,a,l,c,h,u,d,g,p,f,m,b,y,v,C="sizzle"+1*new Date,x=t.document,w=0,E=0,S=lt(),O=lt(),A=lt(),M=lt(),k=function(t,e){return t===e&&(u=!0),0},P={}.hasOwnProperty,T=[],D=T.pop,N=T.push,j=T.push,L=T.slice,F=function(t,e){for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n;return-1},B="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",z="[\\x20\\t\\r\\n\\f]",R="(?:\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\["+z+"*("+R+")(?:"+z+"*([*^$|!~]?=)"+z+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+z+"*\\]",V=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(z+"+","g"),_=new RegExp("^"+z+"+|((?:^|[^\\\\])(?:\\\\.)*)"+z+"+$","g"),G=new RegExp("^"+z+"*,"+z+"*"),H=new RegExp("^"+z+"*([>+~]|"+z+")"+z+"*"),U=new RegExp(z+"|>"),q=new RegExp(V),W=new RegExp("^"+R+"$"),X={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+V),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+z+"*(even|odd|(([+-]|)(\\d*)n|)"+z+"*(?:([+-]|)"+z+"*(\\d+)|))"+z+"*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^"+z+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+z+"*((?:-\\d)?\\d*)"+z+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,J=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Q=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+z+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},it=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},st=function(){d()},ot=Ct((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{j.apply(T=L.call(x.childNodes),x.childNodes),T[x.childNodes.length].nodeType}catch(Mt){j={apply:T.length?function(t,e){N.apply(t,L.call(e))}:function(t,e){var n=t.length,i=0;while(t[n++]=e[i++]);t.length=n-1}}}function at(t,e,i,r){var s,a,c,h,u,p,b,y=e&&e.ownerDocument,x=e?e.nodeType:9;if(i=i||[],"string"!==typeof t||!t||1!==x&&9!==x&&11!==x)return i;if(!r&&(d(e),e=e||g,f)){if(11!==x&&(u=Q.exec(t)))if(s=u[1]){if(9===x){if(!(c=e.getElementById(s)))return i;if(c.id===s)return i.push(c),i}else if(y&&(c=y.getElementById(s))&&v(e,c)&&c.id===s)return i.push(c),i}else{if(u[2])return j.apply(i,e.getElementsByTagName(t)),i;if((s=u[3])&&n.getElementsByClassName&&e.getElementsByClassName)return j.apply(i,e.getElementsByClassName(s)),i}if(n.qsa&&!M[t+" "]&&(!m||!m.test(t))&&(1!==x||"object"!==e.nodeName.toLowerCase())){if(b=t,y=e,1===x&&(U.test(t)||H.test(t))){y=tt.test(t)&&bt(e.parentNode)||e,y===e&&n.scope||((h=e.getAttribute("id"))?h=h.replace(it,rt):e.setAttribute("id",h=C)),p=o(t),a=p.length;while(a--)p[a]=(h?"#"+h:":scope")+" "+vt(p[a]);b=p.join(",")}try{return j.apply(i,y.querySelectorAll(b)),i}catch(w){M(t,!0)}finally{h===C&&e.removeAttribute("id")}}}return l(t.replace(_,"$1"),e,i,r)}function lt(){var t=[];function e(n,r){return t.push(n+" ")>i.cacheLength&&delete e[t.shift()],e[n+" "]=r}return e}function ct(t){return t[C]=!0,t}function ht(t){var e=g.createElement("fieldset");try{return!!t(e)}catch(Mt){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ut(t,e){var n=t.split("|"),r=n.length;while(r--)i.attrHandle[n[r]]=e}function dt(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)while(n=n.nextSibling)if(n===e)return-1;return t?1:-1}function gt(t){return function(e){var n=e.nodeName.toLowerCase();return"input"===n&&e.type===t}}function pt(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function ft(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&&ot(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ct((function(e){return e=+e,ct((function(n,i){var r,s=t([],n.length,e),o=s.length;while(o--)n[r=s[o]]&&(n[r]=!(i[r]=n[r]))}))}))}function bt(t){return t&&"undefined"!==typeof t.getElementsByTagName&&t}for(e in n=at.support={},s=at.isXML=function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!Y.test(e||n&&n.nodeName||"HTML")},d=at.setDocument=function(t){var e,r,o=t?t.ownerDocument||t:x;return o!=g&&9===o.nodeType&&o.documentElement?(g=o,p=g.documentElement,f=!s(g),x!=g&&(r=g.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",st,!1):r.attachEvent&&r.attachEvent("onunload",st)),n.scope=ht((function(t){return p.appendChild(t).appendChild(g.createElement("div")),"undefined"!==typeof t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=ht((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ht((function(t){return t.appendChild(g.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=K.test(g.getElementsByClassName),n.getById=ht((function(t){return p.appendChild(t).id=C,!g.getElementsByName||!g.getElementsByName(C).length})),n.getById?(i.filter["ID"]=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},i.find["ID"]=function(t,e){if("undefined"!==typeof e.getElementById&&f){var n=e.getElementById(t);return n?[n]:[]}}):(i.filter["ID"]=function(t){var e=t.replace(et,nt);return function(t){var n="undefined"!==typeof t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},i.find["ID"]=function(t,e){if("undefined"!==typeof e.getElementById&&f){var n,i,r,s=e.getElementById(t);if(s){if(n=s.getAttributeNode("id"),n&&n.value===t)return[s];r=e.getElementsByName(t),i=0;while(s=r[i++])if(n=s.getAttributeNode("id"),n&&n.value===t)return[s]}return[]}}),i.find["TAG"]=n.getElementsByTagName?function(t,e){return"undefined"!==typeof e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,s=e.getElementsByTagName(t);if("*"===t){while(n=s[r++])1===n.nodeType&&i.push(n);return i}return s},i.find["CLASS"]=n.getElementsByClassName&&function(t,e){if("undefined"!==typeof e.getElementsByClassName&&f)return e.getElementsByClassName(t)},b=[],m=[],(n.qsa=K.test(g.querySelectorAll))&&(ht((function(t){var e;p.appendChild(t).innerHTML="<a id='"+C+"'></a><select id='"+C+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+z+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+z+"*(?:value|"+B+")"),t.querySelectorAll("[id~="+C+"-]").length||m.push("~="),e=g.createElement("input"),e.setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+z+"*name"+z+"*="+z+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+C+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ht((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=g.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+z+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),p.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=K.test(y=p.matches||p.webkitMatchesSelector||p.mozMatchesSelector||p.oMatchesSelector||p.msMatchesSelector))&&ht((function(t){n.disconnectedMatch=y.call(t,"*"),y.call(t,"[s!='']:x"),b.push("!=",V)})),m=m.length&&new RegExp(m.join("|")),b=b.length&&new RegExp(b.join("|")),e=K.test(p.compareDocumentPosition),v=e||K.test(p.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)while(e=e.parentNode)if(e===t)return!0;return!1},k=e?function(t,e){if(t===e)return u=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!n.sortDetached&&e.compareDocumentPosition(t)===i?t==g||t.ownerDocument==x&&v(x,t)?-1:e==g||e.ownerDocument==x&&v(x,e)?1:h?F(h,t)-F(h,e):0:4&i?-1:1)}:function(t,e){if(t===e)return u=!0,0;var n,i=0,r=t.parentNode,s=e.parentNode,o=[t],a=[e];if(!r||!s)return t==g?-1:e==g?1:r?-1:s?1:h?F(h,t)-F(h,e):0;if(r===s)return dt(t,e);n=t;while(n=n.parentNode)o.unshift(n);n=e;while(n=n.parentNode)a.unshift(n);while(o[i]===a[i])i++;return i?dt(o[i],a[i]):o[i]==x?-1:a[i]==x?1:0},g):g},at.matches=function(t,e){return at(t,null,null,e)},at.matchesSelector=function(t,e){if(d(t),n.matchesSelector&&f&&!M[e+" "]&&(!b||!b.test(e))&&(!m||!m.test(e)))try{var i=y.call(t,e);if(i||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(Mt){M(e,!0)}return at(e,g,null,[t]).length>0},at.contains=function(t,e){return(t.ownerDocument||t)!=g&&d(t),v(t,e)},at.attr=function(t,e){(t.ownerDocument||t)!=g&&d(t);var r=i.attrHandle[e.toLowerCase()],s=r&&P.call(i.attrHandle,e.toLowerCase())?r(t,e,!f):void 0;return void 0!==s?s:n.attributes||!f?t.getAttribute(e):(s=t.getAttributeNode(e))&&s.specified?s.value:null},at.escape=function(t){return(t+"").replace(it,rt)},at.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},at.uniqueSort=function(t){var e,i=[],r=0,s=0;if(u=!n.detectDuplicates,h=!n.sortStable&&t.slice(0),t.sort(k),u){while(e=t[s++])e===t[s]&&(r=i.push(s));while(r--)t.splice(i[r],1)}return h=null,t},r=at.getText=function(t){var e,n="",i=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"===typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===s||4===s)return t.nodeValue}else while(e=t[i++])n+=r(e);return n},i=at.selectors={cacheLength:50,createPseudo:ct,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===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]||at.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]&&at.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return X["CHILD"].test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&q.test(n)&&(e=o(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=S[t+" "];return e||(e=new RegExp("(^|"+z+")"+t+"("+z+"|$)"))&&S(t,(function(t){return e.test("string"===typeof t.className&&t.className||"undefined"!==typeof t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(i){var r=at.attr(i,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace($," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,i,r){var s="nth"!==t.slice(0,3),o="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var c,h,u,d,g,p,f=s!==o?"nextSibling":"previousSibling",m=e.parentNode,b=a&&e.nodeName.toLowerCase(),y=!l&&!a,v=!1;if(m){if(s){while(f){d=e;while(d=d[f])if(a?d.nodeName.toLowerCase()===b:1===d.nodeType)return!1;p=f="only"===t&&!p&&"nextSibling"}return!0}if(p=[o?m.firstChild:m.lastChild],o&&y){d=m,u=d[C]||(d[C]={}),h=u[d.uniqueID]||(u[d.uniqueID]={}),c=h[t]||[],g=c[0]===w&&c[1],v=g&&c[2],d=g&&m.childNodes[g];while(d=++g&&d&&d[f]||(v=g=0)||p.pop())if(1===d.nodeType&&++v&&d===e){h[t]=[w,g,v];break}}else if(y&&(d=e,u=d[C]||(d[C]={}),h=u[d.uniqueID]||(u[d.uniqueID]={}),c=h[t]||[],g=c[0]===w&&c[1],v=g),!1===v)while(d=++g&&d&&d[f]||(v=g=0)||p.pop())if((a?d.nodeName.toLowerCase()===b:1===d.nodeType)&&++v&&(y&&(u=d[C]||(d[C]={}),h=u[d.uniqueID]||(u[d.uniqueID]={}),h[t]=[w,v]),d===e))break;return v-=r,v===i||v%i===0&&v/i>=0}}},PSEUDO:function(t,e){var n,r=i.pseudos[t]||i.setFilters[t.toLowerCase()]||at.error("unsupported pseudo: "+t);return r[C]?r(e):r.length>1?(n=[t,t,"",e],i.setFilters.hasOwnProperty(t.toLowerCase())?ct((function(t,n){var i,s=r(t,e),o=s.length;while(o--)i=F(t,s[o]),t[i]=!(n[i]=s[o])})):function(t){return r(t,0,n)}):r}},pseudos:{not:ct((function(t){var e=[],n=[],i=a(t.replace(_,"$1"));return i[C]?ct((function(t,e,n,r){var s,o=i(t,null,r,[]),a=t.length;while(a--)(s=o[a])&&(t[a]=!(e[a]=s))})):function(t,r,s){return e[0]=t,i(e,null,s,n),e[0]=null,!n.pop()}})),has:ct((function(t){return function(e){return at(t,e).length>0}})),contains:ct((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||r(e)).indexOf(t)>-1}})),lang:ct((function(t){return W.test(t||"")||at.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=f?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return n=n.toLowerCase(),n===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===p},focus:function(t){return t===g.activeElement&&(!g.hasFocus||g.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:ft(!1),disabled:ft(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!i.pseudos["empty"](t)},header:function(t){return Z.test(t.nodeName)},input:function(t){return J.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,n){return[n<0?n+e:n]})),even:mt((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:mt((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:mt((function(t,e,n){for(var i=n<0?n+e:n>e?e:n;--i>=0;)t.push(i);return t})),gt:mt((function(t,e,n){for(var i=n<0?n+e:n;++i<e;)t.push(i);return t}))}},i.pseudos["nth"]=i.pseudos["eq"],{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[e]=gt(e);for(e in{submit:!0,reset:!0})i.pseudos[e]=pt(e);function yt(){}function vt(t){for(var e=0,n=t.length,i="";e<n;e++)i+=t[e].value;return i}function Ct(t,e,n){var i=e.dir,r=e.next,s=r||i,o=n&&"parentNode"===s,a=E++;return e.first?function(e,n,r){while(e=e[i])if(1===e.nodeType||o)return t(e,n,r);return!1}:function(e,n,l){var c,h,u,d=[w,a];if(l){while(e=e[i])if((1===e.nodeType||o)&&t(e,n,l))return!0}else while(e=e[i])if(1===e.nodeType||o)if(u=e[C]||(e[C]={}),h=u[e.uniqueID]||(u[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[i]||e;else{if((c=h[s])&&c[0]===w&&c[1]===a)return d[2]=c[2];if(h[s]=d,d[2]=t(e,n,l))return!0}return!1}}function xt(t){return t.length>1?function(e,n,i){var r=t.length;while(r--)if(!t[r](e,n,i))return!1;return!0}:t[0]}function wt(t,e,n){for(var i=0,r=e.length;i<r;i++)at(t,e[i],n);return n}function Et(t,e,n,i,r){for(var s,o=[],a=0,l=t.length,c=null!=e;a<l;a++)(s=t[a])&&(n&&!n(s,i,r)||(o.push(s),c&&e.push(a)));return o}function St(t,e,n,i,r,s){return i&&!i[C]&&(i=St(i)),r&&!r[C]&&(r=St(r,s)),ct((function(s,o,a,l){var c,h,u,d=[],g=[],p=o.length,f=s||wt(e||"*",a.nodeType?[a]:a,[]),m=!t||!s&&e?f:Et(f,d,t,a,l),b=n?r||(s?t:p||i)?[]:o:m;if(n&&n(m,b,a,l),i){c=Et(b,g),i(c,[],a,l),h=c.length;while(h--)(u=c[h])&&(b[g[h]]=!(m[g[h]]=u))}if(s){if(r||t){if(r){c=[],h=b.length;while(h--)(u=b[h])&&c.push(m[h]=u);r(null,b=[],c,l)}h=b.length;while(h--)(u=b[h])&&(c=r?F(s,u):d[h])>-1&&(s[c]=!(o[c]=u))}}else b=Et(b===o?b.splice(p,b.length):b),r?r(null,o,b,l):j.apply(o,b)}))}function Ot(t){for(var e,n,r,s=t.length,o=i.relative[t[0].type],a=o||i.relative[" "],l=o?1:0,h=Ct((function(t){return t===e}),a,!0),u=Ct((function(t){return F(e,t)>-1}),a,!0),d=[function(t,n,i){var r=!o&&(i||n!==c)||((e=n).nodeType?h(t,n,i):u(t,n,i));return e=null,r}];l<s;l++)if(n=i.relative[t[l].type])d=[Ct(xt(d),n)];else{if(n=i.filter[t[l].type].apply(null,t[l].matches),n[C]){for(r=++l;r<s;r++)if(i.relative[t[r].type])break;return St(l>1&&xt(d),l>1&&vt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(_,"$1"),n,l<r&&Ot(t.slice(l,r)),r<s&&Ot(t=t.slice(r)),r<s&&vt(t))}d.push(n)}return xt(d)}function At(t,e){var n=e.length>0,r=t.length>0,s=function(s,o,a,l,h){var u,p,m,b=0,y="0",v=s&&[],C=[],x=c,E=s||r&&i.find["TAG"]("*",h),S=w+=null==x?1:Math.random()||.1,O=E.length;for(h&&(c=o==g||o||h);y!==O&&null!=(u=E[y]);y++){if(r&&u){p=0,o||u.ownerDocument==g||(d(u),a=!f);while(m=t[p++])if(m(u,o||g,a)){l.push(u);break}h&&(w=S)}n&&((u=!m&&u)&&b--,s&&v.push(u))}if(b+=y,n&&y!==b){p=0;while(m=e[p++])m(v,C,o,a);if(s){if(b>0)while(y--)v[y]||C[y]||(C[y]=D.call(l));C=Et(C)}j.apply(l,C),h&&!s&&C.length>0&&b+e.length>1&&at.uniqueSort(l)}return h&&(w=S,c=x),v};return n?ct(s):s}return yt.prototype=i.filters=i.pseudos,i.setFilters=new yt,o=at.tokenize=function(t,e){var n,r,s,o,a,l,c,h=O[t+" "];if(h)return e?0:h.slice(0);a=t,l=[],c=i.preFilter;while(a){for(o in n&&!(r=G.exec(a))||(r&&(a=a.slice(r[0].length)||a),l.push(s=[])),n=!1,(r=H.exec(a))&&(n=r.shift(),s.push({value:n,type:r[0].replace(_," ")}),a=a.slice(n.length)),i.filter)!(r=X[o].exec(a))||c[o]&&!(r=c[o](r))||(n=r.shift(),s.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return e?a.length:a?at.error(t):O(t,l).slice(0)},a=at.compile=function(t,e){var n,i=[],r=[],s=A[t+" "];if(!s){e||(e=o(t)),n=e.length;while(n--)s=Ot(e[n]),s[C]?i.push(s):r.push(s);s=A(t,At(r,i)),s.selector=t}return s},l=at.select=function(t,e,n,r){var s,l,c,h,u,d="function"===typeof t&&t,g=!r&&o(t=d.selector||t);if(n=n||[],1===g.length){if(l=g[0]=g[0].slice(0),l.length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&f&&i.relative[l[1].type]){if(e=(i.find["ID"](c.matches[0].replace(et,nt),e)||[])[0],!e)return n;d&&(e=e.parentNode),t=t.slice(l.shift().value.length)}s=X["needsContext"].test(t)?0:l.length;while(s--){if(c=l[s],i.relative[h=c.type])break;if((u=i.find[h])&&(r=u(c.matches[0].replace(et,nt),tt.test(l[0].type)&&bt(e.parentNode)||e))){if(l.splice(s,1),t=r.length&&vt(l),!t)return j.apply(n,r),n;break}}}return(d||a(t,g))(r,e,!f,n,!e||tt.test(t)&&bt(e.parentNode)||e),n},n.sortStable=C.split("").sort(k).join("")===C,n.detectDuplicates=!!u,d(),n.sortDetached=ht((function(t){return 1&t.compareDocumentPosition(g.createElement("fieldset"))})),ht((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||ut("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ht((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||ut("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ht((function(t){return null==t.getAttribute("disabled")}))||ut(B,(function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null})),at}(n);O.find=M,O.expr=M.selectors,O.expr[":"]=O.expr.pseudos,O.uniqueSort=O.unique=M.uniqueSort,O.text=M.getText,O.isXMLDoc=M.isXML,O.contains=M.contains,O.escapeSelector=M.escape;var k=function(t,e,n){var i=[],r=void 0!==n;while((t=t[e])&&9!==t.nodeType)if(1===t.nodeType){if(r&&O(t).is(n))break;i.push(t)}return i},P=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},T=O.expr.match.needsContext;function D(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var N=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(t,e,n){return y(e)?O.grep(t,(function(t,i){return!!e.call(t,i,t)!==n})):e.nodeType?O.grep(t,(function(t){return t===e!==n})):"string"!==typeof e?O.grep(t,(function(t){return u.call(e,t)>-1!==n})):O.filter(e,t,n)}O.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?O.find.matchesSelector(i,t)?[i]:[]:O.find.matches(t,O.grep(e,(function(t){return 1===t.nodeType})))},O.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!==typeof t)return this.pushStack(O(t).filter((function(){for(e=0;e<i;e++)if(O.contains(r[e],this))return!0})));for(n=this.pushStack([]),e=0;e<i;e++)O.find(t,r[e],n);return i>1?O.uniqueSort(n):n},filter:function(t){return this.pushStack(j(this,t||[],!1))},not:function(t){return this.pushStack(j(this,t||[],!0))},is:function(t){return!!j(this,"string"===typeof t&&T.test(t)?O(t):t||[],!1).length}});var L,F=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,B=O.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||L,"string"===typeof t){if(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:F.exec(t),!i||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof O?e[0]:e,O.merge(this,O.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:C,!0)),N.test(i[1])&&O.isPlainObject(e))for(i in e)y(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return r=C.getElementById(i[2]),r&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):y(t)?void 0!==n.ready?n.ready(t):t(O):O.makeArray(t,this)};B.prototype=O.fn,L=O(C);var z=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function I(t,e){while((t=t[e])&&1!==t.nodeType);return t}O.fn.extend({has:function(t){var e=O(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(O.contains(this,e[t]))return!0}))},closest:function(t,e){var n,i=0,r=this.length,s=[],o="string"!==typeof t&&O(t);if(!T.test(t))for(;i<r;i++)for(n=this[i];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(o?o.index(n)>-1:1===n.nodeType&&O.find.matchesSelector(n,t))){s.push(n);break}return this.pushStack(s.length>1?O.uniqueSort(s):s)},index:function(t){return t?"string"===typeof t?u.call(O(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(O.uniqueSort(O.merge(this.get(),O(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),O.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return k(t,"parentNode")},parentsUntil:function(t,e,n){return k(t,"parentNode",n)},next:function(t){return I(t,"nextSibling")},prev:function(t){return I(t,"previousSibling")},nextAll:function(t){return k(t,"nextSibling")},prevAll:function(t){return k(t,"previousSibling")},nextUntil:function(t,e,n){return k(t,"nextSibling",n)},prevUntil:function(t,e,n){return k(t,"previousSibling",n)},siblings:function(t){return P((t.parentNode||{}).firstChild,t)},children:function(t){return P(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(D(t,"template")&&(t=t.content||t),O.merge([],t.childNodes))}},(function(t,e){O.fn[t]=function(n,i){var r=O.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"===typeof i&&(r=O.filter(i,r)),this.length>1&&(R[t]||O.uniqueSort(r),z.test(t)&&r.reverse()),this.pushStack(r)}}));var V=/[^\x20\t\r\n\f]+/g;function $(t){var e={};return O.each(t.match(V)||[],(function(t,n){e[n]=!0})),e}function _(t){return t}function G(t){throw t}function H(t,e,n,i){var r;try{t&&y(r=t.promise)?r.call(t).done(e).fail(n):t&&y(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}O.Callbacks=function(t){t="string"===typeof t?$(t):O.extend({},t);var e,n,i,r,s=[],o=[],a=-1,l=function(){for(r=r||t.once,i=e=!0;o.length;a=-1){n=o.shift();while(++a<s.length)!1===s[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=s.length,n=!1)}t.memory||(n=!1),e=!1,r&&(s=n?[]:"")},c={add:function(){return s&&(n&&!e&&(a=s.length-1,o.push(n)),function e(n){O.each(n,(function(n,i){y(i)?t.unique&&c.has(i)||s.push(i):i&&i.length&&"string"!==E(i)&&e(i)}))}(arguments),n&&!e&&l()),this},remove:function(){return O.each(arguments,(function(t,e){var n;while((n=O.inArray(e,s,n))>-1)s.splice(n,1),n<=a&&a--})),this},has:function(t){return t?O.inArray(t,s)>-1:s.length>0},empty:function(){return s&&(s=[]),this},disable:function(){return r=o=[],s=n="",this},disabled:function(){return!s},lock:function(){return r=o=[],n||e||(s=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=n||[],n=[t,n.slice?n.slice():n],o.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},O.extend({Deferred:function(t){var e=[["notify","progress",O.Callbacks("memory"),O.Callbacks("memory"),2],["resolve","done",O.Callbacks("once memory"),O.Callbacks("once memory"),0,"resolved"],["reject","fail",O.Callbacks("once memory"),O.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return s.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return O.Deferred((function(n){O.each(e,(function(e,i){var r=y(t[i[4]])&&t[i[4]];s[i[1]]((function(){var t=r&&r.apply(this,arguments);t&&y(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)}))})),t=null})).promise()},then:function(t,i,r){var s=0;function o(t,e,i,r){return function(){var a=this,l=arguments,c=function(){var n,c;if(!(t<s)){if(n=i.apply(a,l),n===e.promise())throw new TypeError("Thenable self-resolution");c=n&&("object"===typeof n||"function"===typeof n)&&n.then,y(c)?r?c.call(n,o(s,e,_,r),o(s,e,G,r)):(s++,c.call(n,o(s,e,_,r),o(s,e,G,r),o(s,e,_,e.notifyWith))):(i!==_&&(a=void 0,l=[n]),(r||e.resolveWith)(a,l))}},h=r?c:function(){try{c()}catch(n){O.Deferred.exceptionHook&&O.Deferred.exceptionHook(n,h.stackTrace),t+1>=s&&(i!==G&&(a=void 0,l=[n]),e.rejectWith(a,l))}};t?h():(O.Deferred.getStackHook&&(h.stackTrace=O.Deferred.getStackHook()),n.setTimeout(h))}}return O.Deferred((function(n){e[0][3].add(o(0,n,y(r)?r:_,n.notifyWith)),e[1][3].add(o(0,n,y(t)?t:_)),e[2][3].add(o(0,n,y(i)?i:G))})).promise()},promise:function(t){return null!=t?O.extend(t,r):r}},s={};return O.each(e,(function(t,n){var o=n[2],a=n[5];r[n[1]]=o.add,a&&o.add((function(){i=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),o.add(n[3].fire),s[n[0]]=function(){return s[n[0]+"With"](this===s?void 0:this,arguments),this},s[n[0]+"With"]=o.fireWith})),r.promise(s),t&&t.call(s,s),s},when:function(t){var e=arguments.length,n=e,i=Array(n),r=l.call(arguments),s=O.Deferred(),o=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?l.call(arguments):n,--e||s.resolveWith(i,r)}};if(e<=1&&(H(t,s.done(o(n)).resolve,s.reject,!e),"pending"===s.state()||y(r[n]&&r[n].then)))return s.then();while(n--)H(r[n],o(n),s.reject);return s.promise()}});var U=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;O.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&U.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},O.readyException=function(t){n.setTimeout((function(){throw t}))};var q=O.Deferred();function W(){C.removeEventListener("DOMContentLoaded",W),n.removeEventListener("load",W),O.ready()}O.fn.ready=function(t){return q.then(t).catch((function(t){O.readyException(t)})),this},O.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--O.readyWait:O.isReady)||(O.isReady=!0,!0!==t&&--O.readyWait>0||q.resolveWith(C,[O]))}}),O.ready.then=q.then,"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?n.setTimeout(O.ready):(C.addEventListener("DOMContentLoaded",W),n.addEventListener("load",W));var X=function(t,e,n,i,r,s,o){var a=0,l=t.length,c=null==n;if("object"===E(n))for(a in r=!0,n)X(t,e,a,n[a],!0,s,o);else if(void 0!==i&&(r=!0,y(i)||(o=!0),c&&(o?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(O(t),n)})),e))for(;a<l;a++)e(t[a],n,o?i:i.call(t[a],a,e(t[a],n)));return r?t:c?e.call(t):l?e(t[0],n):s},Y=/^-ms-/,J=/-([a-z])/g;function Z(t,e){return e.toUpperCase()}function K(t){return t.replace(Y,"ms-").replace(J,Z)}var Q=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function tt(){this.expando=O.expando+tt.uid++}tt.uid=1,tt.prototype={cache:function(t){var e=t[this.expando];return e||(e={},Q(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var i,r=this.cache(t);if("string"===typeof e)r[K(e)]=n;else for(i in e)r[K(i)]=e[i];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][K(e)]},access:function(t,e,n){return void 0===e||e&&"string"===typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,i=t[this.expando];if(void 0!==i){if(void 0!==e){Array.isArray(e)?e=e.map(K):(e=K(e),e=e in i?[e]:e.match(V)||[]),n=e.length;while(n--)delete i[e[n]]}(void 0===e||O.isEmptyObject(i))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!O.isEmptyObject(e)}};var et=new tt,nt=new tt,it=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,rt=/[A-Z]/g;function st(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:it.test(t)?JSON.parse(t):t)}function ot(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(rt,"-$&").toLowerCase(),n=t.getAttribute(i),"string"===typeof n){try{n=st(n)}catch(r){}nt.set(t,e,n)}else n=void 0;return n}O.extend({hasData:function(t){return nt.hasData(t)||et.hasData(t)},data:function(t,e,n){return nt.access(t,e,n)},removeData:function(t,e){nt.remove(t,e)},_data:function(t,e,n){return et.access(t,e,n)},_removeData:function(t,e){et.remove(t,e)}}),O.fn.extend({data:function(t,e){var n,i,r,s=this[0],o=s&&s.attributes;if(void 0===t){if(this.length&&(r=nt.get(s),1===s.nodeType&&!et.get(s,"hasDataAttrs"))){n=o.length;while(n--)o[n]&&(i=o[n].name,0===i.indexOf("data-")&&(i=K(i.slice(5)),ot(s,i,r[i])));et.set(s,"hasDataAttrs",!0)}return r}return"object"===typeof t?this.each((function(){nt.set(this,t)})):X(this,(function(e){var n;if(s&&void 0===e)return n=nt.get(s,t),void 0!==n?n:(n=ot(s,t),void 0!==n?n:void 0);this.each((function(){nt.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){nt.remove(this,t)}))}}),O.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=et.get(t,e),n&&(!i||Array.isArray(n)?i=et.access(t,e,O.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=O.queue(t,e),i=n.length,r=n.shift(),s=O._queueHooks(t,e),o=function(){O.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete s.stop,r.call(t,o,s)),!i&&s&&s.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return et.get(t,n)||et.access(t,n,{empty:O.Callbacks("once memory").add((function(){et.remove(t,[e+"queue",n])}))})}}),O.fn.extend({queue:function(t,e){var n=2;return"string"!==typeof t&&(e=t,t="fx",n--),arguments.length<n?O.queue(this[0],t):void 0===e?this:this.each((function(){var n=O.queue(this,t,e);O._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&O.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){O.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,i=1,r=O.Deferred(),s=this,o=this.length,a=function(){--i||r.resolveWith(s,[s])};"string"!==typeof t&&(e=t,t=void 0),t=t||"fx";while(o--)n=et.get(s[o],t+"queueHooks"),n&&n.empty&&(i++,n.empty.add(a));return a(),r.promise(e)}});var at=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,lt=new RegExp("^(?:([+-])=|)("+at+")([a-z%]*)$","i"),ct=["Top","Right","Bottom","Left"],ht=C.documentElement,ut=function(t){return O.contains(t.ownerDocument,t)},dt={composed:!0};ht.getRootNode&&(ut=function(t){return O.contains(t.ownerDocument,t)||t.getRootNode(dt)===t.ownerDocument});var gt=function(t,e){return t=e||t,"none"===t.style.display||""===t.style.display&&ut(t)&&"none"===O.css(t,"display")};function pt(t,e,n,i){var r,s,o=20,a=i?function(){return i.cur()}:function(){return O.css(t,e,"")},l=a(),c=n&&n[3]||(O.cssNumber[e]?"":"px"),h=t.nodeType&&(O.cssNumber[e]||"px"!==c&&+l)&<.exec(O.css(t,e));if(h&&h[3]!==c){l/=2,c=c||h[3],h=+l||1;while(o--)O.style(t,e,h+c),(1-s)*(1-(s=a()/l||.5))<=0&&(o=0),h/=s;h*=2,O.style(t,e,h+c),n=n||[]}return n&&(h=+h||+l||0,r=n[1]?h+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=h,i.end=r)),r}var ft={};function mt(t){var e,n=t.ownerDocument,i=t.nodeName,r=ft[i];return r||(e=n.body.appendChild(n.createElement(i)),r=O.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),ft[i]=r,r)}function bt(t,e){for(var n,i,r=[],s=0,o=t.length;s<o;s++)i=t[s],i.style&&(n=i.style.display,e?("none"===n&&(r[s]=et.get(i,"display")||null,r[s]||(i.style.display="")),""===i.style.display&>(i)&&(r[s]=mt(i))):"none"!==n&&(r[s]="none",et.set(i,"display",n)));for(s=0;s<o;s++)null!=r[s]&&(t[s].style.display=r[s]);return t}O.fn.extend({show:function(){return bt(this,!0)},hide:function(){return bt(this)},toggle:function(t){return"boolean"===typeof t?t?this.show():this.hide():this.each((function(){gt(this)?O(this).show():O(this).