├── .eslintignore
├── .gitignore
├── dev.jpg
├── src
├── images
│ └── 1.jpg
├── js
│ ├── index.js
│ ├── list.js
│ └── about.js
├── less
│ ├── list.less
│ ├── about.less
│ ├── index.less
│ └── global.less
├── about.html
├── list.html
└── index.html
├── dist
├── images
│ └── 1.18b54fbe.jpg
├── js
│ ├── about.c9b57a50.js
│ ├── index.177320f4.js
│ ├── list.20b9c3f1.js
│ ├── mainifest.3f4265c6.js
│ └── vendor.6c3a7056.js
├── css
│ ├── list.0c3ccc58.css
│ ├── about.a996d7a7.css
│ └── index.745960fd.css
├── list.html
└── about.html
├── postcss.config.js
├── .babelrc
├── .editorconfig
├── README.md
├── package.json
└── .eslintrc.js
/.eslintignore:
--------------------------------------------------------------------------------
1 | build/*.js
2 | src/assets/js/lib/*.js
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | npm-debug.log
4 | .idea/
--------------------------------------------------------------------------------
/dev.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/duanliang920/webpack-website/HEAD/dev.jpg
--------------------------------------------------------------------------------
/src/images/1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/duanliang920/webpack-website/HEAD/src/images/1.jpg
--------------------------------------------------------------------------------
/dist/images/1.18b54fbe.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/duanliang920/webpack-website/HEAD/dist/images/1.18b54fbe.jpg
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: [
3 | require('autoprefixer')()
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/src/js/index.js:
--------------------------------------------------------------------------------
1 | //引入css
2 | import "@less/global"
3 | import "@less/index"
4 | $('body').append('这是js动态生成的内容111:这是index页面!')
--------------------------------------------------------------------------------
/src/js/list.js:
--------------------------------------------------------------------------------
1 | //引入css
2 | import "@less/global"
3 | import "@less/list"
4 |
5 | $('body').append('这是js动态生成的内容,这是list页面!')
--------------------------------------------------------------------------------
/src/js/about.js:
--------------------------------------------------------------------------------
1 | //引入css
2 | import "@less/global"
3 | import "@less/about"
4 |
5 | $('body').append('这是js动态生成的内容:这是about页面!')
--------------------------------------------------------------------------------
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | ["es2015", { "modules": false }], "stage-2"
4 | ],
5 | "comments": false
6 | }
--------------------------------------------------------------------------------
/src/less/list.less:
--------------------------------------------------------------------------------
1 | /*
2 | * description: list
3 | * author: duanliang
4 | * updateTime: 2018-1-10
5 | */
6 |
7 | .box {
8 |
9 | }
10 |
--------------------------------------------------------------------------------
/dist/js/about.c9b57a50.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([3],[function(n,e){},,,,,,function(n,e,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(n){var e=o(0),t=(o.n(e),o(7));o.n(t);n("body").append("这是js动态生成的内容:这是about页面!")}.call(e,o(1))},function(n,e){}],[6]);
--------------------------------------------------------------------------------
/dist/js/index.177320f4.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([2],[function(n,e){},,function(n,e,c){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(n){var e=c(0),o=(c.n(e),c(3));c.n(o);n("body").append("这是js动态生成的内容111:这是index页面!")}.call(e,c(1))},function(n,e){}],[2]);
--------------------------------------------------------------------------------
/dist/js/list.20b9c3f1.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([1],[function(n,e){},,,,function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),function(n){var e=t(0),c=(t.n(e),t(5));t.n(c);n("body").append("这是js动态生成的内容,这是list页面!")}.call(e,t(1))},function(n,e){}],[4]);
--------------------------------------------------------------------------------
/src/less/about.less:
--------------------------------------------------------------------------------
1 | /*
2 | * description: about
3 | * author: duanliang
4 | * updateTime: 2018-1-10
5 | */
6 |
7 | #test{
8 | width: 500px;
9 | height:300px;
10 | background: url("../images/1.jpg") no-repeat;
11 | color:#fff;
12 | font-size: 18px;
13 | margin: 50px auto;
14 | }
15 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | # EditorConfig is awesome: http://EditorConfig.org
2 |
3 | root = true
4 |
5 | [*]
6 |
7 | # Change these settings to your own preference
8 | indent_style = space
9 | indent_size = 4
10 |
11 | # We recommend you to keep these unchanged
12 | end_of_line = lf
13 | charset = utf-8
14 | trim_trailing_whitespace = true
15 | insert_final_newline = true
16 |
17 | [*.md]
18 | trim_trailing_whitespace = false
--------------------------------------------------------------------------------
/src/less/index.less:
--------------------------------------------------------------------------------
1 | /*
2 | * description: 首页
3 | * author: duanliang
4 | * updateTime: 2018-1-10
5 | */
6 | /*变量定义*/
7 | @width: 500px;
8 | @color: #333;
9 | @fontSize: 16px;
10 |
11 | #test {
12 | width: @width;
13 | height:100px;
14 | border:1px solid #ccc;
15 | color: @color;
16 | font-size: @fontSize;
17 | margin:30px auto;
18 |
19 | p.info {
20 | background-color:#f34;
21 | color: @color;
22 | }
23 | }
24 |
25 | .flex {
26 | display: flex;
27 | }
28 |
--------------------------------------------------------------------------------
/src/about.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | <%= htmlWebpackPlugin.options.title %>
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | 这是关于我们页面
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/list.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | <%= htmlWebpackPlugin.options.title %>
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | 这是list页面
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/dist/css/list.0c3ccc58.css:
--------------------------------------------------------------------------------
1 | a,address,b,big,blockquote,body,center,cite,code,dd,del,div,dl,dt,em,fieldset,form,h1,h2,h3,h4,h5,h6,html,i,iframe,img,label,legend,li,ol,p,pre,small,span,strong,u,ul{margin:0;padding:0}em{font-style:normal}li{list-style:none}a{text-decoration:none;color:#545151}img{border:none}table{border-collapse:collapse}input,textarea{outline:none}textarea{resize:none;overflow:auto}body{font-size:14px;font-family:Microsoft YaHei;background-color:#efefef}.fl{float:left}.fr{float:right}.clearfix{zoom:1}.clearfix:after{content:"";display:block;clear:both}
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # 项目初始化安装
2 | > webpack多页面应用(v2.0) 此次更新:
3 |
4 | 1. 对代码进行重构,打包配置分开。webapck升级到v3.10.0
5 | 2. 项目添加eslint,保证代码风格统一
6 | 3. 支持postcss插件
7 |
8 | ***
9 | ## 1、安装所需要的包
10 | `npm install`
11 |
12 | ## 2、运行指令
13 | `npm run dev`
14 |
15 | ## 3、预览效果
16 | 输入网址:
17 | http://localhost:8188/
18 |
19 | 效果如下:
20 | 
21 |
22 | ## 4、编译打包
23 | `npm run build`
24 |
25 | 效果如下:
26 | 
27 |
28 | 温馨提示:如果没有安装node和webpack的朋友,请先安装。
29 |
30 |
31 |
--------------------------------------------------------------------------------
/dist/css/about.a996d7a7.css:
--------------------------------------------------------------------------------
1 | a,address,b,big,blockquote,body,center,cite,code,dd,del,div,dl,dt,em,fieldset,form,h1,h2,h3,h4,h5,h6,html,i,iframe,img,label,legend,li,ol,p,pre,small,span,strong,u,ul{margin:0;padding:0}em{font-style:normal}li{list-style:none}a{text-decoration:none;color:#545151}img{border:none}table{border-collapse:collapse}input,textarea{outline:none}textarea{resize:none;overflow:auto}body{font-size:14px;font-family:Microsoft YaHei;background-color:#efefef}.fl{float:left}.fr{float:right}.clearfix{zoom:1}.clearfix:after{content:"";display:block;clear:both}#test{width:500px;height:300px;background:url(images/1.18b54fbe.jpg) no-repeat;color:#fff;font-size:18px;margin:50px auto}
--------------------------------------------------------------------------------
/dist/css/index.745960fd.css:
--------------------------------------------------------------------------------
1 | a,address,b,big,blockquote,body,center,cite,code,dd,del,div,dl,dt,em,fieldset,form,h1,h2,h3,h4,h5,h6,html,i,iframe,img,label,legend,li,ol,p,pre,small,span,strong,u,ul{margin:0;padding:0}em{font-style:normal}li{list-style:none}a{text-decoration:none;color:#545151}img{border:none}table{border-collapse:collapse}input,textarea{outline:none}textarea{resize:none;overflow:auto}body{font-size:14px;font-family:Microsoft YaHei;background-color:#efefef}.fl{float:left}.fr{float:right}.clearfix{zoom:1}.clearfix:after{content:"";display:block;clear:both}#test{width:500px;height:100px;border:1px solid #ccc;color:#333;font-size:16px;margin:30px auto}#test p.info{background-color:#f34;color:#333}
--------------------------------------------------------------------------------
/src/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | <%= htmlWebpackPlugin.options.title %>
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 | 这是首页
20 |
21 | 这是一个段落说明!
22 |
23 |
1111
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/dist/list.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 这是列表标题
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | 这是list页面
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/dist/about.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | 这是关于我标题
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | 这是关于我们页面
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/src/less/global.less:
--------------------------------------------------------------------------------
1 | /*
2 | * description: public
3 | * author: duanliang
4 | * updateTime: 2018-1-10
5 | */
6 |
7 | /*reset*/
8 | a,address,b,big,blockquote,body,center,cite,code,
9 | dd,del,div,dl,dt,em,fieldset,form,h1,h2,h3,h4,h5,h6,html,
10 | i,iframe,img,label,legend,li,ol,p,pre,small,span,strong,u,ul{
11 | margin:0;
12 | padding:0;
13 | }
14 | em {
15 | font-style:normal;
16 | }
17 | li {
18 | list-style:none;
19 | }
20 | a {
21 | text-decoration:none;
22 | color:#545151;
23 | }
24 | img {
25 | border:none;
26 | }
27 | table {
28 | border-collapse:collapse;
29 | }
30 | input,textarea {
31 | outline:none;
32 | }
33 | textarea {
34 | resize:none;
35 | overflow:auto;
36 | }
37 | body {
38 | font-size:14px;
39 | font-family:"Microsoft YaHei";
40 | background-color:#efefef;
41 | }
42 | .fl{
43 | float:left;
44 | }
45 | .fr{
46 | float:right;
47 | }
48 | .clearfix {
49 | zoom:1;
50 | }
51 | .clearfix:after {
52 | content:'';
53 | display:block;
54 | clear:both;
55 | }
--------------------------------------------------------------------------------
/dist/js/mainifest.3f4265c6.js:
--------------------------------------------------------------------------------
1 | !function(e){var n=window.webpackJsonp;window.webpackJsonp=function(r,c,a){for(var i,u,f,s=0,l=[];s的前/后括号
302 | "arrow-spacing": 0,
303 | // 强制 generator 函数中 * 号周围使用一致的空格
304 | "generator-star-spacing": [2, { "before": true, "after": true }],
305 | // 禁止修改类声明的变量
306 | "no-class-assign": 2,
307 | // 不允许箭头功能,在那里他们可以混淆的比较
308 | "no-confusing-arrow": 0,
309 | // 禁止修改 const 声明的变量
310 | "no-const-assign": 2,
311 | // 禁止类成员中出现重复的名称
312 | "no-dupe-class-members": 2,
313 | // 不允许复制模块的进口
314 | "no-duplicate-imports": 0,
315 | // 允许指定模块加载时的进口
316 | "no-restricted-imports": 0,
317 | // 禁止在构造函数中,在调用 super() 之前使用 this 或 super
318 | "no-this-before-super": 2,
319 | // 禁止不必要的计算性能键对象的文字
320 | "no-useless-computed-key": 0,
321 | // 要求使用 let 或 const 而不是 var
322 | "no-var": 0,
323 | // 要求或禁止对象字面量中方法和属性使用简写语法
324 | "object-shorthand": 0,
325 | // 要求使用箭头函数作为回调
326 | "prefer-arrow-callback": 0,
327 | // 要求使用 const 声明那些声明后不再被修改的变量
328 | // enforce spacing between rest and spread operators and their expressions
329 | "rest-spread-spacing": 0,
330 | // 强制模块内的 import 排序
331 | "sort-imports": 0,
332 | // 要求或禁止模板字符串中的嵌入表达式周围空格的使用
333 | "template-curly-spacing": 0,
334 | }
335 | }
--------------------------------------------------------------------------------
/dist/js/vendor.6c3a7056.js:
--------------------------------------------------------------------------------
1 | webpackJsonp([0],{1:function(e,t,n){var r;i="undefined"!=typeof window?window:this,o=function(n,i){var o=[],a=n.document,s=o.slice,u=o.concat,l=o.push,c=o.indexOf,f={},d=f.toString,p=f.hasOwnProperty,h={},g=function(e,t){return new g.fn.init(e,t)},m=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,v=/^-ms-/,y=/-([\da-z])/gi,x=function(e,t){return t.toUpperCase()};g.fn=g.prototype={jquery:"1.12.4",constructor:g,selector:"",length:0,toArray:function(){return s.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:s.call(this)},pushStack:function(e){var t=g.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return g.each(this,e)},map:function(e){return this.pushStack(g.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(s.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==g.type(e)||e.nodeType||g.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(e){return!1}if(!h.ownFirst)for(t in e)return p.call(e,t);for(t in e);return void 0===t||p.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[d.call(e)]||"object":typeof e},globalEval:function(e){e&&g.trim(e)&&(n.execScript||function(e){n.eval.call(n,e)})(e)},camelCase:function(e){return e.replace(v,"ms-").replace(y,x)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var n,r=0;if(b(e))for(n=e.length;r0&&t-1 in e)}var w=function(e){var t,n,r,i,o,a,s,u,l,c,f,d,p,h,g,m,v,y,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=oe(),N=oe(),k=oe(),S=function(e,t){return e===t&&(f=!0),0},A=1<<31,L={}.hasOwnProperty,j=[],D=j.pop,H=j.push,q=j.push,M=j.slice,O=function(e,t){for(var n=0,r=e.length;n+~]|"+R+")"+R+"*"),X=new RegExp("="+R+"*([^\\]'\"]*?)"+R+"*\\]","g"),U=new RegExp(P),V=new RegExp("^"+F+"$"),J={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F+"|[*])"),ATTR:new RegExp("^"+B),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+R+"*(even|odd|(([+-]|)(\\d*)n|)"+R+"*(?:([+-]|)"+R+"*(\\d+)|))"+R+"*\\)|)","i"),bool:new RegExp("^(?:"+_+")$","i"),needsContext:new RegExp("^"+R+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+R+"*((?:-\\d)?\\d*)"+R+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,K=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Z=/[+~]/,ee=/'|\\/g,te=new RegExp("\\\\([\\da-f]{1,6}"+R+"?|("+R+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=function(){d()};try{q.apply(j=M.call(w.childNodes),w.childNodes),j[w.childNodes.length].nodeType}catch(e){q={apply:j.length?function(e,t){H.apply(e,M.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}function ie(e,t,r,i){var o,s,l,c,f,h,v,y,T=t&&t.ownerDocument,C=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==C&&9!==C&&11!==C)return r;if(!i&&((t?t.ownerDocument||t:w)!==p&&d(t),t=t||p,g)){if(11!==C&&(h=K.exec(e)))if(o=h[1]){if(9===C){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(T&&(l=T.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(h[2])return q.apply(r,t.getElementsByTagName(e)),r;if((o=h[3])&&n.getElementsByClassName&&t.getElementsByClassName)return q.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!k[e+" "]&&(!m||!m.test(e))){if(1!==C)T=t,y=e;else if("object"!==t.nodeName.toLowerCase()){for((c=t.getAttribute("id"))?c=c.replace(ee,"\\$&"):t.setAttribute("id",c=b),s=(v=a(e)).length,f=V.test(c)?"#"+c:"[id='"+c+"']";s--;)v[s]=f+" "+ge(v[s]);y=v.join(","),T=Z.test(e)&&pe(t.parentNode)||t}if(y)try{return q.apply(r,T.querySelectorAll(y)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(I,"$1"),t,r,i)}function oe(){var e=[];return function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}}function ae(e){return e[b]=!0,e}function se(e){var t=p.createElement("div");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split("|"),i=n.length;i--;)r.attrHandle[n[i]]=t}function le(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||A)-(~e.sourceIndex||A);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function ce(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return ae(function(t){return t=+t,ae(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function pe(e){return e&&void 0!==e.getElementsByTagName&&e}n=ie.support={},o=ie.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},d=ie.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==p&&9===a.nodeType&&a.documentElement?(h=(p=a).documentElement,g=!o(p),(i=p.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=se(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=se(function(e){return e.appendChild(p.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=se(function(e){return h.appendChild(e).id=b,!p.getElementsByName||!p.getElementsByName(b).length}),n.getById?(r.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}},r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],m=[],(n.qsa=Q.test(p.querySelectorAll))&&(se(function(e){h.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+R+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+R+"*(?:value|"+_+")"),e.querySelectorAll("[id~="+b+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]")}),se(function(e){var t=p.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+R+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")})),(n.matchesSelector=Q.test(y=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&se(function(e){n.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),v.push("!=",P)}),m=m.length&&new RegExp(m.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},S=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===p||e.ownerDocument===w&&x(w,e)?-1:t===p||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===p?-1:t===p?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return le(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?le(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},p):p},ie.matches=function(e,t){return ie(e,null,null,t)},ie.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&d(e),t=t.replace(X,"='$1']"),n.matchesSelector&&g&&!k[t+" "]&&(!v||!v.test(t))&&(!m||!m.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return ie(t,p,null,[e]).length>0},ie.contains=function(e,t){return(e.ownerDocument||e)!==p&&d(e),x(e,t)},ie.attr=function(e,t){(e.ownerDocument||e)!==p&&d(e);var i=r.attrHandle[t.toLowerCase()],o=i&&L.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ie.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ie.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(S),f){for(;t=e[o++];)t===e[o]&&(i=r.push(o));for(;i--;)e.splice(r[i],1)}return c=null,e},i=ie.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[r++];)n+=i(t);return n},(r=ie.selectors={cacheLength:50,createPseudo:ae,match:J,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||ie.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&ie.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return J.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&U.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+R+")"+e+"("+R+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ie.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace(W," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,v=s&&t.nodeName.toLowerCase(),y=!u&&!s,x=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===v:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&y){for(x=(p=(l=(c=(f=(d=m)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[T,p,x];break}}else if(y&&(x=p=(l=(c=(f=(d=t)[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)for(;(d=++p&&d&&d[g]||(x=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==v:1!==d.nodeType)||!++x||(y&&((c=(f=d[b]||(d[b]={}))[d.uniqueID]||(f[d.uniqueID]={}))[e]=[T,x]),d!==t)););return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ie.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?ae(function(e,n){for(var r,o=i(e,t),a=o.length;a--;)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:ae(function(e){var t=[],n=[],r=s(e.replace(I,"$1"));return r[b]?ae(function(e,t,n,i){for(var o,a=r(e,null,i,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:ae(function(e){return function(t){return ie(e,t).length>0}}),contains:ae(function(e){return e=e.replace(te,ne),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:ae(function(e){return V.test(e||"")||ie.error("unsupported lang: "+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:de(function(){return[0]}),last:de(function(e,t){return[t-1]}),eq:de(function(e,t,n){return[n<0?n+t:n]}),even:de(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:de(function(e,t,n){for(var r=n<0?n+t:n;++r1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function ye(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s-1&&(o[l]=!(a[l]=f))}}else v=ye(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):q.apply(a,v)})}function be(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),d=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u1&&ve(d),u>1&&ge(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(I,"$1"),n,u0,i=e.length>0,o=function(o,a,s,u,c){var f,h,m,v=0,y="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,N=C.length;for(c&&(l=a===p||a||c);y!==N&&null!=(f=C[y]);y++){if(i&&f){for(h=0,a||f.ownerDocument===p||(d(f),s=!g);m=e[h++];)if(m(f,a||p,s)){u.push(f);break}c&&(T=E)}n&&((f=!m&&f)&&v--,o&&x.push(f))}if(v+=y,n&&y!==v){for(h=0;m=t[h++];)m(x,b,a,s);if(o){if(v>0)for(;y--;)x[y]||b[y]||(b[y]=D.call(u));b=ye(b)}q.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&ie.uniqueSort(u)}return c&&(T=E,l=w),x};return n?ae(o):o}(o,i))).selector=e}return s},u=ie.select=function(e,t,i,o){var u,l,c,f,d,p="function"==typeof e&&e,h=!o&&a(e=p.selector||e);if(i=i||[],1===h.length){if((l=h[0]=h[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&n.getById&&9===t.nodeType&&g&&r.relative[l[1].type]){if(!(t=(r.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return i;p&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(u=J.needsContext.test(e)?0:l.length;u--&&(c=l[u],!r.relative[f=c.type]);)if((d=r.find[f])&&(o=d(c.matches[0].replace(te,ne),Z.test(l[0].type)&&pe(t.parentNode)||t))){if(l.splice(u,1),!(e=o.length&&ge(l)))return q.apply(i,o),i;break}}return(p||s(e,h))(o,t,!g,i,!t||Z.test(e)&&pe(t.parentNode)||t),i},n.sortStable=b.split("").sort(S).join("")===b,n.detectDuplicates=!!f,d(),n.sortDetached=se(function(e){return 1&e.compareDocumentPosition(p.createElement("div"))}),se(function(e){return e.innerHTML="","#"===e.firstChild.getAttribute("href")})||ue("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&se(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||ue("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),se(function(e){return null==e.getAttribute("disabled")})||ue(_,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ie}(n);g.find=w,g.expr=w.selectors,g.expr[":"]=g.expr.pseudos,g.uniqueSort=g.unique=w.uniqueSort,g.text=w.getText,g.isXMLDoc=w.isXML,g.contains=w.contains;var T=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&g(e).is(n))break;r.push(e)}return r},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},E=g.expr.match.needsContext,N=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,k=/^.[^:#\[\.,]*$/;function S(e,t,n){if(g.isFunction(t))return g.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return g.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(k.test(t))return g.filter(t,e,n);t=g.filter(t,e)}return g.grep(e,function(e){return g.inArray(e,t)>-1!==n})}g.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?g.find.matchesSelector(r,e)?[r]:[]:g.find.matches(e,g.grep(t,function(e){return 1===e.nodeType}))},g.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(g(e).filter(function(){for(t=0;t1?g.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(S(this,e||[],!1))},not:function(e){return this.pushStack(S(this,e||[],!0))},is:function(e){return!!S(this,"string"==typeof e&&E.test(e)?g(e):e||[],!1).length}});var A,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;(g.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||A,"string"==typeof e){if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof g?t[0]:t,g.merge(this,g.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:a,!0)),N.test(r[1])&&g.isPlainObject(t))for(r in t)g.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((i=a.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return A.find(e);this.length=1,this[0]=i}return this.context=a,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):g.isFunction(e)?void 0!==n.ready?n.ready(e):e(g):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),g.makeArray(e,this))}).prototype=g.fn,A=g(a);var j=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};g.fn.extend({has:function(e){var t,n=g(e,this),r=n.length;return this.filter(function(){for(t=0;t-1:1===n.nodeType&&g.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?g.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?g.inArray(this[0],g(e)):g.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(g.uniqueSort(g.merge(this.get(),g(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function H(e,t){do{e=e[t]}while(e&&1!==e.nodeType);return e}g.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return T(e,"parentNode")},parentsUntil:function(e,t,n){return T(e,"parentNode",n)},next:function(e){return H(e,"nextSibling")},prev:function(e){return H(e,"previousSibling")},nextAll:function(e){return T(e,"nextSibling")},prevAll:function(e){return T(e,"previousSibling")},nextUntil:function(e,t,n){return T(e,"nextSibling",n)},prevUntil:function(e,t,n){return T(e,"previousSibling",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return g.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:g.merge([],e.childNodes)}},function(e,t){g.fn[e]=function(n,r){var i=g.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=g.filter(r,i)),this.length>1&&(D[e]||(i=g.uniqueSort(i)),j.test(e)&&(i=i.reverse())),this.pushStack(i)}});var q=/\S+/g;g.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return g.each(e.match(q)||[],function(e,n){t[n]=!0}),t}(e):g.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=e.once,r=t=!0;a.length;s=-1)for(n=a.shift();++s-1;)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?g.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=!0,n||l.disable(),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},g.extend({Deferred:function(e){var t=[["resolve","done",g.Callbacks("once memory"),"resolved"],["reject","fail",g.Callbacks("once memory"),"rejected"],["notify","progress",g.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return g.Deferred(function(n){g.each(t,function(t,o){var a=g.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&g.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?g.extend(e,r):r}},i={};return r.pipe=r.then,g.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=s.call(arguments),a=o.length,u=1!==a||e&&g.isFunction(e.promise)?a:0,l=1===u?e:g.Deferred(),c=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?s.call(arguments):i,r===t?l.notifyWith(n,r):--u||l.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);i0||(M.resolveWith(a,[g]),g.fn.triggerHandler&&(g(a).triggerHandler("ready"),g(a).off("ready"))))}});function O(){a.addEventListener?(a.removeEventListener("DOMContentLoaded",_),n.removeEventListener("load",_)):(a.detachEvent("onreadystatechange",_),n.detachEvent("onload",_))}function _(){(a.addEventListener||"load"===n.event.type||"complete"===a.readyState)&&(O(),g.ready())}g.ready.promise=function(e){if(!M)if(M=g.Deferred(),"complete"===a.readyState||"loading"!==a.readyState&&!a.documentElement.doScroll)n.setTimeout(g.ready);else if(a.addEventListener)a.addEventListener("DOMContentLoaded",_),n.addEventListener("load",_);else{a.attachEvent("onreadystatechange",_),n.attachEvent("onload",_);var t=!1;try{t=null==n.frameElement&&a.documentElement}catch(e){}t&&t.doScroll&&function e(){if(!g.isReady){try{t.doScroll("left")}catch(t){return n.setTimeout(e,50)}O(),g.ready()}}()}return M.promise(e)},g.ready.promise();var R;for(R in g(h))break;h.ownFirst="0"===R,h.inlineBlockNeedsLayout=!1,g(function(){var e,t,n,r;(n=a.getElementsByTagName("body")[0])&&n.style&&(t=a.createElement("div"),(r=a.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),void 0!==t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",h.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=a.createElement("div");h.deleteExpando=!0;try{delete e.test}catch(e){h.deleteExpando=!1}e=null}();var F=function(e){var t=g.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||!0!==t&&e.getAttribute("classid")===t)},B=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,P=/([A-Z])/g;function W(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(P,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:B.test(n)?g.parseJSON(n):n)}catch(e){}g.data(e,t,n)}else n=void 0}return n}function I(e){var t;for(t in e)if(("data"!==t||!g.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function $(e,t,n,r){if(F(e)){var i,a,s=g.expando,u=e.nodeType,l=u?g.cache:e,c=u?e[s]:e[s]&&s;if(c&&l[c]&&(r||l[c].data)||void 0!==n||"string"!=typeof t)return c||(c=u?e[s]=o.pop()||g.guid++:s),l[c]||(l[c]=u?{}:{toJSON:g.noop}),"object"!=typeof t&&"function"!=typeof t||(r?l[c]=g.extend(l[c],t):l[c].data=g.extend(l[c].data,t)),a=l[c],r||(a.data||(a.data={}),a=a.data),void 0!==n&&(a[g.camelCase(t)]=n),"string"==typeof t?null==(i=a[t])&&(i=a[g.camelCase(t)]):i=a,i}}function z(e,t,n){if(F(e)){var r,i,o=e.nodeType,a=o?g.cache:e,s=o?e[g.expando]:g.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=g.isArray(t)?t.concat(g.map(t,g.camelCase)):t in r?[t]:(t=g.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!I(r):!g.isEmptyObject(r))return}(n||(delete a[s].data,I(a[s])))&&(o?g.cleanData([e],!0):h.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}g.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?g.cache[e[g.expando]]:e[g.expando])&&!I(e)},data:function(e,t,n){return $(e,t,n)},removeData:function(e,t){return z(e,t)},_data:function(e,t,n){return $(e,t,n,!0)},_removeData:function(e,t){return z(e,t,!0)}}),g.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=g.data(o),1===o.nodeType&&!g._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&0===(r=a[n].name).indexOf("data-")&&W(o,r=g.camelCase(r.slice(5)),i[r]);g._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){g.data(this,e)}):arguments.length>1?this.each(function(){g.data(this,e,t)}):o?W(o,e,g.data(o,e)):void 0},removeData:function(e){return this.each(function(){g.removeData(this,e)})}}),g.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=g._data(e,t),n&&(!r||g.isArray(n)?r=g._data(e,t,g.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=g.queue(e,t),r=n.length,i=n.shift(),o=g._queueHooks(e,t),a=function(){g.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return g._data(e,n)||g._data(e,n,{empty:g.Callbacks("once memory").add(function(){g._removeData(e,t+"queue"),g._removeData(e,n)})})}}),g.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.lengtha",h.leadingWhitespace=3===e.firstChild.nodeType,h.tbody=!e.getElementsByTagName("tbody").length,h.htmlSerialize=!!e.getElementsByTagName("link").length,h.html5Clone="<:nav>"!==a.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),h.appendChecked=n.checked,e.innerHTML="",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),(n=a.createElement("input")).setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,h.noCloneEvent=!!e.addEventListener,e[g.expando]=1,h.attributes=!e.getAttribute(g.expando)}();var re={option:[1,""],legend:[1,""],area:[1,""],param:[1,""],thead:[1,""],tr:[2,""],col:[2,""],td:[3,""],_default:h.htmlSerialize?[0,"",""]:[1,"X","
"]};re.optgroup=re.option,re.tbody=re.tfoot=re.colgroup=re.caption=re.thead,re.th=re.td;function ie(e,t){var n,r,i=0,o=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||g.nodeName(r,t)?o.push(r):g.merge(o,ie(r,t));return void 0===t||t&&g.nodeName(e,t)?g.merge([e],o):o}function oe(e,t){for(var n,r=0;null!=(n=e[r]);r++)g._data(n,"globalEval",!t||g._data(t[r],"globalEval"))}var ae=/<|?\w+;/,se=/"!==f[1]||se.test(a)?0:u:u.firstChild)&&a.childNodes.length;o--;)g.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(g.merge(m,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=p.lastChild}else m.push(t.createTextNode(a));for(u&&p.removeChild(u),h.appendChecked||g.grep(ie(m,"input"),ue),v=0;a=m[v++];)if(r&&g.inArray(a,r)>-1)i&&i.push(a);else if(s=g.contains(a.ownerDocument,a),u=ie(p.appendChild(a),"script"),s&&oe(u),n)for(o=0;a=u[o++];)Z.test(a.type||"")&&n.push(a);return u=null,p}!function(){var e,t,r=a.createElement("div");for(e in{submit:!0,change:!0,focusin:!0})t="on"+e,(h[e]=t in n)||(r.setAttribute(t,"t"),h[e]=!1===r.attributes[t].expando);r=null}();var ce=/^(?:input|select|textarea)$/i,fe=/^key/,de=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,pe=/^(?:focusinfocus|focusoutblur)$/,he=/^([^.]*)(?:\.(.+)|)/;function ge(){return!0}function me(){return!1}function ve(){try{return a.activeElement}catch(e){}}function ye(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)ye(e,s,n,r,t[s],o);return e}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=me;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return g().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=g.guid++)),e.each(function(){g.event.add(this,t,i,r,n)})}g.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,m,v=g._data(e);if(v){for(n.handler&&(n=(u=n).handler,i=u.selector),n.guid||(n.guid=g.guid++),(a=v.events)||(a=v.events={}),(c=v.handle)||((c=v.handle=function(e){return void 0===g||e&&g.event.triggered===e.type?void 0:g.event.dispatch.apply(c.elem,arguments)}).elem=e),s=(t=(t||"").match(q)||[""]).length;s--;)p=m=(o=he.exec(t[s])||[])[1],h=(o[2]||"").split(".").sort(),p&&(l=g.event.special[p]||{},p=(i?l.delegateType:l.bindType)||p,l=g.event.special[p]||{},f=g.extend({type:p,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&g.expr.match.needsContext.test(i),namespace:h.join(".")},u),(d=a[p])||((d=a[p]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(e,r,h,c)||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),l.add&&(l.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,f):d.push(f),g.event.global[p]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,m,v=g.hasData(e)&&g._data(e);if(v&&(c=v.events)){for(l=(t=(t||"").match(q)||[""]).length;l--;)if(p=m=(s=he.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),p){for(f=g.event.special[p]||{},d=c[p=(r?f.delegateType:f.bindType)||p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=d.length;o--;)a=d[o],!i&&m!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,f.remove&&f.remove.call(e,a));u&&!d.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||g.removeEvent(e,p,v.handle),delete c[p])}else for(p in c)g.event.remove(e,p+t[l],n,r,!0);g.isEmptyObject(c)&&(delete v.handle,g._removeData(e,"events"))}},trigger:function(e,t,r,i){var o,s,u,l,c,f,d,h=[r||a],m=p.call(e,"type")?e.type:e,v=p.call(e,"namespace")?e.namespace.split("."):[];if(u=f=r=r||a,3!==r.nodeType&&8!==r.nodeType&&!pe.test(m+g.event.triggered)&&(m.indexOf(".")>-1&&(m=(v=m.split(".")).shift(),v.sort()),s=m.indexOf(":")<0&&"on"+m,(e=e[g.expando]?e:new g.Event(m,"object"==typeof e&&e)).isTrigger=i?2:3,e.namespace=v.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=r),t=null==t?[e]:g.makeArray(t,[e]),c=g.event.special[m]||{},i||!c.trigger||!1!==c.trigger.apply(r,t))){if(!i&&!c.noBubble&&!g.isWindow(r)){for(l=c.delegateType||m,pe.test(l+m)||(u=u.parentNode);u;u=u.parentNode)h.push(u),f=u;f===(r.ownerDocument||a)&&h.push(f.defaultView||f.parentWindow||n)}for(d=0;(u=h[d++])&&!e.isPropagationStopped();)e.type=d>1?l:c.bindType||m,(o=(g._data(u,"events")||{})[e.type]&&g._data(u,"handle"))&&o.apply(u,t),(o=s&&u[s])&&o.apply&&F(u)&&(e.result=o.apply(u,t),!1===e.result&&e.preventDefault());if(e.type=m,!i&&!e.isDefaultPrevented()&&(!c._default||!1===c._default.apply(h.pop(),t))&&F(r)&&s&&r[m]&&!g.isWindow(r)){(f=r[s])&&(r[s]=null),g.event.triggered=m;try{r[m]()}catch(e){}g.event.triggered=void 0,f&&(r[s]=f)}return e.result}},dispatch:function(e){e=g.event.fix(e);var t,n,r,i,o,a=[],u=s.call(arguments),l=(g._data(this,"events")||{})[e.type]||[],c=g.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,e)){for(a=g.event.handlers.call(this,e,l),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,void 0!==(r=((g.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,u))&&!1===(e.result=r)&&(e.preventDefault(),e.stopPropagation()));return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(!0!==u.disabled||"click"!==e.type)){for(r=[],n=0;n-1:g.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s]","i"),we=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,Te=/