diff --git a/.gitattributes b/.gitattributes index cc77527051bd8583723d805b6306605537de4056..fe4b4cb961b04ad4f7df7719c34f782bb058e572 100644 --- a/.gitattributes +++ b/.gitattributes @@ -38,3 +38,7 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text 03_JavaScript基本语法.ipynb filter=lfs diff=lfs merge=lfs -text 04_DOM模型.ipynb filter=lfs diff=lfs merge=lfs -text 08_jQuery.ipynb filter=lfs diff=lfs merge=lfs -text +css/47_小米官网项目/13.小米官网项目.pdf filter=lfs diff=lfs merge=lfs -text +css/48_响应式项目/14.响应式项目.pdf filter=lfs diff=lfs merge=lfs -text +html/18_HTML5新增元素/data/games.mp4 filter=lfs diff=lfs merge=lfs -text +html/18_HTML5新增元素/data/returns.mp3 filter=lfs diff=lfs merge=lfs -text diff --git a/BOM/.DS_Store b/BOM/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..3828d1c7ae68a84fc6fea8784d103c96929169d5 Binary files /dev/null and b/BOM/.DS_Store differ diff --git "a/BOM/01_BOM\346\246\202\350\277\260.html" "b/BOM/01_BOM\346\246\202\350\277\260.html" new file mode 100644 index 0000000000000000000000000000000000000000..ef9347aa3ede4162c8e495ecef125ed2ffef68d6 --- /dev/null +++ "b/BOM/01_BOM\346\246\202\350\277\260.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + + + + + + + + + \ No newline at end of file diff --git "a/BOM/02_script\345\267\245\344\275\234\345\216\237\347\220\206.html" "b/BOM/02_script\345\267\245\344\275\234\345\216\237\347\220\206.html" new file mode 100644 index 0000000000000000000000000000000000000000..decd43b8d94a19614462fc9ac58501cfcea75618 --- /dev/null +++ "b/BOM/02_script\345\267\245\344\275\234\345\216\237\347\220\206.html" @@ -0,0 +1,18 @@ + + + + + + + Document + + + + + + + +
盒子
+ + + \ No newline at end of file diff --git "a/BOM/03_\345\233\236\346\265\201\345\222\214\351\207\215\347\273\230.html" "b/BOM/03_\345\233\236\346\265\201\345\222\214\351\207\215\347\273\230.html" new file mode 100644 index 0000000000000000000000000000000000000000..6bd14f47a8aa1d99132181785074a1d6012ac371 --- /dev/null +++ "b/BOM/03_\345\233\236\346\265\201\345\222\214\351\207\215\347\273\230.html" @@ -0,0 +1,43 @@ + + + + + + + Document + + + + +
+ + + + + + \ No newline at end of file diff --git "a/BOM/04_\345\256\232\346\227\266\345\231\2501_setTimeout.html" "b/BOM/04_\345\256\232\346\227\266\345\231\2501_setTimeout.html" new file mode 100644 index 0000000000000000000000000000000000000000..f9fb36735da2844631769f8007bed865095acf58 --- /dev/null +++ "b/BOM/04_\345\256\232\346\227\266\345\231\2501_setTimeout.html" @@ -0,0 +1,66 @@ + + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/BOM/04_\345\256\232\346\227\266\345\231\2502_setInterval.html" "b/BOM/04_\345\256\232\346\227\266\345\231\2502_setInterval.html" new file mode 100644 index 0000000000000000000000000000000000000000..682cfffcb4a887145887ad4ce7f9186ef21d782a --- /dev/null +++ "b/BOM/04_\345\256\232\346\227\266\345\231\2502_setInterval.html" @@ -0,0 +1,55 @@ + + + + + + + + Document + + + + + +
+ + + + + + + + \ No newline at end of file diff --git "a/BOM/04_\345\256\232\346\227\266\345\231\2503_\345\256\236\346\223\215.html" "b/BOM/04_\345\256\232\346\227\266\345\231\2503_\345\256\236\346\223\215.html" new file mode 100644 index 0000000000000000000000000000000000000000..f70b18c8a621aa76b3289f96882654910f0e831d --- /dev/null +++ "b/BOM/04_\345\256\232\346\227\266\345\231\2503_\345\256\236\346\223\215.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + +
+
+ +
+
+
百度内容
+
新浪内容
+
淘宝内容
+
京东内容
+
网易内容
+
+
+ + + + + \ No newline at end of file diff --git "a/BOM/04_\345\256\232\346\227\266\345\231\2504_\351\230\262\346\212\226debounce.html" "b/BOM/04_\345\256\232\346\227\266\345\231\2504_\351\230\262\346\212\226debounce.html" new file mode 100644 index 0000000000000000000000000000000000000000..2e280ea014f3d9c92d50fa30c6782acd1a80927c --- /dev/null +++ "b/BOM/04_\345\256\232\346\227\266\345\231\2504_\351\230\262\346\212\226debounce.html" @@ -0,0 +1,82 @@ + + + + + + + + Document + + + + + +
+
+
+
+
+
+ + + + + + \ No newline at end of file diff --git "a/BOM/04_\345\256\232\346\227\266\345\231\2505_\350\212\202\346\265\201throttle.html" "b/BOM/04_\345\256\232\346\227\266\345\231\2505_\350\212\202\346\265\201throttle.html" new file mode 100644 index 0000000000000000000000000000000000000000..dad1b55691d987691a7e15df7d01086558669bd4 --- /dev/null +++ "b/BOM/04_\345\256\232\346\227\266\345\231\2505_\350\212\202\346\265\201throttle.html" @@ -0,0 +1,56 @@ + + + + + + + + Document + + + + + +
内哦给你
+
内哦给你
+
内哦给你
+
内哦给你
+
内哦给你
+
内哦给你
+ + + + + + + \ No newline at end of file diff --git "a/BOM/05_window\345\257\271\350\261\2411_\345\261\236\346\200\247.html" "b/BOM/05_window\345\257\271\350\261\2411_\345\261\236\346\200\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..cdba81777ff16d0adf3e2ed7802e45c77de44e5a --- /dev/null +++ "b/BOM/05_window\345\257\271\350\261\2411_\345\261\236\346\200\247.html" @@ -0,0 +1,49 @@ + + + + + + + Document + + + + +
+
+
+
+
+
+ + + + + \ No newline at end of file diff --git "a/BOM/05_window\345\257\271\350\261\2412_\346\226\271\346\263\225.html" "b/BOM/05_window\345\257\271\350\261\2412_\346\226\271\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..6151d62ac82a9bc21cd7c68052a8757addc90715 --- /dev/null +++ "b/BOM/05_window\345\257\271\350\261\2412_\346\226\271\346\263\225.html" @@ -0,0 +1,31 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/BOM/06_Navigator\345\257\271\350\261\241.html" "b/BOM/06_Navigator\345\257\271\350\261\241.html" new file mode 100644 index 0000000000000000000000000000000000000000..e7d4c5b4f1a423eee58026269e8796c9b96d75ac --- /dev/null +++ "b/BOM/06_Navigator\345\257\271\350\261\241.html" @@ -0,0 +1,32 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/BOM/07_Screen\345\257\271\350\261\241.html" "b/BOM/07_Screen\345\257\271\350\261\241.html" new file mode 100644 index 0000000000000000000000000000000000000000..dd30db40b314579a503358ed8a3675b1c3b32a48 --- /dev/null +++ "b/BOM/07_Screen\345\257\271\350\261\241.html" @@ -0,0 +1,28 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/BOM/08_History\345\257\271\350\261\2411.html" "b/BOM/08_History\345\257\271\350\261\2411.html" new file mode 100644 index 0000000000000000000000000000000000000000..c790aab95f07b4ed6474a1480ecb0a13ed806a5c --- /dev/null +++ "b/BOM/08_History\345\257\271\350\261\2411.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + +

Hello

+ + + + + + \ No newline at end of file diff --git "a/BOM/08_History\345\257\271\350\261\2412.html" "b/BOM/08_History\345\257\271\350\261\2412.html" new file mode 100644 index 0000000000000000000000000000000000000000..dc1bb9a9f92315b7681a35362363963ec9161860 --- /dev/null +++ "b/BOM/08_History\345\257\271\350\261\2412.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + 百战 + + + + + \ No newline at end of file diff --git "a/BOM/09_\345\260\201\350\243\205cookie.html" "b/BOM/09_\345\260\201\350\243\205cookie.html" new file mode 100644 index 0000000000000000000000000000000000000000..c6eb3bac76fe4ae9713e102419008bb0e4429853 --- /dev/null +++ "b/BOM/09_\345\260\201\350\243\205cookie.html" @@ -0,0 +1,53 @@ + + + + + + + Document + + + +

学习Cookie

+ + + + + \ No newline at end of file diff --git "a/BOM/10_apply_call_bind\345\207\275\346\225\260.html" "b/BOM/10_apply_call_bind\345\207\275\346\225\260.html" new file mode 100644 index 0000000000000000000000000000000000000000..520eaa761aca3ced73358a6420b43824ec6d60c2 --- /dev/null +++ "b/BOM/10_apply_call_bind\345\207\275\346\225\260.html" @@ -0,0 +1,90 @@ + + + + + + + + Document + + + + + + + + + + + \ No newline at end of file diff --git a/BOM/css/tab.css b/BOM/css/tab.css new file mode 100644 index 0000000000000000000000000000000000000000..788e5ca3c0f69da6f105c5fcff9f52ed17448c63 --- /dev/null +++ b/BOM/css/tab.css @@ -0,0 +1,60 @@ +*{ + margin: 0; + padding: 0; +} + +body{ + background-color: gray; +} + +.container{ + width: 300px; + height: 200px; + background-color: #fff; + margin: 100px auto; +} + +.container .up{ + height: 50px; + width: 100%; +} + +.container .up ul{ + list-style-type: none; + text-align: center; +} + +.container .up ul li{ + float: left; + width: 60px; + height: 50px; + line-height: 50px; +} + +.container .up ul li a{ + text-decoration: none; + font-size: 20px; +} + +.select{ + border-bottom: 2px solid orange; +} + +.container .down{ + height: 100px; + width: 100%; + position: relative; + text-align: center; +} + +.container .down div{ + position:absolute; + line-height: 100px; + height: 100%; + width: 100%; + display: none; +} + +.container .down div.div-select{ + display: block; +} \ No newline at end of file diff --git a/BOM/js/hello.js b/BOM/js/hello.js new file mode 100644 index 0000000000000000000000000000000000000000..f26f65261947cb49a9cd3f4d3040c981253da984 --- /dev/null +++ b/BOM/js/hello.js @@ -0,0 +1 @@ +var hello = "hello" \ No newline at end of file diff --git a/BOM/js/index01.js b/BOM/js/index01.js new file mode 100644 index 0000000000000000000000000000000000000000..ad86b2ec3f95de5c9c251e64627cabb849332eb1 --- /dev/null +++ b/BOM/js/index01.js @@ -0,0 +1 @@ +console.log("hello"); \ No newline at end of file diff --git a/BOM/js/index02.js b/BOM/js/index02.js new file mode 100644 index 0000000000000000000000000000000000000000..3b5b6ebf83e5d92bb6aad5458b98512483e025ea --- /dev/null +++ b/BOM/js/index02.js @@ -0,0 +1,3 @@ +var box = document.getElementById("box"); +console.log(box); +console.log(hello); \ No newline at end of file diff --git a/BOM/js/tab.js b/BOM/js/tab.js new file mode 100644 index 0000000000000000000000000000000000000000..a688a9b123851e42a8007e0fe21482187d0bf54b --- /dev/null +++ b/BOM/js/tab.js @@ -0,0 +1,31 @@ +// 1. 获取到页面所有的元素 +var lis = document.querySelector(".up").querySelectorAll("li"); +var divs = document.querySelector(".down").querySelectorAll("div"); +var timer = null; +var delay = 300; + + +// 闭包帮我们保存变量到内存中 +for (var i = 0; i < lis.length; i++) { + (function (i) { + lis[i].onmouseenter = function () { + timer = setTimeout(function () { + for (var j = 0; j < lis.length; j++) { + lis[j].removeAttribute("class"); + divs[j].removeAttribute("class") + } + lis[i].setAttribute("class", "select") + divs[i].setAttribute("class", "div-select") + },delay) + } + }(i)) + lis[i].onmouseleave = function(){ + clearTimeout(timer) + } +} +/** + * 1. 获取元素 + * 2. 闭包 + * 3. 事件:鼠标滑动事件 + * 4. 属性的操作:添加、删除 + */ \ No newline at end of file diff --git "a/DOM/01_DOM\346\246\202\350\277\260.html" "b/DOM/01_DOM\346\246\202\350\277\260.html" new file mode 100644 index 0000000000000000000000000000000000000000..1169e258a14fa846d510041d00c82b57b7d8147d --- /dev/null +++ "b/DOM/01_DOM\346\246\202\350\277\260.html" @@ -0,0 +1,26 @@ + + + + + + + Document + + + + + +
+

文档

+
+ + + + + \ No newline at end of file diff --git "a/DOM/02_document\345\257\271\350\261\241_\345\261\236\346\200\247.html" "b/DOM/02_document\345\257\271\350\261\241_\345\261\236\346\200\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..ea7c65aaf38c5a8814ef21aeba98b395d1707292 --- /dev/null +++ "b/DOM/02_document\345\257\271\350\261\241_\345\261\236\346\200\247.html" @@ -0,0 +1,46 @@ + + + + + + + Document + + + +
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git "a/DOM/03_document\345\257\271\350\261\241_\346\226\271\346\263\2251_\350\216\267\345\217\226\345\205\203\347\264\240.html" "b/DOM/03_document\345\257\271\350\261\241_\346\226\271\346\263\2251_\350\216\267\345\217\226\345\205\203\347\264\240.html" new file mode 100644 index 0000000000000000000000000000000000000000..59f108b8038133470f4975a100d8a278c181bcb7 --- /dev/null +++ "b/DOM/03_document\345\257\271\350\261\241_\346\226\271\346\263\2251_\350\216\267\345\217\226\345\205\203\347\264\240.html" @@ -0,0 +1,56 @@ + + + + + + + Document + + + +
box1
+
box2
+
box3
+ +
+
+

+ +
+ + + + + \ No newline at end of file diff --git "a/DOM/03_document\345\257\271\350\261\241_\346\226\271\346\263\2252_\345\210\233\345\273\272\345\205\203\347\264\240.html" "b/DOM/03_document\345\257\271\350\261\241_\346\226\271\346\263\2252_\345\210\233\345\273\272\345\205\203\347\264\240.html" new file mode 100644 index 0000000000000000000000000000000000000000..e6bc46af72a4302c872e8d4ee29d01745a2ec2b6 --- /dev/null +++ "b/DOM/03_document\345\257\271\350\261\241_\346\226\271\346\263\2252_\345\210\233\345\273\272\345\205\203\347\264\240.html" @@ -0,0 +1,45 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/DOM/04_Element\345\257\271\350\261\241_\345\261\236\346\200\247.html" "b/DOM/04_Element\345\257\271\350\261\241_\345\261\236\346\200\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..d25e7e50ba36a743123624182211091eb1713d9e --- /dev/null +++ "b/DOM/04_Element\345\257\271\350\261\241_\345\261\236\346\200\247.html" @@ -0,0 +1,37 @@ + + + + + + + Document + + + +
容器
+ + + + + \ No newline at end of file diff --git "a/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2471.html" "b/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2471.html" new file mode 100644 index 0000000000000000000000000000000000000000..d1c67133d4f7ccab1ef44f38e8e11eda00c1680f --- /dev/null +++ "b/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2471.html" @@ -0,0 +1,56 @@ + + + + + + + + Document + + + + + +
+ + + + + + \ No newline at end of file diff --git "a/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2472.html" "b/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2472.html" new file mode 100644 index 0000000000000000000000000000000000000000..7d440d41ce929e0f4e8db5f8226f4d1e935dc294 --- /dev/null +++ "b/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2472.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + + +
第一部分内容
+
第二部分内容
+
第三部分内容
+
第四部分内容
+ + + + + \ No newline at end of file diff --git "a/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2473.html" "b/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2473.html" new file mode 100644 index 0000000000000000000000000000000000000000..bcf385f14b29adb5c97d5127f33a49c96ac9af9a --- /dev/null +++ "b/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2473.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + +
+ + + + + \ No newline at end of file diff --git "a/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2474.html" "b/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2474.html" new file mode 100644 index 0000000000000000000000000000000000000000..9e12d9b23ae96ac541984fe63800df419d3ff4f9 --- /dev/null +++ "b/DOM/05_Element\345\257\271\350\261\241_\346\234\211\345\205\263\344\275\215\347\275\256\347\232\204\345\261\236\346\200\2474.html" @@ -0,0 +1,47 @@ + + + + + + + Document + + + + +
+
+
+ + + + + \ No newline at end of file diff --git "a/DOM/06_Element\345\257\271\350\261\241_\346\226\271\346\263\225.html" "b/DOM/06_Element\345\257\271\350\261\241_\346\226\271\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..c0a9d2e7834e491e9000bf4eea7c6fa7602f584d --- /dev/null +++ "b/DOM/06_Element\345\257\271\350\261\241_\346\226\271\346\263\225.html" @@ -0,0 +1,44 @@ + + + + + + + Document + + + + + + +
我是子元素
+ +
+ + + + + \ No newline at end of file diff --git "a/DOM/07_Attribute\345\261\236\346\200\247.html" "b/DOM/07_Attribute\345\261\236\346\200\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..34473d391b6cfaeffbf43d4ab164d3dd806f97ce --- /dev/null +++ "b/DOM/07_Attribute\345\261\236\346\200\247.html" @@ -0,0 +1,35 @@ + + + + + + + + Document + + + + + 百战程序员 + + + + + + \ No newline at end of file diff --git "a/DOM/08_Text\350\212\202\347\202\271.html" "b/DOM/08_Text\350\212\202\347\202\271.html" new file mode 100644 index 0000000000000000000000000000000000000000..f9119de1b2cf253eaed7fb21d081c159fc8b3116 --- /dev/null +++ "b/DOM/08_Text\350\212\202\347\202\271.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + +

Hello World

+ + + + + \ No newline at end of file diff --git "a/DOM/09_DocumentFragment\350\212\202\347\202\271.html" "b/DOM/09_DocumentFragment\350\212\202\347\202\271.html" new file mode 100644 index 0000000000000000000000000000000000000000..5aa2b6773784f92c3cd69e3fbea3a8bb8dd2ee51 --- /dev/null +++ "b/DOM/09_DocumentFragment\350\212\202\347\202\271.html" @@ -0,0 +1,33 @@ + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2471_nodeName.html" "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2471_nodeName.html" new file mode 100644 index 0000000000000000000000000000000000000000..8cb05cede170f653901417bd83b7b34cda4886fd --- /dev/null +++ "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2471_nodeName.html" @@ -0,0 +1,28 @@ + + + + + + + Document + + + +
盒子
+ + + + + \ No newline at end of file diff --git "a/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2472_nodeValue.html" "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2472_nodeValue.html" new file mode 100644 index 0000000000000000000000000000000000000000..47da2fe562bf0adb9ed8d1e6d2eabb6535358a3d --- /dev/null +++ "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2472_nodeValue.html" @@ -0,0 +1,23 @@ + + + + + + + Document + + + +
我是一个盒子
+ + + + + \ No newline at end of file diff --git "a/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2473_textContent.html" "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2473_textContent.html" new file mode 100644 index 0000000000000000000000000000000000000000..8e848b5cff5c78e2ad36bb2b97a896a484ef78be --- /dev/null +++ "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2473_textContent.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + +
WelCome:iwen,百战平台
+
+ + + + \ No newline at end of file diff --git "a/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2474_nextSibling.html" "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2474_nextSibling.html" new file mode 100644 index 0000000000000000000000000000000000000000..438becf4b5c54280ba30a2b94c4b08f477ae311e --- /dev/null +++ "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2474_nextSibling.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + +
box1
box2
+ +
+

内容1

+

内容2

+

内容3

+
+ + + + + \ No newline at end of file diff --git "a/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2475_previousSibling.html" "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2475_previousSibling.html" new file mode 100644 index 0000000000000000000000000000000000000000..8da732324960e923cb9d965457ee1e9c72c3b7da --- /dev/null +++ "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2475_previousSibling.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + +
box1
box2
+ + + + + \ No newline at end of file diff --git "a/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2476_parentNode.html" "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2476_parentNode.html" new file mode 100644 index 0000000000000000000000000000000000000000..5a37c98e68c94ab0b6b604963efb99370aaca145 --- /dev/null +++ "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2476_parentNode.html" @@ -0,0 +1,29 @@ + + + + + + + Document + + + +
+

我是内容

+
+ + + + + \ No newline at end of file diff --git "a/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2477_firstChild_lastChild.html" "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2477_firstChild_lastChild.html" new file mode 100644 index 0000000000000000000000000000000000000000..5b7e96ce95b7dc9ff04a62a8af337cb331fb8b4b --- /dev/null +++ "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2477_firstChild_lastChild.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + +

内容1

内容2

内容3

+ +

+ last span +

+ + + + + + \ No newline at end of file diff --git "a/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2478_childNodes.html" "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2478_childNodes.html" new file mode 100644 index 0000000000000000000000000000000000000000..cff1e709808251209df9fedfd21180cda2c78177 --- /dev/null +++ "b/DOM/10_Node\350\212\202\347\202\271\345\261\236\346\200\2478_childNodes.html" @@ -0,0 +1,36 @@ + + + + + + + Document + + + +
+ +

文本信息1

+

文本信息2

+
+ + + + + \ No newline at end of file diff --git "a/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2251_appendChild.html" "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2251_appendChild.html" new file mode 100644 index 0000000000000000000000000000000000000000..01e8d8c0578ca36b4221f8ba2bffc51a170ee5d5 --- /dev/null +++ "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2251_appendChild.html" @@ -0,0 +1,41 @@ + + + + + + + Document + + + +
+ +

hello

+ + + + + + + \ No newline at end of file diff --git "a/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2252_hasChildNodes.html" "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2252_hasChildNodes.html" new file mode 100644 index 0000000000000000000000000000000000000000..792fe13ceb632f599e46acb403341dc2afc6bac7 --- /dev/null +++ "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2252_hasChildNodes.html" @@ -0,0 +1,41 @@ + + + + + + + Document + + + +
+

Hello

+

标题

+
+ + + + + \ No newline at end of file diff --git "a/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2253_cloneNode.html" "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2253_cloneNode.html" new file mode 100644 index 0000000000000000000000000000000000000000..b25eeb16545a110f0a770e46d4d7f1f0d9a525bb --- /dev/null +++ "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2253_cloneNode.html" @@ -0,0 +1,29 @@ + + + + + + + Document + + + +
+ + + + + + + \ No newline at end of file diff --git "a/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2254_insertBefore.html" "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2254_insertBefore.html" new file mode 100644 index 0000000000000000000000000000000000000000..67016dc0e942b62e5a174461da875de16a6530c3 --- /dev/null +++ "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2254_insertBefore.html" @@ -0,0 +1,36 @@ + + + + + + + Document + + + +
+

我是文本

+
+ +

clone文本

+ + + + + + \ No newline at end of file diff --git "a/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2255_removeChild.html" "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2255_removeChild.html" new file mode 100644 index 0000000000000000000000000000000000000000..5d6003efaec4e02b8f4e1dea131f8290d051fd23 --- /dev/null +++ "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2255_removeChild.html" @@ -0,0 +1,51 @@ + + + + + + + Document + + + +
+

Hello

+
+ + + + + + + \ No newline at end of file diff --git "a/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2256_replaceChild.html" "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2256_replaceChild.html" new file mode 100644 index 0000000000000000000000000000000000000000..f6265b34215e46cdf851003ef84b5a9d598fcfe4 --- /dev/null +++ "b/DOM/11_Node\350\212\202\347\202\271\346\226\271\346\263\2256_replaceChild.html" @@ -0,0 +1,33 @@ + + + + + + + Document + + + +
+

标题

+

文本信息

+
+ + + + + \ No newline at end of file diff --git "a/DOM/12_CSS\346\223\215\344\275\234.html" "b/DOM/12_CSS\346\223\215\344\275\234.html" new file mode 100644 index 0000000000000000000000000000000000000000..20d47474b9e031f9983ca79066a6cd335f06d21e --- /dev/null +++ "b/DOM/12_CSS\346\223\215\344\275\234.html" @@ -0,0 +1,36 @@ + + + + + + + Document + + + + +
欢迎来到itbaizhan
+ + + + + \ No newline at end of file diff --git "a/DOM/13_\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\2171_HTML\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\217.html" "b/DOM/13_\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\2171_HTML\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\217.html" new file mode 100644 index 0000000000000000000000000000000000000000..beb2db5d9e51ed546aa40391ae18eb3415e7478c --- /dev/null +++ "b/DOM/13_\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\2171_HTML\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\217.html" @@ -0,0 +1,36 @@ + + + + + + + Document + + + + + + + +

我是文本信息

+ + + + + \ No newline at end of file diff --git "a/DOM/13_\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\2172_DOM0\347\272\247\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\217.html" "b/DOM/13_\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\2172_DOM0\347\272\247\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\217.html" new file mode 100644 index 0000000000000000000000000000000000000000..e200e0597eccce4a98aa213d1d7f00c97ec932d2 --- /dev/null +++ "b/DOM/13_\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\2172_DOM0\347\272\247\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\217.html" @@ -0,0 +1,42 @@ + + + + + + + Document + + + + + + +

我是文本,我是无辜的

+ + + + + \ No newline at end of file diff --git "a/DOM/13_\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\2173_DOM2\347\272\247\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\217.html" "b/DOM/13_\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\2173_DOM2\347\272\247\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\217.html" new file mode 100644 index 0000000000000000000000000000000000000000..64e99d1ee69ce457cc8df8a69a82628afbb9b0b6 --- /dev/null +++ "b/DOM/13_\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\2173_DOM2\347\272\247\344\272\213\344\273\266\345\244\204\347\220\206\347\250\213\345\272\217.html" @@ -0,0 +1,47 @@ + + + + + + + Document + + + + + + +

你在干啥?

+ + + + + \ No newline at end of file diff --git "a/DOM/14_\351\274\240\346\240\207\344\272\213\344\273\266.html" "b/DOM/14_\351\274\240\346\240\207\344\272\213\344\273\266.html" new file mode 100644 index 0000000000000000000000000000000000000000..7b1ab20f9271c827dda97f1bff88a7485d8f37eb --- /dev/null +++ "b/DOM/14_\351\274\240\346\240\207\344\272\213\344\273\266.html" @@ -0,0 +1,100 @@ + + + + + + + Document + + + + + + + + +
mousemove事件
+
+
+
+ +
+
+
+ + + + + \ No newline at end of file diff --git "a/DOM/15_\344\272\213\344\273\266\346\265\2011_\344\272\213\344\273\266\345\206\222\346\263\241.html" "b/DOM/15_\344\272\213\344\273\266\346\265\2011_\344\272\213\344\273\266\345\206\222\346\263\241.html" new file mode 100644 index 0000000000000000000000000000000000000000..fe816bf586ebfd35896daa9cb4360b8e86f0cf41 --- /dev/null +++ "b/DOM/15_\344\272\213\344\273\266\346\265\2011_\344\272\213\344\273\266\345\206\222\346\263\241.html" @@ -0,0 +1,45 @@ + + + + + + + Document + + + + +
+

我是P元素,嵌套了span元素

+
+ + + + + \ No newline at end of file diff --git "a/DOM/15_\344\272\213\344\273\266\346\265\2012_\344\272\213\344\273\266\346\215\225\350\216\267.html" "b/DOM/15_\344\272\213\344\273\266\346\265\2012_\344\272\213\344\273\266\346\215\225\350\216\267.html" new file mode 100644 index 0000000000000000000000000000000000000000..8f2cff8fa370cf6f0797cf443d3853509909ae80 --- /dev/null +++ "b/DOM/15_\344\272\213\344\273\266\346\265\2012_\344\272\213\344\273\266\346\215\225\350\216\267.html" @@ -0,0 +1,55 @@ + + + + + + + + Document + + + + + +
+

我是P元素,嵌套了span元素

+
+ + + + + + + + + \ No newline at end of file diff --git "a/DOM/16_Event\344\272\213\344\273\266\345\257\271\350\261\241_\345\261\236\346\200\247.html" "b/DOM/16_Event\344\272\213\344\273\266\345\257\271\350\261\241_\345\261\236\346\200\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..674985c162a5bb00e0afa186960764c5cd3df61b --- /dev/null +++ "b/DOM/16_Event\344\272\213\344\273\266\345\257\271\350\261\241_\345\261\236\346\200\247.html" @@ -0,0 +1,104 @@ + + + + + + + + Document + + + + + + + +
+ +
+ + 百战程序员 + +
+ +
+ + + + + + + + + + \ No newline at end of file diff --git "a/DOM/17_Event\344\272\213\344\273\266\345\257\271\350\261\241_\346\226\271\346\263\225.html" "b/DOM/17_Event\344\272\213\344\273\266\345\257\271\350\261\241_\346\226\271\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..8c7bf1756e2e806e10bc1a1fdef1e0ae859d6b0f --- /dev/null +++ "b/DOM/17_Event\344\272\213\344\273\266\345\257\271\350\261\241_\346\226\271\346\263\225.html" @@ -0,0 +1,49 @@ + + + + + + + Document + + + + + 百战程序员 + +
+ +
+ + + + + \ No newline at end of file diff --git "a/DOM/18_\351\224\256\347\233\230\344\272\213\344\273\266.html" "b/DOM/18_\351\224\256\347\233\230\344\272\213\344\273\266.html" new file mode 100644 index 0000000000000000000000000000000000000000..94067ed1556a38d02398eb66c5b699d52f730351 --- /dev/null +++ "b/DOM/18_\351\224\256\347\233\230\344\272\213\344\273\266.html" @@ -0,0 +1,37 @@ + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/DOM/19_\350\241\250\345\215\225\344\272\213\344\273\266.html" "b/DOM/19_\350\241\250\345\215\225\344\272\213\344\273\266.html" new file mode 100644 index 0000000000000000000000000000000000000000..aa2072570a8726abbb5eb126167151ba8862b55c --- /dev/null +++ "b/DOM/19_\350\241\250\345\215\225\344\272\213\344\273\266.html" @@ -0,0 +1,51 @@ + + + + + + + Document + + + + + + +
+ + + +
+ + + + + \ No newline at end of file diff --git "a/DOM/20_\347\252\227\345\217\243\344\272\213\344\273\266.html" "b/DOM/20_\347\252\227\345\217\243\344\272\213\344\273\266.html" new file mode 100644 index 0000000000000000000000000000000000000000..8c9b6ea2f35eccf16eb2bad5a9ddc9af8bef1883 --- /dev/null +++ "b/DOM/20_\347\252\227\345\217\243\344\272\213\344\273\266.html" @@ -0,0 +1,42 @@ + + + + + + + Document + + + + + + +

标题1

+

标题2

+

标题3

+

标题4

+

标题5

+ + + + + + \ No newline at end of file diff --git "a/DOM/21_\347\204\246\347\202\271_\345\211\252\350\264\264\346\235\277\344\272\213\344\273\266.html" "b/DOM/21_\347\204\246\347\202\271_\345\211\252\350\264\264\346\235\277\344\272\213\344\273\266.html" new file mode 100644 index 0000000000000000000000000000000000000000..6be8050f0c6aaab6976ac11636432b30d1b17510 --- /dev/null +++ "b/DOM/21_\347\204\246\347\202\271_\345\211\252\350\264\264\346\235\277\344\272\213\344\273\266.html" @@ -0,0 +1,43 @@ + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/DOM/22_\347\275\221\351\241\265\347\212\266\346\200\201\344\272\213\344\273\266.html" "b/DOM/22_\347\275\221\351\241\265\347\212\266\346\200\201\344\272\213\344\273\266.html" new file mode 100644 index 0000000000000000000000000000000000000000..d91b2ecc48c710d16b558bc47619d5b1943a1051 --- /dev/null +++ "b/DOM/22_\347\275\221\351\241\265\347\212\266\346\200\201\344\272\213\344\273\266.html" @@ -0,0 +1,30 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/DOM/23_Touch\344\272\213\344\273\266.html" "b/DOM/23_Touch\344\272\213\344\273\266.html" new file mode 100644 index 0000000000000000000000000000000000000000..946a05cfb57adfcbfd5e44fe7e53ecbac0c1ee09 --- /dev/null +++ "b/DOM/23_Touch\344\272\213\344\273\266.html" @@ -0,0 +1,47 @@ + + + + + + + Document + + + + +
+ + + + + \ No newline at end of file diff --git "a/DOM/24_\344\272\213\344\273\266\344\273\243\347\220\206.html" "b/DOM/24_\344\272\213\344\273\266\344\273\243\347\220\206.html" new file mode 100644 index 0000000000000000000000000000000000000000..4c0ce7dd3d6b193843be38460177b01aaa196343 --- /dev/null +++ "b/DOM/24_\344\272\213\344\273\266\344\273\243\347\220\206.html" @@ -0,0 +1,53 @@ + + + + + + + + Document + + + + + + + + + + + \ No newline at end of file diff --git "a/DOM/25_this\345\205\263\351\224\256\345\255\227.html" "b/DOM/25_this\345\205\263\351\224\256\345\255\227.html" new file mode 100644 index 0000000000000000000000000000000000000000..38954daee0d28d4c096760bb7e77d6a1f2338b08 --- /dev/null +++ "b/DOM/25_this\345\205\263\351\224\256\345\255\227.html" @@ -0,0 +1,41 @@ + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2051_\345\217\230\351\207\217\344\275\234\347\224\250\345\237\237.html" "b/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2051_\345\217\230\351\207\217\344\275\234\347\224\250\345\237\237.html" new file mode 100644 index 0000000000000000000000000000000000000000..24518531384b28f6f3ef6de7f3bd486aa4c9fa10 --- /dev/null +++ "b/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2051_\345\217\230\351\207\217\344\275\234\347\224\250\345\237\237.html" @@ -0,0 +1,63 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2052_\344\273\216\345\244\226\351\203\250\350\257\273\345\217\226\345\261\200\351\203\250\345\217\230\351\207\217.html" "b/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2052_\344\273\216\345\244\226\351\203\250\350\257\273\345\217\226\345\261\200\351\203\250\345\217\230\351\207\217.html" new file mode 100644 index 0000000000000000000000000000000000000000..31c3941de9b2562ded68021bb2bfe454fcd5abfa --- /dev/null +++ "b/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2052_\344\273\216\345\244\226\351\203\250\350\257\273\345\217\226\345\261\200\351\203\250\345\217\230\351\207\217.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2053_\351\227\255\345\214\205\347\211\271\347\202\271.html" "b/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2053_\351\227\255\345\214\205\347\211\271\347\202\271.html" new file mode 100644 index 0000000000000000000000000000000000000000..c6db8b6216ddb4668feabb108dba7d41f727a15b --- /dev/null +++ "b/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2053_\351\227\255\345\214\205\347\211\271\347\202\271.html" @@ -0,0 +1,54 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2054_\345\272\224\347\224\250\345\234\272\346\231\257.html" "b/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2054_\345\272\224\347\224\250\345\234\272\346\231\257.html" new file mode 100644 index 0000000000000000000000000000000000000000..a1ef284e9ab81986c6a2237f352675fa2cdad784 --- /dev/null +++ "b/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2054_\345\272\224\347\224\250\345\234\272\346\231\257.html" @@ -0,0 +1,43 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2055_this\345\205\263\351\224\256\345\255\227.html" "b/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2055_this\345\205\263\351\224\256\345\255\227.html" new file mode 100644 index 0000000000000000000000000000000000000000..d75fece0b4ef049436f4db23cb7979b56484ca62 --- /dev/null +++ "b/DOM/26_\345\207\275\346\225\260\351\227\255\345\214\2055_this\345\205\263\351\224\256\345\255\227.html" @@ -0,0 +1,75 @@ + + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/DOM/27_DOM\345\256\236\346\223\215_Tab\345\210\207\346\215\242/css/tab.css" "b/DOM/27_DOM\345\256\236\346\223\215_Tab\345\210\207\346\215\242/css/tab.css" new file mode 100644 index 0000000000000000000000000000000000000000..788e5ca3c0f69da6f105c5fcff9f52ed17448c63 --- /dev/null +++ "b/DOM/27_DOM\345\256\236\346\223\215_Tab\345\210\207\346\215\242/css/tab.css" @@ -0,0 +1,60 @@ +*{ + margin: 0; + padding: 0; +} + +body{ + background-color: gray; +} + +.container{ + width: 300px; + height: 200px; + background-color: #fff; + margin: 100px auto; +} + +.container .up{ + height: 50px; + width: 100%; +} + +.container .up ul{ + list-style-type: none; + text-align: center; +} + +.container .up ul li{ + float: left; + width: 60px; + height: 50px; + line-height: 50px; +} + +.container .up ul li a{ + text-decoration: none; + font-size: 20px; +} + +.select{ + border-bottom: 2px solid orange; +} + +.container .down{ + height: 100px; + width: 100%; + position: relative; + text-align: center; +} + +.container .down div{ + position:absolute; + line-height: 100px; + height: 100%; + width: 100%; + display: none; +} + +.container .down div.div-select{ + display: block; +} \ No newline at end of file diff --git "a/DOM/27_DOM\345\256\236\346\223\215_Tab\345\210\207\346\215\242/index.html" "b/DOM/27_DOM\345\256\236\346\223\215_Tab\345\210\207\346\215\242/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..f70b18c8a621aa76b3289f96882654910f0e831d --- /dev/null +++ "b/DOM/27_DOM\345\256\236\346\223\215_Tab\345\210\207\346\215\242/index.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + +
+
+ +
+
+
百度内容
+
新浪内容
+
淘宝内容
+
京东内容
+
网易内容
+
+
+ + + + + \ No newline at end of file diff --git "a/DOM/27_DOM\345\256\236\346\223\215_Tab\345\210\207\346\215\242/js/tab.js" "b/DOM/27_DOM\345\256\236\346\223\215_Tab\345\210\207\346\215\242/js/tab.js" new file mode 100644 index 0000000000000000000000000000000000000000..be09de2ccb83787b1fea5b6774c48feed837a2d8 --- /dev/null +++ "b/DOM/27_DOM\345\256\236\346\223\215_Tab\345\210\207\346\215\242/js/tab.js" @@ -0,0 +1,23 @@ +// 1. 获取到页面所有的元素 +var lis = document.querySelector(".up").querySelectorAll("li"); +var divs = document.querySelector(".down").querySelectorAll("div"); + +// 闭包帮我们保存变量到内存中 +for(var i = 0;i + + + + + + Document + + + + +
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+
+ +
+
+
+ + + + + \ No newline at end of file diff --git "a/DOM/28_DOM\345\256\236\346\223\215_\347\200\221\345\270\203\346\265\201/js/index.js" "b/DOM/28_DOM\345\256\236\346\223\215_\347\200\221\345\270\203\346\265\201/js/index.js" new file mode 100644 index 0000000000000000000000000000000000000000..557808fde1252b76dfa9aade147e47ef4381aca9 --- /dev/null +++ "b/DOM/28_DOM\345\256\236\346\223\215_\347\200\221\345\270\203\346\265\201/js/index.js" @@ -0,0 +1,116 @@ +/** + * 瀑布流效果: + * 1. 第二行的第一张图片,应该放在每列的高度最矮的图片下面 + * + */ + +window.onload = function(){ + waterFlow(); + + // 准备上拉加载的数据 + var dataImage = { + data:[ + {src:"./img/1.jpeg"}, + {src:"./img/2.jpeg"}, + {src:"./img/3.jpeg"}, + {src:"./img/4.jpeg"}, + {src:"./img/5.jpeg"}, + {src:"./img/6.jpeg"}, + {src:"./img/7.jpeg"}, + {src:"./img/8.jpeg"}, + {src:"./img/9.jpeg"}, + {src:"./img/10.jpeg"}, + {src:"./img/11.jpg"}, + ] + } + + window.onscroll = function(){ + if(checkReachBottom()){ + var parentContainer = document.getElementById("container"); + for(var i = 0;i 文档总高度 - 最后一张图片的高度 + */ + +function checkReachBottom(){ + // 获取滚动高度 + var scrollHeight = document.documentElement.scrollTop; + // 获取视口高度 + var pageHeight = document.documentElement.clientHeight; + // 获取文档总高度 + + // 获取最有一个元素 + var allChild = document.getElementsByClassName("box"); + var lastChildTop = allChild[allChild.length - 1].offsetTop; + + return lastChildTop < pageHeight + scrollHeight ? true : false; +} diff --git "a/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/css/index.css" "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/css/index.css" new file mode 100644 index 0000000000000000000000000000000000000000..50eb7d60cab4abc491bad6138d41bb18ab3131ba --- /dev/null +++ "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/css/index.css" @@ -0,0 +1,66 @@ +*{ + margin: 0; + padding: 0; +} + +.box{ + width: 672px; + height: 320px; + border: 1px solid gray; + margin: 100px auto; + position: relative; +} + +ul{ + list-style-type: none; +} + +.imglist ul li{ + width: 672px; + height: 320px; + position:absolute; + top: 0; + left: 0; + display: none; +} + +.imglist ul li.current{ + display: block; +} + +.btn span{ + width: 55px; + height: 55px; + background: url("../img/left.png"); + position: absolute; + top: 50%; + margin-top: -27.5px; +} + +.btn span.leftbtn{ + left: 10px; +} + +.btn span.rightbtn{ + right: 10px; + background: url("../img/right.png"); +} + +.circle{ + position: absolute; + bottom: 10px; + right: 10px; +} + +.circle ul li{ + width: 20px; + height: 20px; + background: rgba(0,0,0,0.5); + float: left; + margin-right: 10px; + border-radius: 50%; +} + +.circle ul li.current{ + background: rgba(255, 255, 255, 1); +} \ No newline at end of file diff --git "a/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/1.jpg" "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/1.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..5187296eca6b30b3c65d272b2b14e65f8a2fb568 Binary files /dev/null and "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/1.jpg" differ diff --git "a/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/2.jpg" "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/2.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..d224f3e7790bd5c09959e4b90277b2b2f4ab9353 Binary files /dev/null and "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/2.jpg" differ diff --git "a/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/3.jpg" "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/3.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..92288b3dc40c0a4de808729a48d27dbb3c8e1f50 Binary files /dev/null and "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/3.jpg" differ diff --git "a/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/4.jpg" "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/4.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..1e26d13d2146a95137e7dd6ba8d08752d2026fe6 Binary files /dev/null and "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/4.jpg" differ diff --git "a/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/5.jpg" "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/5.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..6f1e96df584d810a3c13411d4fab8cf2f956db44 Binary files /dev/null and "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/5.jpg" differ diff --git "a/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/left.png" "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/left.png" new file mode 100644 index 0000000000000000000000000000000000000000..d702cc03fadfb6e3f94ebddd724f34d34e19caeb Binary files /dev/null and "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/left.png" differ diff --git "a/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/right.png" "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/right.png" new file mode 100644 index 0000000000000000000000000000000000000000..5f002063a13256069ec3eb78ffd4dda8aceb4586 Binary files /dev/null and "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/img/right.png" differ diff --git "a/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/index.html" "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..6d2aef51a1bd3400aaec93e2844777b69c7ecc53 --- /dev/null +++ "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/index.html" @@ -0,0 +1,40 @@ + + + + + + + Document + + + + +
+
+
    +
  • +
  • +
  • +
  • +
  • +
+
+
+ + +
+
+
    +
  • +
  • +
  • +
  • +
  • +
+
+
+ + + + + \ No newline at end of file diff --git "a/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/js/index.js" "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/js/index.js" new file mode 100644 index 0000000000000000000000000000000000000000..4570f34d371c8415320965282d83436fa730dbfd --- /dev/null +++ "b/DOM/29_DOM\345\256\236\346\223\215_\350\275\256\346\222\255\345\233\276/js/index.js" @@ -0,0 +1,65 @@ +// 1. 获取元素 +var imglis = document.getElementById("imglist").querySelectorAll("li"); +var leftBtn = document.getElementById("left"); +var rightBtn = document.getElementById("right"); +var circlelis = document.getElementById("circle").querySelectorAll("li"); + +// idx控制图片显示 +var idx = 0; + +leftBtn.onclick = function () { + idx++ + console.log(idx); + changePic(); +} + +rightBtn.onclick = function () { + idx-- + console.log(idx); + changePic(); +} + +// 2. 控制页面图片显示与隐藏 +function changePic() { + // idx边界处理 + if (idx > imglis.length - 1) { + idx = 0; + } + + if (idx < 0) { + idx = imglis.length - 1; + } + + // 先把所有的current都移除,然后给对一个的那个元素添加显示就行了 + for (var i = 0; i < imglis.length; i++) { + imglis[i].removeAttribute("class"); + } + imglis[idx].setAttribute("class", "current"); + + for (var i = 0; i < circlelis.length; i++) { + circlelis[i].removeAttribute("class"); + } + // 设置指示器高亮 + circlelis[idx].setAttribute("class", "current") +} + + +// 点击指示器切换图片 +for(var i = 0;i + + + + + + Document + + + + + + +
+ +
+
+
+ + + + + \ No newline at end of file diff --git "a/DOM/30_DOM\345\256\236\346\223\215_\346\224\276\345\244\247\351\225\234/js/index.js" "b/DOM/30_DOM\345\256\236\346\223\215_\346\224\276\345\244\247\351\225\234/js/index.js" new file mode 100644 index 0000000000000000000000000000000000000000..0530816db55cc236300e0c4edf80254b37b114da --- /dev/null +++ "b/DOM/30_DOM\345\256\236\346\223\215_\346\224\276\345\244\247\351\225\234/js/index.js" @@ -0,0 +1,48 @@ +// 1. 获取页面元素 + +var small = document.getElementById("small"); +var zoom = document.getElementById("zoom"); +var big = document.getElementById("big"); + +small.onmouseover = function(){ + zoom.style.display = "block"; + big.style.display = "block"; +} + +small.onmouseout = function(){ + zoom.style.display = "none"; + big.style.display = "none"; +} + +// 放大的比例 +var rate = 800 / 450; + +small.onmousemove = function(e){ + // 获得鼠标如何移动的方式:根据鼠标方向移动:移动的像素是多少 + // e.clientX e.clientY : 相对页面的左上角鼠标移动的距离,单位是像素 + var zoomX = e.clientX - small.offsetLeft - 150; + var zoomY = e.clientY - small.offsetTop - 150; + + // zoom边界的处理 + if(zoomX < 0){ + zoomX = 0; + } + + if(zoomX >= 150){ + zoomX = 150; + } + + if(zoomY <0){ + zoomY = 0; + } + + if(zoomY >= 150){ + zoomY = 150; + } + + zoom.style.left = zoomX + "px"; + zoom.style.top = zoomY + 'px'; + + big.style.backgroundPositionX = -zoomX * rate + "px"; + big.style.backgroundPositionY = -zoomY * rate + "px"; +} \ No newline at end of file diff --git "a/DOM/31_DOM\345\256\236\346\223\215_\345\233\236\345\210\260\351\241\266\351\203\250/index.html" "b/DOM/31_DOM\345\256\236\346\223\215_\345\233\236\345\210\260\351\241\266\351\203\250/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..c4f42e470c88310db721436a756e968ea421cbcc --- /dev/null +++ "b/DOM/31_DOM\345\256\236\346\223\215_\345\233\236\345\210\260\351\241\266\351\203\250/index.html" @@ -0,0 +1,68 @@ + + + + + + + Document + + + + + + +
内容1
+
内容2
+
内容3
+
内容4
+
内容5
+
内容6
+ + + 回到顶部 + + + + + \ No newline at end of file diff --git a/DOM/images/banner.png b/DOM/images/banner.png new file mode 100644 index 0000000000000000000000000000000000000000..6f90e43b88cf6babe00dc844961e519381ab4f2b Binary files /dev/null and b/DOM/images/banner.png differ diff --git a/DOM/images/girl.png b/DOM/images/girl.png new file mode 100644 index 0000000000000000000000000000000000000000..a95036dc8fbc9c1f060ab4990f20b6c680233cb7 Binary files /dev/null and b/DOM/images/girl.png differ diff --git a/DOM/js/index.js b/DOM/js/index.js new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/css/.DS_Store b/css/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..c952dce7f5ac908aed2cf04009d7e502aa30cb89 Binary files /dev/null and b/css/.DS_Store differ diff --git "a/css/01_CSS\347\256\200\344\273\213.html" "b/css/01_CSS\347\256\200\344\273\213.html" new file mode 100644 index 0000000000000000000000000000000000000000..f8c254139ed8cd3de373d9745b957ca3202e1ec9 --- /dev/null +++ "b/css/01_CSS\347\256\200\344\273\213.html" @@ -0,0 +1,23 @@ + + + + + + + Document + + + + +

我是标题标签

+ + + \ No newline at end of file diff --git "a/css/02_CSS\347\232\204\345\274\225\345\205\245\346\226\271\345\274\217.html" "b/css/02_CSS\347\232\204\345\274\225\345\205\245\346\226\271\345\274\217.html" new file mode 100644 index 0000000000000000000000000000000000000000..13f3a33d9c988b8a3451c3a2f6de2604c651a3ae --- /dev/null +++ "b/css/02_CSS\347\232\204\345\274\225\345\205\245\346\226\271\345\274\217.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + + + + + +

我是一个段楼文本信息

+

我是第二个p标签

+ +

标题1

+

标题2

+ + + \ No newline at end of file diff --git "a/css/03_CSS\346\240\267\345\274\217\350\241\250\347\211\271\345\276\201.html" "b/css/03_CSS\346\240\267\345\274\217\350\241\250\347\211\271\345\276\201.html" new file mode 100644 index 0000000000000000000000000000000000000000..e5f4ae78ce2566a583d3166b1822e1912cf04113 --- /dev/null +++ "b/css/03_CSS\346\240\267\345\274\217\350\241\250\347\211\271\345\276\201.html" @@ -0,0 +1,45 @@ + + + + + + + Document + + + + +
+ +

我是一段文本信息

+
+ + +

我是标题

+ + + 我是超链接 + + + \ No newline at end of file diff --git "a/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2502_\345\205\203\347\264\240\351\200\211\346\213\251\345\231\250.html" "b/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2502_\345\205\203\347\264\240\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..39802e5ff768487d2188235c9c6071580fb53e00 --- /dev/null +++ "b/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2502_\345\205\203\347\264\240\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,19 @@ + + + + + + + Document + + + + +

学完前端, 继续学习Java

+ + + \ No newline at end of file diff --git "a/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2503_\347\261\273\351\200\211\346\213\251\345\231\250.html" "b/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2503_\347\261\273\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..83d56a584c2f67e8383aac899abec3c8289dfc7a --- /dev/null +++ "b/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2503_\347\261\273\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,29 @@ + + + + + + + Document + + + + +

我是第一个段落

+

我是第二个段落

+ +

我是标题1

+

我是标题2

+ + + \ No newline at end of file diff --git "a/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2504_ID\351\200\211\346\213\251\345\231\250.html" "b/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2504_ID\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..7837ddec8edf78de27951dc0347c6b36dfaef1b3 --- /dev/null +++ "b/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2504_ID\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,31 @@ + + + + + + + Document + + + + +
+
+ + + \ No newline at end of file diff --git "a/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2505_\345\220\210\345\271\266\351\200\211\346\213\251\345\231\250.html" "b/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2505_\345\220\210\345\271\266\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..11f9f93877615d76428578f204a4ca27830ca4e8 --- /dev/null +++ "b/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2505_\345\220\210\345\271\266\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + +

我是段落

+

我是标题

+ + + \ No newline at end of file diff --git "a/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2506_\351\200\211\346\213\251\345\231\250\344\274\230\345\205\210\347\272\247.html" "b/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2506_\351\200\211\346\213\251\345\231\250\344\274\230\345\205\210\347\272\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..66777e2c8c996c692e77166d0fa89ec75d18661e --- /dev/null +++ "b/css/04_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2506_\351\200\211\346\213\251\345\231\250\344\274\230\345\205\210\347\272\247.html" @@ -0,0 +1,51 @@ + + + + + + + + Document + + + + + + +

我是元素

+ +
+

我是标题

+
+ + + + \ No newline at end of file diff --git "a/css/05_DIV+CSS\345\270\203\345\261\2001_\344\270\212\344\270\255\344\270\213\347\273\223\346\236\204.html" "b/css/05_DIV+CSS\345\270\203\345\261\2001_\344\270\212\344\270\255\344\270\213\347\273\223\346\236\204.html" new file mode 100644 index 0000000000000000000000000000000000000000..5008276f76814aac64229f39b7ebbd7633284b37 --- /dev/null +++ "b/css/05_DIV+CSS\345\270\203\345\261\2001_\344\270\212\344\270\255\344\270\213\347\273\223\346\236\204.html" @@ -0,0 +1,42 @@ + + + + + + + Document + + + + +
+
+ + + + \ No newline at end of file diff --git "a/css/05_DIV+CSS\345\270\203\345\261\2002_\345\267\246\345\217\263\347\273\223\346\236\204.html" "b/css/05_DIV+CSS\345\270\203\345\261\2002_\345\267\246\345\217\263\347\273\223\346\236\204.html" new file mode 100644 index 0000000000000000000000000000000000000000..b1b37ad509b1ccedccafc16594e3cd5603f7585d --- /dev/null +++ "b/css/05_DIV+CSS\345\270\203\345\261\2002_\345\267\246\345\217\263\347\273\223\346\236\204.html" @@ -0,0 +1,71 @@ + + + + + + + Document + + + + +
+
+ +
+
+
+
+
+ +
+ + + \ No newline at end of file diff --git "a/css/06_\345\270\203\345\261\200\345\256\236\346\223\2151.html" "b/css/06_\345\270\203\345\261\200\345\256\236\346\223\2151.html" new file mode 100644 index 0000000000000000000000000000000000000000..999b2c8f378a43cc7917656c69172d59824f7a03 --- /dev/null +++ "b/css/06_\345\270\203\345\261\200\345\256\236\346\223\2151.html" @@ -0,0 +1,53 @@ + + + + + + + Document + + + + +
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git "a/css/06_\345\270\203\345\261\200\345\256\236\346\223\2152.html" "b/css/06_\345\270\203\345\261\200\345\256\236\346\223\2152.html" new file mode 100644 index 0000000000000000000000000000000000000000..5cee0c065349c588060057b0ba4034178c90df08 --- /dev/null +++ "b/css/06_\345\270\203\345\261\200\345\256\236\346\223\2152.html" @@ -0,0 +1,72 @@ + + + + + + + Document + + + + +
+
+
+
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git "a/css/06_\345\270\203\345\261\200\345\256\236\346\223\2153.html" "b/css/06_\345\270\203\345\261\200\345\256\236\346\223\2153.html" new file mode 100644 index 0000000000000000000000000000000000000000..fad1b79e9375c9e544aea91bd19a37dfbd33befb --- /dev/null +++ "b/css/06_\345\270\203\345\261\200\345\256\236\346\223\2153.html" @@ -0,0 +1,104 @@ + + + + + + + Document + + + + +
+
+ +
+
+
+ +

黑鲨4S

+

磁动力升降肩键

+
+
+ +

黑鲨4S

+

磁动力升降肩键

+
+
+ +

黑鲨4S

+

磁动力升降肩键

+
+
+ +

黑鲨4S

+

磁动力升降肩键

+
+
+ +

黑鲨4S

+

磁动力升降肩键

+
+
+ +

黑鲨4S

+

磁动力升降肩键

+
+
+ +

黑鲨4S

+

磁动力升降肩键

+
+
+ +

黑鲨4S

+

磁动力升降肩键

+
+
+
+ + + \ No newline at end of file diff --git "a/css/08_\350\203\214\346\231\257\345\261\236\346\200\2471.html" "b/css/08_\350\203\214\346\231\257\345\261\236\346\200\2471.html" new file mode 100644 index 0000000000000000000000000000000000000000..e3786c7cf8c050ca5229341a383304963e5a6b58 --- /dev/null +++ "b/css/08_\350\203\214\346\231\257\345\261\236\346\200\2471.html" @@ -0,0 +1,23 @@ + + + + + + + Document + + + + +
+ + + \ No newline at end of file diff --git "a/css/08_\350\203\214\346\231\257\345\261\236\346\200\2472.html" "b/css/08_\350\203\214\346\231\257\345\261\236\346\200\2472.html" new file mode 100644 index 0000000000000000000000000000000000000000..984ababc752a7bfb38d40a8f041a8e3843eec638 --- /dev/null +++ "b/css/08_\350\203\214\346\231\257\345\261\236\346\200\2472.html" @@ -0,0 +1,26 @@ + + + + + + + Document + + + + +
+

你好,itbaizhan

+
+ + + \ No newline at end of file diff --git "a/css/08_\350\203\214\346\231\257\345\261\236\346\200\2473.html" "b/css/08_\350\203\214\346\231\257\345\261\236\346\200\2473.html" new file mode 100644 index 0000000000000000000000000000000000000000..73005bfd91cc0872be3edda1492305396467acc5 --- /dev/null +++ "b/css/08_\350\203\214\346\231\257\345\261\236\346\200\2473.html" @@ -0,0 +1,40 @@ + + + + + + + Document + + + + +
+

你好,itbaizhan

+
+ +

标题1

+

标题2

+

标题3

+

标题4

+ + + \ No newline at end of file diff --git "a/css/09_\346\226\207\346\234\254\345\261\236\346\200\247.html" "b/css/09_\346\226\207\346\234\254\345\261\236\346\200\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..c05c14e62317fef1064a116422eea618260f81c1 --- /dev/null +++ "b/css/09_\346\226\207\346\234\254\345\261\236\346\200\247.html" @@ -0,0 +1,55 @@ + + + + + + + Document + + + + +

一级标题1

+

一级标题2

+

一级标题3

+ +

hello

+

hello

+

hello

+ +

大家好,今天天气晴朗

+ + \ No newline at end of file diff --git "a/css/11_\350\241\250\346\240\274\345\261\236\346\200\247.html" "b/css/11_\350\241\250\346\240\274\345\261\236\346\200\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..a6f514bbe9d8bcc18530c24f85beba488d7dc256 --- /dev/null +++ "b/css/11_\350\241\250\346\240\274\345\261\236\346\200\247.html" @@ -0,0 +1,60 @@ + + + + + + + + Document + + + + + + + + + + + + + + + + + + + + + +
单元格单元格单元格
单元格单元格单元格
单元格单元格单元格
+ + + + \ No newline at end of file diff --git "a/css/12_\345\205\266\344\273\226\345\261\236\346\200\2471.html" "b/css/12_\345\205\266\344\273\226\345\261\236\346\200\2471.html" new file mode 100644 index 0000000000000000000000000000000000000000..dd7ed9d34ad9b996f757e477c337642e8fbcaf49 --- /dev/null +++ "b/css/12_\345\205\266\344\273\226\345\261\236\346\200\2471.html" @@ -0,0 +1,87 @@ + + + + + + + + Document + + + + + +

小伙伴们大家好

+ +
+

小伙伴们大家好

+
+ +
+

小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴 + 们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大 + 家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好 + 小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙 + 伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们 + 大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家 + 好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小 + 伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴 + 们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大 + 家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好 + 小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙 + 伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们 + 大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家 + 好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小 + 伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴 + 们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大 + 家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好 + 小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙 + 伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们 + 大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家 + 好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小 + 伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴 + 们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大 + 家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好 + 小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好 +

+
+ +

小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙伴们大家好小伙

+ + + + \ No newline at end of file diff --git "a/css/12_\345\205\266\344\273\226\345\261\236\346\200\2472.html" "b/css/12_\345\205\266\344\273\226\345\261\236\346\200\2472.html" new file mode 100644 index 0000000000000000000000000000000000000000..b059fe77b90041355b7c7a6c13035884b60aa9b5 --- /dev/null +++ "b/css/12_\345\205\266\344\273\226\345\261\236\346\200\2472.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + + +

欢迎大家来到itbaizhan 我在这里等你们哦!

+ +
+ + + \ No newline at end of file diff --git "a/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2501_\345\233\236\345\277\206\345\237\272\347\241\200\351\200\211\346\213\251\345\231\250.html" "b/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2501_\345\233\236\345\277\206\345\237\272\347\241\200\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..74c062d129dc91ca5126698643b36dd36f50de3e --- /dev/null +++ "b/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2501_\345\233\236\345\277\206\345\237\272\347\241\200\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + + + +
+ + + \ No newline at end of file diff --git "a/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2502_\345\220\216\344\273\243\351\200\211\346\213\251\345\231\250.html" "b/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2502_\345\220\216\344\273\243\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..a30cdab87c829689f2092de2f25987613253faa3 --- /dev/null +++ "b/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2502_\345\220\216\344\273\243\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,38 @@ + + + + + + + Document + + + + +
    +
  • 列表1
  • +
  • +
      +
    • 孙子1
    • +
    • 孙子2
    • +
    • 孙子3
    • +
    +
  • +
  • 列表3
  • +
+ +
    +
  1. 列表1
  2. +
  3. 列表2
  4. +
  5. 列表3
  6. +
+ + + + \ No newline at end of file diff --git "a/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2503_\345\255\220\344\273\243\351\200\211\346\213\251\345\231\250.html" "b/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2503_\345\255\220\344\273\243\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..c7b56dfae70f9a2022656d04fdd9956d77ff3920 --- /dev/null +++ "b/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2503_\345\255\220\344\273\243\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,26 @@ + + + + + + + Document + + + + +
+ 我是儿子元素A标签 +

+ 我是孙子元素A标签 +

+
+ + + \ No newline at end of file diff --git "a/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2504_\347\233\270\351\202\273\345\205\204\345\274\237\351\200\211\346\213\251\345\231\250.html" "b/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2504_\347\233\270\351\202\273\345\205\204\345\274\237\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..3deb6ec9688503dc06e986e913178d87aba8ccef --- /dev/null +++ "b/css/13_\345\205\263\347\263\273\351\200\211\346\213\251\345\231\2504_\347\233\270\351\202\273\345\205\204\345\274\237\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + +

我是标题

+

我是第一个p标签

+

我是第二个p标签

+ + + \ No newline at end of file diff --git "a/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2501_\350\266\205\351\223\276\346\216\245\347\233\270\345\205\263.html" "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2501_\350\266\205\351\223\276\346\216\245\347\233\270\345\205\263.html" new file mode 100644 index 0000000000000000000000000000000000000000..796c808145a5515ba6aa1d08d707ea4a401741b8 --- /dev/null +++ "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2501_\350\266\205\351\223\276\346\216\245\347\233\270\345\205\263.html" @@ -0,0 +1,67 @@ + + + + + + + Document + + + + + itbaizhan + +
+ + 按钮 + + + \ No newline at end of file diff --git "a/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2502_child\351\200\211\346\213\251\345\231\250.html" "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2502_child\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..101828405d15dd76c8e824b7131801ea1fb73a2f --- /dev/null +++ "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2502_child\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,36 @@ + + + + + + + Document + + + + +
    +
  • 列表1
  • +
  • 列表2
  • +
  • 列表3
  • +
  • 列表4
  • +
  • 列表5
  • +
+ + + \ No newline at end of file diff --git "a/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2503_child\351\200\211\346\213\251\345\231\250.html" "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2503_child\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..62e638a2d6745d862e9fc239e4e37ac58acbcb6b --- /dev/null +++ "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2503_child\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,41 @@ + + + + + + + Document + + + + +
    +
  • 列表1
  • +
  • 列表2
  • +
  • 列表3
  • +
  • 列表4
  • +
  • 列表5
  • +
  • 列表6
  • +
  • 列表7
  • +
  • 列表8
  • +
  • 列表9
  • +
  • 列表10
  • +
+ + + \ No newline at end of file diff --git "a/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2504_child\351\200\211\346\213\251\345\231\250.html" "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2504_child\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..631475680e1939a6e16e4c5c2ccfa1d8bfabbdfc --- /dev/null +++ "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2504_child\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,28 @@ + + + + + + + Document + + + + +
+

我是唯一的p标签

+
+ +
+

我是第一个p

+

我是第二个p

+
+ + + \ No newline at end of file diff --git "a/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2505_empty\351\200\211\346\213\251\345\231\250.html" "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2505_empty\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..1f58b402b931d4539b60bc397345bbf4313c0fd2 --- /dev/null +++ "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2505_empty\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,28 @@ + + + + + + + Document + + + + +

+

我是p里的span

+ + + \ No newline at end of file diff --git "a/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2506_\345\205\266\344\275\231\351\200\211\346\213\251\345\231\250.html" "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2506_\345\205\266\344\275\231\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..80ce8612d9f6fe3e0e9e18675568cda4a29c9fce --- /dev/null +++ "b/css/14_\344\274\252\347\261\273\351\200\211\346\213\251\345\231\2506_\345\205\266\344\275\231\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,45 @@ + + + + + + + Document + + + + +
+

我是p

+ 我是span + 我是a +
+ + + + + + +
+ 学习 + 看书 + 游戏 +
+ + + \ No newline at end of file diff --git "a/css/15_\344\274\252\345\257\271\350\261\241\351\200\211\346\213\251\345\231\250.html" "b/css/15_\344\274\252\345\257\271\350\261\241\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..c0478ed54f9266915e5d29f799a4d1cf3bf81307 --- /dev/null +++ "b/css/15_\344\274\252\345\257\271\350\261\241\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,47 @@ + + + + + + + Document + + + + +
    +
  • 列表1
  • +
  • 列表2
  • +
  • 列表3
  • +
+ +

我是标题

+ + + \ No newline at end of file diff --git "a/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2501_[attribute]\351\200\211\346\213\251\345\231\250.html" "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2501_[attribute]\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..9eea9f93f242f0fe0dc6ad40eb4370dd4f4e9cb9 --- /dev/null +++ "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2501_[attribute]\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,41 @@ + + + + + + + + Document + + + + + + + + 带有target属性 + 不带有target属性 + +

我具有text

+

我不具有text

+ + + + \ No newline at end of file diff --git "a/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2502_[attribute=value]\351\200\211\346\213\251\345\231\250.html" "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2502_[attribute=value]\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..4bd85efb6507bf62944382613f57342705404f28 --- /dev/null +++ "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2502_[attribute=value]\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,41 @@ + + + + + + + + Document + + + + + + + + 带有target属性 + 不带有target属性 + +

我具有text

+

我不具有text

+ + + + \ No newline at end of file diff --git "a/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2503_[attribute~=value]\351\200\211\346\213\251\345\231\250.html" "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2503_[attribute~=value]\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..e63c9957a1280d3c9232d23e252f1fa5afc7a4d9 --- /dev/null +++ "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2503_[attribute~=value]\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + + +

第一个p标签

+

第二个p标签

+ + + \ No newline at end of file diff --git "a/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2504_[attribute|=value]\351\200\211\346\213\251\345\231\250.html" "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2504_[attribute|=value]\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..2892d5057ec610584fb509669228d70c48825522 --- /dev/null +++ "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2504_[attribute|=value]\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + + +

我是第一个p

+

我是第二个p

+ + + \ No newline at end of file diff --git "a/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2505_[attribute^=value]\351\200\211\346\213\251\345\231\250.html" "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2505_[attribute^=value]\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..c94ed1538addd614c367c34b176c8abd3b265d6b --- /dev/null +++ "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2505_[attribute^=value]\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,23 @@ + + + + + + + Document + + + + +

我是第一个p

+

我是第二个p

+

我是第二个p

+ + + \ No newline at end of file diff --git "a/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2506_[attribute$=value]\351\200\211\346\213\251\345\231\250.html" "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2506_[attribute$=value]\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..d5815937da5e767e5480364b847b6767f6ea0ccd --- /dev/null +++ "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2506_[attribute$=value]\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + + +

第一个p元素

+

第一个p元素

+ + + \ No newline at end of file diff --git "a/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2507_[attribute*=value]\351\200\211\346\213\251\345\231\250.html" "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2507_[attribute*=value]\351\200\211\346\213\251\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..cda72087598fe5ee297a80ab5d87576aaa5f042d --- /dev/null +++ "b/css/16_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2507_[attribute*=value]\351\200\211\346\213\251\345\231\250.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + + +

标签1

+

标签2

+ + + \ No newline at end of file diff --git "a/css/17_\347\233\222\345\255\220\346\250\241\345\236\2131_\346\246\202\350\277\260.html" "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2131_\346\246\202\350\277\260.html" new file mode 100644 index 0000000000000000000000000000000000000000..11d969457ca4dc9aee14f950faad5a64b6cdbff0 --- /dev/null +++ "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2131_\346\246\202\350\277\260.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + +
我是内容
+
+ + + \ No newline at end of file diff --git "a/css/17_\347\233\222\345\255\220\346\250\241\345\236\2132_\345\206\205\345\256\271\345\214\272\345\237\237.html" "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2132_\345\206\205\345\256\271\345\214\272\345\237\237.html" new file mode 100644 index 0000000000000000000000000000000000000000..7ef9921734ed5eaf7a77630a7c194939b9206401 --- /dev/null +++ "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2132_\345\206\205\345\256\271\345\214\272\345\237\237.html" @@ -0,0 +1,39 @@ + + + + + + + + Document + + + + + + + + + + 小姐姐 + + + + \ No newline at end of file diff --git "a/css/17_\347\233\222\345\255\220\346\250\241\345\236\2133_\345\206\205\350\276\271\350\267\2352.html" "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2133_\345\206\205\350\276\271\350\267\2352.html" new file mode 100644 index 0000000000000000000000000000000000000000..4d2059b5ff5ca2103fa9fb68f5a3bc24bbeece5d --- /dev/null +++ "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2133_\345\206\205\350\276\271\350\267\2352.html" @@ -0,0 +1,48 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/css/17_\347\233\222\345\255\220\346\250\241\345\236\2134_\350\276\271\346\241\206.html" "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2134_\350\276\271\346\241\206.html" new file mode 100644 index 0000000000000000000000000000000000000000..70cc02716fb010c5fa0a0de1493a1539e39339db --- /dev/null +++ "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2134_\350\276\271\346\241\206.html" @@ -0,0 +1,56 @@ + + + + + + + Document + + + + + + +
+ +

国内图片

+ + + \ No newline at end of file diff --git "a/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2351.html" "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2351.html" new file mode 100644 index 0000000000000000000000000000000000000000..757030f192cfc502def152de9a14893abd923e98 --- /dev/null +++ "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2351.html" @@ -0,0 +1,55 @@ + + + + + + + Document + + + + + +
+
+ + + \ No newline at end of file diff --git "a/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2352_\345\261\205\344\270\255.html" "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2352_\345\261\205\344\270\255.html" new file mode 100644 index 0000000000000000000000000000000000000000..b5fd98df5b753ed840d1cab7c624d1fd7de5638e --- /dev/null +++ "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2352_\345\261\205\344\270\255.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + +
+ + + \ No newline at end of file diff --git "a/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2353_\345\215\225\350\276\271\345\244\226\350\276\271\350\267\235.html" "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2353_\345\215\225\350\276\271\345\244\226\350\276\271\350\267\235.html" new file mode 100644 index 0000000000000000000000000000000000000000..6493175f3e2a24fcaed40b7058e694fcda709e3c --- /dev/null +++ "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2353_\345\215\225\350\276\271\345\244\226\350\276\271\350\267\235.html" @@ -0,0 +1,28 @@ + + + + + + + Document + + + + +
+ + + \ No newline at end of file diff --git "a/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2354_\350\276\271\350\267\235\345\220\210\345\271\266.html" "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2354_\350\276\271\350\267\235\345\220\210\345\271\266.html" new file mode 100644 index 0000000000000000000000000000000000000000..64a1f60d0897a14ade027dfd0a6ebb386aeec2e5 --- /dev/null +++ "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2354_\350\276\271\350\267\235\345\220\210\345\271\266.html" @@ -0,0 +1,41 @@ + + + + + + + Document + + + + + +
+
+

+ + + \ No newline at end of file diff --git "a/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2355_\346\241\210\344\276\213.html" "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2355_\346\241\210\344\276\213.html" new file mode 100644 index 0000000000000000000000000000000000000000..fa84c0b30589d69508f10a1c440c6e72833457eb --- /dev/null +++ "b/css/17_\347\233\222\345\255\220\346\250\241\345\236\2135_\345\244\226\350\276\271\350\267\2355_\346\241\210\344\276\213.html" @@ -0,0 +1,50 @@ + + + + + + + + Document + + + + + +
+
+
+
+
+
+
+
+
+
+ + + + \ No newline at end of file diff --git "a/css/18_\346\200\252\345\274\202\347\233\222\346\250\241\345\236\2131_\346\240\207\345\207\206\347\233\222\346\250\241\345\236\213.html" "b/css/18_\346\200\252\345\274\202\347\233\222\346\250\241\345\236\2131_\346\240\207\345\207\206\347\233\222\346\250\241\345\236\213.html" new file mode 100644 index 0000000000000000000000000000000000000000..21a0168ca4977d5fd39712dba100741304bec048 --- /dev/null +++ "b/css/18_\346\200\252\345\274\202\347\233\222\346\250\241\345\236\2131_\346\240\207\345\207\206\347\233\222\346\250\241\345\236\213.html" @@ -0,0 +1,26 @@ + + + + + + + Document + + + + +
+ + + \ No newline at end of file diff --git "a/css/18_\346\200\252\345\274\202\347\233\222\346\250\241\345\236\2132_\346\200\252\345\274\202\347\233\222\346\250\241\345\236\213.html" "b/css/18_\346\200\252\345\274\202\347\233\222\346\250\241\345\236\2132_\346\200\252\345\274\202\347\233\222\346\250\241\345\236\213.html" new file mode 100644 index 0000000000000000000000000000000000000000..df0a95e7247e45abe6af830fb448a22e492b2b3a --- /dev/null +++ "b/css/18_\346\200\252\345\274\202\347\233\222\346\250\241\345\236\2132_\346\200\252\345\274\202\347\233\222\346\250\241\345\236\213.html" @@ -0,0 +1,38 @@ + + + + + + + Document + + + + + +
+ + + \ No newline at end of file diff --git "a/css/19_\345\274\271\346\200\247\347\233\222\346\250\241\345\236\213.html" "b/css/19_\345\274\271\346\200\247\347\233\222\346\250\241\345\236\213.html" new file mode 100644 index 0000000000000000000000000000000000000000..f2028bc00567bb24de3d55589afa8f37703fe189 --- /dev/null +++ "b/css/19_\345\274\271\346\200\247\347\233\222\346\250\241\345\236\213.html" @@ -0,0 +1,94 @@ + + + + + + + Document + + + + + + + + +
+
box1
+
box2
+
box3
+
+ + + \ No newline at end of file diff --git "a/css/21_display\350\277\220\347\224\250.html" "b/css/21_display\350\277\220\347\224\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..a0ef0ed59421d86c5becb4faf03cb440f9f2b151 --- /dev/null +++ "b/css/21_display\350\277\220\347\224\250.html" @@ -0,0 +1,67 @@ + + + + + + + Document + + + + + + + +
+ + 超链接 + 超链接 + +

我是一级标题

+ + 内容1 + 内容2 + + + \ No newline at end of file diff --git "a/css/22_\351\232\220\350\227\217\345\205\203\347\264\240.html" "b/css/22_\351\232\220\350\227\217\345\205\203\347\264\240.html" new file mode 100644 index 0000000000000000000000000000000000000000..81ea482bb01396f1bcea04454f2a27beed0fcced --- /dev/null +++ "b/css/22_\351\232\220\350\227\217\345\205\203\347\264\240.html" @@ -0,0 +1,57 @@ + + + + + + + Document + + + + +
+

我是一个文本信息

+
+

我是一个文本信息

+
+

我是一个文本信息

+
+

我是一个文本信息我是一个文本信息我是一个文本信息我是一个文本信息我是一个文本信息

+

我是一个文本信息我是一个文本信息我是一个文本信息我是一个文本信息我是一个文本信息

+

我是一个文本信息我是一个文本信息我是一个文本信息我是一个文本信息我是一个文本信息

+

我是一个文本信息我是一个文本信息我是一个文本信息我是一个文本信息我是一个文本信息

+

我是一个文本信息我是一个文本信息我是一个文本信息我是一个文本信息我是一个文本信息

+
+ + + \ No newline at end of file diff --git "a/css/23_\346\226\207\346\241\243\346\265\201.html" "b/css/23_\346\226\207\346\241\243\346\265\201.html" new file mode 100644 index 0000000000000000000000000000000000000000..c98af2a4a8f3d1f50965e0e7e6ccd7bcc1b3ddf2 --- /dev/null +++ "b/css/23_\346\226\207\346\241\243\346\265\201.html" @@ -0,0 +1,23 @@ + + + + + + + Document + + + + + 这是一个美丽的小姐姐 + + + + + \ No newline at end of file diff --git "a/css/24_\346\265\256\345\212\2500_\345\205\203\347\264\240\345\220\221\345\267\246\346\265\256\345\212\250.html" "b/css/24_\346\265\256\345\212\2500_\345\205\203\347\264\240\345\220\221\345\267\246\346\265\256\345\212\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..a727cb2ee69ffceb6a9685c2229a246b5c02d0a9 --- /dev/null +++ "b/css/24_\346\265\256\345\212\2500_\345\205\203\347\264\240\345\220\221\345\267\246\346\265\256\345\212\250.html" @@ -0,0 +1,23 @@ + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/css/24_\346\265\256\345\212\2501_\345\205\203\347\264\240\345\220\221\345\217\263\346\265\256\345\212\250.html" "b/css/24_\346\265\256\345\212\2501_\345\205\203\347\264\240\345\220\221\345\217\263\346\265\256\345\212\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..bda78a81a6e5a53a36ed3e00e7c418999170c6ac --- /dev/null +++ "b/css/24_\346\265\256\345\212\2501_\345\205\203\347\264\240\345\220\221\345\217\263\346\265\256\345\212\250.html" @@ -0,0 +1,42 @@ + + + + + + + Document + + + + +
+
+ + + \ No newline at end of file diff --git "a/css/24_\346\265\256\345\212\2502_\346\211\200\346\234\211\345\205\203\347\264\240\345\220\221\345\267\246\346\265\256\345\212\250.html" "b/css/24_\346\265\256\345\212\2502_\346\211\200\346\234\211\345\205\203\347\264\240\345\220\221\345\267\246\346\265\256\345\212\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..29a8853e87cdbd41c62b542aec55976a862a379a --- /dev/null +++ "b/css/24_\346\265\256\345\212\2502_\346\211\200\346\234\211\345\205\203\347\264\240\345\220\221\345\267\246\346\265\256\345\212\250.html" @@ -0,0 +1,39 @@ + + + + + + + Document + + + + +
box1
+
box2
+
box3
+ +
    +
  • 列表1
  • +
  • 列表2
  • +
  • 列表3
  • +
  • 列表4
  • +
+ + + \ No newline at end of file diff --git "a/css/24_\346\265\256\345\212\2503_\345\256\271\351\207\217\344\270\215\350\266\263.html" "b/css/24_\346\265\256\345\212\2503_\345\256\271\351\207\217\344\270\215\350\266\263.html" new file mode 100644 index 0000000000000000000000000000000000000000..a7a091660d98dd35a95945612d8350ee3edf937c --- /dev/null +++ "b/css/24_\346\265\256\345\212\2503_\345\256\271\351\207\217\344\270\215\350\266\263.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + +
+
box1
+
box2
+
box3
+
+ + + \ No newline at end of file diff --git "a/css/25_\346\270\205\351\231\244\346\265\256\345\212\2500_\346\265\256\345\212\250\345\211\257\344\275\234\347\224\2501.html" "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2500_\346\265\256\345\212\250\345\211\257\344\275\234\347\224\2501.html" new file mode 100644 index 0000000000000000000000000000000000000000..d45122483693b1336ff3f7f03105b283658aab51 --- /dev/null +++ "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2500_\346\265\256\345\212\250\345\211\257\344\275\234\347\224\2501.html" @@ -0,0 +1,46 @@ + + + + + + + Document + + + + + + +
+
+
+
+
+ + + \ No newline at end of file diff --git "a/css/25_\346\270\205\351\231\244\346\265\256\345\212\2500_\346\265\256\345\212\250\345\211\257\344\275\234\347\224\2502.html" "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2500_\346\265\256\345\212\250\345\211\257\344\275\234\347\224\2502.html" new file mode 100644 index 0000000000000000000000000000000000000000..f64cfde2ed3b32470f54a16e031fb468a57936fb --- /dev/null +++ "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2500_\346\265\256\345\212\250\345\211\257\344\275\234\347\224\2502.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + +
+
+
+ + + + \ No newline at end of file diff --git "a/css/25_\346\270\205\351\231\244\346\265\256\345\212\2500_\346\265\256\345\212\250\345\211\257\344\275\234\347\224\2503.html" "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2500_\346\265\256\345\212\250\345\211\257\344\275\234\347\224\2503.html" new file mode 100644 index 0000000000000000000000000000000000000000..bf4cdde96cbbb4c99a0ff929906c7cd2b103033e --- /dev/null +++ "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2500_\346\265\256\345\212\250\345\211\257\344\275\234\347\224\2503.html" @@ -0,0 +1,39 @@ + + + + + + + Document + + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git "a/css/25_\346\270\205\351\231\244\346\265\256\345\212\2501_\347\210\266\345\205\203\347\264\240\350\256\276\347\275\256\351\253\230\345\272\246.html" "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2501_\347\210\266\345\205\203\347\264\240\350\256\276\347\275\256\351\253\230\345\272\246.html" new file mode 100644 index 0000000000000000000000000000000000000000..bf9fcb82b791e1582c266d7c331fa24dfa559c58 --- /dev/null +++ "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2501_\347\210\266\345\205\203\347\264\240\350\256\276\347\275\256\351\253\230\345\272\246.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + + +
+
+
+
+
+ + + \ No newline at end of file diff --git "a/css/25_\346\270\205\351\231\244\346\265\256\345\212\2502_\345\217\227\345\275\261\345\223\215\347\232\204\345\205\203\347\264\240\345\242\236\345\212\240clear\345\261\236\346\200\247.html" "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2502_\345\217\227\345\275\261\345\223\215\347\232\204\345\205\203\347\264\240\345\242\236\345\212\240clear\345\261\236\346\200\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..b5bbcd315a645c2915008485084a1fb4a54ce77c --- /dev/null +++ "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2502_\345\217\227\345\275\261\345\223\215\347\232\204\345\205\203\347\264\240\345\242\236\345\212\240clear\345\261\236\346\200\247.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + + +
+
+
+ + + + \ No newline at end of file diff --git "a/css/25_\346\270\205\351\231\244\346\265\256\345\212\2503_overflow\346\270\205\351\231\244\346\265\256\345\212\250.html" "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2503_overflow\346\270\205\351\231\244\346\265\256\345\212\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..5ebd8fd8070051898d343ab2f7a8338925b1c6a6 --- /dev/null +++ "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2503_overflow\346\270\205\351\231\244\346\265\256\345\212\250.html" @@ -0,0 +1,42 @@ + + + + + + + Document + + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git "a/css/25_\346\270\205\351\231\244\346\265\256\345\212\2504_\344\274\252\345\257\271\350\261\241\346\226\271\345\274\217.html" "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2504_\344\274\252\345\257\271\350\261\241\346\226\271\345\274\217.html" new file mode 100644 index 0000000000000000000000000000000000000000..3e4d98ec8bfca9bff2e942db92cfe4a53fd7c33b --- /dev/null +++ "b/css/25_\346\270\205\351\231\244\346\265\256\345\212\2504_\344\274\252\345\257\271\350\261\241\346\226\271\345\274\217.html" @@ -0,0 +1,45 @@ + + + + + + + Document + + + + +
+
+
+
+
+ + + + \ No newline at end of file diff --git "a/css/26_\346\265\256\345\212\250\345\256\236\346\223\215.html" "b/css/26_\346\265\256\345\212\250\345\256\236\346\223\215.html" new file mode 100644 index 0000000000000000000000000000000000000000..cfdfa9c058919d7f2765adcbd580e21963d104e4 --- /dev/null +++ "b/css/26_\346\265\256\345\212\250\345\256\236\346\223\215.html" @@ -0,0 +1,72 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/css/27_\345\256\232\344\275\2151_\347\233\270\345\257\271\345\256\232\344\275\215.html" "b/css/27_\345\256\232\344\275\2151_\347\233\270\345\257\271\345\256\232\344\275\215.html" new file mode 100644 index 0000000000000000000000000000000000000000..7157d20d89ab3712dda04dac09c81886856ca082 --- /dev/null +++ "b/css/27_\345\256\232\344\275\2151_\347\233\270\345\257\271\345\256\232\344\275\215.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + + + +
+ + + \ No newline at end of file diff --git "a/css/27_\345\256\232\344\275\2152_\347\273\235\345\257\271\345\256\232\344\275\215.html" "b/css/27_\345\256\232\344\275\2152_\347\273\235\345\257\271\345\256\232\344\275\215.html" new file mode 100644 index 0000000000000000000000000000000000000000..98d18e29c1a807917612b4786befd70e241722ef --- /dev/null +++ "b/css/27_\345\256\232\344\275\2152_\347\273\235\345\257\271\345\256\232\344\275\215.html" @@ -0,0 +1,44 @@ + + + + + + + Document + + + + + +
+

文字1

+

文字2

+

文字3

+

文字4

+

文字5

+

文字6

+ + + \ No newline at end of file diff --git "a/css/27_\345\256\232\344\275\2153_\347\233\270\345\257\271\345\256\232\344\275\215\345\222\214\347\273\235\345\257\271\345\256\232\344\275\215.html" "b/css/27_\345\256\232\344\275\2153_\347\233\270\345\257\271\345\256\232\344\275\215\345\222\214\347\273\235\345\257\271\345\256\232\344\275\215.html" new file mode 100644 index 0000000000000000000000000000000000000000..3b48cdf46d4ff9d7d853b40ef6cdcfc719899289 --- /dev/null +++ "b/css/27_\345\256\232\344\275\2153_\347\233\270\345\257\271\345\256\232\344\275\215\345\222\214\347\273\235\345\257\271\345\256\232\344\275\215.html" @@ -0,0 +1,41 @@ + + + + + + + Document + + + + +
+
+
+ + + \ No newline at end of file diff --git "a/css/27_\345\256\232\344\275\2155_z-index.html" "b/css/27_\345\256\232\344\275\2155_z-index.html" new file mode 100644 index 0000000000000000000000000000000000000000..8525c8d582d4686eaaab1ef0ff1024745c85d5e7 --- /dev/null +++ "b/css/27_\345\256\232\344\275\2155_z-index.html" @@ -0,0 +1,41 @@ + + + + + + + Document + + + + +
+
+ + + \ No newline at end of file diff --git "a/css/28_\345\256\232\344\275\215\345\256\236\346\223\2151_\344\270\213\346\213\211\345\210\227\350\241\250.html" "b/css/28_\345\256\232\344\275\215\345\256\236\346\223\2151_\344\270\213\346\213\211\345\210\227\350\241\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..6a27517484568aa3f5365c8b07b57e443db9a5e6 --- /dev/null +++ "b/css/28_\345\256\232\344\275\215\345\256\236\346\223\2151_\344\270\213\346\213\211\345\210\227\350\241\250.html" @@ -0,0 +1,77 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/css/28_\345\256\232\344\275\215\345\256\236\346\223\2152_\345\233\276\347\211\207\344\270\212\345\256\232\344\275\215\346\226\207\345\255\227.html" "b/css/28_\345\256\232\344\275\215\345\256\236\346\223\2152_\345\233\276\347\211\207\344\270\212\345\256\232\344\275\215\346\226\207\345\255\227.html" new file mode 100644 index 0000000000000000000000000000000000000000..5c5e498a98010e7b17d6f2ac90e46133b640b2d9 --- /dev/null +++ "b/css/28_\345\256\232\344\275\215\345\256\236\346\223\2152_\345\233\276\347\211\207\344\270\212\345\256\232\344\275\215\346\226\207\345\255\227.html" @@ -0,0 +1,165 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/css/28_\345\256\232\344\275\215\345\256\236\346\223\2153_\347\205\247\347\211\207\345\242\231.html" "b/css/28_\345\256\232\344\275\215\345\256\236\346\223\2153_\347\205\247\347\211\207\345\242\231.html" new file mode 100644 index 0000000000000000000000000000000000000000..d6b5738026a9e6147fcf436ee3c602d08bce5662 --- /dev/null +++ "b/css/28_\345\256\232\344\275\215\345\256\236\346\223\2153_\347\205\247\347\211\207\345\242\231.html" @@ -0,0 +1,108 @@ + + + + + + + + Document + + + + + +
+ 美女 + 美女 + 美女 + 美女 + 美女 + 美女 + 美女 + 美女 + 美女 + 美女 +
+ + + + \ No newline at end of file diff --git "a/css/29_CSS3\346\226\260\347\211\271\346\200\247_\345\234\206\350\247\222.html" "b/css/29_CSS3\346\226\260\347\211\271\346\200\247_\345\234\206\350\247\222.html" new file mode 100644 index 0000000000000000000000000000000000000000..b5341e0f2eb19378770ab65414961611f59ed39a --- /dev/null +++ "b/css/29_CSS3\346\226\260\347\211\271\346\200\247_\345\234\206\350\247\222.html" @@ -0,0 +1,70 @@ + + + + + + + Document + + + + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git "a/css/30_CSS3\346\226\260\347\211\271\346\200\247_\351\230\264\345\275\261.html" "b/css/30_CSS3\346\226\260\347\211\271\346\200\247_\351\230\264\345\275\261.html" new file mode 100644 index 0000000000000000000000000000000000000000..ee31e2ff0c6b8e3e6ffc743c5ed547110f93bcf8 --- /dev/null +++ "b/css/30_CSS3\346\226\260\347\211\271\346\200\247_\351\230\264\345\275\261.html" @@ -0,0 +1,68 @@ + + + + + + + Document + + + + +

尚学堂-itbaizhan

+
+
+
+
+
+ + + \ No newline at end of file diff --git "a/css/31_CSS3\346\226\260\347\211\271\346\200\247_\350\203\214\346\231\257\346\270\220\345\217\230.html" "b/css/31_CSS3\346\226\260\347\211\271\346\200\247_\350\203\214\346\231\257\346\270\220\345\217\230.html" new file mode 100644 index 0000000000000000000000000000000000000000..1a76a3d09a9eeb28825f20d50ffdfe1151849315 --- /dev/null +++ "b/css/31_CSS3\346\226\260\347\211\271\346\200\247_\350\203\214\346\231\257\346\270\220\345\217\230.html" @@ -0,0 +1,56 @@ + + + + + + + Document + + + + +
+
+
+
+
+ + + \ No newline at end of file diff --git "a/css/32_CSS3\346\226\260\347\211\271\346\200\247_\350\203\214\346\231\257\346\270\220\345\217\230\345\256\236\346\223\215.html" "b/css/32_CSS3\346\226\260\347\211\271\346\200\247_\350\203\214\346\231\257\346\270\220\345\217\230\345\256\236\346\223\215.html" new file mode 100644 index 0000000000000000000000000000000000000000..266a68c1f24801fe577ba37a1fc9c7a9b03747aa --- /dev/null +++ "b/css/32_CSS3\346\226\260\347\211\271\346\200\247_\350\203\214\346\231\257\346\270\220\345\217\230\345\256\236\346\223\215.html" @@ -0,0 +1,166 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/css/33_CSS3\346\226\260\347\211\271\346\200\247_\350\275\254\346\215\242.html" "b/css/33_CSS3\346\226\260\347\211\271\346\200\247_\350\275\254\346\215\242.html" new file mode 100644 index 0000000000000000000000000000000000000000..cfd6f5698e979ea3cadcfa677b5938b5c3a42c3d --- /dev/null +++ "b/css/33_CSS3\346\226\260\347\211\271\346\200\247_\350\275\254\346\215\242.html" @@ -0,0 +1,51 @@ + + + + + + + Document + + + + +

我是默认6px字号

+

我是默认12px字号

+
+
+
+ + + + + \ No newline at end of file diff --git "a/css/34_CSS3\346\226\260\347\211\271\346\200\247_3D\350\275\254\346\215\2421.html" "b/css/34_CSS3\346\226\260\347\211\271\346\200\247_3D\350\275\254\346\215\2421.html" new file mode 100644 index 0000000000000000000000000000000000000000..b4ae85aeed2ed47aa7a058f73d0086e14cf8875d --- /dev/null +++ "b/css/34_CSS3\346\226\260\347\211\271\346\200\247_3D\350\275\254\346\215\2421.html" @@ -0,0 +1,26 @@ + + + + + + + Document + + + + + +
我是默认文本信息
+ + + \ No newline at end of file diff --git "a/css/35_CSS3\346\226\260\347\211\271\346\200\247_\345\260\217\347\261\263\345\256\230\347\275\221\346\265\256\345\212\250\345\212\250\347\224\273.html" "b/css/35_CSS3\346\226\260\347\211\271\346\200\247_\345\260\217\347\261\263\345\256\230\347\275\221\346\265\256\345\212\250\345\212\250\347\224\273.html" new file mode 100644 index 0000000000000000000000000000000000000000..dd67e5a27c767e478e2a758cc9f0409979d4ce05 --- /dev/null +++ "b/css/35_CSS3\346\226\260\347\211\271\346\200\247_\345\260\217\347\261\263\345\256\230\347\275\221\346\265\256\345\212\250\345\212\250\347\224\273.html" @@ -0,0 +1,29 @@ + + + + + + + Document + + + + +
+ + + \ No newline at end of file diff --git "a/css/36_CSS3\346\226\260\347\211\271\346\200\247_\350\277\207\346\270\241.html" "b/css/36_CSS3\346\226\260\347\211\271\346\200\247_\350\277\207\346\270\241.html" new file mode 100644 index 0000000000000000000000000000000000000000..033897abcafd40fbf064557f325a70f831f80639 --- /dev/null +++ "b/css/36_CSS3\346\226\260\347\211\271\346\200\247_\350\277\207\346\270\241.html" @@ -0,0 +1,31 @@ + + + + + + + Document + + + + +
+ + + \ No newline at end of file diff --git "a/css/37_CSS3\346\226\260\347\211\271\346\200\247_\345\256\236\347\216\260\345\260\217\347\261\263\345\256\230\347\275\221\345\212\250\347\224\273\346\225\210\346\236\234.html" "b/css/37_CSS3\346\226\260\347\211\271\346\200\247_\345\256\236\347\216\260\345\260\217\347\261\263\345\256\230\347\275\221\345\212\250\347\224\273\346\225\210\346\236\234.html" new file mode 100644 index 0000000000000000000000000000000000000000..d6d9f1e8831c7c0128505857d53f16d150286091 --- /dev/null +++ "b/css/37_CSS3\346\226\260\347\211\271\346\200\247_\345\256\236\347\216\260\345\260\217\347\261\263\345\256\230\347\275\221\345\212\250\347\224\273\346\225\210\346\236\234.html" @@ -0,0 +1,30 @@ + + + + + + + Document + + + + +
+ + + \ No newline at end of file diff --git "a/css/38_CSS3\346\226\260\347\211\271\346\200\247_\345\212\250\347\224\2731_\345\210\207\346\215\242\350\203\214\346\231\257\351\242\234\350\211\262.html" "b/css/38_CSS3\346\226\260\347\211\271\346\200\247_\345\212\250\347\224\2731_\345\210\207\346\215\242\350\203\214\346\231\257\351\242\234\350\211\262.html" new file mode 100644 index 0000000000000000000000000000000000000000..79e4801156335d602c703f6617bab33874607320 --- /dev/null +++ "b/css/38_CSS3\346\226\260\347\211\271\346\200\247_\345\212\250\347\224\2731_\345\210\207\346\215\242\350\203\214\346\231\257\351\242\234\350\211\262.html" @@ -0,0 +1,29 @@ + + + + + + + Document + + + + + +
+ + + \ No newline at end of file diff --git "a/css/38_CSS3\346\226\260\347\211\271\346\200\247_\345\212\250\347\224\2732_\345\221\274\345\220\270\346\225\210\346\236\2341.html" "b/css/38_CSS3\346\226\260\347\211\271\346\200\247_\345\212\250\347\224\2732_\345\221\274\345\220\270\346\225\210\346\236\2341.html" new file mode 100644 index 0000000000000000000000000000000000000000..8f51a5fa8ac0c90a55a67678b891fce6c685d2cc --- /dev/null +++ "b/css/38_CSS3\346\226\260\347\211\271\346\200\247_\345\212\250\347\224\2732_\345\221\274\345\220\270\346\225\210\346\236\2341.html" @@ -0,0 +1,43 @@ + + + + + + + Document + + + + + +
+ + + \ No newline at end of file diff --git "a/css/38_CSS3\346\226\260\347\211\271\346\200\247_\345\212\250\347\224\2732_\345\221\274\345\220\270\346\225\210\346\236\2342.html" "b/css/38_CSS3\346\226\260\347\211\271\346\200\247_\345\212\250\347\224\2732_\345\221\274\345\220\270\346\225\210\346\236\2342.html" new file mode 100644 index 0000000000000000000000000000000000000000..eed85c22d468b7445a859c196ef0369a4051df50 --- /dev/null +++ "b/css/38_CSS3\346\226\260\347\211\271\346\200\247_\345\212\250\347\224\2732_\345\221\274\345\220\270\346\225\210\346\236\2342.html" @@ -0,0 +1,49 @@ + + + + + + + + Document + + + + + +
+
+
+
+ + + + \ No newline at end of file diff --git "a/css/39_CSS3\346\226\260\347\211\271\346\200\247_\347\273\230\345\210\266\347\211\271\346\256\212\345\233\276\345\275\242.html" "b/css/39_CSS3\346\226\260\347\211\271\346\200\247_\347\273\230\345\210\266\347\211\271\346\256\212\345\233\276\345\275\242.html" new file mode 100644 index 0000000000000000000000000000000000000000..3fbb9a65961570f5a4de54eb6d5b678250a83fd6 --- /dev/null +++ "b/css/39_CSS3\346\226\260\347\211\271\346\200\247_\347\273\230\345\210\266\347\211\271\346\256\212\345\233\276\345\275\242.html" @@ -0,0 +1,27 @@ + + + + + + + Document + + + + +
+ + + \ No newline at end of file diff --git "a/css/40_\345\252\222\344\275\223\346\237\245\350\257\2421_\350\256\276\347\275\256meta.html" "b/css/40_\345\252\222\344\275\223\346\237\245\350\257\2421_\350\256\276\347\275\256meta.html" new file mode 100644 index 0000000000000000000000000000000000000000..41301e70e2d20f2fca1a0e4a51b5b8bb0c28ae6d --- /dev/null +++ "b/css/40_\345\252\222\344\275\223\346\237\245\350\257\2421_\350\256\276\347\275\256meta.html" @@ -0,0 +1,23 @@ + + + + + + + Document + + + + +
hello
+ + + \ No newline at end of file diff --git "a/css/40_\345\252\222\344\275\223\346\237\245\350\257\2422_\350\257\255\346\263\225.html" "b/css/40_\345\252\222\344\275\223\346\237\245\350\257\2422_\350\257\255\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..21942edabdeeb1f4b338a769ba360674edf78d6e --- /dev/null +++ "b/css/40_\345\252\222\344\275\223\346\237\245\350\257\2422_\350\257\255\346\263\225.html" @@ -0,0 +1,51 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/css/42_\346\240\205\346\240\274\347\263\273\347\273\237.html" "b/css/42_\346\240\205\346\240\274\347\263\273\347\273\237.html" new file mode 100644 index 0000000000000000000000000000000000000000..758f433aa809bc9dff09a10196fde8cc10e9aa52 --- /dev/null +++ "b/css/42_\346\240\205\346\240\274\347\263\273\347\273\237.html" @@ -0,0 +1,45 @@ + + + + + + + + Document + + + + + + +
+
盒子
+
盒子
+
盒子
+
盒子
+
盒子
+
盒子
+
盒子
+
盒子
+
盒子
+
盒子
+
盒子
+
盒子
+
+ + + + \ No newline at end of file diff --git "a/css/43_\345\244\232\345\210\227.html" "b/css/43_\345\244\232\345\210\227.html" new file mode 100644 index 0000000000000000000000000000000000000000..303dd4a38aca3e5c52074eaf5a450049a7f1f2ba --- /dev/null +++ "b/css/43_\345\244\232\345\210\227.html" @@ -0,0 +1,36 @@ + + + + + + + Document + + + + +
+ 百战程序员在线辅导班致力于将“高端课程”和“变态严格督导”服务结合起来, + 让学员在线也能体会到和“线下培训”一样的服务和效果。经过4年的运营, + 已经有258358人进入辅导班,并且取得了非常好的培训效果,影响遍及全世界。 + 其中,有20547人是海外华人学员,也有世界知名高校的学生参与我们的课程。 +
+ + + \ No newline at end of file diff --git "a/css/44_\351\233\252\347\242\247\345\233\276.html" "b/css/44_\351\233\252\347\242\247\345\233\276.html" new file mode 100644 index 0000000000000000000000000000000000000000..8b7885e5431b13adbb46fab26d465cd186b817cd --- /dev/null +++ "b/css/44_\351\233\252\347\242\247\345\233\276.html" @@ -0,0 +1,33 @@ + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/css/45_\345\255\227\344\275\223\345\233\276\346\240\207.html" "b/css/45_\345\255\227\344\275\223\345\233\276\346\240\207.html" new file mode 100644 index 0000000000000000000000000000000000000000..dc6a1bc3a6beee0b53bbb76810da84f0670ecaa3 --- /dev/null +++ "b/css/45_\345\255\227\344\275\223\345\233\276\346\240\207.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/css/46_\346\273\221\345\212\250\351\227\250.html" "b/css/46_\346\273\221\345\212\250\351\227\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..dca8e562b53f5da2e09a0bf65af3b27c440d4f09 --- /dev/null +++ "b/css/46_\346\273\221\345\212\250\351\227\250.html" @@ -0,0 +1,99 @@ + + + + + + + Document + + + + + +
+ +
+ + + \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/.DS_Store" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/.DS_Store" new file mode 100644 index 0000000000000000000000000000000000000000..0ba7d51f243b00369c5802fbe6403b8e15a7360b Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/.DS_Store" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/demo.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/demo.css" new file mode 100644 index 0000000000000000000000000000000000000000..a67054a0a030993643b8cbe9f344b34706efa134 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/demo.css" @@ -0,0 +1,539 @@ +/* Logo 字体 */ +@font-face { + font-family: "iconfont logo"; + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834'); + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg'); +} + +.logo { + font-family: "iconfont logo"; + font-size: 160px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* tabs */ +.nav-tabs { + position: relative; +} + +.nav-tabs .nav-more { + position: absolute; + right: 0; + bottom: 0; + height: 42px; + line-height: 42px; + color: #666; +} + +#tabs { + border-bottom: 1px solid #eee; +} + +#tabs li { + cursor: pointer; + width: 100px; + height: 40px; + line-height: 40px; + text-align: center; + font-size: 16px; + border-bottom: 2px solid transparent; + position: relative; + z-index: 1; + margin-bottom: -1px; + color: #666; +} + + +#tabs .active { + border-bottom-color: #f00; + color: #222; +} + +.tab-container .content { + display: none; +} + +/* 页面布局 */ +.main { + padding: 30px 100px; + width: 960px; + margin: 0 auto; +} + +.main .logo { + color: #333; + text-align: left; + margin-bottom: 30px; + line-height: 1; + height: 110px; + margin-top: -50px; + overflow: hidden; + *zoom: 1; +} + +.main .logo a { + font-size: 160px; + color: #333; +} + +.helps { + margin-top: 40px; +} + +.helps pre { + padding: 20px; + margin: 10px 0; + border: solid 1px #e7e1cd; + background-color: #fffdef; + overflow: auto; +} + +.icon_lists { + width: 100% !important; + overflow: hidden; + *zoom: 1; +} + +.icon_lists li { + width: 100px; + margin-bottom: 10px; + margin-right: 20px; + text-align: center; + list-style: none !important; + cursor: default; +} + +.icon_lists li .code-name { + line-height: 1.2; +} + +.icon_lists .icon { + display: block; + height: 100px; + line-height: 100px; + font-size: 42px; + margin: 10px auto; + color: #333; + -webkit-transition: font-size 0.25s linear, width 0.25s linear; + -moz-transition: font-size 0.25s linear, width 0.25s linear; + transition: font-size 0.25s linear, width 0.25s linear; +} + +.icon_lists .icon:hover { + font-size: 100px; +} + +.icon_lists .svg-icon { + /* 通过设置 font-size 来改变图标大小 */ + width: 1em; + /* 图标和文字相邻时,垂直对齐 */ + vertical-align: -0.15em; + /* 通过设置 color 来改变 SVG 的颜色/fill */ + fill: currentColor; + /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示 + normalize.css 中也包含这行 */ + overflow: hidden; +} + +.icon_lists li .name, +.icon_lists li .code-name { + color: #666; +} + +/* markdown 样式 */ +.markdown { + color: #666; + font-size: 14px; + line-height: 1.8; +} + +.highlight { + line-height: 1.5; +} + +.markdown img { + vertical-align: middle; + max-width: 100%; +} + +.markdown h1 { + color: #404040; + font-weight: 500; + line-height: 40px; + margin-bottom: 24px; +} + +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + color: #404040; + margin: 1.6em 0 0.6em 0; + font-weight: 500; + clear: both; +} + +.markdown h1 { + font-size: 28px; +} + +.markdown h2 { + font-size: 22px; +} + +.markdown h3 { + font-size: 16px; +} + +.markdown h4 { + font-size: 14px; +} + +.markdown h5 { + font-size: 12px; +} + +.markdown h6 { + font-size: 12px; +} + +.markdown hr { + height: 1px; + border: 0; + background: #e9e9e9; + margin: 16px 0; + clear: both; +} + +.markdown p { + margin: 1em 0; +} + +.markdown>p, +.markdown>blockquote, +.markdown>.highlight, +.markdown>ol, +.markdown>ul { + width: 80%; +} + +.markdown ul>li { + list-style: circle; +} + +.markdown>ul li, +.markdown blockquote ul>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown>ul li p, +.markdown>ol li p { + margin: 0.6em 0; +} + +.markdown ol>li { + list-style: decimal; +} + +.markdown>ol li, +.markdown blockquote ol>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown code { + margin: 0 3px; + padding: 0 5px; + background: #eee; + border-radius: 3px; +} + +.markdown strong, +.markdown b { + font-weight: 600; +} + +.markdown>table { + border-collapse: collapse; + border-spacing: 0px; + empty-cells: show; + border: 1px solid #e9e9e9; + width: 95%; + margin-bottom: 24px; +} + +.markdown>table th { + white-space: nowrap; + color: #333; + font-weight: 600; +} + +.markdown>table th, +.markdown>table td { + border: 1px solid #e9e9e9; + padding: 8px 16px; + text-align: left; +} + +.markdown>table th { + background: #F7F7F7; +} + +.markdown blockquote { + font-size: 90%; + color: #999; + border-left: 4px solid #e9e9e9; + padding-left: 0.8em; + margin: 1em 0; +} + +.markdown blockquote p { + margin: 0; +} + +.markdown .anchor { + opacity: 0; + transition: opacity 0.3s ease; + margin-left: 8px; +} + +.markdown .waiting { + color: #ccc; +} + +.markdown h1:hover .anchor, +.markdown h2:hover .anchor, +.markdown h3:hover .anchor, +.markdown h4:hover .anchor, +.markdown h5:hover .anchor, +.markdown h6:hover .anchor { + opacity: 1; + display: inline-block; +} + +.markdown>br, +.markdown>p>br { + clear: both; +} + + +.hljs { + display: block; + background: white; + padding: 0.5em; + color: #333333; + overflow-x: auto; +} + +.hljs-comment, +.hljs-meta { + color: #969896; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-strong, +.hljs-emphasis, +.hljs-quote { + color: #df5000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #a71d5d; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute { + color: #0086b3; +} + +.hljs-section, +.hljs-name { + color: #63a35c; +} + +.hljs-tag { + color: #333333; +} + +.hljs-title, +.hljs-attr, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #795da3; +} + +.hljs-addition { + color: #55a532; + background-color: #eaffea; +} + +.hljs-deletion { + color: #bd2c00; + background-color: #ffecec; +} + +.hljs-link { + text-decoration: underline; +} + +/* 代码高亮 */ +/* PrismJS 1.15.0 +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre)>code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre)>code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/demo_index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/demo_index.html" new file mode 100644 index 0000000000000000000000000000000000000000..b1ac8517cfb86548221abfccb3b881ee7edfb6bd --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/demo_index.html" @@ -0,0 +1,743 @@ + + + + + IconFont Demo + + + + + + + + + + + +
+

+ +
+
+
    + +
  • + 󰀽 +
    F
    +
    &#xf003d;
    +
  • + +
  • + +
    15天无理由退货
    +
    &#xe606;
    +
  • + +
  • + +
    右箭头
    +
    &#xe62e;
    +
  • + +
  • + +
    箭头
    +
    &#xe6bc;
    +
  • + +
  • + +
    播放 三角形
    +
    &#xe769;
    +
  • + +
  • + +
    定位 (1)
    +
    &#xe617;
    +
  • + +
  • + +
    右箭头
    +
    &#xe619;
    +
  • + +
  • + +
    7天无理由退货
    +
    &#xe60e;
    +
  • + +
  • + +
    三角形
    +
    &#xe620;
    +
  • + +
  • + +
    维修
    +
    &#xe629;
    +
  • + +
  • + +
    手机
    +
    &#xe641;
    +
  • + +
  • + +
    放大镜
    +
    &#xe63d;
    +
  • + +
  • + +
    我的
    +
    &#xe65d;
    +
  • + +
  • + +
    返回顶部
    +
    &#xe623;
    +
  • + +
  • + +
    耳机
    +
    &#xe605;
    +
  • + +
  • + +
    手机到手机
    +
    &#xe64a;
    +
  • + +
  • + +
    礼物
    +
    &#xe624;
    +
  • + +
  • + +
    箭头
    +
    &#xe621;
    +
  • + +
  • + +
    对话
    +
    &#xe710;
    +
  • + +
  • + +
    电话卡
    +
    &#xe733;
    +
  • + +
  • + +
    充值
    +
    &#xe65c;
    +
  • + +
  • + +
    手机
    +
    &#xe525;
    +
  • + +
  • + +
    购物车
    +
    &#xe607;
    +
  • + +
  • + +
    右箭头
    +
    &#xe658;
    +
  • + +
  • + +
    礼物
    +
    &#xe611;
    +
  • + +
+
+

Unicode 引用

+
+ +

Unicode 是字体在网页端最原始的应用方式,特点是:

+
    +
  • 兼容性最好,支持 IE6+,及所有现代浏览器。
  • +
  • 支持按字体的方式去动态调整图标大小,颜色等等。
  • +
  • 但是因为是字体,所以不支持多色。只能使用平台里单色的图标,就算项目里有多色图标也会自动去色。
  • +
+
+

注意:新版 iconfont 支持多色图标,这些多色图标在 Unicode 模式下将不能使用,如果有需求建议使用symbol 的引用方式

+
+

Unicode 使用步骤如下:

+

第一步:拷贝项目下面生成的 @font-face

+
@font-face {
+  font-family: 'iconfont';
+  src: url('iconfont.eot');
+  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
+      url('iconfont.woff2') format('woff2'),
+      url('iconfont.woff') format('woff'),
+      url('iconfont.ttf') format('truetype'),
+      url('iconfont.svg#iconfont') format('svg');
+}
+
+

第二步:定义使用 iconfont 的样式

+
.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+

第三步:挑选相应图标并获取字体编码,应用于页面

+
+<span class="iconfont">&#x33;</span>
+
+
+

"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    + F +
    +
    .icon-F +
    +
  • + +
  • + +
    + 15天无理由退货 +
    +
    .icon-15tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-iconfonticonfonti2copycopy +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantouarrowhead7 +
    +
  • + +
  • + +
    + 播放 三角形 +
    +
    .icon-bofangsanjiaoxing +
    +
  • + +
  • + +
    + 定位 (1) +
    +
    .icon-dingwei1 +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou +
    +
  • + +
  • + +
    + 7天无理由退货 +
    +
    .icon-7tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 三角形 +
    +
    .icon-sanjiaoxing +
    +
  • + +
  • + +
    + 维修 +
    +
    .icon-buoumaotubiao46 +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-tel +
    +
  • + +
  • + +
    + 放大镜 +
    +
    .icon-fangdajing +
    +
  • + +
  • + +
    + 我的 +
    +
    .icon-my_icon +
    +
  • + +
  • + +
    + 返回顶部 +
    +
    .icon-fanhuidingbu +
    +
  • + +
  • + +
    + 耳机 +
    +
    .icon-erji +
    +
  • + +
  • + +
    + 手机到手机 +
    +
    .icon-shoujidaoshouji +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-gifs +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantou +
    +
  • + +
  • + +
    + 对话 +
    +
    .icon-duihua +
    +
  • + +
  • + +
    + 电话卡 +
    +
    .icon-dianhuaqia +
    +
  • + +
  • + +
    + 充值 +
    +
    .icon-chongzhi +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-shouji +
    +
  • + +
  • + +
    + 购物车 +
    +
    .icon-gouwuche +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou1 +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-present +
    +
  • + +
+
+

font-class 引用

+
+ +

font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。

+

与 Unicode 使用方式相比,具有如下特点:

+
    +
  • 兼容性良好,支持 IE8+,及所有现代浏览器。
  • +
  • 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
  • +
  • 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
  • +
  • 不过因为本质上还是使用的字体,所以多色图标还是不支持的。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 fontclass 代码:

+
<link rel="stylesheet" href="./iconfont.css">
+
+

第二步:挑选相应图标并获取类名,应用于页面:

+
<span class="iconfont icon-xxx"></span>
+
+
+

" + iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    F
    +
    #icon-F
    +
  • + +
  • + +
    15天无理由退货
    +
    #icon-15tianwuliyoutuihuo
    +
  • + +
  • + +
    右箭头
    +
    #icon-iconfonticonfonti2copycopy
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantouarrowhead7
    +
  • + +
  • + +
    播放 三角形
    +
    #icon-bofangsanjiaoxing
    +
  • + +
  • + +
    定位 (1)
    +
    #icon-dingwei1
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou
    +
  • + +
  • + +
    7天无理由退货
    +
    #icon-7tianwuliyoutuihuo
    +
  • + +
  • + +
    三角形
    +
    #icon-sanjiaoxing
    +
  • + +
  • + +
    维修
    +
    #icon-buoumaotubiao46
    +
  • + +
  • + +
    手机
    +
    #icon-tel
    +
  • + +
  • + +
    放大镜
    +
    #icon-fangdajing
    +
  • + +
  • + +
    我的
    +
    #icon-my_icon
    +
  • + +
  • + +
    返回顶部
    +
    #icon-fanhuidingbu
    +
  • + +
  • + +
    耳机
    +
    #icon-erji
    +
  • + +
  • + +
    手机到手机
    +
    #icon-shoujidaoshouji
    +
  • + +
  • + +
    礼物
    +
    #icon-gifs
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantou
    +
  • + +
  • + +
    对话
    +
    #icon-duihua
    +
  • + +
  • + +
    电话卡
    +
    #icon-dianhuaqia
    +
  • + +
  • + +
    充值
    +
    #icon-chongzhi
    +
  • + +
  • + +
    手机
    +
    #icon-shouji
    +
  • + +
  • + +
    购物车
    +
    #icon-gouwuche
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou1
    +
  • + +
  • + +
    礼物
    +
    #icon-present
    +
  • + +
+
+

Symbol 引用

+
+ +

这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 + 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:

+
    +
  • 支持多色图标了,不再受单色限制。
  • +
  • 通过一些技巧,支持像字体那样,通过 font-size, color 来调整样式。
  • +
  • 兼容性较差,支持 IE9+,及现代浏览器。
  • +
  • 浏览器渲染 SVG 的性能一般,还不如 png。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 symbol 代码:

+
<script src="./iconfont.js"></script>
+
+

第二步:加入通用 CSS 代码(引入一次就行):

+
<style>
+.icon {
+  width: 1em;
+  height: 1em;
+  vertical-align: -0.15em;
+  fill: currentColor;
+  overflow: hidden;
+}
+</style>
+
+

第三步:挑选相应图标并获取类名,应用于页面:

+
<svg class="icon" aria-hidden="true">
+  <use xlink:href="#icon-xxx"></use>
+</svg>
+
+
+
+ +
+
+ + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..82b55e328cc0b42679e713b74141f4d4aacd6518 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.css" @@ -0,0 +1,117 @@ +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1561534862311'); /* IE9 */ + src: url('iconfont.eot?t=1561534862311#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABFwAAsAAAAAHwAAABEjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGTgqqVKFYATYCJANoCzYABCAFhG0HgnYbghlFRoWNAwiCfFWy/8sEbg6cHSoHC2MTVdfaiqoBixK7WOwOGSqE4yw/B7GUIWI/rNT/+f6GqqcOpfx53LSX/CBJkASxFqpGbULFAqVitDAxZt5p5/Vpb6N3TGBylZl0ou3M240z7xknIlyu5TO4qghVIkWo0Hb2kg0c7YWejCiF7G79gDhgS7jBnJrUsmQXDSPk14EhA2bpK33BbrJxwocQOAZDm58L/de6xa50DUUSYsRv4xQBEOCYhv7T4FxpkYX7wRMLs+mpdy45TNoc5DhP3GF7jxkAKRRmQmN7T70HQLUpQEnSzVg7KE2bZ08pqPCvBCQwGJt5ugobC6OAKerK+O/5AQYAFBgkwjjLx3etBwToAoZeC+YqqPUoNxAFmRgI7fyMcQkMc+GBEN9yBgFgB/n72DeQNkIAHHgI9AVV30dRu3nTH0DkExPrsFccA4DNeAAIABIBEAC4LLMFEwHycSIRqSyegGEAiBWq7qTw8ygCv8TPUtMKEylOshwF9sg4qB5TenMfAJXieVVDRRx24Np1hkGsEZ9YNZkxNu0/8QBUpICDmhC0+CAAEmQkwKIAgQhoYGgoiYEAOQUeAMYH9BQBAGDZGtV6diarCKiAn1cEpAB+fhHAAfyCIqAGfkkREAL42SKgBX61ACxECwFAQkGBBAkDBRlIBAQQRSIhAEgcKFAgyaCAQHJAQQRSAAo0SCkoMCBjQUEDMhEUlCCTQEEMMoAiQAB8wVCQE5IOCgqQuSgEPJBCjmUyiTpnnAwAC9X454HQTbcNEoYBYdVggE9xEdEYaQAlBjwQgwCZAmAxgjoOQioVE0fKZTIkcn1SLA7GkCIG6YM1WpYixKYWLQpvIQUCBcMIrYYgwp1QKRKalggE8jRMbHRKCJmcUQJFA0FbnaYMQiHDqBgxISJPGYNIH8wQUkqmWjvCxfbqTwmk9u/w//JT+EzceDgRPZXNlcw/4afyEuWDOZG5cZRhvmglKZFfmwuPZtoRg3Qm5gAP2X6nNDOOUUgcncmnf4lTP0lsmihcxlhfYVwYHaKjFT73dI3OOVVldTL75Ily7/BpOvZ0wCvEOHFSkjKbcSp7/5pi+RAQZKTA7etBjmavHLp68bfnpfIl27no3IvMiefu35efMPMTp7xOd/6IyS8i75N/SOWdtv3p9+Nb6TQned5gQq80hcuqf8QPcpalLE+xMjFdTUxWxdQdsRJuQ5/C47Jk77ehUtYxIYg0cUaMnD7mTbYTTTfmAhgoq2gYwmCaSRrquAwL8+/fvXOazfEUDbjpSm77AbWoASpkllO+yX6bc2pLT1ZaaAln0CDryr9cY8lbCf2gVBgxosEPwA+eEKERZWYpZac5BR1RzObsdBWOEHc1Vh3TnavN1AuV0V1hGXlBjVZZT07d1zr043JBGR2dPYcZ+G77pCpt8dkt8tSvJ01F0OkGiCyU7FojSYlxEECYJNeEaCa8f0rnAVVogN2ZDKyfgN3WP91FJA9g90lZCHL7IU1dFfP4zT/hAi4L0pCZQQBIaAhk5RF6Es1sW1hHrElbmH85+mfNrb0/FrFiT4Fmn7UgDXKBHXxuw2ffzWkmzNaVvxkHuIgrcLosg6t28oFiPhRnnUIIYIguu3X7su+JKfPOKLuVcqznjmrF5pjOXGsIN9gY3RHWz7EyIEgF67wGO2kVuZqiti5JhiQ6KAJLhzBAeyzhZBS+TYZqSKObAQSzIK/zACFDozxtP7OZ6bJYyX30t5971vxs2i+26KNkT/GT+pPRsUefROPA4Grhthfx9v7P0wntWOHhs8QBGnxTdmxllqeXKqcwN6XxQbTtdXoswPjXePJPXKIy9JUwvc5KH2h72/W2F+W93CflaVq7fn1kVKb8w4zqq7G+V33d+nH23pHjHOHP/5/Y/uyvFdonf4xre/rvcswlEQiNK9y+xvpaansRbUOvX7ClAtv30LjEpQ0ujtK7dSl6m73+GfbcgJfGLOG5tnfwbsNhnUELYz77ZAXgpH4vXx/VMdI4N7XGtmfnBQ4hFxWrY+CbHYkjwFGPCQAT0fAytlCFjvIUN44yRox1Z3HjSGPMcEfLK9tvB9J4Q6wJmg4gVWXHtabbKwAIXxgVgjHvQsdUo6wucZwh0n/CEXszDtFCHh6Ez/5b0ffJP+PuDgxZtB6rRfWHI4IpeE8v0RlanhzFJAIRpwu1FhJdetpFTJ71HQUIh2wMREU6E8McHw1wgUy7r+XrgCCDpOzMNg+IMqpl2rzka5360XnQxt7/K6dQv2/ESIcQe+99tqCCebB/vxZy/bxiZET+/pIJF064fALYQUd00tBzTJ+5wTYOOAKpZcrwbt9n/01op8GoPKeNVKb3l2pjqaYn/xwe6DSCUDy4PRMIcW8QDuioJWtL483vfgh2hl6+ThrTcXZBUhDL2vTjhd8rllELl1q0OYM579xFAsROcV5HjqDJ1+J2p9v+eMa6UI173fjUWBiYE9GYZyXHiY7FuxaM3SUaqxp403AtpILcpS+MvTT2zfaLLc26QvJl3eXfZN1UWXnz2omdkeUU/fHTNYnm+WMXts3LqBFPocfFH8ssNs0E6Z3GdMcIhUqWOo4RL1OmfjNfsnj8J5Noqp6/dQM2CcuVsYKQ+OhigleHagoJ7ZODhIzhm1QdwYqO1LAoBSiS7Vn2Rasd2Y4O2LMG1mniAlIqENWo/NFq/T8hAA7XoTvDBEmx9UdwBe7KGQ8NZ75mnjJfnzE8jEz/67Cvl27CrxZOBNx2SX5O2o52PXjoRjvRLAftYtrk59Hd5a34mT7UJmn4ZRPH/bpZvBJve8vbnr5isxkMlfDKxwkSSf7cn5xcNVfFgXEDcY/g3bPBgXDcDfvdnYiOfvTRUSLA6UBH0RF1bUfs/Yd6V4bHsfL03oOeoHSdZ968bB+rZ325C+fTHxNAJg3Dluf3aE3bPyEEwv6mYOj6Tv1d1+9tt+M7P30xesf7N/cyj0ThP6sfih79FPFItZf+x53fHsmnnnfBC3j6wsetTdh54rvviF7Oue++P4/c2Psno7aWMnPKV3DFOcuA91pxxtTPUv1TUJ8Nrr19Z5b8A/msVVkpm7VwoUPuuHNb6IMvUCDDlP5zRpElTofSdboSQNwxC2f26oJmXdBKvug58+ekoyiFtX1EXZUt9v3EuaOU6urYmIkRN83WitKnhimprYrm/LbahD+VONN5QCupStq9xWq+GTExpkU5taZ1buL7sbaq/MKMk+wEzVUwupYOqwZ5a3mD1cP56y7KH9J84XpDb1iKrMO+j+DOul70ztuoM3veeQehCwL1/kHI1uK9vfiaANO+Fq1BITghgyMMGubRIyw5IoV1dcOhM7M4xt6BOVDziZPNeIBZBmrGHPaO4pjO6IFnMjeiP7TpaWXPT/cv4ADAMy3qO5ro/JBGMvfAM30aPq+jYy4mICCKz92CRjjbAVlLHG3XF5FPFU/JXKpf0U8taL0+i32fdWy4qCUH5IOk9ob0z4qB51VTSWb7FGdLZkVJ+0hCamqGitHkK5qrWw5wo4NJL8VkWPfu+WoPRoktCfmc0Rlj/6JPY3jH7AnXlG4ia/QP7343UkRhRe5jRd4fJF4y+MVtRR7JcJKrpGHWgtT1c5OON5S4YqjbrXVfebZzVj3pJdkde9uer45iVDmFcS8d4zw/SNws/IG+1W8Pgx4M1iCVHdGCw+O9SY006Z/H2305zTEzYXmWdaRd3j0Y2GW6Jghwy+DfKqrPTutoex8UURuk6VKdZqOgSGt0DhuG4ZU0eZmn840Q8lxDU2hTgDmtmhKTdt76JdjwSbpkITMjZb7EIFmUvcxHdimDgqjZq2VLYwI8In3Qsm9H3ORthtGv7r2TJC+Y/Sz8n5X1tkqzpbaqfuU3EUNzFIUV7/yUly/dSg5So7Yz2Ry68Ev/LNIdenKQ3CrNzYf6Kd3Ofo8uQrclP5+r/p8GAdXgyeHbzW2jzY5iYQPNd5rtJW67mZ/4F6EYMNbk52/RheuO5uVPP1PxbPvEB0Z5o7FLo9nBmB8sgguN/J++UkSG5xWE//Lw29BXFvREEl8pfoIbCQQ/GAGZJDUeN0qJHhiV1HHFcUpZb7EIgK+MJceXZPBBsJP1/kPV0wh7dJXjeN3mN+JFPVnqrB51r0lt6n2dShCdy1JlnVOfN6lM59+IXlygDjdnInbsWM6cxtWN2X5cOls9paJic/Zr+NL/Y3/o5dDa1TdDZ0pYR8ih0BOhywpcMvIyKdP5deHkISEmZcO0bz7f7IOVWDjMZnwMkTd8PIP+ng6npsvXhz0W8fcids2azIzBPbrNY8Z6tJ4BdllLfX0DJ+HGji0SF8VuQyxn/oDzZnwQZthnFB3jIvTIvIE6j5kBtSmf/TiT7WRnMp+xmvzX59QHVCddgc/oIWZDDtFSOWJrbZkezmYzc6wJ49Fks9V56VHDqioQa6vlPFytLSMz7EuejTYbd6xnUhsGpbnzDGSxs89ZTI7oKp+3KFT3UkOKQcrbXVmjv6bH1d3na9dQg4r3qVTXAsO0uGkW8+FOD6Lz/t78WTyvm5V/hwxx23BHtlnOk2+WKRrnLDUpKdFx0TWllWmpxU+0cMuF5Aj2novVHtWxuntaljwqZB/dFYEoVgw6EMea+pnye4n34NgUp9XK55dn6lRNc8RlzffG71P+TwnUXkk/okqlv3jLWnFuQnuQTVlYqFwsTs76dOakm/9WvKaniGZmh+RuS8qDULThLV6IgXiLeHvwW2sYorcBzDRBXlbOpn3pPx52vLy8P7T/ue/Z8/6wa4os5OnXXzPYvQG7yjQC0pkpzlteuokaUg6RTZr/653O/wVnKcjbmnzrsSR0UehW6ZNd5FBWqNFV73p0K7SoCMdt22aAPZNomIDiP3lyc3hT7qbhA15jRm3GzVuiV3VoQgOyj5gBRUUymTX5kl/25Z7mK8+oNaLaIJ6ir4GaK64rhPcVkhyCxh+4RddEmagEaoGZPcV/g6I/DFkAmvi7eAAEblWAcOw71Qw0NX9fPlQV+H0lv7YWaoGmeisO/BTYvDjqAIEXykH1yr7b3Swfb60SuVy62Y0KUNPRbXrfmQqR8VjTSlFrU9WXzttqE3LgJ3DMXz4aqWV+hv/A/4gMiA38E3i5CYMMUmv/twGsu7800z+Sg4HLKk/+ptm/9eg/LtvfGb1/AuXDM5uBaAMh4P9xEPi3ka6kIOJ/69mie3R7vEqrBgV+Jy+GB34qvisJqy/wD4yNHtD5EFgJBwDKeAjgH0csK7DI5lD+k8MwEFKmTTYOAtBjlBUbiQnEJmbzgIYMzEdsXjYFCYonpkFuqSZgBAkA8dqRjQHjTDYOEriJEWKHMIHYD7J5oPId4pM6KJsCx8inSUP0zKWKliIEFCzZMsOplOkLA6/3J6qYg1Mtq+F+0XlDJTtKNl5PPmOJTkQYv1LHIUgmHRXsSdHBPCdWOUqRh33Nier6IGXWLuw+p6I2gCIOAsHJLzDTbCvPxZGSfHYwSPz5T0iJcsAVXPZU+RdyPFPDpP49fNkKkc9iWemysvDLrCjHlqtMYta5DikwFpWh3DhGmPrsgVKIC/bNYZAq11LU282qKu43byvGhjgXXr4r6v+WRZRklVqj1ekNRpPZYrXZHU6X2+P1Kf6Ax7I8OgsGynXMzZZiiEZH2nuoQeaYU7W16DwtOb1AEZyjtUYQF/OEJJTKA9OVtDGl6glbWqM5GggzV3384qKBm4dXrWkSKRZAISYJdnrefPzCgCcTkOY1d4vtnxx4FK/W0YgOkcQWutRMvRZfK4C8Hi1lpO/e0NURN2mGgTB1xgFroMc1lWqnTWf9Cz1FcR25xmE7Qx11K4cey1AD') format('woff2'), + url('iconfont.woff?t=1561534862311') format('woff'), + url('iconfont.ttf?t=1561534862311') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1561534862311#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-F:before { + content: "\f003d"; +} + +.icon-15tianwuliyoutuihuo:before { + content: "\e606"; +} + +.icon-iconfonticonfonti2copycopy:before { + content: "\e62e"; +} + +.icon-jiantouarrowhead7:before { + content: "\e6bc"; +} + +.icon-bofangsanjiaoxing:before { + content: "\e769"; +} + +.icon-dingwei1:before { + content: "\e617"; +} + +.icon-youjiantou:before { + content: "\e619"; +} + +.icon-7tianwuliyoutuihuo:before { + content: "\e60e"; +} + +.icon-sanjiaoxing:before { + content: "\e620"; +} + +.icon-buoumaotubiao46:before { + content: "\e629"; +} + +.icon-tel:before { + content: "\e641"; +} + +.icon-fangdajing:before { + content: "\e63d"; +} + +.icon-my_icon:before { + content: "\e65d"; +} + +.icon-fanhuidingbu:before { + content: "\e623"; +} + +.icon-erji:before { + content: "\e605"; +} + +.icon-shoujidaoshouji:before { + content: "\e64a"; +} + +.icon-gifs:before { + content: "\e624"; +} + +.icon-jiantou:before { + content: "\e621"; +} + +.icon-duihua:before { + content: "\e710"; +} + +.icon-dianhuaqia:before { + content: "\e733"; +} + +.icon-chongzhi:before { + content: "\e65c"; +} + +.icon-shouji:before { + content: "\e525"; +} + +.icon-gouwuche:before { + content: "\e607"; +} + +.icon-youjiantou1:before { + content: "\e658"; +} + +.icon-present:before { + content: "\e611"; +} + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.eot" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..5e9a285d4f141012b90c8b0093da4f07c0fa62bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.eot" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.js" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.js" new file mode 100644 index 0000000000000000000000000000000000000000..1d120ac96efd0bc668b14ad234fd20ae00664a04 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.js" @@ -0,0 +1 @@ +!function(s){var c,t='',h=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(h&&!s.__iconfont__svg__cssinject__){s.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var h=function(){document.removeEventListener("DOMContentLoaded",h,!1),c()};document.addEventListener("DOMContentLoaded",h,!1)}else document.attachEvent&&(l=c,a=s.document,o=!1,(i=function(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(i,50)}t()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,t())});function t(){o||(o=!0,l())}var l,a,o,i}(function(){var c,h;(c=document.createElement("div")).innerHTML=t,t=null,(h=c.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",function(c,h){h.firstChild?function(c,h){h.parentNode.insertBefore(c,h)}(c,h.firstChild):h.appendChild(c)}(h,document.body))})}(window); \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.svg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..f5269cc8c727142a59f9837e20fd4f892c11407a --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.svg" @@ -0,0 +1,101 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.ttf" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..3b9dd2e7ca16388626976f473598d8c4d5570021 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.ttf" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.woff" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..f42f23160f7a24b91c3b05e052902bbd8644c35f Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.woff" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.woff2" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.woff2" new file mode 100644 index 0000000000000000000000000000000000000000..12e816ceb161961bcfcefb2c446b3224a38a5870 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/iconfont/iconfont.woff2" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/mi.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/mi.css" new file mode 100644 index 0000000000000000000000000000000000000000..8e91b87053e24dfbf9df7e0b61fae567dae44620 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/mi.css" @@ -0,0 +1,16 @@ +/* 头部样式开始 */ +.header{ + width: 100%; + height: 120px; + overflow: hidden; + position: relative; +} + +.header img{ + height: 120px; + /* 图片,以中间开始渲染 */ + position: absolute; + left: 50%; + transform: translateX(-50%); +} +/* 头部样式结束 */ \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/reset.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..be2dc78d18b6bec6cf9115f7b6f31495e6c73e20 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;font-family: Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;} +li{ list-style: none;} +a{text-decoration: none;} +img{border: none;} \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/images/download.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/images/download.png" new file mode 100644 index 0000000000000000000000000000000000000000..8ace029704d62e8173ee6d55c037aff4315488fd Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/images/download.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/images/top.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/images/top.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a1c3c4ba18304ed49a5d826cf2dd3d56b4ff27c1 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/images/top.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..ab53be14b759afcb55cf01317a31063e83d61a07 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/01_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\210\206\346\236\220\344\270\216\351\241\266\351\203\250\345\271\277\345\221\212/index.html" @@ -0,0 +1,22 @@ + + + + + + + 小米 + + + + + + +
+ + + +
+ + + + \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/demo.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/demo.css" new file mode 100644 index 0000000000000000000000000000000000000000..a67054a0a030993643b8cbe9f344b34706efa134 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/demo.css" @@ -0,0 +1,539 @@ +/* Logo 字体 */ +@font-face { + font-family: "iconfont logo"; + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834'); + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg'); +} + +.logo { + font-family: "iconfont logo"; + font-size: 160px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* tabs */ +.nav-tabs { + position: relative; +} + +.nav-tabs .nav-more { + position: absolute; + right: 0; + bottom: 0; + height: 42px; + line-height: 42px; + color: #666; +} + +#tabs { + border-bottom: 1px solid #eee; +} + +#tabs li { + cursor: pointer; + width: 100px; + height: 40px; + line-height: 40px; + text-align: center; + font-size: 16px; + border-bottom: 2px solid transparent; + position: relative; + z-index: 1; + margin-bottom: -1px; + color: #666; +} + + +#tabs .active { + border-bottom-color: #f00; + color: #222; +} + +.tab-container .content { + display: none; +} + +/* 页面布局 */ +.main { + padding: 30px 100px; + width: 960px; + margin: 0 auto; +} + +.main .logo { + color: #333; + text-align: left; + margin-bottom: 30px; + line-height: 1; + height: 110px; + margin-top: -50px; + overflow: hidden; + *zoom: 1; +} + +.main .logo a { + font-size: 160px; + color: #333; +} + +.helps { + margin-top: 40px; +} + +.helps pre { + padding: 20px; + margin: 10px 0; + border: solid 1px #e7e1cd; + background-color: #fffdef; + overflow: auto; +} + +.icon_lists { + width: 100% !important; + overflow: hidden; + *zoom: 1; +} + +.icon_lists li { + width: 100px; + margin-bottom: 10px; + margin-right: 20px; + text-align: center; + list-style: none !important; + cursor: default; +} + +.icon_lists li .code-name { + line-height: 1.2; +} + +.icon_lists .icon { + display: block; + height: 100px; + line-height: 100px; + font-size: 42px; + margin: 10px auto; + color: #333; + -webkit-transition: font-size 0.25s linear, width 0.25s linear; + -moz-transition: font-size 0.25s linear, width 0.25s linear; + transition: font-size 0.25s linear, width 0.25s linear; +} + +.icon_lists .icon:hover { + font-size: 100px; +} + +.icon_lists .svg-icon { + /* 通过设置 font-size 来改变图标大小 */ + width: 1em; + /* 图标和文字相邻时,垂直对齐 */ + vertical-align: -0.15em; + /* 通过设置 color 来改变 SVG 的颜色/fill */ + fill: currentColor; + /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示 + normalize.css 中也包含这行 */ + overflow: hidden; +} + +.icon_lists li .name, +.icon_lists li .code-name { + color: #666; +} + +/* markdown 样式 */ +.markdown { + color: #666; + font-size: 14px; + line-height: 1.8; +} + +.highlight { + line-height: 1.5; +} + +.markdown img { + vertical-align: middle; + max-width: 100%; +} + +.markdown h1 { + color: #404040; + font-weight: 500; + line-height: 40px; + margin-bottom: 24px; +} + +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + color: #404040; + margin: 1.6em 0 0.6em 0; + font-weight: 500; + clear: both; +} + +.markdown h1 { + font-size: 28px; +} + +.markdown h2 { + font-size: 22px; +} + +.markdown h3 { + font-size: 16px; +} + +.markdown h4 { + font-size: 14px; +} + +.markdown h5 { + font-size: 12px; +} + +.markdown h6 { + font-size: 12px; +} + +.markdown hr { + height: 1px; + border: 0; + background: #e9e9e9; + margin: 16px 0; + clear: both; +} + +.markdown p { + margin: 1em 0; +} + +.markdown>p, +.markdown>blockquote, +.markdown>.highlight, +.markdown>ol, +.markdown>ul { + width: 80%; +} + +.markdown ul>li { + list-style: circle; +} + +.markdown>ul li, +.markdown blockquote ul>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown>ul li p, +.markdown>ol li p { + margin: 0.6em 0; +} + +.markdown ol>li { + list-style: decimal; +} + +.markdown>ol li, +.markdown blockquote ol>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown code { + margin: 0 3px; + padding: 0 5px; + background: #eee; + border-radius: 3px; +} + +.markdown strong, +.markdown b { + font-weight: 600; +} + +.markdown>table { + border-collapse: collapse; + border-spacing: 0px; + empty-cells: show; + border: 1px solid #e9e9e9; + width: 95%; + margin-bottom: 24px; +} + +.markdown>table th { + white-space: nowrap; + color: #333; + font-weight: 600; +} + +.markdown>table th, +.markdown>table td { + border: 1px solid #e9e9e9; + padding: 8px 16px; + text-align: left; +} + +.markdown>table th { + background: #F7F7F7; +} + +.markdown blockquote { + font-size: 90%; + color: #999; + border-left: 4px solid #e9e9e9; + padding-left: 0.8em; + margin: 1em 0; +} + +.markdown blockquote p { + margin: 0; +} + +.markdown .anchor { + opacity: 0; + transition: opacity 0.3s ease; + margin-left: 8px; +} + +.markdown .waiting { + color: #ccc; +} + +.markdown h1:hover .anchor, +.markdown h2:hover .anchor, +.markdown h3:hover .anchor, +.markdown h4:hover .anchor, +.markdown h5:hover .anchor, +.markdown h6:hover .anchor { + opacity: 1; + display: inline-block; +} + +.markdown>br, +.markdown>p>br { + clear: both; +} + + +.hljs { + display: block; + background: white; + padding: 0.5em; + color: #333333; + overflow-x: auto; +} + +.hljs-comment, +.hljs-meta { + color: #969896; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-strong, +.hljs-emphasis, +.hljs-quote { + color: #df5000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #a71d5d; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute { + color: #0086b3; +} + +.hljs-section, +.hljs-name { + color: #63a35c; +} + +.hljs-tag { + color: #333333; +} + +.hljs-title, +.hljs-attr, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #795da3; +} + +.hljs-addition { + color: #55a532; + background-color: #eaffea; +} + +.hljs-deletion { + color: #bd2c00; + background-color: #ffecec; +} + +.hljs-link { + text-decoration: underline; +} + +/* 代码高亮 */ +/* PrismJS 1.15.0 +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre)>code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre)>code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/demo_index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/demo_index.html" new file mode 100644 index 0000000000000000000000000000000000000000..b1ac8517cfb86548221abfccb3b881ee7edfb6bd --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/demo_index.html" @@ -0,0 +1,743 @@ + + + + + IconFont Demo + + + + + + + + + + + +
+

+ +
+
+
    + +
  • + 󰀽 +
    F
    +
    &#xf003d;
    +
  • + +
  • + +
    15天无理由退货
    +
    &#xe606;
    +
  • + +
  • + +
    右箭头
    +
    &#xe62e;
    +
  • + +
  • + +
    箭头
    +
    &#xe6bc;
    +
  • + +
  • + +
    播放 三角形
    +
    &#xe769;
    +
  • + +
  • + +
    定位 (1)
    +
    &#xe617;
    +
  • + +
  • + +
    右箭头
    +
    &#xe619;
    +
  • + +
  • + +
    7天无理由退货
    +
    &#xe60e;
    +
  • + +
  • + +
    三角形
    +
    &#xe620;
    +
  • + +
  • + +
    维修
    +
    &#xe629;
    +
  • + +
  • + +
    手机
    +
    &#xe641;
    +
  • + +
  • + +
    放大镜
    +
    &#xe63d;
    +
  • + +
  • + +
    我的
    +
    &#xe65d;
    +
  • + +
  • + +
    返回顶部
    +
    &#xe623;
    +
  • + +
  • + +
    耳机
    +
    &#xe605;
    +
  • + +
  • + +
    手机到手机
    +
    &#xe64a;
    +
  • + +
  • + +
    礼物
    +
    &#xe624;
    +
  • + +
  • + +
    箭头
    +
    &#xe621;
    +
  • + +
  • + +
    对话
    +
    &#xe710;
    +
  • + +
  • + +
    电话卡
    +
    &#xe733;
    +
  • + +
  • + +
    充值
    +
    &#xe65c;
    +
  • + +
  • + +
    手机
    +
    &#xe525;
    +
  • + +
  • + +
    购物车
    +
    &#xe607;
    +
  • + +
  • + +
    右箭头
    +
    &#xe658;
    +
  • + +
  • + +
    礼物
    +
    &#xe611;
    +
  • + +
+
+

Unicode 引用

+
+ +

Unicode 是字体在网页端最原始的应用方式,特点是:

+
    +
  • 兼容性最好,支持 IE6+,及所有现代浏览器。
  • +
  • 支持按字体的方式去动态调整图标大小,颜色等等。
  • +
  • 但是因为是字体,所以不支持多色。只能使用平台里单色的图标,就算项目里有多色图标也会自动去色。
  • +
+
+

注意:新版 iconfont 支持多色图标,这些多色图标在 Unicode 模式下将不能使用,如果有需求建议使用symbol 的引用方式

+
+

Unicode 使用步骤如下:

+

第一步:拷贝项目下面生成的 @font-face

+
@font-face {
+  font-family: 'iconfont';
+  src: url('iconfont.eot');
+  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
+      url('iconfont.woff2') format('woff2'),
+      url('iconfont.woff') format('woff'),
+      url('iconfont.ttf') format('truetype'),
+      url('iconfont.svg#iconfont') format('svg');
+}
+
+

第二步:定义使用 iconfont 的样式

+
.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+

第三步:挑选相应图标并获取字体编码,应用于页面

+
+<span class="iconfont">&#x33;</span>
+
+
+

"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    + F +
    +
    .icon-F +
    +
  • + +
  • + +
    + 15天无理由退货 +
    +
    .icon-15tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-iconfonticonfonti2copycopy +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantouarrowhead7 +
    +
  • + +
  • + +
    + 播放 三角形 +
    +
    .icon-bofangsanjiaoxing +
    +
  • + +
  • + +
    + 定位 (1) +
    +
    .icon-dingwei1 +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou +
    +
  • + +
  • + +
    + 7天无理由退货 +
    +
    .icon-7tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 三角形 +
    +
    .icon-sanjiaoxing +
    +
  • + +
  • + +
    + 维修 +
    +
    .icon-buoumaotubiao46 +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-tel +
    +
  • + +
  • + +
    + 放大镜 +
    +
    .icon-fangdajing +
    +
  • + +
  • + +
    + 我的 +
    +
    .icon-my_icon +
    +
  • + +
  • + +
    + 返回顶部 +
    +
    .icon-fanhuidingbu +
    +
  • + +
  • + +
    + 耳机 +
    +
    .icon-erji +
    +
  • + +
  • + +
    + 手机到手机 +
    +
    .icon-shoujidaoshouji +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-gifs +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantou +
    +
  • + +
  • + +
    + 对话 +
    +
    .icon-duihua +
    +
  • + +
  • + +
    + 电话卡 +
    +
    .icon-dianhuaqia +
    +
  • + +
  • + +
    + 充值 +
    +
    .icon-chongzhi +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-shouji +
    +
  • + +
  • + +
    + 购物车 +
    +
    .icon-gouwuche +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou1 +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-present +
    +
  • + +
+
+

font-class 引用

+
+ +

font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。

+

与 Unicode 使用方式相比,具有如下特点:

+
    +
  • 兼容性良好,支持 IE8+,及所有现代浏览器。
  • +
  • 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
  • +
  • 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
  • +
  • 不过因为本质上还是使用的字体,所以多色图标还是不支持的。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 fontclass 代码:

+
<link rel="stylesheet" href="./iconfont.css">
+
+

第二步:挑选相应图标并获取类名,应用于页面:

+
<span class="iconfont icon-xxx"></span>
+
+
+

" + iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    F
    +
    #icon-F
    +
  • + +
  • + +
    15天无理由退货
    +
    #icon-15tianwuliyoutuihuo
    +
  • + +
  • + +
    右箭头
    +
    #icon-iconfonticonfonti2copycopy
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantouarrowhead7
    +
  • + +
  • + +
    播放 三角形
    +
    #icon-bofangsanjiaoxing
    +
  • + +
  • + +
    定位 (1)
    +
    #icon-dingwei1
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou
    +
  • + +
  • + +
    7天无理由退货
    +
    #icon-7tianwuliyoutuihuo
    +
  • + +
  • + +
    三角形
    +
    #icon-sanjiaoxing
    +
  • + +
  • + +
    维修
    +
    #icon-buoumaotubiao46
    +
  • + +
  • + +
    手机
    +
    #icon-tel
    +
  • + +
  • + +
    放大镜
    +
    #icon-fangdajing
    +
  • + +
  • + +
    我的
    +
    #icon-my_icon
    +
  • + +
  • + +
    返回顶部
    +
    #icon-fanhuidingbu
    +
  • + +
  • + +
    耳机
    +
    #icon-erji
    +
  • + +
  • + +
    手机到手机
    +
    #icon-shoujidaoshouji
    +
  • + +
  • + +
    礼物
    +
    #icon-gifs
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantou
    +
  • + +
  • + +
    对话
    +
    #icon-duihua
    +
  • + +
  • + +
    电话卡
    +
    #icon-dianhuaqia
    +
  • + +
  • + +
    充值
    +
    #icon-chongzhi
    +
  • + +
  • + +
    手机
    +
    #icon-shouji
    +
  • + +
  • + +
    购物车
    +
    #icon-gouwuche
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou1
    +
  • + +
  • + +
    礼物
    +
    #icon-present
    +
  • + +
+
+

Symbol 引用

+
+ +

这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 + 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:

+
    +
  • 支持多色图标了,不再受单色限制。
  • +
  • 通过一些技巧,支持像字体那样,通过 font-size, color 来调整样式。
  • +
  • 兼容性较差,支持 IE9+,及现代浏览器。
  • +
  • 浏览器渲染 SVG 的性能一般,还不如 png。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 symbol 代码:

+
<script src="./iconfont.js"></script>
+
+

第二步:加入通用 CSS 代码(引入一次就行):

+
<style>
+.icon {
+  width: 1em;
+  height: 1em;
+  vertical-align: -0.15em;
+  fill: currentColor;
+  overflow: hidden;
+}
+</style>
+
+

第三步:挑选相应图标并获取类名,应用于页面:

+
<svg class="icon" aria-hidden="true">
+  <use xlink:href="#icon-xxx"></use>
+</svg>
+
+
+
+ +
+
+ + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..82b55e328cc0b42679e713b74141f4d4aacd6518 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.css" @@ -0,0 +1,117 @@ +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1561534862311'); /* IE9 */ + src: url('iconfont.eot?t=1561534862311#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABFwAAsAAAAAHwAAABEjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGTgqqVKFYATYCJANoCzYABCAFhG0HgnYbghlFRoWNAwiCfFWy/8sEbg6cHSoHC2MTVdfaiqoBixK7WOwOGSqE4yw/B7GUIWI/rNT/+f6GqqcOpfx53LSX/CBJkASxFqpGbULFAqVitDAxZt5p5/Vpb6N3TGBylZl0ou3M240z7xknIlyu5TO4qghVIkWo0Hb2kg0c7YWejCiF7G79gDhgS7jBnJrUsmQXDSPk14EhA2bpK33BbrJxwocQOAZDm58L/de6xa50DUUSYsRv4xQBEOCYhv7T4FxpkYX7wRMLs+mpdy45TNoc5DhP3GF7jxkAKRRmQmN7T70HQLUpQEnSzVg7KE2bZ08pqPCvBCQwGJt5ugobC6OAKerK+O/5AQYAFBgkwjjLx3etBwToAoZeC+YqqPUoNxAFmRgI7fyMcQkMc+GBEN9yBgFgB/n72DeQNkIAHHgI9AVV30dRu3nTH0DkExPrsFccA4DNeAAIABIBEAC4LLMFEwHycSIRqSyegGEAiBWq7qTw8ygCv8TPUtMKEylOshwF9sg4qB5TenMfAJXieVVDRRx24Np1hkGsEZ9YNZkxNu0/8QBUpICDmhC0+CAAEmQkwKIAgQhoYGgoiYEAOQUeAMYH9BQBAGDZGtV6diarCKiAn1cEpAB+fhHAAfyCIqAGfkkREAL42SKgBX61ACxECwFAQkGBBAkDBRlIBAQQRSIhAEgcKFAgyaCAQHJAQQRSAAo0SCkoMCBjQUEDMhEUlCCTQEEMMoAiQAB8wVCQE5IOCgqQuSgEPJBCjmUyiTpnnAwAC9X454HQTbcNEoYBYdVggE9xEdEYaQAlBjwQgwCZAmAxgjoOQioVE0fKZTIkcn1SLA7GkCIG6YM1WpYixKYWLQpvIQUCBcMIrYYgwp1QKRKalggE8jRMbHRKCJmcUQJFA0FbnaYMQiHDqBgxISJPGYNIH8wQUkqmWjvCxfbqTwmk9u/w//JT+EzceDgRPZXNlcw/4afyEuWDOZG5cZRhvmglKZFfmwuPZtoRg3Qm5gAP2X6nNDOOUUgcncmnf4lTP0lsmihcxlhfYVwYHaKjFT73dI3OOVVldTL75Ily7/BpOvZ0wCvEOHFSkjKbcSp7/5pi+RAQZKTA7etBjmavHLp68bfnpfIl27no3IvMiefu35efMPMTp7xOd/6IyS8i75N/SOWdtv3p9+Nb6TQned5gQq80hcuqf8QPcpalLE+xMjFdTUxWxdQdsRJuQ5/C47Jk77ehUtYxIYg0cUaMnD7mTbYTTTfmAhgoq2gYwmCaSRrquAwL8+/fvXOazfEUDbjpSm77AbWoASpkllO+yX6bc2pLT1ZaaAln0CDryr9cY8lbCf2gVBgxosEPwA+eEKERZWYpZac5BR1RzObsdBWOEHc1Vh3TnavN1AuV0V1hGXlBjVZZT07d1zr043JBGR2dPYcZ+G77pCpt8dkt8tSvJ01F0OkGiCyU7FojSYlxEECYJNeEaCa8f0rnAVVogN2ZDKyfgN3WP91FJA9g90lZCHL7IU1dFfP4zT/hAi4L0pCZQQBIaAhk5RF6Es1sW1hHrElbmH85+mfNrb0/FrFiT4Fmn7UgDXKBHXxuw2ffzWkmzNaVvxkHuIgrcLosg6t28oFiPhRnnUIIYIguu3X7su+JKfPOKLuVcqznjmrF5pjOXGsIN9gY3RHWz7EyIEgF67wGO2kVuZqiti5JhiQ6KAJLhzBAeyzhZBS+TYZqSKObAQSzIK/zACFDozxtP7OZ6bJYyX30t5971vxs2i+26KNkT/GT+pPRsUefROPA4Grhthfx9v7P0wntWOHhs8QBGnxTdmxllqeXKqcwN6XxQbTtdXoswPjXePJPXKIy9JUwvc5KH2h72/W2F+W93CflaVq7fn1kVKb8w4zqq7G+V33d+nH23pHjHOHP/5/Y/uyvFdonf4xre/rvcswlEQiNK9y+xvpaansRbUOvX7ClAtv30LjEpQ0ujtK7dSl6m73+GfbcgJfGLOG5tnfwbsNhnUELYz77ZAXgpH4vXx/VMdI4N7XGtmfnBQ4hFxWrY+CbHYkjwFGPCQAT0fAytlCFjvIUN44yRox1Z3HjSGPMcEfLK9tvB9J4Q6wJmg4gVWXHtabbKwAIXxgVgjHvQsdUo6wucZwh0n/CEXszDtFCHh6Ez/5b0ffJP+PuDgxZtB6rRfWHI4IpeE8v0RlanhzFJAIRpwu1FhJdetpFTJ71HQUIh2wMREU6E8McHw1wgUy7r+XrgCCDpOzMNg+IMqpl2rzka5360XnQxt7/K6dQv2/ESIcQe+99tqCCebB/vxZy/bxiZET+/pIJF064fALYQUd00tBzTJ+5wTYOOAKpZcrwbt9n/01op8GoPKeNVKb3l2pjqaYn/xwe6DSCUDy4PRMIcW8QDuioJWtL483vfgh2hl6+ThrTcXZBUhDL2vTjhd8rllELl1q0OYM579xFAsROcV5HjqDJ1+J2p9v+eMa6UI173fjUWBiYE9GYZyXHiY7FuxaM3SUaqxp403AtpILcpS+MvTT2zfaLLc26QvJl3eXfZN1UWXnz2omdkeUU/fHTNYnm+WMXts3LqBFPocfFH8ssNs0E6Z3GdMcIhUqWOo4RL1OmfjNfsnj8J5Noqp6/dQM2CcuVsYKQ+OhigleHagoJ7ZODhIzhm1QdwYqO1LAoBSiS7Vn2Rasd2Y4O2LMG1mniAlIqENWo/NFq/T8hAA7XoTvDBEmx9UdwBe7KGQ8NZ75mnjJfnzE8jEz/67Cvl27CrxZOBNx2SX5O2o52PXjoRjvRLAftYtrk59Hd5a34mT7UJmn4ZRPH/bpZvBJve8vbnr5isxkMlfDKxwkSSf7cn5xcNVfFgXEDcY/g3bPBgXDcDfvdnYiOfvTRUSLA6UBH0RF1bUfs/Yd6V4bHsfL03oOeoHSdZ968bB+rZ325C+fTHxNAJg3Dluf3aE3bPyEEwv6mYOj6Tv1d1+9tt+M7P30xesf7N/cyj0ThP6sfih79FPFItZf+x53fHsmnnnfBC3j6wsetTdh54rvviF7Oue++P4/c2Psno7aWMnPKV3DFOcuA91pxxtTPUv1TUJ8Nrr19Z5b8A/msVVkpm7VwoUPuuHNb6IMvUCDDlP5zRpElTofSdboSQNwxC2f26oJmXdBKvug58+ekoyiFtX1EXZUt9v3EuaOU6urYmIkRN83WitKnhimprYrm/LbahD+VONN5QCupStq9xWq+GTExpkU5taZ1buL7sbaq/MKMk+wEzVUwupYOqwZ5a3mD1cP56y7KH9J84XpDb1iKrMO+j+DOul70ztuoM3veeQehCwL1/kHI1uK9vfiaANO+Fq1BITghgyMMGubRIyw5IoV1dcOhM7M4xt6BOVDziZPNeIBZBmrGHPaO4pjO6IFnMjeiP7TpaWXPT/cv4ADAMy3qO5ro/JBGMvfAM30aPq+jYy4mICCKz92CRjjbAVlLHG3XF5FPFU/JXKpf0U8taL0+i32fdWy4qCUH5IOk9ob0z4qB51VTSWb7FGdLZkVJ+0hCamqGitHkK5qrWw5wo4NJL8VkWPfu+WoPRoktCfmc0Rlj/6JPY3jH7AnXlG4ia/QP7343UkRhRe5jRd4fJF4y+MVtRR7JcJKrpGHWgtT1c5OON5S4YqjbrXVfebZzVj3pJdkde9uer45iVDmFcS8d4zw/SNws/IG+1W8Pgx4M1iCVHdGCw+O9SY006Z/H2305zTEzYXmWdaRd3j0Y2GW6Jghwy+DfKqrPTutoex8UURuk6VKdZqOgSGt0DhuG4ZU0eZmn840Q8lxDU2hTgDmtmhKTdt76JdjwSbpkITMjZb7EIFmUvcxHdimDgqjZq2VLYwI8In3Qsm9H3ORthtGv7r2TJC+Y/Sz8n5X1tkqzpbaqfuU3EUNzFIUV7/yUly/dSg5So7Yz2Ry68Ev/LNIdenKQ3CrNzYf6Kd3Ofo8uQrclP5+r/p8GAdXgyeHbzW2jzY5iYQPNd5rtJW67mZ/4F6EYMNbk52/RheuO5uVPP1PxbPvEB0Z5o7FLo9nBmB8sgguN/J++UkSG5xWE//Lw29BXFvREEl8pfoIbCQQ/GAGZJDUeN0qJHhiV1HHFcUpZb7EIgK+MJceXZPBBsJP1/kPV0wh7dJXjeN3mN+JFPVnqrB51r0lt6n2dShCdy1JlnVOfN6lM59+IXlygDjdnInbsWM6cxtWN2X5cOls9paJic/Zr+NL/Y3/o5dDa1TdDZ0pYR8ih0BOhywpcMvIyKdP5deHkISEmZcO0bz7f7IOVWDjMZnwMkTd8PIP+ng6npsvXhz0W8fcids2azIzBPbrNY8Z6tJ4BdllLfX0DJ+HGji0SF8VuQyxn/oDzZnwQZthnFB3jIvTIvIE6j5kBtSmf/TiT7WRnMp+xmvzX59QHVCddgc/oIWZDDtFSOWJrbZkezmYzc6wJ49Fks9V56VHDqioQa6vlPFytLSMz7EuejTYbd6xnUhsGpbnzDGSxs89ZTI7oKp+3KFT3UkOKQcrbXVmjv6bH1d3na9dQg4r3qVTXAsO0uGkW8+FOD6Lz/t78WTyvm5V/hwxx23BHtlnOk2+WKRrnLDUpKdFx0TWllWmpxU+0cMuF5Aj2novVHtWxuntaljwqZB/dFYEoVgw6EMea+pnye4n34NgUp9XK55dn6lRNc8RlzffG71P+TwnUXkk/okqlv3jLWnFuQnuQTVlYqFwsTs76dOakm/9WvKaniGZmh+RuS8qDULThLV6IgXiLeHvwW2sYorcBzDRBXlbOpn3pPx52vLy8P7T/ue/Z8/6wa4os5OnXXzPYvQG7yjQC0pkpzlteuokaUg6RTZr/653O/wVnKcjbmnzrsSR0UehW6ZNd5FBWqNFV73p0K7SoCMdt22aAPZNomIDiP3lyc3hT7qbhA15jRm3GzVuiV3VoQgOyj5gBRUUymTX5kl/25Z7mK8+oNaLaIJ6ir4GaK64rhPcVkhyCxh+4RddEmagEaoGZPcV/g6I/DFkAmvi7eAAEblWAcOw71Qw0NX9fPlQV+H0lv7YWaoGmeisO/BTYvDjqAIEXykH1yr7b3Swfb60SuVy62Y0KUNPRbXrfmQqR8VjTSlFrU9WXzttqE3LgJ3DMXz4aqWV+hv/A/4gMiA38E3i5CYMMUmv/twGsu7800z+Sg4HLKk/+ptm/9eg/LtvfGb1/AuXDM5uBaAMh4P9xEPi3ka6kIOJ/69mie3R7vEqrBgV+Jy+GB34qvisJqy/wD4yNHtD5EFgJBwDKeAjgH0csK7DI5lD+k8MwEFKmTTYOAtBjlBUbiQnEJmbzgIYMzEdsXjYFCYonpkFuqSZgBAkA8dqRjQHjTDYOEriJEWKHMIHYD7J5oPId4pM6KJsCx8inSUP0zKWKliIEFCzZMsOplOkLA6/3J6qYg1Mtq+F+0XlDJTtKNl5PPmOJTkQYv1LHIUgmHRXsSdHBPCdWOUqRh33Nier6IGXWLuw+p6I2gCIOAsHJLzDTbCvPxZGSfHYwSPz5T0iJcsAVXPZU+RdyPFPDpP49fNkKkc9iWemysvDLrCjHlqtMYta5DikwFpWh3DhGmPrsgVKIC/bNYZAq11LU282qKu43byvGhjgXXr4r6v+WRZRklVqj1ekNRpPZYrXZHU6X2+P1Kf6Ax7I8OgsGynXMzZZiiEZH2nuoQeaYU7W16DwtOb1AEZyjtUYQF/OEJJTKA9OVtDGl6glbWqM5GggzV3384qKBm4dXrWkSKRZAISYJdnrefPzCgCcTkOY1d4vtnxx4FK/W0YgOkcQWutRMvRZfK4C8Hi1lpO/e0NURN2mGgTB1xgFroMc1lWqnTWf9Cz1FcR25xmE7Qx11K4cey1AD') format('woff2'), + url('iconfont.woff?t=1561534862311') format('woff'), + url('iconfont.ttf?t=1561534862311') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1561534862311#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-F:before { + content: "\f003d"; +} + +.icon-15tianwuliyoutuihuo:before { + content: "\e606"; +} + +.icon-iconfonticonfonti2copycopy:before { + content: "\e62e"; +} + +.icon-jiantouarrowhead7:before { + content: "\e6bc"; +} + +.icon-bofangsanjiaoxing:before { + content: "\e769"; +} + +.icon-dingwei1:before { + content: "\e617"; +} + +.icon-youjiantou:before { + content: "\e619"; +} + +.icon-7tianwuliyoutuihuo:before { + content: "\e60e"; +} + +.icon-sanjiaoxing:before { + content: "\e620"; +} + +.icon-buoumaotubiao46:before { + content: "\e629"; +} + +.icon-tel:before { + content: "\e641"; +} + +.icon-fangdajing:before { + content: "\e63d"; +} + +.icon-my_icon:before { + content: "\e65d"; +} + +.icon-fanhuidingbu:before { + content: "\e623"; +} + +.icon-erji:before { + content: "\e605"; +} + +.icon-shoujidaoshouji:before { + content: "\e64a"; +} + +.icon-gifs:before { + content: "\e624"; +} + +.icon-jiantou:before { + content: "\e621"; +} + +.icon-duihua:before { + content: "\e710"; +} + +.icon-dianhuaqia:before { + content: "\e733"; +} + +.icon-chongzhi:before { + content: "\e65c"; +} + +.icon-shouji:before { + content: "\e525"; +} + +.icon-gouwuche:before { + content: "\e607"; +} + +.icon-youjiantou1:before { + content: "\e658"; +} + +.icon-present:before { + content: "\e611"; +} + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.eot" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..5e9a285d4f141012b90c8b0093da4f07c0fa62bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.eot" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.js" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.js" new file mode 100644 index 0000000000000000000000000000000000000000..1d120ac96efd0bc668b14ad234fd20ae00664a04 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.js" @@ -0,0 +1 @@ +!function(s){var c,t='',h=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(h&&!s.__iconfont__svg__cssinject__){s.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var h=function(){document.removeEventListener("DOMContentLoaded",h,!1),c()};document.addEventListener("DOMContentLoaded",h,!1)}else document.attachEvent&&(l=c,a=s.document,o=!1,(i=function(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(i,50)}t()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,t())});function t(){o||(o=!0,l())}var l,a,o,i}(function(){var c,h;(c=document.createElement("div")).innerHTML=t,t=null,(h=c.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",function(c,h){h.firstChild?function(c,h){h.parentNode.insertBefore(c,h)}(c,h.firstChild):h.appendChild(c)}(h,document.body))})}(window); \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.svg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..f5269cc8c727142a59f9837e20fd4f892c11407a --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.svg" @@ -0,0 +1,101 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.ttf" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..3b9dd2e7ca16388626976f473598d8c4d5570021 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.ttf" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..f42f23160f7a24b91c3b05e052902bbd8644c35f Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff2" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff2" new file mode 100644 index 0000000000000000000000000000000000000000..12e816ceb161961bcfcefb2c446b3224a38a5870 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff2" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/mi.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/mi.css" new file mode 100644 index 0000000000000000000000000000000000000000..4668f7a0e16b4874982a968db7807a3272d4fe8b --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/mi.css" @@ -0,0 +1,119 @@ +/* 头部样式开始 */ +.header{ + width: 100%; + height: 120px; + overflow: hidden; + position: relative; +} + +.header img{ + height: 120px; + /* 图片,以中间开始渲染 */ + position: absolute; + left: 50%; + transform: translateX(-50%); +} +/* 头部样式结束 */ + +/* 黑色导航样式开始 */ +.black-nav{ + width: 100%; + height: 40px; + line-height: 40px; + background-color: #333; + font-size: 12px; +} +.wrap{ + width: 1226px; + margin: 0 auto; +} +.black-nav-left{ + float: left; +} +.black-nav-right{ + float: right; +} +.black-nav li{ + float: left; + position: relative; +} +.black-nav a{ + color: #b0b0b0; +} +.black-nav span{ + color: #424242; + margin: 0 3.6px; +} +.download{ + width: 124px; + height: 0; + background: #fff; + box-shadow: 0 1px 5px #aaa; + position: absolute; + top: 40px; + left: 50%; + margin-left: -62px; + overflow:hidden; + transition: all 0.3s; +} +.download img{ + width: 90px; + margin: 18px auto 0; +} +.download p{ + color: #333; + font-size: 14px; + line-height: 14px; +} +.black-nav-left li:hover>.download{ + height: 148px; +} +.stri{ + width: 0; + height: 0; + border-bottom: 8px solid #fff; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + position:absolute; + bottom: 0; + left: 50%; + margin-left: -8px; + display: none; +} +.black-nav-left>li:hover>.stri{ + display: block; +} +.cart{ + width: 120px; + height: 40px; + background: #424242; + margin-left: 25px; + position: relative; +} +.cart:hover{ + background: #fff; +} +.cart:hover>a{ + color: #ff6700; +} +.cart i{ + font-style: normal; + margin-right: 8px; +} +.cart-list{ + width: 316px; + height: 0; + background: #fff; + box-shadow: 0 2px 10px rgba(0,0,0,0.15); + position: absolute; + right: 0; + top: 40px; + color: #424242; + overflow: hidden; + transition: all 0.3s; + line-height: 100px; +} +.cart:hover>.cart-list{ + height: 100px; +} +/* 黑色导航样式结束 */ \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/reset.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..be2dc78d18b6bec6cf9115f7b6f31495e6c73e20 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;font-family: Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;} +li{ list-style: none;} +a{text-decoration: none;} +img{border: none;} \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/download.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/download.png" new file mode 100644 index 0000000000000000000000000000000000000000..8ace029704d62e8173ee6d55c037aff4315488fd Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/download.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/mi-home.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/mi-home.png" new file mode 100644 index 0000000000000000000000000000000000000000..cb3ea82de3c11402e99f4add187c49db4de6f958 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/mi-home.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/mi-logo.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/mi-logo.png" new file mode 100644 index 0000000000000000000000000000000000000000..82de5d977bca6d3131baec5696deac1c77df29d7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/mi-logo.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/phone.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/phone.png" new file mode 100644 index 0000000000000000000000000000000000000000..413d28d043d4d9495f8d4e9bbcf3aaa068d578b2 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/phone.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/top.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/top.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a1c3c4ba18304ed49a5d826cf2dd3d56b4ff27c1 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/top.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/zzxsh.gif" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/zzxsh.gif" new file mode 100644 index 0000000000000000000000000000000000000000..bb6222f926a49166214a8a471bb9044c509f67e0 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/images/zzxsh.gif" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..a5a06ae1cc141a569dc13aff9eee9583eea558a8 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/02_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\273\221\350\211\262\345\257\274\350\210\252/index.html" @@ -0,0 +1,73 @@ + + + + + + + 小米 + + + + + + + +
+ + + +
+ + + +
+
+ + +
+
+ + + + \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/demo.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/demo.css" new file mode 100644 index 0000000000000000000000000000000000000000..a67054a0a030993643b8cbe9f344b34706efa134 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/demo.css" @@ -0,0 +1,539 @@ +/* Logo 字体 */ +@font-face { + font-family: "iconfont logo"; + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834'); + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg'); +} + +.logo { + font-family: "iconfont logo"; + font-size: 160px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* tabs */ +.nav-tabs { + position: relative; +} + +.nav-tabs .nav-more { + position: absolute; + right: 0; + bottom: 0; + height: 42px; + line-height: 42px; + color: #666; +} + +#tabs { + border-bottom: 1px solid #eee; +} + +#tabs li { + cursor: pointer; + width: 100px; + height: 40px; + line-height: 40px; + text-align: center; + font-size: 16px; + border-bottom: 2px solid transparent; + position: relative; + z-index: 1; + margin-bottom: -1px; + color: #666; +} + + +#tabs .active { + border-bottom-color: #f00; + color: #222; +} + +.tab-container .content { + display: none; +} + +/* 页面布局 */ +.main { + padding: 30px 100px; + width: 960px; + margin: 0 auto; +} + +.main .logo { + color: #333; + text-align: left; + margin-bottom: 30px; + line-height: 1; + height: 110px; + margin-top: -50px; + overflow: hidden; + *zoom: 1; +} + +.main .logo a { + font-size: 160px; + color: #333; +} + +.helps { + margin-top: 40px; +} + +.helps pre { + padding: 20px; + margin: 10px 0; + border: solid 1px #e7e1cd; + background-color: #fffdef; + overflow: auto; +} + +.icon_lists { + width: 100% !important; + overflow: hidden; + *zoom: 1; +} + +.icon_lists li { + width: 100px; + margin-bottom: 10px; + margin-right: 20px; + text-align: center; + list-style: none !important; + cursor: default; +} + +.icon_lists li .code-name { + line-height: 1.2; +} + +.icon_lists .icon { + display: block; + height: 100px; + line-height: 100px; + font-size: 42px; + margin: 10px auto; + color: #333; + -webkit-transition: font-size 0.25s linear, width 0.25s linear; + -moz-transition: font-size 0.25s linear, width 0.25s linear; + transition: font-size 0.25s linear, width 0.25s linear; +} + +.icon_lists .icon:hover { + font-size: 100px; +} + +.icon_lists .svg-icon { + /* 通过设置 font-size 来改变图标大小 */ + width: 1em; + /* 图标和文字相邻时,垂直对齐 */ + vertical-align: -0.15em; + /* 通过设置 color 来改变 SVG 的颜色/fill */ + fill: currentColor; + /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示 + normalize.css 中也包含这行 */ + overflow: hidden; +} + +.icon_lists li .name, +.icon_lists li .code-name { + color: #666; +} + +/* markdown 样式 */ +.markdown { + color: #666; + font-size: 14px; + line-height: 1.8; +} + +.highlight { + line-height: 1.5; +} + +.markdown img { + vertical-align: middle; + max-width: 100%; +} + +.markdown h1 { + color: #404040; + font-weight: 500; + line-height: 40px; + margin-bottom: 24px; +} + +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + color: #404040; + margin: 1.6em 0 0.6em 0; + font-weight: 500; + clear: both; +} + +.markdown h1 { + font-size: 28px; +} + +.markdown h2 { + font-size: 22px; +} + +.markdown h3 { + font-size: 16px; +} + +.markdown h4 { + font-size: 14px; +} + +.markdown h5 { + font-size: 12px; +} + +.markdown h6 { + font-size: 12px; +} + +.markdown hr { + height: 1px; + border: 0; + background: #e9e9e9; + margin: 16px 0; + clear: both; +} + +.markdown p { + margin: 1em 0; +} + +.markdown>p, +.markdown>blockquote, +.markdown>.highlight, +.markdown>ol, +.markdown>ul { + width: 80%; +} + +.markdown ul>li { + list-style: circle; +} + +.markdown>ul li, +.markdown blockquote ul>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown>ul li p, +.markdown>ol li p { + margin: 0.6em 0; +} + +.markdown ol>li { + list-style: decimal; +} + +.markdown>ol li, +.markdown blockquote ol>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown code { + margin: 0 3px; + padding: 0 5px; + background: #eee; + border-radius: 3px; +} + +.markdown strong, +.markdown b { + font-weight: 600; +} + +.markdown>table { + border-collapse: collapse; + border-spacing: 0px; + empty-cells: show; + border: 1px solid #e9e9e9; + width: 95%; + margin-bottom: 24px; +} + +.markdown>table th { + white-space: nowrap; + color: #333; + font-weight: 600; +} + +.markdown>table th, +.markdown>table td { + border: 1px solid #e9e9e9; + padding: 8px 16px; + text-align: left; +} + +.markdown>table th { + background: #F7F7F7; +} + +.markdown blockquote { + font-size: 90%; + color: #999; + border-left: 4px solid #e9e9e9; + padding-left: 0.8em; + margin: 1em 0; +} + +.markdown blockquote p { + margin: 0; +} + +.markdown .anchor { + opacity: 0; + transition: opacity 0.3s ease; + margin-left: 8px; +} + +.markdown .waiting { + color: #ccc; +} + +.markdown h1:hover .anchor, +.markdown h2:hover .anchor, +.markdown h3:hover .anchor, +.markdown h4:hover .anchor, +.markdown h5:hover .anchor, +.markdown h6:hover .anchor { + opacity: 1; + display: inline-block; +} + +.markdown>br, +.markdown>p>br { + clear: both; +} + + +.hljs { + display: block; + background: white; + padding: 0.5em; + color: #333333; + overflow-x: auto; +} + +.hljs-comment, +.hljs-meta { + color: #969896; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-strong, +.hljs-emphasis, +.hljs-quote { + color: #df5000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #a71d5d; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute { + color: #0086b3; +} + +.hljs-section, +.hljs-name { + color: #63a35c; +} + +.hljs-tag { + color: #333333; +} + +.hljs-title, +.hljs-attr, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #795da3; +} + +.hljs-addition { + color: #55a532; + background-color: #eaffea; +} + +.hljs-deletion { + color: #bd2c00; + background-color: #ffecec; +} + +.hljs-link { + text-decoration: underline; +} + +/* 代码高亮 */ +/* PrismJS 1.15.0 +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre)>code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre)>code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/demo_index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/demo_index.html" new file mode 100644 index 0000000000000000000000000000000000000000..b1ac8517cfb86548221abfccb3b881ee7edfb6bd --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/demo_index.html" @@ -0,0 +1,743 @@ + + + + + IconFont Demo + + + + + + + + + + + +
+

+ +
+
+
    + +
  • + 󰀽 +
    F
    +
    &#xf003d;
    +
  • + +
  • + +
    15天无理由退货
    +
    &#xe606;
    +
  • + +
  • + +
    右箭头
    +
    &#xe62e;
    +
  • + +
  • + +
    箭头
    +
    &#xe6bc;
    +
  • + +
  • + +
    播放 三角形
    +
    &#xe769;
    +
  • + +
  • + +
    定位 (1)
    +
    &#xe617;
    +
  • + +
  • + +
    右箭头
    +
    &#xe619;
    +
  • + +
  • + +
    7天无理由退货
    +
    &#xe60e;
    +
  • + +
  • + +
    三角形
    +
    &#xe620;
    +
  • + +
  • + +
    维修
    +
    &#xe629;
    +
  • + +
  • + +
    手机
    +
    &#xe641;
    +
  • + +
  • + +
    放大镜
    +
    &#xe63d;
    +
  • + +
  • + +
    我的
    +
    &#xe65d;
    +
  • + +
  • + +
    返回顶部
    +
    &#xe623;
    +
  • + +
  • + +
    耳机
    +
    &#xe605;
    +
  • + +
  • + +
    手机到手机
    +
    &#xe64a;
    +
  • + +
  • + +
    礼物
    +
    &#xe624;
    +
  • + +
  • + +
    箭头
    +
    &#xe621;
    +
  • + +
  • + +
    对话
    +
    &#xe710;
    +
  • + +
  • + +
    电话卡
    +
    &#xe733;
    +
  • + +
  • + +
    充值
    +
    &#xe65c;
    +
  • + +
  • + +
    手机
    +
    &#xe525;
    +
  • + +
  • + +
    购物车
    +
    &#xe607;
    +
  • + +
  • + +
    右箭头
    +
    &#xe658;
    +
  • + +
  • + +
    礼物
    +
    &#xe611;
    +
  • + +
+
+

Unicode 引用

+
+ +

Unicode 是字体在网页端最原始的应用方式,特点是:

+
    +
  • 兼容性最好,支持 IE6+,及所有现代浏览器。
  • +
  • 支持按字体的方式去动态调整图标大小,颜色等等。
  • +
  • 但是因为是字体,所以不支持多色。只能使用平台里单色的图标,就算项目里有多色图标也会自动去色。
  • +
+
+

注意:新版 iconfont 支持多色图标,这些多色图标在 Unicode 模式下将不能使用,如果有需求建议使用symbol 的引用方式

+
+

Unicode 使用步骤如下:

+

第一步:拷贝项目下面生成的 @font-face

+
@font-face {
+  font-family: 'iconfont';
+  src: url('iconfont.eot');
+  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
+      url('iconfont.woff2') format('woff2'),
+      url('iconfont.woff') format('woff'),
+      url('iconfont.ttf') format('truetype'),
+      url('iconfont.svg#iconfont') format('svg');
+}
+
+

第二步:定义使用 iconfont 的样式

+
.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+

第三步:挑选相应图标并获取字体编码,应用于页面

+
+<span class="iconfont">&#x33;</span>
+
+
+

"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    + F +
    +
    .icon-F +
    +
  • + +
  • + +
    + 15天无理由退货 +
    +
    .icon-15tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-iconfonticonfonti2copycopy +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantouarrowhead7 +
    +
  • + +
  • + +
    + 播放 三角形 +
    +
    .icon-bofangsanjiaoxing +
    +
  • + +
  • + +
    + 定位 (1) +
    +
    .icon-dingwei1 +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou +
    +
  • + +
  • + +
    + 7天无理由退货 +
    +
    .icon-7tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 三角形 +
    +
    .icon-sanjiaoxing +
    +
  • + +
  • + +
    + 维修 +
    +
    .icon-buoumaotubiao46 +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-tel +
    +
  • + +
  • + +
    + 放大镜 +
    +
    .icon-fangdajing +
    +
  • + +
  • + +
    + 我的 +
    +
    .icon-my_icon +
    +
  • + +
  • + +
    + 返回顶部 +
    +
    .icon-fanhuidingbu +
    +
  • + +
  • + +
    + 耳机 +
    +
    .icon-erji +
    +
  • + +
  • + +
    + 手机到手机 +
    +
    .icon-shoujidaoshouji +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-gifs +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantou +
    +
  • + +
  • + +
    + 对话 +
    +
    .icon-duihua +
    +
  • + +
  • + +
    + 电话卡 +
    +
    .icon-dianhuaqia +
    +
  • + +
  • + +
    + 充值 +
    +
    .icon-chongzhi +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-shouji +
    +
  • + +
  • + +
    + 购物车 +
    +
    .icon-gouwuche +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou1 +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-present +
    +
  • + +
+
+

font-class 引用

+
+ +

font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。

+

与 Unicode 使用方式相比,具有如下特点:

+
    +
  • 兼容性良好,支持 IE8+,及所有现代浏览器。
  • +
  • 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
  • +
  • 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
  • +
  • 不过因为本质上还是使用的字体,所以多色图标还是不支持的。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 fontclass 代码:

+
<link rel="stylesheet" href="./iconfont.css">
+
+

第二步:挑选相应图标并获取类名,应用于页面:

+
<span class="iconfont icon-xxx"></span>
+
+
+

" + iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    F
    +
    #icon-F
    +
  • + +
  • + +
    15天无理由退货
    +
    #icon-15tianwuliyoutuihuo
    +
  • + +
  • + +
    右箭头
    +
    #icon-iconfonticonfonti2copycopy
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantouarrowhead7
    +
  • + +
  • + +
    播放 三角形
    +
    #icon-bofangsanjiaoxing
    +
  • + +
  • + +
    定位 (1)
    +
    #icon-dingwei1
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou
    +
  • + +
  • + +
    7天无理由退货
    +
    #icon-7tianwuliyoutuihuo
    +
  • + +
  • + +
    三角形
    +
    #icon-sanjiaoxing
    +
  • + +
  • + +
    维修
    +
    #icon-buoumaotubiao46
    +
  • + +
  • + +
    手机
    +
    #icon-tel
    +
  • + +
  • + +
    放大镜
    +
    #icon-fangdajing
    +
  • + +
  • + +
    我的
    +
    #icon-my_icon
    +
  • + +
  • + +
    返回顶部
    +
    #icon-fanhuidingbu
    +
  • + +
  • + +
    耳机
    +
    #icon-erji
    +
  • + +
  • + +
    手机到手机
    +
    #icon-shoujidaoshouji
    +
  • + +
  • + +
    礼物
    +
    #icon-gifs
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantou
    +
  • + +
  • + +
    对话
    +
    #icon-duihua
    +
  • + +
  • + +
    电话卡
    +
    #icon-dianhuaqia
    +
  • + +
  • + +
    充值
    +
    #icon-chongzhi
    +
  • + +
  • + +
    手机
    +
    #icon-shouji
    +
  • + +
  • + +
    购物车
    +
    #icon-gouwuche
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou1
    +
  • + +
  • + +
    礼物
    +
    #icon-present
    +
  • + +
+
+

Symbol 引用

+
+ +

这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 + 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:

+
    +
  • 支持多色图标了,不再受单色限制。
  • +
  • 通过一些技巧,支持像字体那样,通过 font-size, color 来调整样式。
  • +
  • 兼容性较差,支持 IE9+,及现代浏览器。
  • +
  • 浏览器渲染 SVG 的性能一般,还不如 png。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 symbol 代码:

+
<script src="./iconfont.js"></script>
+
+

第二步:加入通用 CSS 代码(引入一次就行):

+
<style>
+.icon {
+  width: 1em;
+  height: 1em;
+  vertical-align: -0.15em;
+  fill: currentColor;
+  overflow: hidden;
+}
+</style>
+
+

第三步:挑选相应图标并获取类名,应用于页面:

+
<svg class="icon" aria-hidden="true">
+  <use xlink:href="#icon-xxx"></use>
+</svg>
+
+
+
+ +
+
+ + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..82b55e328cc0b42679e713b74141f4d4aacd6518 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.css" @@ -0,0 +1,117 @@ +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1561534862311'); /* IE9 */ + src: url('iconfont.eot?t=1561534862311#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABFwAAsAAAAAHwAAABEjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGTgqqVKFYATYCJANoCzYABCAFhG0HgnYbghlFRoWNAwiCfFWy/8sEbg6cHSoHC2MTVdfaiqoBixK7WOwOGSqE4yw/B7GUIWI/rNT/+f6GqqcOpfx53LSX/CBJkASxFqpGbULFAqVitDAxZt5p5/Vpb6N3TGBylZl0ou3M240z7xknIlyu5TO4qghVIkWo0Hb2kg0c7YWejCiF7G79gDhgS7jBnJrUsmQXDSPk14EhA2bpK33BbrJxwocQOAZDm58L/de6xa50DUUSYsRv4xQBEOCYhv7T4FxpkYX7wRMLs+mpdy45TNoc5DhP3GF7jxkAKRRmQmN7T70HQLUpQEnSzVg7KE2bZ08pqPCvBCQwGJt5ugobC6OAKerK+O/5AQYAFBgkwjjLx3etBwToAoZeC+YqqPUoNxAFmRgI7fyMcQkMc+GBEN9yBgFgB/n72DeQNkIAHHgI9AVV30dRu3nTH0DkExPrsFccA4DNeAAIABIBEAC4LLMFEwHycSIRqSyegGEAiBWq7qTw8ygCv8TPUtMKEylOshwF9sg4qB5TenMfAJXieVVDRRx24Np1hkGsEZ9YNZkxNu0/8QBUpICDmhC0+CAAEmQkwKIAgQhoYGgoiYEAOQUeAMYH9BQBAGDZGtV6diarCKiAn1cEpAB+fhHAAfyCIqAGfkkREAL42SKgBX61ACxECwFAQkGBBAkDBRlIBAQQRSIhAEgcKFAgyaCAQHJAQQRSAAo0SCkoMCBjQUEDMhEUlCCTQEEMMoAiQAB8wVCQE5IOCgqQuSgEPJBCjmUyiTpnnAwAC9X454HQTbcNEoYBYdVggE9xEdEYaQAlBjwQgwCZAmAxgjoOQioVE0fKZTIkcn1SLA7GkCIG6YM1WpYixKYWLQpvIQUCBcMIrYYgwp1QKRKalggE8jRMbHRKCJmcUQJFA0FbnaYMQiHDqBgxISJPGYNIH8wQUkqmWjvCxfbqTwmk9u/w//JT+EzceDgRPZXNlcw/4afyEuWDOZG5cZRhvmglKZFfmwuPZtoRg3Qm5gAP2X6nNDOOUUgcncmnf4lTP0lsmihcxlhfYVwYHaKjFT73dI3OOVVldTL75Ily7/BpOvZ0wCvEOHFSkjKbcSp7/5pi+RAQZKTA7etBjmavHLp68bfnpfIl27no3IvMiefu35efMPMTp7xOd/6IyS8i75N/SOWdtv3p9+Nb6TQned5gQq80hcuqf8QPcpalLE+xMjFdTUxWxdQdsRJuQ5/C47Jk77ehUtYxIYg0cUaMnD7mTbYTTTfmAhgoq2gYwmCaSRrquAwL8+/fvXOazfEUDbjpSm77AbWoASpkllO+yX6bc2pLT1ZaaAln0CDryr9cY8lbCf2gVBgxosEPwA+eEKERZWYpZac5BR1RzObsdBWOEHc1Vh3TnavN1AuV0V1hGXlBjVZZT07d1zr043JBGR2dPYcZ+G77pCpt8dkt8tSvJ01F0OkGiCyU7FojSYlxEECYJNeEaCa8f0rnAVVogN2ZDKyfgN3WP91FJA9g90lZCHL7IU1dFfP4zT/hAi4L0pCZQQBIaAhk5RF6Es1sW1hHrElbmH85+mfNrb0/FrFiT4Fmn7UgDXKBHXxuw2ffzWkmzNaVvxkHuIgrcLosg6t28oFiPhRnnUIIYIguu3X7su+JKfPOKLuVcqznjmrF5pjOXGsIN9gY3RHWz7EyIEgF67wGO2kVuZqiti5JhiQ6KAJLhzBAeyzhZBS+TYZqSKObAQSzIK/zACFDozxtP7OZ6bJYyX30t5971vxs2i+26KNkT/GT+pPRsUefROPA4Grhthfx9v7P0wntWOHhs8QBGnxTdmxllqeXKqcwN6XxQbTtdXoswPjXePJPXKIy9JUwvc5KH2h72/W2F+W93CflaVq7fn1kVKb8w4zqq7G+V33d+nH23pHjHOHP/5/Y/uyvFdonf4xre/rvcswlEQiNK9y+xvpaansRbUOvX7ClAtv30LjEpQ0ujtK7dSl6m73+GfbcgJfGLOG5tnfwbsNhnUELYz77ZAXgpH4vXx/VMdI4N7XGtmfnBQ4hFxWrY+CbHYkjwFGPCQAT0fAytlCFjvIUN44yRox1Z3HjSGPMcEfLK9tvB9J4Q6wJmg4gVWXHtabbKwAIXxgVgjHvQsdUo6wucZwh0n/CEXszDtFCHh6Ez/5b0ffJP+PuDgxZtB6rRfWHI4IpeE8v0RlanhzFJAIRpwu1FhJdetpFTJ71HQUIh2wMREU6E8McHw1wgUy7r+XrgCCDpOzMNg+IMqpl2rzka5360XnQxt7/K6dQv2/ESIcQe+99tqCCebB/vxZy/bxiZET+/pIJF064fALYQUd00tBzTJ+5wTYOOAKpZcrwbt9n/01op8GoPKeNVKb3l2pjqaYn/xwe6DSCUDy4PRMIcW8QDuioJWtL483vfgh2hl6+ThrTcXZBUhDL2vTjhd8rllELl1q0OYM579xFAsROcV5HjqDJ1+J2p9v+eMa6UI173fjUWBiYE9GYZyXHiY7FuxaM3SUaqxp403AtpILcpS+MvTT2zfaLLc26QvJl3eXfZN1UWXnz2omdkeUU/fHTNYnm+WMXts3LqBFPocfFH8ssNs0E6Z3GdMcIhUqWOo4RL1OmfjNfsnj8J5Noqp6/dQM2CcuVsYKQ+OhigleHagoJ7ZODhIzhm1QdwYqO1LAoBSiS7Vn2Rasd2Y4O2LMG1mniAlIqENWo/NFq/T8hAA7XoTvDBEmx9UdwBe7KGQ8NZ75mnjJfnzE8jEz/67Cvl27CrxZOBNx2SX5O2o52PXjoRjvRLAftYtrk59Hd5a34mT7UJmn4ZRPH/bpZvBJve8vbnr5isxkMlfDKxwkSSf7cn5xcNVfFgXEDcY/g3bPBgXDcDfvdnYiOfvTRUSLA6UBH0RF1bUfs/Yd6V4bHsfL03oOeoHSdZ968bB+rZ325C+fTHxNAJg3Dluf3aE3bPyEEwv6mYOj6Tv1d1+9tt+M7P30xesf7N/cyj0ThP6sfih79FPFItZf+x53fHsmnnnfBC3j6wsetTdh54rvviF7Oue++P4/c2Psno7aWMnPKV3DFOcuA91pxxtTPUv1TUJ8Nrr19Z5b8A/msVVkpm7VwoUPuuHNb6IMvUCDDlP5zRpElTofSdboSQNwxC2f26oJmXdBKvug58+ekoyiFtX1EXZUt9v3EuaOU6urYmIkRN83WitKnhimprYrm/LbahD+VONN5QCupStq9xWq+GTExpkU5taZ1buL7sbaq/MKMk+wEzVUwupYOqwZ5a3mD1cP56y7KH9J84XpDb1iKrMO+j+DOul70ztuoM3veeQehCwL1/kHI1uK9vfiaANO+Fq1BITghgyMMGubRIyw5IoV1dcOhM7M4xt6BOVDziZPNeIBZBmrGHPaO4pjO6IFnMjeiP7TpaWXPT/cv4ADAMy3qO5ro/JBGMvfAM30aPq+jYy4mICCKz92CRjjbAVlLHG3XF5FPFU/JXKpf0U8taL0+i32fdWy4qCUH5IOk9ob0z4qB51VTSWb7FGdLZkVJ+0hCamqGitHkK5qrWw5wo4NJL8VkWPfu+WoPRoktCfmc0Rlj/6JPY3jH7AnXlG4ia/QP7343UkRhRe5jRd4fJF4y+MVtRR7JcJKrpGHWgtT1c5OON5S4YqjbrXVfebZzVj3pJdkde9uer45iVDmFcS8d4zw/SNws/IG+1W8Pgx4M1iCVHdGCw+O9SY006Z/H2305zTEzYXmWdaRd3j0Y2GW6Jghwy+DfKqrPTutoex8UURuk6VKdZqOgSGt0DhuG4ZU0eZmn840Q8lxDU2hTgDmtmhKTdt76JdjwSbpkITMjZb7EIFmUvcxHdimDgqjZq2VLYwI8In3Qsm9H3ORthtGv7r2TJC+Y/Sz8n5X1tkqzpbaqfuU3EUNzFIUV7/yUly/dSg5So7Yz2Ry68Ev/LNIdenKQ3CrNzYf6Kd3Ofo8uQrclP5+r/p8GAdXgyeHbzW2jzY5iYQPNd5rtJW67mZ/4F6EYMNbk52/RheuO5uVPP1PxbPvEB0Z5o7FLo9nBmB8sgguN/J++UkSG5xWE//Lw29BXFvREEl8pfoIbCQQ/GAGZJDUeN0qJHhiV1HHFcUpZb7EIgK+MJceXZPBBsJP1/kPV0wh7dJXjeN3mN+JFPVnqrB51r0lt6n2dShCdy1JlnVOfN6lM59+IXlygDjdnInbsWM6cxtWN2X5cOls9paJic/Zr+NL/Y3/o5dDa1TdDZ0pYR8ih0BOhywpcMvIyKdP5deHkISEmZcO0bz7f7IOVWDjMZnwMkTd8PIP+ng6npsvXhz0W8fcids2azIzBPbrNY8Z6tJ4BdllLfX0DJ+HGji0SF8VuQyxn/oDzZnwQZthnFB3jIvTIvIE6j5kBtSmf/TiT7WRnMp+xmvzX59QHVCddgc/oIWZDDtFSOWJrbZkezmYzc6wJ49Fks9V56VHDqioQa6vlPFytLSMz7EuejTYbd6xnUhsGpbnzDGSxs89ZTI7oKp+3KFT3UkOKQcrbXVmjv6bH1d3na9dQg4r3qVTXAsO0uGkW8+FOD6Lz/t78WTyvm5V/hwxx23BHtlnOk2+WKRrnLDUpKdFx0TWllWmpxU+0cMuF5Aj2novVHtWxuntaljwqZB/dFYEoVgw6EMea+pnye4n34NgUp9XK55dn6lRNc8RlzffG71P+TwnUXkk/okqlv3jLWnFuQnuQTVlYqFwsTs76dOakm/9WvKaniGZmh+RuS8qDULThLV6IgXiLeHvwW2sYorcBzDRBXlbOpn3pPx52vLy8P7T/ue/Z8/6wa4os5OnXXzPYvQG7yjQC0pkpzlteuokaUg6RTZr/653O/wVnKcjbmnzrsSR0UehW6ZNd5FBWqNFV73p0K7SoCMdt22aAPZNomIDiP3lyc3hT7qbhA15jRm3GzVuiV3VoQgOyj5gBRUUymTX5kl/25Z7mK8+oNaLaIJ6ir4GaK64rhPcVkhyCxh+4RddEmagEaoGZPcV/g6I/DFkAmvi7eAAEblWAcOw71Qw0NX9fPlQV+H0lv7YWaoGmeisO/BTYvDjqAIEXykH1yr7b3Swfb60SuVy62Y0KUNPRbXrfmQqR8VjTSlFrU9WXzttqE3LgJ3DMXz4aqWV+hv/A/4gMiA38E3i5CYMMUmv/twGsu7800z+Sg4HLKk/+ptm/9eg/LtvfGb1/AuXDM5uBaAMh4P9xEPi3ka6kIOJ/69mie3R7vEqrBgV+Jy+GB34qvisJqy/wD4yNHtD5EFgJBwDKeAjgH0csK7DI5lD+k8MwEFKmTTYOAtBjlBUbiQnEJmbzgIYMzEdsXjYFCYonpkFuqSZgBAkA8dqRjQHjTDYOEriJEWKHMIHYD7J5oPId4pM6KJsCx8inSUP0zKWKliIEFCzZMsOplOkLA6/3J6qYg1Mtq+F+0XlDJTtKNl5PPmOJTkQYv1LHIUgmHRXsSdHBPCdWOUqRh33Nier6IGXWLuw+p6I2gCIOAsHJLzDTbCvPxZGSfHYwSPz5T0iJcsAVXPZU+RdyPFPDpP49fNkKkc9iWemysvDLrCjHlqtMYta5DikwFpWh3DhGmPrsgVKIC/bNYZAq11LU282qKu43byvGhjgXXr4r6v+WRZRklVqj1ekNRpPZYrXZHU6X2+P1Kf6Ax7I8OgsGynXMzZZiiEZH2nuoQeaYU7W16DwtOb1AEZyjtUYQF/OEJJTKA9OVtDGl6glbWqM5GggzV3384qKBm4dXrWkSKRZAISYJdnrefPzCgCcTkOY1d4vtnxx4FK/W0YgOkcQWutRMvRZfK4C8Hi1lpO/e0NURN2mGgTB1xgFroMc1lWqnTWf9Cz1FcR25xmE7Qx11K4cey1AD') format('woff2'), + url('iconfont.woff?t=1561534862311') format('woff'), + url('iconfont.ttf?t=1561534862311') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1561534862311#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-F:before { + content: "\f003d"; +} + +.icon-15tianwuliyoutuihuo:before { + content: "\e606"; +} + +.icon-iconfonticonfonti2copycopy:before { + content: "\e62e"; +} + +.icon-jiantouarrowhead7:before { + content: "\e6bc"; +} + +.icon-bofangsanjiaoxing:before { + content: "\e769"; +} + +.icon-dingwei1:before { + content: "\e617"; +} + +.icon-youjiantou:before { + content: "\e619"; +} + +.icon-7tianwuliyoutuihuo:before { + content: "\e60e"; +} + +.icon-sanjiaoxing:before { + content: "\e620"; +} + +.icon-buoumaotubiao46:before { + content: "\e629"; +} + +.icon-tel:before { + content: "\e641"; +} + +.icon-fangdajing:before { + content: "\e63d"; +} + +.icon-my_icon:before { + content: "\e65d"; +} + +.icon-fanhuidingbu:before { + content: "\e623"; +} + +.icon-erji:before { + content: "\e605"; +} + +.icon-shoujidaoshouji:before { + content: "\e64a"; +} + +.icon-gifs:before { + content: "\e624"; +} + +.icon-jiantou:before { + content: "\e621"; +} + +.icon-duihua:before { + content: "\e710"; +} + +.icon-dianhuaqia:before { + content: "\e733"; +} + +.icon-chongzhi:before { + content: "\e65c"; +} + +.icon-shouji:before { + content: "\e525"; +} + +.icon-gouwuche:before { + content: "\e607"; +} + +.icon-youjiantou1:before { + content: "\e658"; +} + +.icon-present:before { + content: "\e611"; +} + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.eot" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..5e9a285d4f141012b90c8b0093da4f07c0fa62bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.eot" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.js" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.js" new file mode 100644 index 0000000000000000000000000000000000000000..1d120ac96efd0bc668b14ad234fd20ae00664a04 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.js" @@ -0,0 +1 @@ +!function(s){var c,t='',h=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(h&&!s.__iconfont__svg__cssinject__){s.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var h=function(){document.removeEventListener("DOMContentLoaded",h,!1),c()};document.addEventListener("DOMContentLoaded",h,!1)}else document.attachEvent&&(l=c,a=s.document,o=!1,(i=function(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(i,50)}t()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,t())});function t(){o||(o=!0,l())}var l,a,o,i}(function(){var c,h;(c=document.createElement("div")).innerHTML=t,t=null,(h=c.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",function(c,h){h.firstChild?function(c,h){h.parentNode.insertBefore(c,h)}(c,h.firstChild):h.appendChild(c)}(h,document.body))})}(window); \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.svg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..f5269cc8c727142a59f9837e20fd4f892c11407a --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.svg" @@ -0,0 +1,101 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.ttf" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..3b9dd2e7ca16388626976f473598d8c4d5570021 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.ttf" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..f42f23160f7a24b91c3b05e052902bbd8644c35f Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff2" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff2" new file mode 100644 index 0000000000000000000000000000000000000000..12e816ceb161961bcfcefb2c446b3224a38a5870 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/iconfont/iconfont.woff2" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/mi.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/mi.css" new file mode 100644 index 0000000000000000000000000000000000000000..825e9b967821cea53dd8d761ca9c51392a370b2f --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/mi.css" @@ -0,0 +1,249 @@ +/* 头部样式开始 */ +.header{ + width: 100%; + height: 120px; + overflow: hidden; + position: relative; +} + +.header img{ + height: 120px; + /* 图片,以中间开始渲染 */ + position: absolute; + left: 50%; + transform: translateX(-50%); +} +/* 头部样式结束 */ + +/* 黑色导航样式开始 */ +.black-nav{ + width: 100%; + height: 40px; + line-height: 40px; + background-color: #333; + font-size: 12px; +} +.wrap{ + width: 1226px; + margin: 0 auto; +} +.black-nav-left{ + float: left; +} +.black-nav-right{ + float: right; +} +.black-nav li{ + float: left; + position: relative; +} +.black-nav a{ + color: #b0b0b0; +} +.black-nav span{ + color: #424242; + margin: 0 3.6px; +} +.download{ + width: 124px; + height: 0; + background: #fff; + box-shadow: 0 1px 5px #aaa; + position: absolute; + top: 40px; + left: 50%; + margin-left: -62px; + overflow:hidden; + transition: all 0.3s; +} +.download img{ + width: 90px; + margin: 18px auto 0; +} +.download p{ + color: #333; + font-size: 14px; + line-height: 14px; +} +.black-nav-left li:hover>.download{ + height: 148px; +} +.stri{ + width: 0; + height: 0; + border-bottom: 8px solid #fff; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + position:absolute; + bottom: 0; + left: 50%; + margin-left: -8px; + display: none; +} +.black-nav-left>li:hover>.stri{ + display: block; +} +.cart{ + width: 120px; + height: 40px; + background: #424242; + margin-left: 25px; + position: relative; +} +.cart:hover{ + background: #fff; +} +.cart:hover>a{ + color: #ff6700; +} +.cart i{ + font-style: normal; + margin-right: 8px; +} +.cart-list{ + width: 316px; + height: 0; + background: #fff; + box-shadow: 0 2px 10px rgba(0,0,0,0.15); + position: absolute; + right: 0; + top: 40px; + color: #424242; + overflow: hidden; + transition: all 0.3s; + line-height: 100px; +} +.cart:hover>.cart-list{ + height: 100px; +} +/* 黑色导航样式结束 */ + +/* 白色导航样式开始 */ +.white-nav{ + width: 100%; + height: 100px; + background: #fff; + position: relative; +} +.logo{ + width: 55px; + height: 55px; + background: #ff6700; + float: left; + margin-top: 22.5px; + overflow: hidden; + position: relative; +} +.logo>img{ + width: 100%; + height: 100%; + position:absolute; + top: 0; + transition: all 0.2s; +} +.mi-home{ + left: -55px; +} +.mi-logo{ + left: 0; +} +.logo:hover>.mi-home{ + left: 0; +} +.logo:hover>.mi-logo{ + left: 55px; +} +.nav-bar{ + width: 875px; + height: 100px; + line-height: 100px; + float: left; +} +.search{ + width: 296px; + height: 100px; + float: right; +} +.nav-bar li{ + float: left; +} +.nav-bar>ul>li>a{ + color: #333; + padding: 0 10px; +} + +.nav-bar>ul>li>a:hover{ + color: #ff6700; +} + +.nav-bar>ul>li:first-child img{ + margin-top: 22.5px; +} + +.search input{ + width: 244px; + height: 50px; + border:1px solid #e0e0e0; + margin-top: 25px; + /* 去掉选中的边框 */ + outline: none; + padding: 0 10px; + box-sizing: border-box; + border-right: 0; +} + +.search button{ + width: 52px; + height: 50px; + background: #fff; + border:1px solid #e0e0e0; + float: right; + margin-top: 25px; +} +.search button:hover{ + background: #ff6700; + color: #fff; +} + +.nav-bar-list{ + width: 100%; + height: 229px; + background: #fff; + border-top: 1px solid #eee; + box-shadow: 0 3px 4px rgba(0,0,0,0.1); + position: absolute; + left: 0; + top: 100px; + display: none; +} + +.nav-bar li:hover .nav-bar-list{ + display: block; +} + +.img-box{ + width: 100%; + height: 110px; + margin-top: 35px; + border-right: 1px solid #eee; + box-sizing: border-box; + margin-bottom: 16px; +} + +.nav-bar-list li:last-child .img-box{ + border-right: 0; +} + +.nav-bar-list p{ + font-size: 12px; + line-height: 20px; +} + +.name{ + color: #333; +} + +.price{ + color: #ff6700; +} +/* 白色导航样式结束 */ \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/reset.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..be2dc78d18b6bec6cf9115f7b6f31495e6c73e20 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;font-family: Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;} +li{ list-style: none;} +a{text-decoration: none;} +img{border: none;} \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/download.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/download.png" new file mode 100644 index 0000000000000000000000000000000000000000..8ace029704d62e8173ee6d55c037aff4315488fd Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/download.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/mi-home.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/mi-home.png" new file mode 100644 index 0000000000000000000000000000000000000000..cb3ea82de3c11402e99f4add187c49db4de6f958 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/mi-home.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/mi-logo.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/mi-logo.png" new file mode 100644 index 0000000000000000000000000000000000000000..82de5d977bca6d3131baec5696deac1c77df29d7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/mi-logo.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/phone.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/phone.png" new file mode 100644 index 0000000000000000000000000000000000000000..413d28d043d4d9495f8d4e9bbcf3aaa068d578b2 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/phone.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/top.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/top.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a1c3c4ba18304ed49a5d826cf2dd3d56b4ff27c1 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/top.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/zzxsh.gif" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/zzxsh.gif" new file mode 100644 index 0000000000000000000000000000000000000000..bb6222f926a49166214a8a471bb9044c509f67e0 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/images/zzxsh.gif" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..beb6cb4e83152f379c1bf063fa9aceae91eb86eb --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/03_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\347\231\275\350\211\262\345\257\274\350\210\252/index.html" @@ -0,0 +1,144 @@ + + + + + + + 小米 + + + + + + + +
+ + + +
+ + + +
+
+ + +
+
+ + + + + + + \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/demo.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/demo.css" new file mode 100644 index 0000000000000000000000000000000000000000..a67054a0a030993643b8cbe9f344b34706efa134 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/demo.css" @@ -0,0 +1,539 @@ +/* Logo 字体 */ +@font-face { + font-family: "iconfont logo"; + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834'); + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg'); +} + +.logo { + font-family: "iconfont logo"; + font-size: 160px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* tabs */ +.nav-tabs { + position: relative; +} + +.nav-tabs .nav-more { + position: absolute; + right: 0; + bottom: 0; + height: 42px; + line-height: 42px; + color: #666; +} + +#tabs { + border-bottom: 1px solid #eee; +} + +#tabs li { + cursor: pointer; + width: 100px; + height: 40px; + line-height: 40px; + text-align: center; + font-size: 16px; + border-bottom: 2px solid transparent; + position: relative; + z-index: 1; + margin-bottom: -1px; + color: #666; +} + + +#tabs .active { + border-bottom-color: #f00; + color: #222; +} + +.tab-container .content { + display: none; +} + +/* 页面布局 */ +.main { + padding: 30px 100px; + width: 960px; + margin: 0 auto; +} + +.main .logo { + color: #333; + text-align: left; + margin-bottom: 30px; + line-height: 1; + height: 110px; + margin-top: -50px; + overflow: hidden; + *zoom: 1; +} + +.main .logo a { + font-size: 160px; + color: #333; +} + +.helps { + margin-top: 40px; +} + +.helps pre { + padding: 20px; + margin: 10px 0; + border: solid 1px #e7e1cd; + background-color: #fffdef; + overflow: auto; +} + +.icon_lists { + width: 100% !important; + overflow: hidden; + *zoom: 1; +} + +.icon_lists li { + width: 100px; + margin-bottom: 10px; + margin-right: 20px; + text-align: center; + list-style: none !important; + cursor: default; +} + +.icon_lists li .code-name { + line-height: 1.2; +} + +.icon_lists .icon { + display: block; + height: 100px; + line-height: 100px; + font-size: 42px; + margin: 10px auto; + color: #333; + -webkit-transition: font-size 0.25s linear, width 0.25s linear; + -moz-transition: font-size 0.25s linear, width 0.25s linear; + transition: font-size 0.25s linear, width 0.25s linear; +} + +.icon_lists .icon:hover { + font-size: 100px; +} + +.icon_lists .svg-icon { + /* 通过设置 font-size 来改变图标大小 */ + width: 1em; + /* 图标和文字相邻时,垂直对齐 */ + vertical-align: -0.15em; + /* 通过设置 color 来改变 SVG 的颜色/fill */ + fill: currentColor; + /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示 + normalize.css 中也包含这行 */ + overflow: hidden; +} + +.icon_lists li .name, +.icon_lists li .code-name { + color: #666; +} + +/* markdown 样式 */ +.markdown { + color: #666; + font-size: 14px; + line-height: 1.8; +} + +.highlight { + line-height: 1.5; +} + +.markdown img { + vertical-align: middle; + max-width: 100%; +} + +.markdown h1 { + color: #404040; + font-weight: 500; + line-height: 40px; + margin-bottom: 24px; +} + +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + color: #404040; + margin: 1.6em 0 0.6em 0; + font-weight: 500; + clear: both; +} + +.markdown h1 { + font-size: 28px; +} + +.markdown h2 { + font-size: 22px; +} + +.markdown h3 { + font-size: 16px; +} + +.markdown h4 { + font-size: 14px; +} + +.markdown h5 { + font-size: 12px; +} + +.markdown h6 { + font-size: 12px; +} + +.markdown hr { + height: 1px; + border: 0; + background: #e9e9e9; + margin: 16px 0; + clear: both; +} + +.markdown p { + margin: 1em 0; +} + +.markdown>p, +.markdown>blockquote, +.markdown>.highlight, +.markdown>ol, +.markdown>ul { + width: 80%; +} + +.markdown ul>li { + list-style: circle; +} + +.markdown>ul li, +.markdown blockquote ul>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown>ul li p, +.markdown>ol li p { + margin: 0.6em 0; +} + +.markdown ol>li { + list-style: decimal; +} + +.markdown>ol li, +.markdown blockquote ol>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown code { + margin: 0 3px; + padding: 0 5px; + background: #eee; + border-radius: 3px; +} + +.markdown strong, +.markdown b { + font-weight: 600; +} + +.markdown>table { + border-collapse: collapse; + border-spacing: 0px; + empty-cells: show; + border: 1px solid #e9e9e9; + width: 95%; + margin-bottom: 24px; +} + +.markdown>table th { + white-space: nowrap; + color: #333; + font-weight: 600; +} + +.markdown>table th, +.markdown>table td { + border: 1px solid #e9e9e9; + padding: 8px 16px; + text-align: left; +} + +.markdown>table th { + background: #F7F7F7; +} + +.markdown blockquote { + font-size: 90%; + color: #999; + border-left: 4px solid #e9e9e9; + padding-left: 0.8em; + margin: 1em 0; +} + +.markdown blockquote p { + margin: 0; +} + +.markdown .anchor { + opacity: 0; + transition: opacity 0.3s ease; + margin-left: 8px; +} + +.markdown .waiting { + color: #ccc; +} + +.markdown h1:hover .anchor, +.markdown h2:hover .anchor, +.markdown h3:hover .anchor, +.markdown h4:hover .anchor, +.markdown h5:hover .anchor, +.markdown h6:hover .anchor { + opacity: 1; + display: inline-block; +} + +.markdown>br, +.markdown>p>br { + clear: both; +} + + +.hljs { + display: block; + background: white; + padding: 0.5em; + color: #333333; + overflow-x: auto; +} + +.hljs-comment, +.hljs-meta { + color: #969896; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-strong, +.hljs-emphasis, +.hljs-quote { + color: #df5000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #a71d5d; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute { + color: #0086b3; +} + +.hljs-section, +.hljs-name { + color: #63a35c; +} + +.hljs-tag { + color: #333333; +} + +.hljs-title, +.hljs-attr, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #795da3; +} + +.hljs-addition { + color: #55a532; + background-color: #eaffea; +} + +.hljs-deletion { + color: #bd2c00; + background-color: #ffecec; +} + +.hljs-link { + text-decoration: underline; +} + +/* 代码高亮 */ +/* PrismJS 1.15.0 +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre)>code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre)>code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/demo_index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/demo_index.html" new file mode 100644 index 0000000000000000000000000000000000000000..b1ac8517cfb86548221abfccb3b881ee7edfb6bd --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/demo_index.html" @@ -0,0 +1,743 @@ + + + + + IconFont Demo + + + + + + + + + + + +
+

+ +
+
+
    + +
  • + 󰀽 +
    F
    +
    &#xf003d;
    +
  • + +
  • + +
    15天无理由退货
    +
    &#xe606;
    +
  • + +
  • + +
    右箭头
    +
    &#xe62e;
    +
  • + +
  • + +
    箭头
    +
    &#xe6bc;
    +
  • + +
  • + +
    播放 三角形
    +
    &#xe769;
    +
  • + +
  • + +
    定位 (1)
    +
    &#xe617;
    +
  • + +
  • + +
    右箭头
    +
    &#xe619;
    +
  • + +
  • + +
    7天无理由退货
    +
    &#xe60e;
    +
  • + +
  • + +
    三角形
    +
    &#xe620;
    +
  • + +
  • + +
    维修
    +
    &#xe629;
    +
  • + +
  • + +
    手机
    +
    &#xe641;
    +
  • + +
  • + +
    放大镜
    +
    &#xe63d;
    +
  • + +
  • + +
    我的
    +
    &#xe65d;
    +
  • + +
  • + +
    返回顶部
    +
    &#xe623;
    +
  • + +
  • + +
    耳机
    +
    &#xe605;
    +
  • + +
  • + +
    手机到手机
    +
    &#xe64a;
    +
  • + +
  • + +
    礼物
    +
    &#xe624;
    +
  • + +
  • + +
    箭头
    +
    &#xe621;
    +
  • + +
  • + +
    对话
    +
    &#xe710;
    +
  • + +
  • + +
    电话卡
    +
    &#xe733;
    +
  • + +
  • + +
    充值
    +
    &#xe65c;
    +
  • + +
  • + +
    手机
    +
    &#xe525;
    +
  • + +
  • + +
    购物车
    +
    &#xe607;
    +
  • + +
  • + +
    右箭头
    +
    &#xe658;
    +
  • + +
  • + +
    礼物
    +
    &#xe611;
    +
  • + +
+
+

Unicode 引用

+
+ +

Unicode 是字体在网页端最原始的应用方式,特点是:

+
    +
  • 兼容性最好,支持 IE6+,及所有现代浏览器。
  • +
  • 支持按字体的方式去动态调整图标大小,颜色等等。
  • +
  • 但是因为是字体,所以不支持多色。只能使用平台里单色的图标,就算项目里有多色图标也会自动去色。
  • +
+
+

注意:新版 iconfont 支持多色图标,这些多色图标在 Unicode 模式下将不能使用,如果有需求建议使用symbol 的引用方式

+
+

Unicode 使用步骤如下:

+

第一步:拷贝项目下面生成的 @font-face

+
@font-face {
+  font-family: 'iconfont';
+  src: url('iconfont.eot');
+  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
+      url('iconfont.woff2') format('woff2'),
+      url('iconfont.woff') format('woff'),
+      url('iconfont.ttf') format('truetype'),
+      url('iconfont.svg#iconfont') format('svg');
+}
+
+

第二步:定义使用 iconfont 的样式

+
.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+

第三步:挑选相应图标并获取字体编码,应用于页面

+
+<span class="iconfont">&#x33;</span>
+
+
+

"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    + F +
    +
    .icon-F +
    +
  • + +
  • + +
    + 15天无理由退货 +
    +
    .icon-15tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-iconfonticonfonti2copycopy +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantouarrowhead7 +
    +
  • + +
  • + +
    + 播放 三角形 +
    +
    .icon-bofangsanjiaoxing +
    +
  • + +
  • + +
    + 定位 (1) +
    +
    .icon-dingwei1 +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou +
    +
  • + +
  • + +
    + 7天无理由退货 +
    +
    .icon-7tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 三角形 +
    +
    .icon-sanjiaoxing +
    +
  • + +
  • + +
    + 维修 +
    +
    .icon-buoumaotubiao46 +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-tel +
    +
  • + +
  • + +
    + 放大镜 +
    +
    .icon-fangdajing +
    +
  • + +
  • + +
    + 我的 +
    +
    .icon-my_icon +
    +
  • + +
  • + +
    + 返回顶部 +
    +
    .icon-fanhuidingbu +
    +
  • + +
  • + +
    + 耳机 +
    +
    .icon-erji +
    +
  • + +
  • + +
    + 手机到手机 +
    +
    .icon-shoujidaoshouji +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-gifs +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantou +
    +
  • + +
  • + +
    + 对话 +
    +
    .icon-duihua +
    +
  • + +
  • + +
    + 电话卡 +
    +
    .icon-dianhuaqia +
    +
  • + +
  • + +
    + 充值 +
    +
    .icon-chongzhi +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-shouji +
    +
  • + +
  • + +
    + 购物车 +
    +
    .icon-gouwuche +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou1 +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-present +
    +
  • + +
+
+

font-class 引用

+
+ +

font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。

+

与 Unicode 使用方式相比,具有如下特点:

+
    +
  • 兼容性良好,支持 IE8+,及所有现代浏览器。
  • +
  • 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
  • +
  • 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
  • +
  • 不过因为本质上还是使用的字体,所以多色图标还是不支持的。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 fontclass 代码:

+
<link rel="stylesheet" href="./iconfont.css">
+
+

第二步:挑选相应图标并获取类名,应用于页面:

+
<span class="iconfont icon-xxx"></span>
+
+
+

" + iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    F
    +
    #icon-F
    +
  • + +
  • + +
    15天无理由退货
    +
    #icon-15tianwuliyoutuihuo
    +
  • + +
  • + +
    右箭头
    +
    #icon-iconfonticonfonti2copycopy
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantouarrowhead7
    +
  • + +
  • + +
    播放 三角形
    +
    #icon-bofangsanjiaoxing
    +
  • + +
  • + +
    定位 (1)
    +
    #icon-dingwei1
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou
    +
  • + +
  • + +
    7天无理由退货
    +
    #icon-7tianwuliyoutuihuo
    +
  • + +
  • + +
    三角形
    +
    #icon-sanjiaoxing
    +
  • + +
  • + +
    维修
    +
    #icon-buoumaotubiao46
    +
  • + +
  • + +
    手机
    +
    #icon-tel
    +
  • + +
  • + +
    放大镜
    +
    #icon-fangdajing
    +
  • + +
  • + +
    我的
    +
    #icon-my_icon
    +
  • + +
  • + +
    返回顶部
    +
    #icon-fanhuidingbu
    +
  • + +
  • + +
    耳机
    +
    #icon-erji
    +
  • + +
  • + +
    手机到手机
    +
    #icon-shoujidaoshouji
    +
  • + +
  • + +
    礼物
    +
    #icon-gifs
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantou
    +
  • + +
  • + +
    对话
    +
    #icon-duihua
    +
  • + +
  • + +
    电话卡
    +
    #icon-dianhuaqia
    +
  • + +
  • + +
    充值
    +
    #icon-chongzhi
    +
  • + +
  • + +
    手机
    +
    #icon-shouji
    +
  • + +
  • + +
    购物车
    +
    #icon-gouwuche
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou1
    +
  • + +
  • + +
    礼物
    +
    #icon-present
    +
  • + +
+
+

Symbol 引用

+
+ +

这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 + 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:

+
    +
  • 支持多色图标了,不再受单色限制。
  • +
  • 通过一些技巧,支持像字体那样,通过 font-size, color 来调整样式。
  • +
  • 兼容性较差,支持 IE9+,及现代浏览器。
  • +
  • 浏览器渲染 SVG 的性能一般,还不如 png。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 symbol 代码:

+
<script src="./iconfont.js"></script>
+
+

第二步:加入通用 CSS 代码(引入一次就行):

+
<style>
+.icon {
+  width: 1em;
+  height: 1em;
+  vertical-align: -0.15em;
+  fill: currentColor;
+  overflow: hidden;
+}
+</style>
+
+

第三步:挑选相应图标并获取类名,应用于页面:

+
<svg class="icon" aria-hidden="true">
+  <use xlink:href="#icon-xxx"></use>
+</svg>
+
+
+
+ +
+
+ + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..82b55e328cc0b42679e713b74141f4d4aacd6518 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.css" @@ -0,0 +1,117 @@ +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1561534862311'); /* IE9 */ + src: url('iconfont.eot?t=1561534862311#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABFwAAsAAAAAHwAAABEjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGTgqqVKFYATYCJANoCzYABCAFhG0HgnYbghlFRoWNAwiCfFWy/8sEbg6cHSoHC2MTVdfaiqoBixK7WOwOGSqE4yw/B7GUIWI/rNT/+f6GqqcOpfx53LSX/CBJkASxFqpGbULFAqVitDAxZt5p5/Vpb6N3TGBylZl0ou3M240z7xknIlyu5TO4qghVIkWo0Hb2kg0c7YWejCiF7G79gDhgS7jBnJrUsmQXDSPk14EhA2bpK33BbrJxwocQOAZDm58L/de6xa50DUUSYsRv4xQBEOCYhv7T4FxpkYX7wRMLs+mpdy45TNoc5DhP3GF7jxkAKRRmQmN7T70HQLUpQEnSzVg7KE2bZ08pqPCvBCQwGJt5ugobC6OAKerK+O/5AQYAFBgkwjjLx3etBwToAoZeC+YqqPUoNxAFmRgI7fyMcQkMc+GBEN9yBgFgB/n72DeQNkIAHHgI9AVV30dRu3nTH0DkExPrsFccA4DNeAAIABIBEAC4LLMFEwHycSIRqSyegGEAiBWq7qTw8ygCv8TPUtMKEylOshwF9sg4qB5TenMfAJXieVVDRRx24Np1hkGsEZ9YNZkxNu0/8QBUpICDmhC0+CAAEmQkwKIAgQhoYGgoiYEAOQUeAMYH9BQBAGDZGtV6diarCKiAn1cEpAB+fhHAAfyCIqAGfkkREAL42SKgBX61ACxECwFAQkGBBAkDBRlIBAQQRSIhAEgcKFAgyaCAQHJAQQRSAAo0SCkoMCBjQUEDMhEUlCCTQEEMMoAiQAB8wVCQE5IOCgqQuSgEPJBCjmUyiTpnnAwAC9X454HQTbcNEoYBYdVggE9xEdEYaQAlBjwQgwCZAmAxgjoOQioVE0fKZTIkcn1SLA7GkCIG6YM1WpYixKYWLQpvIQUCBcMIrYYgwp1QKRKalggE8jRMbHRKCJmcUQJFA0FbnaYMQiHDqBgxISJPGYNIH8wQUkqmWjvCxfbqTwmk9u/w//JT+EzceDgRPZXNlcw/4afyEuWDOZG5cZRhvmglKZFfmwuPZtoRg3Qm5gAP2X6nNDOOUUgcncmnf4lTP0lsmihcxlhfYVwYHaKjFT73dI3OOVVldTL75Ily7/BpOvZ0wCvEOHFSkjKbcSp7/5pi+RAQZKTA7etBjmavHLp68bfnpfIl27no3IvMiefu35efMPMTp7xOd/6IyS8i75N/SOWdtv3p9+Nb6TQned5gQq80hcuqf8QPcpalLE+xMjFdTUxWxdQdsRJuQ5/C47Jk77ehUtYxIYg0cUaMnD7mTbYTTTfmAhgoq2gYwmCaSRrquAwL8+/fvXOazfEUDbjpSm77AbWoASpkllO+yX6bc2pLT1ZaaAln0CDryr9cY8lbCf2gVBgxosEPwA+eEKERZWYpZac5BR1RzObsdBWOEHc1Vh3TnavN1AuV0V1hGXlBjVZZT07d1zr043JBGR2dPYcZ+G77pCpt8dkt8tSvJ01F0OkGiCyU7FojSYlxEECYJNeEaCa8f0rnAVVogN2ZDKyfgN3WP91FJA9g90lZCHL7IU1dFfP4zT/hAi4L0pCZQQBIaAhk5RF6Es1sW1hHrElbmH85+mfNrb0/FrFiT4Fmn7UgDXKBHXxuw2ffzWkmzNaVvxkHuIgrcLosg6t28oFiPhRnnUIIYIguu3X7su+JKfPOKLuVcqznjmrF5pjOXGsIN9gY3RHWz7EyIEgF67wGO2kVuZqiti5JhiQ6KAJLhzBAeyzhZBS+TYZqSKObAQSzIK/zACFDozxtP7OZ6bJYyX30t5971vxs2i+26KNkT/GT+pPRsUefROPA4Grhthfx9v7P0wntWOHhs8QBGnxTdmxllqeXKqcwN6XxQbTtdXoswPjXePJPXKIy9JUwvc5KH2h72/W2F+W93CflaVq7fn1kVKb8w4zqq7G+V33d+nH23pHjHOHP/5/Y/uyvFdonf4xre/rvcswlEQiNK9y+xvpaansRbUOvX7ClAtv30LjEpQ0ujtK7dSl6m73+GfbcgJfGLOG5tnfwbsNhnUELYz77ZAXgpH4vXx/VMdI4N7XGtmfnBQ4hFxWrY+CbHYkjwFGPCQAT0fAytlCFjvIUN44yRox1Z3HjSGPMcEfLK9tvB9J4Q6wJmg4gVWXHtabbKwAIXxgVgjHvQsdUo6wucZwh0n/CEXszDtFCHh6Ez/5b0ffJP+PuDgxZtB6rRfWHI4IpeE8v0RlanhzFJAIRpwu1FhJdetpFTJ71HQUIh2wMREU6E8McHw1wgUy7r+XrgCCDpOzMNg+IMqpl2rzka5360XnQxt7/K6dQv2/ESIcQe+99tqCCebB/vxZy/bxiZET+/pIJF064fALYQUd00tBzTJ+5wTYOOAKpZcrwbt9n/01op8GoPKeNVKb3l2pjqaYn/xwe6DSCUDy4PRMIcW8QDuioJWtL483vfgh2hl6+ThrTcXZBUhDL2vTjhd8rllELl1q0OYM579xFAsROcV5HjqDJ1+J2p9v+eMa6UI173fjUWBiYE9GYZyXHiY7FuxaM3SUaqxp403AtpILcpS+MvTT2zfaLLc26QvJl3eXfZN1UWXnz2omdkeUU/fHTNYnm+WMXts3LqBFPocfFH8ssNs0E6Z3GdMcIhUqWOo4RL1OmfjNfsnj8J5Noqp6/dQM2CcuVsYKQ+OhigleHagoJ7ZODhIzhm1QdwYqO1LAoBSiS7Vn2Rasd2Y4O2LMG1mniAlIqENWo/NFq/T8hAA7XoTvDBEmx9UdwBe7KGQ8NZ75mnjJfnzE8jEz/67Cvl27CrxZOBNx2SX5O2o52PXjoRjvRLAftYtrk59Hd5a34mT7UJmn4ZRPH/bpZvBJve8vbnr5isxkMlfDKxwkSSf7cn5xcNVfFgXEDcY/g3bPBgXDcDfvdnYiOfvTRUSLA6UBH0RF1bUfs/Yd6V4bHsfL03oOeoHSdZ968bB+rZ325C+fTHxNAJg3Dluf3aE3bPyEEwv6mYOj6Tv1d1+9tt+M7P30xesf7N/cyj0ThP6sfih79FPFItZf+x53fHsmnnnfBC3j6wsetTdh54rvviF7Oue++P4/c2Psno7aWMnPKV3DFOcuA91pxxtTPUv1TUJ8Nrr19Z5b8A/msVVkpm7VwoUPuuHNb6IMvUCDDlP5zRpElTofSdboSQNwxC2f26oJmXdBKvug58+ekoyiFtX1EXZUt9v3EuaOU6urYmIkRN83WitKnhimprYrm/LbahD+VONN5QCupStq9xWq+GTExpkU5taZ1buL7sbaq/MKMk+wEzVUwupYOqwZ5a3mD1cP56y7KH9J84XpDb1iKrMO+j+DOul70ztuoM3veeQehCwL1/kHI1uK9vfiaANO+Fq1BITghgyMMGubRIyw5IoV1dcOhM7M4xt6BOVDziZPNeIBZBmrGHPaO4pjO6IFnMjeiP7TpaWXPT/cv4ADAMy3qO5ro/JBGMvfAM30aPq+jYy4mICCKz92CRjjbAVlLHG3XF5FPFU/JXKpf0U8taL0+i32fdWy4qCUH5IOk9ob0z4qB51VTSWb7FGdLZkVJ+0hCamqGitHkK5qrWw5wo4NJL8VkWPfu+WoPRoktCfmc0Rlj/6JPY3jH7AnXlG4ia/QP7343UkRhRe5jRd4fJF4y+MVtRR7JcJKrpGHWgtT1c5OON5S4YqjbrXVfebZzVj3pJdkde9uer45iVDmFcS8d4zw/SNws/IG+1W8Pgx4M1iCVHdGCw+O9SY006Z/H2305zTEzYXmWdaRd3j0Y2GW6Jghwy+DfKqrPTutoex8UURuk6VKdZqOgSGt0DhuG4ZU0eZmn840Q8lxDU2hTgDmtmhKTdt76JdjwSbpkITMjZb7EIFmUvcxHdimDgqjZq2VLYwI8In3Qsm9H3ORthtGv7r2TJC+Y/Sz8n5X1tkqzpbaqfuU3EUNzFIUV7/yUly/dSg5So7Yz2Ry68Ev/LNIdenKQ3CrNzYf6Kd3Ofo8uQrclP5+r/p8GAdXgyeHbzW2jzY5iYQPNd5rtJW67mZ/4F6EYMNbk52/RheuO5uVPP1PxbPvEB0Z5o7FLo9nBmB8sgguN/J++UkSG5xWE//Lw29BXFvREEl8pfoIbCQQ/GAGZJDUeN0qJHhiV1HHFcUpZb7EIgK+MJceXZPBBsJP1/kPV0wh7dJXjeN3mN+JFPVnqrB51r0lt6n2dShCdy1JlnVOfN6lM59+IXlygDjdnInbsWM6cxtWN2X5cOls9paJic/Zr+NL/Y3/o5dDa1TdDZ0pYR8ih0BOhywpcMvIyKdP5deHkISEmZcO0bz7f7IOVWDjMZnwMkTd8PIP+ng6npsvXhz0W8fcids2azIzBPbrNY8Z6tJ4BdllLfX0DJ+HGji0SF8VuQyxn/oDzZnwQZthnFB3jIvTIvIE6j5kBtSmf/TiT7WRnMp+xmvzX59QHVCddgc/oIWZDDtFSOWJrbZkezmYzc6wJ49Fks9V56VHDqioQa6vlPFytLSMz7EuejTYbd6xnUhsGpbnzDGSxs89ZTI7oKp+3KFT3UkOKQcrbXVmjv6bH1d3na9dQg4r3qVTXAsO0uGkW8+FOD6Lz/t78WTyvm5V/hwxx23BHtlnOk2+WKRrnLDUpKdFx0TWllWmpxU+0cMuF5Aj2novVHtWxuntaljwqZB/dFYEoVgw6EMea+pnye4n34NgUp9XK55dn6lRNc8RlzffG71P+TwnUXkk/okqlv3jLWnFuQnuQTVlYqFwsTs76dOakm/9WvKaniGZmh+RuS8qDULThLV6IgXiLeHvwW2sYorcBzDRBXlbOpn3pPx52vLy8P7T/ue/Z8/6wa4os5OnXXzPYvQG7yjQC0pkpzlteuokaUg6RTZr/653O/wVnKcjbmnzrsSR0UehW6ZNd5FBWqNFV73p0K7SoCMdt22aAPZNomIDiP3lyc3hT7qbhA15jRm3GzVuiV3VoQgOyj5gBRUUymTX5kl/25Z7mK8+oNaLaIJ6ir4GaK64rhPcVkhyCxh+4RddEmagEaoGZPcV/g6I/DFkAmvi7eAAEblWAcOw71Qw0NX9fPlQV+H0lv7YWaoGmeisO/BTYvDjqAIEXykH1yr7b3Swfb60SuVy62Y0KUNPRbXrfmQqR8VjTSlFrU9WXzttqE3LgJ3DMXz4aqWV+hv/A/4gMiA38E3i5CYMMUmv/twGsu7800z+Sg4HLKk/+ptm/9eg/LtvfGb1/AuXDM5uBaAMh4P9xEPi3ka6kIOJ/69mie3R7vEqrBgV+Jy+GB34qvisJqy/wD4yNHtD5EFgJBwDKeAjgH0csK7DI5lD+k8MwEFKmTTYOAtBjlBUbiQnEJmbzgIYMzEdsXjYFCYonpkFuqSZgBAkA8dqRjQHjTDYOEriJEWKHMIHYD7J5oPId4pM6KJsCx8inSUP0zKWKliIEFCzZMsOplOkLA6/3J6qYg1Mtq+F+0XlDJTtKNl5PPmOJTkQYv1LHIUgmHRXsSdHBPCdWOUqRh33Nier6IGXWLuw+p6I2gCIOAsHJLzDTbCvPxZGSfHYwSPz5T0iJcsAVXPZU+RdyPFPDpP49fNkKkc9iWemysvDLrCjHlqtMYta5DikwFpWh3DhGmPrsgVKIC/bNYZAq11LU282qKu43byvGhjgXXr4r6v+WRZRklVqj1ekNRpPZYrXZHU6X2+P1Kf6Ax7I8OgsGynXMzZZiiEZH2nuoQeaYU7W16DwtOb1AEZyjtUYQF/OEJJTKA9OVtDGl6glbWqM5GggzV3384qKBm4dXrWkSKRZAISYJdnrefPzCgCcTkOY1d4vtnxx4FK/W0YgOkcQWutRMvRZfK4C8Hi1lpO/e0NURN2mGgTB1xgFroMc1lWqnTWf9Cz1FcR25xmE7Qx11K4cey1AD') format('woff2'), + url('iconfont.woff?t=1561534862311') format('woff'), + url('iconfont.ttf?t=1561534862311') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1561534862311#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-F:before { + content: "\f003d"; +} + +.icon-15tianwuliyoutuihuo:before { + content: "\e606"; +} + +.icon-iconfonticonfonti2copycopy:before { + content: "\e62e"; +} + +.icon-jiantouarrowhead7:before { + content: "\e6bc"; +} + +.icon-bofangsanjiaoxing:before { + content: "\e769"; +} + +.icon-dingwei1:before { + content: "\e617"; +} + +.icon-youjiantou:before { + content: "\e619"; +} + +.icon-7tianwuliyoutuihuo:before { + content: "\e60e"; +} + +.icon-sanjiaoxing:before { + content: "\e620"; +} + +.icon-buoumaotubiao46:before { + content: "\e629"; +} + +.icon-tel:before { + content: "\e641"; +} + +.icon-fangdajing:before { + content: "\e63d"; +} + +.icon-my_icon:before { + content: "\e65d"; +} + +.icon-fanhuidingbu:before { + content: "\e623"; +} + +.icon-erji:before { + content: "\e605"; +} + +.icon-shoujidaoshouji:before { + content: "\e64a"; +} + +.icon-gifs:before { + content: "\e624"; +} + +.icon-jiantou:before { + content: "\e621"; +} + +.icon-duihua:before { + content: "\e710"; +} + +.icon-dianhuaqia:before { + content: "\e733"; +} + +.icon-chongzhi:before { + content: "\e65c"; +} + +.icon-shouji:before { + content: "\e525"; +} + +.icon-gouwuche:before { + content: "\e607"; +} + +.icon-youjiantou1:before { + content: "\e658"; +} + +.icon-present:before { + content: "\e611"; +} + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.eot" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..5e9a285d4f141012b90c8b0093da4f07c0fa62bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.eot" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.js" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.js" new file mode 100644 index 0000000000000000000000000000000000000000..1d120ac96efd0bc668b14ad234fd20ae00664a04 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.js" @@ -0,0 +1 @@ +!function(s){var c,t='',h=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(h&&!s.__iconfont__svg__cssinject__){s.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var h=function(){document.removeEventListener("DOMContentLoaded",h,!1),c()};document.addEventListener("DOMContentLoaded",h,!1)}else document.attachEvent&&(l=c,a=s.document,o=!1,(i=function(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(i,50)}t()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,t())});function t(){o||(o=!0,l())}var l,a,o,i}(function(){var c,h;(c=document.createElement("div")).innerHTML=t,t=null,(h=c.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",function(c,h){h.firstChild?function(c,h){h.parentNode.insertBefore(c,h)}(c,h.firstChild):h.appendChild(c)}(h,document.body))})}(window); \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.svg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..f5269cc8c727142a59f9837e20fd4f892c11407a --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.svg" @@ -0,0 +1,101 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.ttf" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..3b9dd2e7ca16388626976f473598d8c4d5570021 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.ttf" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.woff" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..f42f23160f7a24b91c3b05e052902bbd8644c35f Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.woff" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.woff2" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.woff2" new file mode 100644 index 0000000000000000000000000000000000000000..12e816ceb161961bcfcefb2c446b3224a38a5870 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/iconfont/iconfont.woff2" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/mi.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/mi.css" new file mode 100644 index 0000000000000000000000000000000000000000..b528618891b59e8427786368f5fcb2f7ef220897 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/mi.css" @@ -0,0 +1,336 @@ +/* 头部样式开始 */ +.header{ + width: 100%; + height: 120px; + overflow: hidden; + position: relative; +} + +.header img{ + height: 120px; + /* 图片,以中间开始渲染 */ + position: absolute; + left: 50%; + transform: translateX(-50%); +} +/* 头部样式结束 */ + +/* 黑色导航样式开始 */ +.black-nav{ + width: 100%; + height: 40px; + line-height: 40px; + background-color: #333; + font-size: 12px; +} +.wrap{ + width: 1226px; + margin: 0 auto; +} +.black-nav-left{ + float: left; +} +.black-nav-right{ + float: right; +} +.black-nav li{ + float: left; + position: relative; +} +.black-nav a{ + color: #b0b0b0; +} +.black-nav span{ + color: #424242; + margin: 0 3.6px; +} +.download{ + width: 124px; + height: 0; + background: #fff; + box-shadow: 0 1px 5px #aaa; + position: absolute; + top: 40px; + left: 50%; + margin-left: -62px; + overflow:hidden; + transition: all 0.3s; +} +.download img{ + width: 90px; + margin: 18px auto 0; +} +.download p{ + color: #333; + font-size: 14px; + line-height: 14px; +} +.black-nav-left li:hover>.download{ + height: 148px; +} +.stri{ + width: 0; + height: 0; + border-bottom: 8px solid #fff; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + position:absolute; + bottom: 0; + left: 50%; + margin-left: -8px; + display: none; +} +.black-nav-left>li:hover>.stri{ + display: block; +} +.cart{ + width: 120px; + height: 40px; + background: #424242; + margin-left: 25px; + position: relative; +} +.cart:hover{ + background: #fff; +} +.cart:hover>a{ + color: #ff6700; +} +.cart i{ + font-style: normal; + margin-right: 8px; +} +.cart-list{ + width: 316px; + height: 0; + background: #fff; + box-shadow: 0 2px 10px rgba(0,0,0,0.15); + position: absolute; + right: 0; + top: 40px; + color: #424242; + overflow: hidden; + transition: all 0.3s; + line-height: 100px; +} +.cart:hover>.cart-list{ + height: 100px; +} +/* 黑色导航样式结束 */ + +/* 白色导航样式开始 */ +.white-nav{ + width: 100%; + height: 100px; + background: #fff; + position: relative; +} +.logo{ + width: 55px; + height: 55px; + background: #ff6700; + float: left; + margin-top: 22.5px; + overflow: hidden; + position: relative; +} +.logo>img{ + width: 100%; + height: 100%; + position:absolute; + top: 0; + transition: all 0.2s; +} +.mi-home{ + left: -55px; +} +.mi-logo{ + left: 0; +} +.logo:hover>.mi-home{ + left: 0; +} +.logo:hover>.mi-logo{ + left: 55px; +} +.nav-bar{ + width: 875px; + height: 100px; + line-height: 100px; + float: left; +} +.search{ + width: 296px; + height: 100px; + float: right; +} +.nav-bar li{ + float: left; +} +.nav-bar>ul>li>a{ + color: #333; + padding: 0 10px; +} + +.nav-bar>ul>li>a:hover{ + color: #ff6700; +} + +.nav-bar>ul>li:first-child img{ + margin-top: 22.5px; +} + +.search input{ + width: 244px; + height: 50px; + border:1px solid #e0e0e0; + margin-top: 25px; + /* 去掉选中的边框 */ + outline: none; + padding: 0 10px; + box-sizing: border-box; + border-right: 0; +} + +.search button{ + width: 52px; + height: 50px; + background: #fff; + border:1px solid #e0e0e0; + float: right; + margin-top: 25px; +} +.search button:hover{ + background: #ff6700; + color: #fff; +} + +.nav-bar-list{ + width: 100%; + height: 229px; + background: #fff; + border-top: 1px solid #eee; + box-shadow: 0 3px 4px rgba(0,0,0,0.1); + position: absolute; + left: 0; + top: 100px; + display: none; +} + +.nav-bar li:hover .nav-bar-list{ + display: block; +} + +.img-box{ + width: 100%; + height: 110px; + margin-top: 35px; + border-right: 1px solid #eee; + box-sizing: border-box; + margin-bottom: 16px; +} + +.nav-bar-list li:last-child .img-box{ + border-right: 0; +} + +.nav-bar-list p{ + font-size: 12px; + line-height: 20px; +} + +.name{ + color: #333; +} + +.price{ + color: #ff6700; +} +/* 白色导航样式结束 */ +/* banner样式开始 */ +.banner{ + width: 100%; + height: 460px; +} +.banner-img{ + width: 100%; +} +.banner>.wrap{ + position: relative; +} +.slide{ + width: 234px; + height: 420px; + padding: 20px 0; + background: rgba(105,101,101,0.6); + position: absolute; + left: 0; + top: 0; +} + +.slide>ul>li{ + height: 42px; + line-height: 42px; + text-align: left; + padding-left: 30px; + font-size: 14px; +} +.slide>ul>li:hover{ + background: #ff6700; +} +.slide>ul>li>a{ + color: #fff; +} +.slide i{ + float: right; + padding-right: 20px; +} + +.slide-list{ + width: 992px; + height: 460px; + background: #fff; + border: 1px solid #e0e0e0; + border-left: none; + box-sizing: border-box; + box-shadow: 0 8px 16px rgba(0,0,0,0.18); + padding-top: 2px; + position: absolute; + top: 0; + left: 234px; + display: none; +} +.slide-list ul{ + width: 100%; +} + +.slide-list ul li{ + width: 247.75px; + float: left; + height: 76px; + padding: 18px 0 18px 20px; + box-sizing: border-box; + line-height: 40px; +} +.slide-list img{ + width: 40px; + margin-right: 14px; +} +.slide-list span{ + color: #333; + font-size: 14px; + /* 一行宽度不够的时候,用...代替 */ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + position: relative; + top: -14px; +} +.slide li:hover .slide-list{ + display: block; +} + +.slide-list li:hover span{ + color: #ff6700; +} +/* banner样式结束 */ \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/reset.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..be2dc78d18b6bec6cf9115f7b6f31495e6c73e20 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;font-family: Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;} +li{ list-style: none;} +a{text-decoration: none;} +img{border: none;} \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a70e7760dd848d296634e193f100d303c22784ec Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/banner.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/banner.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a7dedb23d9ca63f06bca42993ca2469ca11ebb93 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/banner.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/download.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/download.png" new file mode 100644 index 0000000000000000000000000000000000000000..8ace029704d62e8173ee6d55c037aff4315488fd Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/download.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/mi-home.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/mi-home.png" new file mode 100644 index 0000000000000000000000000000000000000000..cb3ea82de3c11402e99f4add187c49db4de6f958 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/mi-home.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/mi-logo.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/mi-logo.png" new file mode 100644 index 0000000000000000000000000000000000000000..82de5d977bca6d3131baec5696deac1c77df29d7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/mi-logo.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/phone.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/phone.png" new file mode 100644 index 0000000000000000000000000000000000000000..413d28d043d4d9495f8d4e9bbcf3aaa068d578b2 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/phone.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/top.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/top.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a1c3c4ba18304ed49a5d826cf2dd3d56b4ff27c1 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/top.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/zzxsh.gif" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/zzxsh.gif" new file mode 100644 index 0000000000000000000000000000000000000000..bb6222f926a49166214a8a471bb9044c509f67e0 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/images/zzxsh.gif" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..09869042af2d8f5a54b8cc3dcbb71ae4eff6890f --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/04_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_banner/index.html" @@ -0,0 +1,237 @@ + + + + + + + 小米 + + + + + + + +
+ + + +
+ + + +
+
+ + +
+
+ + + + + + + + + + \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/demo.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/demo.css" new file mode 100644 index 0000000000000000000000000000000000000000..a67054a0a030993643b8cbe9f344b34706efa134 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/demo.css" @@ -0,0 +1,539 @@ +/* Logo 字体 */ +@font-face { + font-family: "iconfont logo"; + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834'); + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg'); +} + +.logo { + font-family: "iconfont logo"; + font-size: 160px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* tabs */ +.nav-tabs { + position: relative; +} + +.nav-tabs .nav-more { + position: absolute; + right: 0; + bottom: 0; + height: 42px; + line-height: 42px; + color: #666; +} + +#tabs { + border-bottom: 1px solid #eee; +} + +#tabs li { + cursor: pointer; + width: 100px; + height: 40px; + line-height: 40px; + text-align: center; + font-size: 16px; + border-bottom: 2px solid transparent; + position: relative; + z-index: 1; + margin-bottom: -1px; + color: #666; +} + + +#tabs .active { + border-bottom-color: #f00; + color: #222; +} + +.tab-container .content { + display: none; +} + +/* 页面布局 */ +.main { + padding: 30px 100px; + width: 960px; + margin: 0 auto; +} + +.main .logo { + color: #333; + text-align: left; + margin-bottom: 30px; + line-height: 1; + height: 110px; + margin-top: -50px; + overflow: hidden; + *zoom: 1; +} + +.main .logo a { + font-size: 160px; + color: #333; +} + +.helps { + margin-top: 40px; +} + +.helps pre { + padding: 20px; + margin: 10px 0; + border: solid 1px #e7e1cd; + background-color: #fffdef; + overflow: auto; +} + +.icon_lists { + width: 100% !important; + overflow: hidden; + *zoom: 1; +} + +.icon_lists li { + width: 100px; + margin-bottom: 10px; + margin-right: 20px; + text-align: center; + list-style: none !important; + cursor: default; +} + +.icon_lists li .code-name { + line-height: 1.2; +} + +.icon_lists .icon { + display: block; + height: 100px; + line-height: 100px; + font-size: 42px; + margin: 10px auto; + color: #333; + -webkit-transition: font-size 0.25s linear, width 0.25s linear; + -moz-transition: font-size 0.25s linear, width 0.25s linear; + transition: font-size 0.25s linear, width 0.25s linear; +} + +.icon_lists .icon:hover { + font-size: 100px; +} + +.icon_lists .svg-icon { + /* 通过设置 font-size 来改变图标大小 */ + width: 1em; + /* 图标和文字相邻时,垂直对齐 */ + vertical-align: -0.15em; + /* 通过设置 color 来改变 SVG 的颜色/fill */ + fill: currentColor; + /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示 + normalize.css 中也包含这行 */ + overflow: hidden; +} + +.icon_lists li .name, +.icon_lists li .code-name { + color: #666; +} + +/* markdown 样式 */ +.markdown { + color: #666; + font-size: 14px; + line-height: 1.8; +} + +.highlight { + line-height: 1.5; +} + +.markdown img { + vertical-align: middle; + max-width: 100%; +} + +.markdown h1 { + color: #404040; + font-weight: 500; + line-height: 40px; + margin-bottom: 24px; +} + +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + color: #404040; + margin: 1.6em 0 0.6em 0; + font-weight: 500; + clear: both; +} + +.markdown h1 { + font-size: 28px; +} + +.markdown h2 { + font-size: 22px; +} + +.markdown h3 { + font-size: 16px; +} + +.markdown h4 { + font-size: 14px; +} + +.markdown h5 { + font-size: 12px; +} + +.markdown h6 { + font-size: 12px; +} + +.markdown hr { + height: 1px; + border: 0; + background: #e9e9e9; + margin: 16px 0; + clear: both; +} + +.markdown p { + margin: 1em 0; +} + +.markdown>p, +.markdown>blockquote, +.markdown>.highlight, +.markdown>ol, +.markdown>ul { + width: 80%; +} + +.markdown ul>li { + list-style: circle; +} + +.markdown>ul li, +.markdown blockquote ul>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown>ul li p, +.markdown>ol li p { + margin: 0.6em 0; +} + +.markdown ol>li { + list-style: decimal; +} + +.markdown>ol li, +.markdown blockquote ol>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown code { + margin: 0 3px; + padding: 0 5px; + background: #eee; + border-radius: 3px; +} + +.markdown strong, +.markdown b { + font-weight: 600; +} + +.markdown>table { + border-collapse: collapse; + border-spacing: 0px; + empty-cells: show; + border: 1px solid #e9e9e9; + width: 95%; + margin-bottom: 24px; +} + +.markdown>table th { + white-space: nowrap; + color: #333; + font-weight: 600; +} + +.markdown>table th, +.markdown>table td { + border: 1px solid #e9e9e9; + padding: 8px 16px; + text-align: left; +} + +.markdown>table th { + background: #F7F7F7; +} + +.markdown blockquote { + font-size: 90%; + color: #999; + border-left: 4px solid #e9e9e9; + padding-left: 0.8em; + margin: 1em 0; +} + +.markdown blockquote p { + margin: 0; +} + +.markdown .anchor { + opacity: 0; + transition: opacity 0.3s ease; + margin-left: 8px; +} + +.markdown .waiting { + color: #ccc; +} + +.markdown h1:hover .anchor, +.markdown h2:hover .anchor, +.markdown h3:hover .anchor, +.markdown h4:hover .anchor, +.markdown h5:hover .anchor, +.markdown h6:hover .anchor { + opacity: 1; + display: inline-block; +} + +.markdown>br, +.markdown>p>br { + clear: both; +} + + +.hljs { + display: block; + background: white; + padding: 0.5em; + color: #333333; + overflow-x: auto; +} + +.hljs-comment, +.hljs-meta { + color: #969896; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-strong, +.hljs-emphasis, +.hljs-quote { + color: #df5000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #a71d5d; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute { + color: #0086b3; +} + +.hljs-section, +.hljs-name { + color: #63a35c; +} + +.hljs-tag { + color: #333333; +} + +.hljs-title, +.hljs-attr, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #795da3; +} + +.hljs-addition { + color: #55a532; + background-color: #eaffea; +} + +.hljs-deletion { + color: #bd2c00; + background-color: #ffecec; +} + +.hljs-link { + text-decoration: underline; +} + +/* 代码高亮 */ +/* PrismJS 1.15.0 +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre)>code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre)>code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/demo_index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/demo_index.html" new file mode 100644 index 0000000000000000000000000000000000000000..b1ac8517cfb86548221abfccb3b881ee7edfb6bd --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/demo_index.html" @@ -0,0 +1,743 @@ + + + + + IconFont Demo + + + + + + + + + + + +
+

+ +
+
+
    + +
  • + 󰀽 +
    F
    +
    &#xf003d;
    +
  • + +
  • + +
    15天无理由退货
    +
    &#xe606;
    +
  • + +
  • + +
    右箭头
    +
    &#xe62e;
    +
  • + +
  • + +
    箭头
    +
    &#xe6bc;
    +
  • + +
  • + +
    播放 三角形
    +
    &#xe769;
    +
  • + +
  • + +
    定位 (1)
    +
    &#xe617;
    +
  • + +
  • + +
    右箭头
    +
    &#xe619;
    +
  • + +
  • + +
    7天无理由退货
    +
    &#xe60e;
    +
  • + +
  • + +
    三角形
    +
    &#xe620;
    +
  • + +
  • + +
    维修
    +
    &#xe629;
    +
  • + +
  • + +
    手机
    +
    &#xe641;
    +
  • + +
  • + +
    放大镜
    +
    &#xe63d;
    +
  • + +
  • + +
    我的
    +
    &#xe65d;
    +
  • + +
  • + +
    返回顶部
    +
    &#xe623;
    +
  • + +
  • + +
    耳机
    +
    &#xe605;
    +
  • + +
  • + +
    手机到手机
    +
    &#xe64a;
    +
  • + +
  • + +
    礼物
    +
    &#xe624;
    +
  • + +
  • + +
    箭头
    +
    &#xe621;
    +
  • + +
  • + +
    对话
    +
    &#xe710;
    +
  • + +
  • + +
    电话卡
    +
    &#xe733;
    +
  • + +
  • + +
    充值
    +
    &#xe65c;
    +
  • + +
  • + +
    手机
    +
    &#xe525;
    +
  • + +
  • + +
    购物车
    +
    &#xe607;
    +
  • + +
  • + +
    右箭头
    +
    &#xe658;
    +
  • + +
  • + +
    礼物
    +
    &#xe611;
    +
  • + +
+
+

Unicode 引用

+
+ +

Unicode 是字体在网页端最原始的应用方式,特点是:

+
    +
  • 兼容性最好,支持 IE6+,及所有现代浏览器。
  • +
  • 支持按字体的方式去动态调整图标大小,颜色等等。
  • +
  • 但是因为是字体,所以不支持多色。只能使用平台里单色的图标,就算项目里有多色图标也会自动去色。
  • +
+
+

注意:新版 iconfont 支持多色图标,这些多色图标在 Unicode 模式下将不能使用,如果有需求建议使用symbol 的引用方式

+
+

Unicode 使用步骤如下:

+

第一步:拷贝项目下面生成的 @font-face

+
@font-face {
+  font-family: 'iconfont';
+  src: url('iconfont.eot');
+  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
+      url('iconfont.woff2') format('woff2'),
+      url('iconfont.woff') format('woff'),
+      url('iconfont.ttf') format('truetype'),
+      url('iconfont.svg#iconfont') format('svg');
+}
+
+

第二步:定义使用 iconfont 的样式

+
.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+

第三步:挑选相应图标并获取字体编码,应用于页面

+
+<span class="iconfont">&#x33;</span>
+
+
+

"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    + F +
    +
    .icon-F +
    +
  • + +
  • + +
    + 15天无理由退货 +
    +
    .icon-15tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-iconfonticonfonti2copycopy +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantouarrowhead7 +
    +
  • + +
  • + +
    + 播放 三角形 +
    +
    .icon-bofangsanjiaoxing +
    +
  • + +
  • + +
    + 定位 (1) +
    +
    .icon-dingwei1 +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou +
    +
  • + +
  • + +
    + 7天无理由退货 +
    +
    .icon-7tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 三角形 +
    +
    .icon-sanjiaoxing +
    +
  • + +
  • + +
    + 维修 +
    +
    .icon-buoumaotubiao46 +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-tel +
    +
  • + +
  • + +
    + 放大镜 +
    +
    .icon-fangdajing +
    +
  • + +
  • + +
    + 我的 +
    +
    .icon-my_icon +
    +
  • + +
  • + +
    + 返回顶部 +
    +
    .icon-fanhuidingbu +
    +
  • + +
  • + +
    + 耳机 +
    +
    .icon-erji +
    +
  • + +
  • + +
    + 手机到手机 +
    +
    .icon-shoujidaoshouji +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-gifs +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantou +
    +
  • + +
  • + +
    + 对话 +
    +
    .icon-duihua +
    +
  • + +
  • + +
    + 电话卡 +
    +
    .icon-dianhuaqia +
    +
  • + +
  • + +
    + 充值 +
    +
    .icon-chongzhi +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-shouji +
    +
  • + +
  • + +
    + 购物车 +
    +
    .icon-gouwuche +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou1 +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-present +
    +
  • + +
+
+

font-class 引用

+
+ +

font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。

+

与 Unicode 使用方式相比,具有如下特点:

+
    +
  • 兼容性良好,支持 IE8+,及所有现代浏览器。
  • +
  • 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
  • +
  • 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
  • +
  • 不过因为本质上还是使用的字体,所以多色图标还是不支持的。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 fontclass 代码:

+
<link rel="stylesheet" href="./iconfont.css">
+
+

第二步:挑选相应图标并获取类名,应用于页面:

+
<span class="iconfont icon-xxx"></span>
+
+
+

" + iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    F
    +
    #icon-F
    +
  • + +
  • + +
    15天无理由退货
    +
    #icon-15tianwuliyoutuihuo
    +
  • + +
  • + +
    右箭头
    +
    #icon-iconfonticonfonti2copycopy
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantouarrowhead7
    +
  • + +
  • + +
    播放 三角形
    +
    #icon-bofangsanjiaoxing
    +
  • + +
  • + +
    定位 (1)
    +
    #icon-dingwei1
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou
    +
  • + +
  • + +
    7天无理由退货
    +
    #icon-7tianwuliyoutuihuo
    +
  • + +
  • + +
    三角形
    +
    #icon-sanjiaoxing
    +
  • + +
  • + +
    维修
    +
    #icon-buoumaotubiao46
    +
  • + +
  • + +
    手机
    +
    #icon-tel
    +
  • + +
  • + +
    放大镜
    +
    #icon-fangdajing
    +
  • + +
  • + +
    我的
    +
    #icon-my_icon
    +
  • + +
  • + +
    返回顶部
    +
    #icon-fanhuidingbu
    +
  • + +
  • + +
    耳机
    +
    #icon-erji
    +
  • + +
  • + +
    手机到手机
    +
    #icon-shoujidaoshouji
    +
  • + +
  • + +
    礼物
    +
    #icon-gifs
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantou
    +
  • + +
  • + +
    对话
    +
    #icon-duihua
    +
  • + +
  • + +
    电话卡
    +
    #icon-dianhuaqia
    +
  • + +
  • + +
    充值
    +
    #icon-chongzhi
    +
  • + +
  • + +
    手机
    +
    #icon-shouji
    +
  • + +
  • + +
    购物车
    +
    #icon-gouwuche
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou1
    +
  • + +
  • + +
    礼物
    +
    #icon-present
    +
  • + +
+
+

Symbol 引用

+
+ +

这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 + 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:

+
    +
  • 支持多色图标了,不再受单色限制。
  • +
  • 通过一些技巧,支持像字体那样,通过 font-size, color 来调整样式。
  • +
  • 兼容性较差,支持 IE9+,及现代浏览器。
  • +
  • 浏览器渲染 SVG 的性能一般,还不如 png。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 symbol 代码:

+
<script src="./iconfont.js"></script>
+
+

第二步:加入通用 CSS 代码(引入一次就行):

+
<style>
+.icon {
+  width: 1em;
+  height: 1em;
+  vertical-align: -0.15em;
+  fill: currentColor;
+  overflow: hidden;
+}
+</style>
+
+

第三步:挑选相应图标并获取类名,应用于页面:

+
<svg class="icon" aria-hidden="true">
+  <use xlink:href="#icon-xxx"></use>
+</svg>
+
+
+
+ +
+
+ + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..82b55e328cc0b42679e713b74141f4d4aacd6518 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.css" @@ -0,0 +1,117 @@ +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1561534862311'); /* IE9 */ + src: url('iconfont.eot?t=1561534862311#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABFwAAsAAAAAHwAAABEjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGTgqqVKFYATYCJANoCzYABCAFhG0HgnYbghlFRoWNAwiCfFWy/8sEbg6cHSoHC2MTVdfaiqoBixK7WOwOGSqE4yw/B7GUIWI/rNT/+f6GqqcOpfx53LSX/CBJkASxFqpGbULFAqVitDAxZt5p5/Vpb6N3TGBylZl0ou3M240z7xknIlyu5TO4qghVIkWo0Hb2kg0c7YWejCiF7G79gDhgS7jBnJrUsmQXDSPk14EhA2bpK33BbrJxwocQOAZDm58L/de6xa50DUUSYsRv4xQBEOCYhv7T4FxpkYX7wRMLs+mpdy45TNoc5DhP3GF7jxkAKRRmQmN7T70HQLUpQEnSzVg7KE2bZ08pqPCvBCQwGJt5ugobC6OAKerK+O/5AQYAFBgkwjjLx3etBwToAoZeC+YqqPUoNxAFmRgI7fyMcQkMc+GBEN9yBgFgB/n72DeQNkIAHHgI9AVV30dRu3nTH0DkExPrsFccA4DNeAAIABIBEAC4LLMFEwHycSIRqSyegGEAiBWq7qTw8ygCv8TPUtMKEylOshwF9sg4qB5TenMfAJXieVVDRRx24Np1hkGsEZ9YNZkxNu0/8QBUpICDmhC0+CAAEmQkwKIAgQhoYGgoiYEAOQUeAMYH9BQBAGDZGtV6diarCKiAn1cEpAB+fhHAAfyCIqAGfkkREAL42SKgBX61ACxECwFAQkGBBAkDBRlIBAQQRSIhAEgcKFAgyaCAQHJAQQRSAAo0SCkoMCBjQUEDMhEUlCCTQEEMMoAiQAB8wVCQE5IOCgqQuSgEPJBCjmUyiTpnnAwAC9X454HQTbcNEoYBYdVggE9xEdEYaQAlBjwQgwCZAmAxgjoOQioVE0fKZTIkcn1SLA7GkCIG6YM1WpYixKYWLQpvIQUCBcMIrYYgwp1QKRKalggE8jRMbHRKCJmcUQJFA0FbnaYMQiHDqBgxISJPGYNIH8wQUkqmWjvCxfbqTwmk9u/w//JT+EzceDgRPZXNlcw/4afyEuWDOZG5cZRhvmglKZFfmwuPZtoRg3Qm5gAP2X6nNDOOUUgcncmnf4lTP0lsmihcxlhfYVwYHaKjFT73dI3OOVVldTL75Ily7/BpOvZ0wCvEOHFSkjKbcSp7/5pi+RAQZKTA7etBjmavHLp68bfnpfIl27no3IvMiefu35efMPMTp7xOd/6IyS8i75N/SOWdtv3p9+Nb6TQned5gQq80hcuqf8QPcpalLE+xMjFdTUxWxdQdsRJuQ5/C47Jk77ehUtYxIYg0cUaMnD7mTbYTTTfmAhgoq2gYwmCaSRrquAwL8+/fvXOazfEUDbjpSm77AbWoASpkllO+yX6bc2pLT1ZaaAln0CDryr9cY8lbCf2gVBgxosEPwA+eEKERZWYpZac5BR1RzObsdBWOEHc1Vh3TnavN1AuV0V1hGXlBjVZZT07d1zr043JBGR2dPYcZ+G77pCpt8dkt8tSvJ01F0OkGiCyU7FojSYlxEECYJNeEaCa8f0rnAVVogN2ZDKyfgN3WP91FJA9g90lZCHL7IU1dFfP4zT/hAi4L0pCZQQBIaAhk5RF6Es1sW1hHrElbmH85+mfNrb0/FrFiT4Fmn7UgDXKBHXxuw2ffzWkmzNaVvxkHuIgrcLosg6t28oFiPhRnnUIIYIguu3X7su+JKfPOKLuVcqznjmrF5pjOXGsIN9gY3RHWz7EyIEgF67wGO2kVuZqiti5JhiQ6KAJLhzBAeyzhZBS+TYZqSKObAQSzIK/zACFDozxtP7OZ6bJYyX30t5971vxs2i+26KNkT/GT+pPRsUefROPA4Grhthfx9v7P0wntWOHhs8QBGnxTdmxllqeXKqcwN6XxQbTtdXoswPjXePJPXKIy9JUwvc5KH2h72/W2F+W93CflaVq7fn1kVKb8w4zqq7G+V33d+nH23pHjHOHP/5/Y/uyvFdonf4xre/rvcswlEQiNK9y+xvpaansRbUOvX7ClAtv30LjEpQ0ujtK7dSl6m73+GfbcgJfGLOG5tnfwbsNhnUELYz77ZAXgpH4vXx/VMdI4N7XGtmfnBQ4hFxWrY+CbHYkjwFGPCQAT0fAytlCFjvIUN44yRox1Z3HjSGPMcEfLK9tvB9J4Q6wJmg4gVWXHtabbKwAIXxgVgjHvQsdUo6wucZwh0n/CEXszDtFCHh6Ez/5b0ffJP+PuDgxZtB6rRfWHI4IpeE8v0RlanhzFJAIRpwu1FhJdetpFTJ71HQUIh2wMREU6E8McHw1wgUy7r+XrgCCDpOzMNg+IMqpl2rzka5360XnQxt7/K6dQv2/ESIcQe+99tqCCebB/vxZy/bxiZET+/pIJF064fALYQUd00tBzTJ+5wTYOOAKpZcrwbt9n/01op8GoPKeNVKb3l2pjqaYn/xwe6DSCUDy4PRMIcW8QDuioJWtL483vfgh2hl6+ThrTcXZBUhDL2vTjhd8rllELl1q0OYM579xFAsROcV5HjqDJ1+J2p9v+eMa6UI173fjUWBiYE9GYZyXHiY7FuxaM3SUaqxp403AtpILcpS+MvTT2zfaLLc26QvJl3eXfZN1UWXnz2omdkeUU/fHTNYnm+WMXts3LqBFPocfFH8ssNs0E6Z3GdMcIhUqWOo4RL1OmfjNfsnj8J5Noqp6/dQM2CcuVsYKQ+OhigleHagoJ7ZODhIzhm1QdwYqO1LAoBSiS7Vn2Rasd2Y4O2LMG1mniAlIqENWo/NFq/T8hAA7XoTvDBEmx9UdwBe7KGQ8NZ75mnjJfnzE8jEz/67Cvl27CrxZOBNx2SX5O2o52PXjoRjvRLAftYtrk59Hd5a34mT7UJmn4ZRPH/bpZvBJve8vbnr5isxkMlfDKxwkSSf7cn5xcNVfFgXEDcY/g3bPBgXDcDfvdnYiOfvTRUSLA6UBH0RF1bUfs/Yd6V4bHsfL03oOeoHSdZ968bB+rZ325C+fTHxNAJg3Dluf3aE3bPyEEwv6mYOj6Tv1d1+9tt+M7P30xesf7N/cyj0ThP6sfih79FPFItZf+x53fHsmnnnfBC3j6wsetTdh54rvviF7Oue++P4/c2Psno7aWMnPKV3DFOcuA91pxxtTPUv1TUJ8Nrr19Z5b8A/msVVkpm7VwoUPuuHNb6IMvUCDDlP5zRpElTofSdboSQNwxC2f26oJmXdBKvug58+ekoyiFtX1EXZUt9v3EuaOU6urYmIkRN83WitKnhimprYrm/LbahD+VONN5QCupStq9xWq+GTExpkU5taZ1buL7sbaq/MKMk+wEzVUwupYOqwZ5a3mD1cP56y7KH9J84XpDb1iKrMO+j+DOul70ztuoM3veeQehCwL1/kHI1uK9vfiaANO+Fq1BITghgyMMGubRIyw5IoV1dcOhM7M4xt6BOVDziZPNeIBZBmrGHPaO4pjO6IFnMjeiP7TpaWXPT/cv4ADAMy3qO5ro/JBGMvfAM30aPq+jYy4mICCKz92CRjjbAVlLHG3XF5FPFU/JXKpf0U8taL0+i32fdWy4qCUH5IOk9ob0z4qB51VTSWb7FGdLZkVJ+0hCamqGitHkK5qrWw5wo4NJL8VkWPfu+WoPRoktCfmc0Rlj/6JPY3jH7AnXlG4ia/QP7343UkRhRe5jRd4fJF4y+MVtRR7JcJKrpGHWgtT1c5OON5S4YqjbrXVfebZzVj3pJdkde9uer45iVDmFcS8d4zw/SNws/IG+1W8Pgx4M1iCVHdGCw+O9SY006Z/H2305zTEzYXmWdaRd3j0Y2GW6Jghwy+DfKqrPTutoex8UURuk6VKdZqOgSGt0DhuG4ZU0eZmn840Q8lxDU2hTgDmtmhKTdt76JdjwSbpkITMjZb7EIFmUvcxHdimDgqjZq2VLYwI8In3Qsm9H3ORthtGv7r2TJC+Y/Sz8n5X1tkqzpbaqfuU3EUNzFIUV7/yUly/dSg5So7Yz2Ry68Ev/LNIdenKQ3CrNzYf6Kd3Ofo8uQrclP5+r/p8GAdXgyeHbzW2jzY5iYQPNd5rtJW67mZ/4F6EYMNbk52/RheuO5uVPP1PxbPvEB0Z5o7FLo9nBmB8sgguN/J++UkSG5xWE//Lw29BXFvREEl8pfoIbCQQ/GAGZJDUeN0qJHhiV1HHFcUpZb7EIgK+MJceXZPBBsJP1/kPV0wh7dJXjeN3mN+JFPVnqrB51r0lt6n2dShCdy1JlnVOfN6lM59+IXlygDjdnInbsWM6cxtWN2X5cOls9paJic/Zr+NL/Y3/o5dDa1TdDZ0pYR8ih0BOhywpcMvIyKdP5deHkISEmZcO0bz7f7IOVWDjMZnwMkTd8PIP+ng6npsvXhz0W8fcids2azIzBPbrNY8Z6tJ4BdllLfX0DJ+HGji0SF8VuQyxn/oDzZnwQZthnFB3jIvTIvIE6j5kBtSmf/TiT7WRnMp+xmvzX59QHVCddgc/oIWZDDtFSOWJrbZkezmYzc6wJ49Fks9V56VHDqioQa6vlPFytLSMz7EuejTYbd6xnUhsGpbnzDGSxs89ZTI7oKp+3KFT3UkOKQcrbXVmjv6bH1d3na9dQg4r3qVTXAsO0uGkW8+FOD6Lz/t78WTyvm5V/hwxx23BHtlnOk2+WKRrnLDUpKdFx0TWllWmpxU+0cMuF5Aj2novVHtWxuntaljwqZB/dFYEoVgw6EMea+pnye4n34NgUp9XK55dn6lRNc8RlzffG71P+TwnUXkk/okqlv3jLWnFuQnuQTVlYqFwsTs76dOakm/9WvKaniGZmh+RuS8qDULThLV6IgXiLeHvwW2sYorcBzDRBXlbOpn3pPx52vLy8P7T/ue/Z8/6wa4os5OnXXzPYvQG7yjQC0pkpzlteuokaUg6RTZr/653O/wVnKcjbmnzrsSR0UehW6ZNd5FBWqNFV73p0K7SoCMdt22aAPZNomIDiP3lyc3hT7qbhA15jRm3GzVuiV3VoQgOyj5gBRUUymTX5kl/25Z7mK8+oNaLaIJ6ir4GaK64rhPcVkhyCxh+4RddEmagEaoGZPcV/g6I/DFkAmvi7eAAEblWAcOw71Qw0NX9fPlQV+H0lv7YWaoGmeisO/BTYvDjqAIEXykH1yr7b3Swfb60SuVy62Y0KUNPRbXrfmQqR8VjTSlFrU9WXzttqE3LgJ3DMXz4aqWV+hv/A/4gMiA38E3i5CYMMUmv/twGsu7800z+Sg4HLKk/+ptm/9eg/LtvfGb1/AuXDM5uBaAMh4P9xEPi3ka6kIOJ/69mie3R7vEqrBgV+Jy+GB34qvisJqy/wD4yNHtD5EFgJBwDKeAjgH0csK7DI5lD+k8MwEFKmTTYOAtBjlBUbiQnEJmbzgIYMzEdsXjYFCYonpkFuqSZgBAkA8dqRjQHjTDYOEriJEWKHMIHYD7J5oPId4pM6KJsCx8inSUP0zKWKliIEFCzZMsOplOkLA6/3J6qYg1Mtq+F+0XlDJTtKNl5PPmOJTkQYv1LHIUgmHRXsSdHBPCdWOUqRh33Nier6IGXWLuw+p6I2gCIOAsHJLzDTbCvPxZGSfHYwSPz5T0iJcsAVXPZU+RdyPFPDpP49fNkKkc9iWemysvDLrCjHlqtMYta5DikwFpWh3DhGmPrsgVKIC/bNYZAq11LU282qKu43byvGhjgXXr4r6v+WRZRklVqj1ekNRpPZYrXZHU6X2+P1Kf6Ax7I8OgsGynXMzZZiiEZH2nuoQeaYU7W16DwtOb1AEZyjtUYQF/OEJJTKA9OVtDGl6glbWqM5GggzV3384qKBm4dXrWkSKRZAISYJdnrefPzCgCcTkOY1d4vtnxx4FK/W0YgOkcQWutRMvRZfK4C8Hi1lpO/e0NURN2mGgTB1xgFroMc1lWqnTWf9Cz1FcR25xmE7Qx11K4cey1AD') format('woff2'), + url('iconfont.woff?t=1561534862311') format('woff'), + url('iconfont.ttf?t=1561534862311') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1561534862311#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-F:before { + content: "\f003d"; +} + +.icon-15tianwuliyoutuihuo:before { + content: "\e606"; +} + +.icon-iconfonticonfonti2copycopy:before { + content: "\e62e"; +} + +.icon-jiantouarrowhead7:before { + content: "\e6bc"; +} + +.icon-bofangsanjiaoxing:before { + content: "\e769"; +} + +.icon-dingwei1:before { + content: "\e617"; +} + +.icon-youjiantou:before { + content: "\e619"; +} + +.icon-7tianwuliyoutuihuo:before { + content: "\e60e"; +} + +.icon-sanjiaoxing:before { + content: "\e620"; +} + +.icon-buoumaotubiao46:before { + content: "\e629"; +} + +.icon-tel:before { + content: "\e641"; +} + +.icon-fangdajing:before { + content: "\e63d"; +} + +.icon-my_icon:before { + content: "\e65d"; +} + +.icon-fanhuidingbu:before { + content: "\e623"; +} + +.icon-erji:before { + content: "\e605"; +} + +.icon-shoujidaoshouji:before { + content: "\e64a"; +} + +.icon-gifs:before { + content: "\e624"; +} + +.icon-jiantou:before { + content: "\e621"; +} + +.icon-duihua:before { + content: "\e710"; +} + +.icon-dianhuaqia:before { + content: "\e733"; +} + +.icon-chongzhi:before { + content: "\e65c"; +} + +.icon-shouji:before { + content: "\e525"; +} + +.icon-gouwuche:before { + content: "\e607"; +} + +.icon-youjiantou1:before { + content: "\e658"; +} + +.icon-present:before { + content: "\e611"; +} + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.eot" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..5e9a285d4f141012b90c8b0093da4f07c0fa62bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.eot" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.js" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.js" new file mode 100644 index 0000000000000000000000000000000000000000..1d120ac96efd0bc668b14ad234fd20ae00664a04 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.js" @@ -0,0 +1 @@ +!function(s){var c,t='',h=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(h&&!s.__iconfont__svg__cssinject__){s.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var h=function(){document.removeEventListener("DOMContentLoaded",h,!1),c()};document.addEventListener("DOMContentLoaded",h,!1)}else document.attachEvent&&(l=c,a=s.document,o=!1,(i=function(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(i,50)}t()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,t())});function t(){o||(o=!0,l())}var l,a,o,i}(function(){var c,h;(c=document.createElement("div")).innerHTML=t,t=null,(h=c.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",function(c,h){h.firstChild?function(c,h){h.parentNode.insertBefore(c,h)}(c,h.firstChild):h.appendChild(c)}(h,document.body))})}(window); \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.svg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..f5269cc8c727142a59f9837e20fd4f892c11407a --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.svg" @@ -0,0 +1,101 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.ttf" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..3b9dd2e7ca16388626976f473598d8c4d5570021 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.ttf" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.woff" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..f42f23160f7a24b91c3b05e052902bbd8644c35f Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.woff" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.woff2" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.woff2" new file mode 100644 index 0000000000000000000000000000000000000000..12e816ceb161961bcfcefb2c446b3224a38a5870 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/iconfont/iconfont.woff2" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/mi.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/mi.css" new file mode 100644 index 0000000000000000000000000000000000000000..743216ea271b8e52a7eb95adf751077c08e595c4 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/mi.css" @@ -0,0 +1,388 @@ +/* 头部样式开始 */ +.header{ + width: 100%; + height: 120px; + overflow: hidden; + position: relative; +} + +.header img{ + height: 120px; + /* 图片,以中间开始渲染 */ + position: absolute; + left: 50%; + transform: translateX(-50%); +} +/* 头部样式结束 */ + +/* 黑色导航样式开始 */ +.black-nav{ + width: 100%; + height: 40px; + line-height: 40px; + background-color: #333; + font-size: 12px; +} +.wrap{ + width: 1226px; + margin: 0 auto; +} +.black-nav-left{ + float: left; +} +.black-nav-right{ + float: right; +} +.black-nav li{ + float: left; + position: relative; +} +.black-nav a{ + color: #b0b0b0; +} +.black-nav span{ + color: #424242; + margin: 0 3.6px; +} +.download{ + width: 124px; + height: 0; + background: #fff; + box-shadow: 0 1px 5px #aaa; + position: absolute; + top: 40px; + left: 50%; + margin-left: -62px; + overflow:hidden; + transition: all 0.3s; + z-index: 10; +} +.download img{ + width: 90px; + margin: 18px auto 0; +} +.download p{ + color: #333; + font-size: 14px; + line-height: 14px; +} +.black-nav-left li:hover>.download{ + height: 148px; +} +.stri{ + width: 0; + height: 0; + border-bottom: 8px solid #fff; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + position:absolute; + bottom: 0; + left: 50%; + margin-left: -8px; + display: none; +} +.black-nav-left>li:hover>.stri{ + display: block; +} +.cart{ + width: 120px; + height: 40px; + background: #424242; + margin-left: 25px; + position: relative; + z-index: 10; +} +.cart:hover{ + background: #fff; +} +.cart:hover>a{ + color: #ff6700; +} +.cart i{ + font-style: normal; + margin-right: 8px; +} +.cart-list{ + width: 316px; + height: 0; + background: #fff; + box-shadow: 0 2px 10px rgba(0,0,0,0.15); + position: absolute; + right: 0; + top: 40px; + color: #424242; + overflow: hidden; + transition: all 0.3s; + line-height: 100px; +} +.cart:hover>.cart-list{ + height: 100px; +} +/* 黑色导航样式结束 */ + +/* 白色导航样式开始 */ +.white-nav{ + width: 100%; + height: 100px; + background: #fff; + position: relative; +} +.logo{ + width: 55px; + height: 55px; + background: #ff6700; + float: left; + margin-top: 22.5px; + overflow: hidden; + position: relative; +} +.logo>img{ + width: 100%; + height: 100%; + position:absolute; + top: 0; + transition: all 0.2s; +} +.mi-home{ + left: -55px; +} +.mi-logo{ + left: 0; +} +.logo:hover>.mi-home{ + left: 0; +} +.logo:hover>.mi-logo{ + left: 55px; +} +.nav-bar{ + width: 875px; + height: 100px; + line-height: 100px; + float: left; +} +.search{ + width: 296px; + height: 100px; + float: right; +} +.nav-bar li{ + float: left; +} +.nav-bar>ul>li>a{ + color: #333; + padding: 0 10px; +} + +.nav-bar>ul>li>a:hover{ + color: #ff6700; +} + +.nav-bar>ul>li:first-child img{ + margin-top: 22.5px; +} + +.search input{ + width: 244px; + height: 50px; + border:1px solid #e0e0e0; + margin-top: 25px; + /* 去掉选中的边框 */ + outline: none; + padding: 0 10px; + box-sizing: border-box; + border-right: 0; +} + +.search button{ + width: 52px; + height: 50px; + background: #fff; + border:1px solid #e0e0e0; + float: right; + margin-top: 25px; +} +.search button:hover{ + background: #ff6700; + color: #fff; +} + +.nav-bar-list{ + width: 100%; + height: 229px; + background: #fff; + border-top: 1px solid #eee; + box-shadow: 0 3px 4px rgba(0,0,0,0.1); + position: absolute; + left: 0; + top: 100px; + display: none; + z-index: 10; +} + +.nav-bar li:hover .nav-bar-list{ + display: block; +} + +.img-box{ + width: 100%; + height: 110px; + margin-top: 35px; + border-right: 1px solid #eee; + box-sizing: border-box; + margin-bottom: 16px; +} + +.nav-bar-list li:last-child .img-box{ + border-right: 0; +} + +.nav-bar-list p{ + font-size: 12px; + line-height: 20px; +} + +.name{ + color: #333; +} + +.price{ + color: #ff6700; +} +/* 白色导航样式结束 */ +/* banner样式开始 */ +.banner{ + width: 100%; + height: 460px; +} +.banner-img{ + width: 100%; +} +.banner>.wrap{ + position: relative; +} +.slide{ + width: 234px; + height: 420px; + padding: 20px 0; + background: rgba(105,101,101,0.6); + position: absolute; + left: 0; + top: 0; +} + +.slide>ul>li{ + height: 42px; + line-height: 42px; + text-align: left; + padding-left: 30px; + font-size: 14px; +} +.slide>ul>li:hover{ + background: #ff6700; +} +.slide>ul>li>a{ + color: #fff; +} +.slide i{ + float: right; + padding-right: 20px; +} + +.slide-list{ + width: 992px; + height: 460px; + background: #fff; + border: 1px solid #e0e0e0; + border-left: none; + box-sizing: border-box; + box-shadow: 0 8px 16px rgba(0,0,0,0.18); + padding-top: 2px; + position: absolute; + top: 0; + left: 234px; + display: none; +} +.slide-list ul{ + width: 100%; +} + +.slide-list ul li{ + width: 247.75px; + float: left; + height: 76px; + padding: 18px 0 18px 20px; + box-sizing: border-box; + line-height: 40px; +} +.slide-list img{ + width: 40px; + margin-right: 14px; +} +.slide-list span{ + color: #333; + font-size: 14px; + /* 一行宽度不够的时候,用...代替 */ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + position: relative; + top: -14px; +} +.slide li:hover .slide-list{ + display: block; +} + +.slide-list li:hover span{ + color: #ff6700; +} +/* banner样式结束 */ +/* 广告样式开始 */ +.ad{ + width: 100%; + height: 170px; + padding: 14px 0 26px; + background: #fff; +} + +.ad-aside{ + width: 234px; + height: 170px; + background: #5f5750; + padding: 3px; + box-sizing: border-box; + font-size: 12px; + float: left; +} + +.ad-aside li{ + float: left; + width: 76px; + height: 82px; + padding-top: 18px; + box-sizing: border-box; + opacity: 0.7; +} + +.ad-aside a{ + color: #fff; +} +.ad-aside i{ + font-size: 24px; + margin-bottom: 4px; + display: block; +} +.ad-aside li:hover{ + opacity: 1; +} +.ad-img{ + width: 316px; + height: 170px; + float: left; + margin-left: 14px; +} + +.ad-img img{ + width: 100%; +} +/* 广告样式结束 */ \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/reset.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..be2dc78d18b6bec6cf9115f7b6f31495e6c73e20 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;font-family: Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;} +li{ list-style: none;} +a{text-decoration: none;} +img{border: none;} \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a70e7760dd848d296634e193f100d303c22784ec Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/banner.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/banner.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a7dedb23d9ca63f06bca42993ca2469ca11ebb93 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/banner.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/download.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/download.png" new file mode 100644 index 0000000000000000000000000000000000000000..8ace029704d62e8173ee6d55c037aff4315488fd Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/download.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/mi-home.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/mi-home.png" new file mode 100644 index 0000000000000000000000000000000000000000..cb3ea82de3c11402e99f4add187c49db4de6f958 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/mi-home.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/mi-logo.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/mi-logo.png" new file mode 100644 index 0000000000000000000000000000000000000000..82de5d977bca6d3131baec5696deac1c77df29d7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/mi-logo.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone-right.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone-right.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..29d6158b84d292d5c2693486a41d7bad10752813 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone-right.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone.png" new file mode 100644 index 0000000000000000000000000000000000000000..413d28d043d4d9495f8d4e9bbcf3aaa068d578b2 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone_ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone_ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..512ec1b87db7453a7765477f88fc7a709c249f18 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone_ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone_left.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone_left.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..40d4f53d4f48177808edead35691347a3f770fae Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/phone_left.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/top.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/top.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a1c3c4ba18304ed49a5d826cf2dd3d56b4ff27c1 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/top.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/zzxsh.gif" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/zzxsh.gif" new file mode 100644 index 0000000000000000000000000000000000000000..bb6222f926a49166214a8a471bb9044c509f67e0 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/images/zzxsh.gif" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..4785ab69ce70188ce68b76df7dc0abc297fc9030 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/05_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\271\277\345\221\212/index.html" @@ -0,0 +1,262 @@ + + + + + + + 小米 + + + + + + + +
+ + + +
+ + + +
+
+ + +
+
+ + + + + + + + +
+ +
+ + + + \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/demo.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/demo.css" new file mode 100644 index 0000000000000000000000000000000000000000..a67054a0a030993643b8cbe9f344b34706efa134 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/demo.css" @@ -0,0 +1,539 @@ +/* Logo 字体 */ +@font-face { + font-family: "iconfont logo"; + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834'); + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg'); +} + +.logo { + font-family: "iconfont logo"; + font-size: 160px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* tabs */ +.nav-tabs { + position: relative; +} + +.nav-tabs .nav-more { + position: absolute; + right: 0; + bottom: 0; + height: 42px; + line-height: 42px; + color: #666; +} + +#tabs { + border-bottom: 1px solid #eee; +} + +#tabs li { + cursor: pointer; + width: 100px; + height: 40px; + line-height: 40px; + text-align: center; + font-size: 16px; + border-bottom: 2px solid transparent; + position: relative; + z-index: 1; + margin-bottom: -1px; + color: #666; +} + + +#tabs .active { + border-bottom-color: #f00; + color: #222; +} + +.tab-container .content { + display: none; +} + +/* 页面布局 */ +.main { + padding: 30px 100px; + width: 960px; + margin: 0 auto; +} + +.main .logo { + color: #333; + text-align: left; + margin-bottom: 30px; + line-height: 1; + height: 110px; + margin-top: -50px; + overflow: hidden; + *zoom: 1; +} + +.main .logo a { + font-size: 160px; + color: #333; +} + +.helps { + margin-top: 40px; +} + +.helps pre { + padding: 20px; + margin: 10px 0; + border: solid 1px #e7e1cd; + background-color: #fffdef; + overflow: auto; +} + +.icon_lists { + width: 100% !important; + overflow: hidden; + *zoom: 1; +} + +.icon_lists li { + width: 100px; + margin-bottom: 10px; + margin-right: 20px; + text-align: center; + list-style: none !important; + cursor: default; +} + +.icon_lists li .code-name { + line-height: 1.2; +} + +.icon_lists .icon { + display: block; + height: 100px; + line-height: 100px; + font-size: 42px; + margin: 10px auto; + color: #333; + -webkit-transition: font-size 0.25s linear, width 0.25s linear; + -moz-transition: font-size 0.25s linear, width 0.25s linear; + transition: font-size 0.25s linear, width 0.25s linear; +} + +.icon_lists .icon:hover { + font-size: 100px; +} + +.icon_lists .svg-icon { + /* 通过设置 font-size 来改变图标大小 */ + width: 1em; + /* 图标和文字相邻时,垂直对齐 */ + vertical-align: -0.15em; + /* 通过设置 color 来改变 SVG 的颜色/fill */ + fill: currentColor; + /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示 + normalize.css 中也包含这行 */ + overflow: hidden; +} + +.icon_lists li .name, +.icon_lists li .code-name { + color: #666; +} + +/* markdown 样式 */ +.markdown { + color: #666; + font-size: 14px; + line-height: 1.8; +} + +.highlight { + line-height: 1.5; +} + +.markdown img { + vertical-align: middle; + max-width: 100%; +} + +.markdown h1 { + color: #404040; + font-weight: 500; + line-height: 40px; + margin-bottom: 24px; +} + +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + color: #404040; + margin: 1.6em 0 0.6em 0; + font-weight: 500; + clear: both; +} + +.markdown h1 { + font-size: 28px; +} + +.markdown h2 { + font-size: 22px; +} + +.markdown h3 { + font-size: 16px; +} + +.markdown h4 { + font-size: 14px; +} + +.markdown h5 { + font-size: 12px; +} + +.markdown h6 { + font-size: 12px; +} + +.markdown hr { + height: 1px; + border: 0; + background: #e9e9e9; + margin: 16px 0; + clear: both; +} + +.markdown p { + margin: 1em 0; +} + +.markdown>p, +.markdown>blockquote, +.markdown>.highlight, +.markdown>ol, +.markdown>ul { + width: 80%; +} + +.markdown ul>li { + list-style: circle; +} + +.markdown>ul li, +.markdown blockquote ul>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown>ul li p, +.markdown>ol li p { + margin: 0.6em 0; +} + +.markdown ol>li { + list-style: decimal; +} + +.markdown>ol li, +.markdown blockquote ol>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown code { + margin: 0 3px; + padding: 0 5px; + background: #eee; + border-radius: 3px; +} + +.markdown strong, +.markdown b { + font-weight: 600; +} + +.markdown>table { + border-collapse: collapse; + border-spacing: 0px; + empty-cells: show; + border: 1px solid #e9e9e9; + width: 95%; + margin-bottom: 24px; +} + +.markdown>table th { + white-space: nowrap; + color: #333; + font-weight: 600; +} + +.markdown>table th, +.markdown>table td { + border: 1px solid #e9e9e9; + padding: 8px 16px; + text-align: left; +} + +.markdown>table th { + background: #F7F7F7; +} + +.markdown blockquote { + font-size: 90%; + color: #999; + border-left: 4px solid #e9e9e9; + padding-left: 0.8em; + margin: 1em 0; +} + +.markdown blockquote p { + margin: 0; +} + +.markdown .anchor { + opacity: 0; + transition: opacity 0.3s ease; + margin-left: 8px; +} + +.markdown .waiting { + color: #ccc; +} + +.markdown h1:hover .anchor, +.markdown h2:hover .anchor, +.markdown h3:hover .anchor, +.markdown h4:hover .anchor, +.markdown h5:hover .anchor, +.markdown h6:hover .anchor { + opacity: 1; + display: inline-block; +} + +.markdown>br, +.markdown>p>br { + clear: both; +} + + +.hljs { + display: block; + background: white; + padding: 0.5em; + color: #333333; + overflow-x: auto; +} + +.hljs-comment, +.hljs-meta { + color: #969896; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-strong, +.hljs-emphasis, +.hljs-quote { + color: #df5000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #a71d5d; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute { + color: #0086b3; +} + +.hljs-section, +.hljs-name { + color: #63a35c; +} + +.hljs-tag { + color: #333333; +} + +.hljs-title, +.hljs-attr, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #795da3; +} + +.hljs-addition { + color: #55a532; + background-color: #eaffea; +} + +.hljs-deletion { + color: #bd2c00; + background-color: #ffecec; +} + +.hljs-link { + text-decoration: underline; +} + +/* 代码高亮 */ +/* PrismJS 1.15.0 +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre)>code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre)>code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/demo_index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/demo_index.html" new file mode 100644 index 0000000000000000000000000000000000000000..b1ac8517cfb86548221abfccb3b881ee7edfb6bd --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/demo_index.html" @@ -0,0 +1,743 @@ + + + + + IconFont Demo + + + + + + + + + + + +
+

+ +
+
+
    + +
  • + 󰀽 +
    F
    +
    &#xf003d;
    +
  • + +
  • + +
    15天无理由退货
    +
    &#xe606;
    +
  • + +
  • + +
    右箭头
    +
    &#xe62e;
    +
  • + +
  • + +
    箭头
    +
    &#xe6bc;
    +
  • + +
  • + +
    播放 三角形
    +
    &#xe769;
    +
  • + +
  • + +
    定位 (1)
    +
    &#xe617;
    +
  • + +
  • + +
    右箭头
    +
    &#xe619;
    +
  • + +
  • + +
    7天无理由退货
    +
    &#xe60e;
    +
  • + +
  • + +
    三角形
    +
    &#xe620;
    +
  • + +
  • + +
    维修
    +
    &#xe629;
    +
  • + +
  • + +
    手机
    +
    &#xe641;
    +
  • + +
  • + +
    放大镜
    +
    &#xe63d;
    +
  • + +
  • + +
    我的
    +
    &#xe65d;
    +
  • + +
  • + +
    返回顶部
    +
    &#xe623;
    +
  • + +
  • + +
    耳机
    +
    &#xe605;
    +
  • + +
  • + +
    手机到手机
    +
    &#xe64a;
    +
  • + +
  • + +
    礼物
    +
    &#xe624;
    +
  • + +
  • + +
    箭头
    +
    &#xe621;
    +
  • + +
  • + +
    对话
    +
    &#xe710;
    +
  • + +
  • + +
    电话卡
    +
    &#xe733;
    +
  • + +
  • + +
    充值
    +
    &#xe65c;
    +
  • + +
  • + +
    手机
    +
    &#xe525;
    +
  • + +
  • + +
    购物车
    +
    &#xe607;
    +
  • + +
  • + +
    右箭头
    +
    &#xe658;
    +
  • + +
  • + +
    礼物
    +
    &#xe611;
    +
  • + +
+
+

Unicode 引用

+
+ +

Unicode 是字体在网页端最原始的应用方式,特点是:

+
    +
  • 兼容性最好,支持 IE6+,及所有现代浏览器。
  • +
  • 支持按字体的方式去动态调整图标大小,颜色等等。
  • +
  • 但是因为是字体,所以不支持多色。只能使用平台里单色的图标,就算项目里有多色图标也会自动去色。
  • +
+
+

注意:新版 iconfont 支持多色图标,这些多色图标在 Unicode 模式下将不能使用,如果有需求建议使用symbol 的引用方式

+
+

Unicode 使用步骤如下:

+

第一步:拷贝项目下面生成的 @font-face

+
@font-face {
+  font-family: 'iconfont';
+  src: url('iconfont.eot');
+  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
+      url('iconfont.woff2') format('woff2'),
+      url('iconfont.woff') format('woff'),
+      url('iconfont.ttf') format('truetype'),
+      url('iconfont.svg#iconfont') format('svg');
+}
+
+

第二步:定义使用 iconfont 的样式

+
.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+

第三步:挑选相应图标并获取字体编码,应用于页面

+
+<span class="iconfont">&#x33;</span>
+
+
+

"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    + F +
    +
    .icon-F +
    +
  • + +
  • + +
    + 15天无理由退货 +
    +
    .icon-15tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-iconfonticonfonti2copycopy +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantouarrowhead7 +
    +
  • + +
  • + +
    + 播放 三角形 +
    +
    .icon-bofangsanjiaoxing +
    +
  • + +
  • + +
    + 定位 (1) +
    +
    .icon-dingwei1 +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou +
    +
  • + +
  • + +
    + 7天无理由退货 +
    +
    .icon-7tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 三角形 +
    +
    .icon-sanjiaoxing +
    +
  • + +
  • + +
    + 维修 +
    +
    .icon-buoumaotubiao46 +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-tel +
    +
  • + +
  • + +
    + 放大镜 +
    +
    .icon-fangdajing +
    +
  • + +
  • + +
    + 我的 +
    +
    .icon-my_icon +
    +
  • + +
  • + +
    + 返回顶部 +
    +
    .icon-fanhuidingbu +
    +
  • + +
  • + +
    + 耳机 +
    +
    .icon-erji +
    +
  • + +
  • + +
    + 手机到手机 +
    +
    .icon-shoujidaoshouji +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-gifs +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantou +
    +
  • + +
  • + +
    + 对话 +
    +
    .icon-duihua +
    +
  • + +
  • + +
    + 电话卡 +
    +
    .icon-dianhuaqia +
    +
  • + +
  • + +
    + 充值 +
    +
    .icon-chongzhi +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-shouji +
    +
  • + +
  • + +
    + 购物车 +
    +
    .icon-gouwuche +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou1 +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-present +
    +
  • + +
+
+

font-class 引用

+
+ +

font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。

+

与 Unicode 使用方式相比,具有如下特点:

+
    +
  • 兼容性良好,支持 IE8+,及所有现代浏览器。
  • +
  • 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
  • +
  • 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
  • +
  • 不过因为本质上还是使用的字体,所以多色图标还是不支持的。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 fontclass 代码:

+
<link rel="stylesheet" href="./iconfont.css">
+
+

第二步:挑选相应图标并获取类名,应用于页面:

+
<span class="iconfont icon-xxx"></span>
+
+
+

" + iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    F
    +
    #icon-F
    +
  • + +
  • + +
    15天无理由退货
    +
    #icon-15tianwuliyoutuihuo
    +
  • + +
  • + +
    右箭头
    +
    #icon-iconfonticonfonti2copycopy
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantouarrowhead7
    +
  • + +
  • + +
    播放 三角形
    +
    #icon-bofangsanjiaoxing
    +
  • + +
  • + +
    定位 (1)
    +
    #icon-dingwei1
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou
    +
  • + +
  • + +
    7天无理由退货
    +
    #icon-7tianwuliyoutuihuo
    +
  • + +
  • + +
    三角形
    +
    #icon-sanjiaoxing
    +
  • + +
  • + +
    维修
    +
    #icon-buoumaotubiao46
    +
  • + +
  • + +
    手机
    +
    #icon-tel
    +
  • + +
  • + +
    放大镜
    +
    #icon-fangdajing
    +
  • + +
  • + +
    我的
    +
    #icon-my_icon
    +
  • + +
  • + +
    返回顶部
    +
    #icon-fanhuidingbu
    +
  • + +
  • + +
    耳机
    +
    #icon-erji
    +
  • + +
  • + +
    手机到手机
    +
    #icon-shoujidaoshouji
    +
  • + +
  • + +
    礼物
    +
    #icon-gifs
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantou
    +
  • + +
  • + +
    对话
    +
    #icon-duihua
    +
  • + +
  • + +
    电话卡
    +
    #icon-dianhuaqia
    +
  • + +
  • + +
    充值
    +
    #icon-chongzhi
    +
  • + +
  • + +
    手机
    +
    #icon-shouji
    +
  • + +
  • + +
    购物车
    +
    #icon-gouwuche
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou1
    +
  • + +
  • + +
    礼物
    +
    #icon-present
    +
  • + +
+
+

Symbol 引用

+
+ +

这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 + 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:

+
    +
  • 支持多色图标了,不再受单色限制。
  • +
  • 通过一些技巧,支持像字体那样,通过 font-size, color 来调整样式。
  • +
  • 兼容性较差,支持 IE9+,及现代浏览器。
  • +
  • 浏览器渲染 SVG 的性能一般,还不如 png。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 symbol 代码:

+
<script src="./iconfont.js"></script>
+
+

第二步:加入通用 CSS 代码(引入一次就行):

+
<style>
+.icon {
+  width: 1em;
+  height: 1em;
+  vertical-align: -0.15em;
+  fill: currentColor;
+  overflow: hidden;
+}
+</style>
+
+

第三步:挑选相应图标并获取类名,应用于页面:

+
<svg class="icon" aria-hidden="true">
+  <use xlink:href="#icon-xxx"></use>
+</svg>
+
+
+
+ +
+
+ + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..82b55e328cc0b42679e713b74141f4d4aacd6518 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.css" @@ -0,0 +1,117 @@ +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1561534862311'); /* IE9 */ + src: url('iconfont.eot?t=1561534862311#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABFwAAsAAAAAHwAAABEjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGTgqqVKFYATYCJANoCzYABCAFhG0HgnYbghlFRoWNAwiCfFWy/8sEbg6cHSoHC2MTVdfaiqoBixK7WOwOGSqE4yw/B7GUIWI/rNT/+f6GqqcOpfx53LSX/CBJkASxFqpGbULFAqVitDAxZt5p5/Vpb6N3TGBylZl0ou3M240z7xknIlyu5TO4qghVIkWo0Hb2kg0c7YWejCiF7G79gDhgS7jBnJrUsmQXDSPk14EhA2bpK33BbrJxwocQOAZDm58L/de6xa50DUUSYsRv4xQBEOCYhv7T4FxpkYX7wRMLs+mpdy45TNoc5DhP3GF7jxkAKRRmQmN7T70HQLUpQEnSzVg7KE2bZ08pqPCvBCQwGJt5ugobC6OAKerK+O/5AQYAFBgkwjjLx3etBwToAoZeC+YqqPUoNxAFmRgI7fyMcQkMc+GBEN9yBgFgB/n72DeQNkIAHHgI9AVV30dRu3nTH0DkExPrsFccA4DNeAAIABIBEAC4LLMFEwHycSIRqSyegGEAiBWq7qTw8ygCv8TPUtMKEylOshwF9sg4qB5TenMfAJXieVVDRRx24Np1hkGsEZ9YNZkxNu0/8QBUpICDmhC0+CAAEmQkwKIAgQhoYGgoiYEAOQUeAMYH9BQBAGDZGtV6diarCKiAn1cEpAB+fhHAAfyCIqAGfkkREAL42SKgBX61ACxECwFAQkGBBAkDBRlIBAQQRSIhAEgcKFAgyaCAQHJAQQRSAAo0SCkoMCBjQUEDMhEUlCCTQEEMMoAiQAB8wVCQE5IOCgqQuSgEPJBCjmUyiTpnnAwAC9X454HQTbcNEoYBYdVggE9xEdEYaQAlBjwQgwCZAmAxgjoOQioVE0fKZTIkcn1SLA7GkCIG6YM1WpYixKYWLQpvIQUCBcMIrYYgwp1QKRKalggE8jRMbHRKCJmcUQJFA0FbnaYMQiHDqBgxISJPGYNIH8wQUkqmWjvCxfbqTwmk9u/w//JT+EzceDgRPZXNlcw/4afyEuWDOZG5cZRhvmglKZFfmwuPZtoRg3Qm5gAP2X6nNDOOUUgcncmnf4lTP0lsmihcxlhfYVwYHaKjFT73dI3OOVVldTL75Ily7/BpOvZ0wCvEOHFSkjKbcSp7/5pi+RAQZKTA7etBjmavHLp68bfnpfIl27no3IvMiefu35efMPMTp7xOd/6IyS8i75N/SOWdtv3p9+Nb6TQned5gQq80hcuqf8QPcpalLE+xMjFdTUxWxdQdsRJuQ5/C47Jk77ehUtYxIYg0cUaMnD7mTbYTTTfmAhgoq2gYwmCaSRrquAwL8+/fvXOazfEUDbjpSm77AbWoASpkllO+yX6bc2pLT1ZaaAln0CDryr9cY8lbCf2gVBgxosEPwA+eEKERZWYpZac5BR1RzObsdBWOEHc1Vh3TnavN1AuV0V1hGXlBjVZZT07d1zr043JBGR2dPYcZ+G77pCpt8dkt8tSvJ01F0OkGiCyU7FojSYlxEECYJNeEaCa8f0rnAVVogN2ZDKyfgN3WP91FJA9g90lZCHL7IU1dFfP4zT/hAi4L0pCZQQBIaAhk5RF6Es1sW1hHrElbmH85+mfNrb0/FrFiT4Fmn7UgDXKBHXxuw2ffzWkmzNaVvxkHuIgrcLosg6t28oFiPhRnnUIIYIguu3X7su+JKfPOKLuVcqznjmrF5pjOXGsIN9gY3RHWz7EyIEgF67wGO2kVuZqiti5JhiQ6KAJLhzBAeyzhZBS+TYZqSKObAQSzIK/zACFDozxtP7OZ6bJYyX30t5971vxs2i+26KNkT/GT+pPRsUefROPA4Grhthfx9v7P0wntWOHhs8QBGnxTdmxllqeXKqcwN6XxQbTtdXoswPjXePJPXKIy9JUwvc5KH2h72/W2F+W93CflaVq7fn1kVKb8w4zqq7G+V33d+nH23pHjHOHP/5/Y/uyvFdonf4xre/rvcswlEQiNK9y+xvpaansRbUOvX7ClAtv30LjEpQ0ujtK7dSl6m73+GfbcgJfGLOG5tnfwbsNhnUELYz77ZAXgpH4vXx/VMdI4N7XGtmfnBQ4hFxWrY+CbHYkjwFGPCQAT0fAytlCFjvIUN44yRox1Z3HjSGPMcEfLK9tvB9J4Q6wJmg4gVWXHtabbKwAIXxgVgjHvQsdUo6wucZwh0n/CEXszDtFCHh6Ez/5b0ffJP+PuDgxZtB6rRfWHI4IpeE8v0RlanhzFJAIRpwu1FhJdetpFTJ71HQUIh2wMREU6E8McHw1wgUy7r+XrgCCDpOzMNg+IMqpl2rzka5360XnQxt7/K6dQv2/ESIcQe+99tqCCebB/vxZy/bxiZET+/pIJF064fALYQUd00tBzTJ+5wTYOOAKpZcrwbt9n/01op8GoPKeNVKb3l2pjqaYn/xwe6DSCUDy4PRMIcW8QDuioJWtL483vfgh2hl6+ThrTcXZBUhDL2vTjhd8rllELl1q0OYM579xFAsROcV5HjqDJ1+J2p9v+eMa6UI173fjUWBiYE9GYZyXHiY7FuxaM3SUaqxp403AtpILcpS+MvTT2zfaLLc26QvJl3eXfZN1UWXnz2omdkeUU/fHTNYnm+WMXts3LqBFPocfFH8ssNs0E6Z3GdMcIhUqWOo4RL1OmfjNfsnj8J5Noqp6/dQM2CcuVsYKQ+OhigleHagoJ7ZODhIzhm1QdwYqO1LAoBSiS7Vn2Rasd2Y4O2LMG1mniAlIqENWo/NFq/T8hAA7XoTvDBEmx9UdwBe7KGQ8NZ75mnjJfnzE8jEz/67Cvl27CrxZOBNx2SX5O2o52PXjoRjvRLAftYtrk59Hd5a34mT7UJmn4ZRPH/bpZvBJve8vbnr5isxkMlfDKxwkSSf7cn5xcNVfFgXEDcY/g3bPBgXDcDfvdnYiOfvTRUSLA6UBH0RF1bUfs/Yd6V4bHsfL03oOeoHSdZ968bB+rZ325C+fTHxNAJg3Dluf3aE3bPyEEwv6mYOj6Tv1d1+9tt+M7P30xesf7N/cyj0ThP6sfih79FPFItZf+x53fHsmnnnfBC3j6wsetTdh54rvviF7Oue++P4/c2Psno7aWMnPKV3DFOcuA91pxxtTPUv1TUJ8Nrr19Z5b8A/msVVkpm7VwoUPuuHNb6IMvUCDDlP5zRpElTofSdboSQNwxC2f26oJmXdBKvug58+ekoyiFtX1EXZUt9v3EuaOU6urYmIkRN83WitKnhimprYrm/LbahD+VONN5QCupStq9xWq+GTExpkU5taZ1buL7sbaq/MKMk+wEzVUwupYOqwZ5a3mD1cP56y7KH9J84XpDb1iKrMO+j+DOul70ztuoM3veeQehCwL1/kHI1uK9vfiaANO+Fq1BITghgyMMGubRIyw5IoV1dcOhM7M4xt6BOVDziZPNeIBZBmrGHPaO4pjO6IFnMjeiP7TpaWXPT/cv4ADAMy3qO5ro/JBGMvfAM30aPq+jYy4mICCKz92CRjjbAVlLHG3XF5FPFU/JXKpf0U8taL0+i32fdWy4qCUH5IOk9ob0z4qB51VTSWb7FGdLZkVJ+0hCamqGitHkK5qrWw5wo4NJL8VkWPfu+WoPRoktCfmc0Rlj/6JPY3jH7AnXlG4ia/QP7343UkRhRe5jRd4fJF4y+MVtRR7JcJKrpGHWgtT1c5OON5S4YqjbrXVfebZzVj3pJdkde9uer45iVDmFcS8d4zw/SNws/IG+1W8Pgx4M1iCVHdGCw+O9SY006Z/H2305zTEzYXmWdaRd3j0Y2GW6Jghwy+DfKqrPTutoex8UURuk6VKdZqOgSGt0DhuG4ZU0eZmn840Q8lxDU2hTgDmtmhKTdt76JdjwSbpkITMjZb7EIFmUvcxHdimDgqjZq2VLYwI8In3Qsm9H3ORthtGv7r2TJC+Y/Sz8n5X1tkqzpbaqfuU3EUNzFIUV7/yUly/dSg5So7Yz2Ry68Ev/LNIdenKQ3CrNzYf6Kd3Ofo8uQrclP5+r/p8GAdXgyeHbzW2jzY5iYQPNd5rtJW67mZ/4F6EYMNbk52/RheuO5uVPP1PxbPvEB0Z5o7FLo9nBmB8sgguN/J++UkSG5xWE//Lw29BXFvREEl8pfoIbCQQ/GAGZJDUeN0qJHhiV1HHFcUpZb7EIgK+MJceXZPBBsJP1/kPV0wh7dJXjeN3mN+JFPVnqrB51r0lt6n2dShCdy1JlnVOfN6lM59+IXlygDjdnInbsWM6cxtWN2X5cOls9paJic/Zr+NL/Y3/o5dDa1TdDZ0pYR8ih0BOhywpcMvIyKdP5deHkISEmZcO0bz7f7IOVWDjMZnwMkTd8PIP+ng6npsvXhz0W8fcids2azIzBPbrNY8Z6tJ4BdllLfX0DJ+HGji0SF8VuQyxn/oDzZnwQZthnFB3jIvTIvIE6j5kBtSmf/TiT7WRnMp+xmvzX59QHVCddgc/oIWZDDtFSOWJrbZkezmYzc6wJ49Fks9V56VHDqioQa6vlPFytLSMz7EuejTYbd6xnUhsGpbnzDGSxs89ZTI7oKp+3KFT3UkOKQcrbXVmjv6bH1d3na9dQg4r3qVTXAsO0uGkW8+FOD6Lz/t78WTyvm5V/hwxx23BHtlnOk2+WKRrnLDUpKdFx0TWllWmpxU+0cMuF5Aj2novVHtWxuntaljwqZB/dFYEoVgw6EMea+pnye4n34NgUp9XK55dn6lRNc8RlzffG71P+TwnUXkk/okqlv3jLWnFuQnuQTVlYqFwsTs76dOakm/9WvKaniGZmh+RuS8qDULThLV6IgXiLeHvwW2sYorcBzDRBXlbOpn3pPx52vLy8P7T/ue/Z8/6wa4os5OnXXzPYvQG7yjQC0pkpzlteuokaUg6RTZr/653O/wVnKcjbmnzrsSR0UehW6ZNd5FBWqNFV73p0K7SoCMdt22aAPZNomIDiP3lyc3hT7qbhA15jRm3GzVuiV3VoQgOyj5gBRUUymTX5kl/25Z7mK8+oNaLaIJ6ir4GaK64rhPcVkhyCxh+4RddEmagEaoGZPcV/g6I/DFkAmvi7eAAEblWAcOw71Qw0NX9fPlQV+H0lv7YWaoGmeisO/BTYvDjqAIEXykH1yr7b3Swfb60SuVy62Y0KUNPRbXrfmQqR8VjTSlFrU9WXzttqE3LgJ3DMXz4aqWV+hv/A/4gMiA38E3i5CYMMUmv/twGsu7800z+Sg4HLKk/+ptm/9eg/LtvfGb1/AuXDM5uBaAMh4P9xEPi3ka6kIOJ/69mie3R7vEqrBgV+Jy+GB34qvisJqy/wD4yNHtD5EFgJBwDKeAjgH0csK7DI5lD+k8MwEFKmTTYOAtBjlBUbiQnEJmbzgIYMzEdsXjYFCYonpkFuqSZgBAkA8dqRjQHjTDYOEriJEWKHMIHYD7J5oPId4pM6KJsCx8inSUP0zKWKliIEFCzZMsOplOkLA6/3J6qYg1Mtq+F+0XlDJTtKNl5PPmOJTkQYv1LHIUgmHRXsSdHBPCdWOUqRh33Nier6IGXWLuw+p6I2gCIOAsHJLzDTbCvPxZGSfHYwSPz5T0iJcsAVXPZU+RdyPFPDpP49fNkKkc9iWemysvDLrCjHlqtMYta5DikwFpWh3DhGmPrsgVKIC/bNYZAq11LU282qKu43byvGhjgXXr4r6v+WRZRklVqj1ekNRpPZYrXZHU6X2+P1Kf6Ax7I8OgsGynXMzZZiiEZH2nuoQeaYU7W16DwtOb1AEZyjtUYQF/OEJJTKA9OVtDGl6glbWqM5GggzV3384qKBm4dXrWkSKRZAISYJdnrefPzCgCcTkOY1d4vtnxx4FK/W0YgOkcQWutRMvRZfK4C8Hi1lpO/e0NURN2mGgTB1xgFroMc1lWqnTWf9Cz1FcR25xmE7Qx11K4cey1AD') format('woff2'), + url('iconfont.woff?t=1561534862311') format('woff'), + url('iconfont.ttf?t=1561534862311') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1561534862311#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-F:before { + content: "\f003d"; +} + +.icon-15tianwuliyoutuihuo:before { + content: "\e606"; +} + +.icon-iconfonticonfonti2copycopy:before { + content: "\e62e"; +} + +.icon-jiantouarrowhead7:before { + content: "\e6bc"; +} + +.icon-bofangsanjiaoxing:before { + content: "\e769"; +} + +.icon-dingwei1:before { + content: "\e617"; +} + +.icon-youjiantou:before { + content: "\e619"; +} + +.icon-7tianwuliyoutuihuo:before { + content: "\e60e"; +} + +.icon-sanjiaoxing:before { + content: "\e620"; +} + +.icon-buoumaotubiao46:before { + content: "\e629"; +} + +.icon-tel:before { + content: "\e641"; +} + +.icon-fangdajing:before { + content: "\e63d"; +} + +.icon-my_icon:before { + content: "\e65d"; +} + +.icon-fanhuidingbu:before { + content: "\e623"; +} + +.icon-erji:before { + content: "\e605"; +} + +.icon-shoujidaoshouji:before { + content: "\e64a"; +} + +.icon-gifs:before { + content: "\e624"; +} + +.icon-jiantou:before { + content: "\e621"; +} + +.icon-duihua:before { + content: "\e710"; +} + +.icon-dianhuaqia:before { + content: "\e733"; +} + +.icon-chongzhi:before { + content: "\e65c"; +} + +.icon-shouji:before { + content: "\e525"; +} + +.icon-gouwuche:before { + content: "\e607"; +} + +.icon-youjiantou1:before { + content: "\e658"; +} + +.icon-present:before { + content: "\e611"; +} + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.eot" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..5e9a285d4f141012b90c8b0093da4f07c0fa62bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.eot" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.js" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.js" new file mode 100644 index 0000000000000000000000000000000000000000..1d120ac96efd0bc668b14ad234fd20ae00664a04 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.js" @@ -0,0 +1 @@ +!function(s){var c,t='',h=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(h&&!s.__iconfont__svg__cssinject__){s.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var h=function(){document.removeEventListener("DOMContentLoaded",h,!1),c()};document.addEventListener("DOMContentLoaded",h,!1)}else document.attachEvent&&(l=c,a=s.document,o=!1,(i=function(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(i,50)}t()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,t())});function t(){o||(o=!0,l())}var l,a,o,i}(function(){var c,h;(c=document.createElement("div")).innerHTML=t,t=null,(h=c.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",function(c,h){h.firstChild?function(c,h){h.parentNode.insertBefore(c,h)}(c,h.firstChild):h.appendChild(c)}(h,document.body))})}(window); \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.svg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..f5269cc8c727142a59f9837e20fd4f892c11407a --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.svg" @@ -0,0 +1,101 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.ttf" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..3b9dd2e7ca16388626976f473598d8c4d5570021 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.ttf" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.woff" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..f42f23160f7a24b91c3b05e052902bbd8644c35f Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.woff" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.woff2" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.woff2" new file mode 100644 index 0000000000000000000000000000000000000000..12e816ceb161961bcfcefb2c446b3224a38a5870 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/iconfont/iconfont.woff2" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/mi.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/mi.css" new file mode 100644 index 0000000000000000000000000000000000000000..1d88d216810a349e53b58701f896829b0b2b9248 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/mi.css" @@ -0,0 +1,476 @@ +/* 头部样式开始 */ +.header{ + width: 100%; + height: 120px; + overflow: hidden; + position: relative; +} + +.header img{ + height: 120px; + /* 图片,以中间开始渲染 */ + position: absolute; + left: 50%; + transform: translateX(-50%); +} +/* 头部样式结束 */ + +/* 黑色导航样式开始 */ +.black-nav{ + width: 100%; + height: 40px; + line-height: 40px; + background-color: #333; + font-size: 12px; +} +.wrap{ + width: 1226px; + margin: 0 auto; +} +.black-nav-left{ + float: left; +} +.black-nav-right{ + float: right; +} +.black-nav li{ + float: left; + position: relative; +} +.black-nav a{ + color: #b0b0b0; +} +.black-nav span{ + color: #424242; + margin: 0 3.6px; +} +.download{ + width: 124px; + height: 0; + background: #fff; + box-shadow: 0 1px 5px #aaa; + position: absolute; + top: 40px; + left: 50%; + margin-left: -62px; + overflow:hidden; + transition: all 0.3s; + z-index: 10; +} +.download img{ + width: 90px; + margin: 18px auto 0; +} +.download p{ + color: #333; + font-size: 14px; + line-height: 14px; +} +.black-nav-left li:hover>.download{ + height: 148px; +} +.stri{ + width: 0; + height: 0; + border-bottom: 8px solid #fff; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + position:absolute; + bottom: 0; + left: 50%; + margin-left: -8px; + display: none; +} +.black-nav-left>li:hover>.stri{ + display: block; +} +.cart{ + width: 120px; + height: 40px; + background: #424242; + margin-left: 25px; + position: relative; + z-index: 10; +} +.cart:hover{ + background: #fff; +} +.cart:hover>a{ + color: #ff6700; +} +.cart i{ + font-style: normal; + margin-right: 8px; +} +.cart-list{ + width: 316px; + height: 0; + background: #fff; + box-shadow: 0 2px 10px rgba(0,0,0,0.15); + position: absolute; + right: 0; + top: 40px; + color: #424242; + overflow: hidden; + transition: all 0.3s; + line-height: 100px; +} +.cart:hover>.cart-list{ + height: 100px; +} +/* 黑色导航样式结束 */ + +/* 白色导航样式开始 */ +.white-nav{ + width: 100%; + height: 100px; + background: #fff; + position: relative; +} +.logo{ + width: 55px; + height: 55px; + background: #ff6700; + float: left; + margin-top: 22.5px; + overflow: hidden; + position: relative; +} +.logo>img{ + width: 100%; + height: 100%; + position:absolute; + top: 0; + transition: all 0.2s; +} +.mi-home{ + left: -55px; +} +.mi-logo{ + left: 0; +} +.logo:hover>.mi-home{ + left: 0; +} +.logo:hover>.mi-logo{ + left: 55px; +} +.nav-bar{ + width: 875px; + height: 100px; + line-height: 100px; + float: left; +} +.search{ + width: 296px; + height: 100px; + float: right; +} +.nav-bar li{ + float: left; +} +.nav-bar>ul>li>a{ + color: #333; + padding: 0 10px; +} + +.nav-bar>ul>li>a:hover{ + color: #ff6700; +} + +.nav-bar>ul>li:first-child img{ + margin-top: 22.5px; +} + +.search input{ + width: 244px; + height: 50px; + border:1px solid #e0e0e0; + margin-top: 25px; + /* 去掉选中的边框 */ + outline: none; + padding: 0 10px; + box-sizing: border-box; + border-right: 0; +} + +.search button{ + width: 52px; + height: 50px; + background: #fff; + border:1px solid #e0e0e0; + float: right; + margin-top: 25px; +} +.search button:hover{ + background: #ff6700; + color: #fff; +} + +.nav-bar-list{ + width: 100%; + height: 229px; + background: #fff; + border-top: 1px solid #eee; + box-shadow: 0 3px 4px rgba(0,0,0,0.1); + position: absolute; + left: 0; + top: 100px; + display: none; + z-index: 10; +} + +.nav-bar li:hover .nav-bar-list{ + display: block; +} + +.img-box{ + width: 100%; + height: 110px; + margin-top: 35px; + border-right: 1px solid #eee; + box-sizing: border-box; + margin-bottom: 16px; +} + +.nav-bar-list li:last-child .img-box{ + border-right: 0; +} + +.nav-bar-list p{ + font-size: 12px; + line-height: 20px; +} + +.name{ + color: #333; +} + +.price{ + color: #ff6700; +} +/* 白色导航样式结束 */ +/* banner样式开始 */ +.banner{ + width: 100%; + height: 460px; +} +.banner-img{ + width: 100%; +} +.banner>.wrap{ + position: relative; +} +.slide{ + width: 234px; + height: 420px; + padding: 20px 0; + background: rgba(105,101,101,0.6); + position: absolute; + left: 0; + top: 0; +} + +.slide>ul>li{ + height: 42px; + line-height: 42px; + text-align: left; + padding-left: 30px; + font-size: 14px; +} +.slide>ul>li:hover{ + background: #ff6700; +} +.slide>ul>li>a{ + color: #fff; +} +.slide i{ + float: right; + padding-right: 20px; +} + +.slide-list{ + width: 992px; + height: 460px; + background: #fff; + border: 1px solid #e0e0e0; + border-left: none; + box-sizing: border-box; + box-shadow: 0 8px 16px rgba(0,0,0,0.18); + padding-top: 2px; + position: absolute; + top: 0; + left: 234px; + display: none; +} +.slide-list ul{ + width: 100%; +} + +.slide-list ul li{ + width: 247.75px; + float: left; + height: 76px; + padding: 18px 0 18px 20px; + box-sizing: border-box; + line-height: 40px; +} +.slide-list img{ + width: 40px; + margin-right: 14px; +} +.slide-list span{ + color: #333; + font-size: 14px; + /* 一行宽度不够的时候,用...代替 */ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + position: relative; + top: -14px; +} +.slide li:hover .slide-list{ + display: block; +} + +.slide-list li:hover span{ + color: #ff6700; +} +/* banner样式结束 */ +/* 广告样式开始 */ +.ad{ + width: 100%; + height: 170px; + padding: 14px 0 26px; + background: #fff; +} + +.ad-aside{ + width: 234px; + height: 170px; + background: #5f5750; + padding: 3px; + box-sizing: border-box; + font-size: 12px; + float: left; +} + +.ad-aside li{ + float: left; + width: 76px; + height: 82px; + padding-top: 18px; + box-sizing: border-box; + opacity: 0.7; +} + +.ad-aside a{ + color: #fff; +} +.ad-aside i{ + font-size: 24px; + margin-bottom: 4px; + display: block; +} +.ad-aside li:hover{ + opacity: 1; +} +.ad-img{ + width: 316px; + height: 170px; + float: left; + margin-left: 14px; +} + +.ad-img img{ + width: 100%; +} +/* 广告样式结束 */ +/* 主体部分样式开始 */ +.content{ + width: 100%; + background: #f5f5f5; + overflow: hidden; + padding: 4px 0 12px; +} +/* 主体部分样式结束 */ +/* 手机模块样式开始 */ +.title{ + text-align: left; + color: #333; + font-size: 22px; + font-weight: 200; + line-height: 58px; +} +.phone-box{ + width: 100%; + height: 614px; +} +.phone-box-left{ + width: 234px; + height: 100%; + float: left; +} +.phone-box-right{ + width: 992px; + height: 614px; + float: left; +} + +.item{ + width: 234px; + height: 300px; + background: #fff; + padding: 20px 0; + margin: 0 0 14px 14px; + float: left; + box-sizing: border-box; + transition: all 0.2s linear; +} +.item:hover{ + /* transform: translateY(-2px); */ + transform: translate3d(0,-2px,0); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} + +.item-img{ + width: 160px; + margin-bottom: 18px; +} + +.item-name{ + width: 214px; + height: 21px; + color: #333; + font-size: 14px; + line-height: 21px; + margin: 0 auto 2px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.item-desc{ + width: 214px; + height: 18px; + color: #b0b0b0; + font-size: 12px; + line-height: 18px; + margin: 0 auto 10px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.item-price{ + color: #ff6700; + font-size: 14px; +} + +.big-img{ + width: 100%; + height: 120px; + margin: 22px 0; +} + +/* 手机模块样式结束 */ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/reset.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..be2dc78d18b6bec6cf9115f7b6f31495e6c73e20 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;font-family: Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;} +li{ list-style: none;} +a{text-decoration: none;} +img{border: none;} \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a70e7760dd848d296634e193f100d303c22784ec Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/banner.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/banner.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a7dedb23d9ca63f06bca42993ca2469ca11ebb93 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/banner.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/download.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/download.png" new file mode 100644 index 0000000000000000000000000000000000000000..8ace029704d62e8173ee6d55c037aff4315488fd Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/download.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/elc-left.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/elc-left.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..4944f84309095c2abd454ec18fdd90362f4797bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/elc-left.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/elc-right.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/elc-right.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..e53fb78e054c12b65206347e1dc3bcabc2b4fbe7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/elc-right.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/mi-home.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/mi-home.png" new file mode 100644 index 0000000000000000000000000000000000000000..cb3ea82de3c11402e99f4add187c49db4de6f958 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/mi-home.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/mi-logo.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/mi-logo.png" new file mode 100644 index 0000000000000000000000000000000000000000..82de5d977bca6d3131baec5696deac1c77df29d7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/mi-logo.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone-right.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone-right.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..29d6158b84d292d5c2693486a41d7bad10752813 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone-right.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone.png" new file mode 100644 index 0000000000000000000000000000000000000000..413d28d043d4d9495f8d4e9bbcf3aaa068d578b2 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone_ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone_ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..512ec1b87db7453a7765477f88fc7a709c249f18 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone_ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone_left.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone_left.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..40d4f53d4f48177808edead35691347a3f770fae Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/phone_left.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/top.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/top.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a1c3c4ba18304ed49a5d826cf2dd3d56b4ff27c1 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/top.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/zzxsh.gif" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/zzxsh.gif" new file mode 100644 index 0000000000000000000000000000000000000000..bb6222f926a49166214a8a471bb9044c509f67e0 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/images/zzxsh.gif" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..c0b4effdd90fbbc4b0062da03395cf58f908ac10 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/06_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\346\211\213\346\234\272/index.html" @@ -0,0 +1,351 @@ + + + + + + + 小米 + + + + + + + +
+ + + +
+ + + +
+
+ + +
+
+ + + + + + + + +
+ +
+ + + + + + + \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/demo.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/demo.css" new file mode 100644 index 0000000000000000000000000000000000000000..a67054a0a030993643b8cbe9f344b34706efa134 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/demo.css" @@ -0,0 +1,539 @@ +/* Logo 字体 */ +@font-face { + font-family: "iconfont logo"; + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834'); + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg'); +} + +.logo { + font-family: "iconfont logo"; + font-size: 160px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* tabs */ +.nav-tabs { + position: relative; +} + +.nav-tabs .nav-more { + position: absolute; + right: 0; + bottom: 0; + height: 42px; + line-height: 42px; + color: #666; +} + +#tabs { + border-bottom: 1px solid #eee; +} + +#tabs li { + cursor: pointer; + width: 100px; + height: 40px; + line-height: 40px; + text-align: center; + font-size: 16px; + border-bottom: 2px solid transparent; + position: relative; + z-index: 1; + margin-bottom: -1px; + color: #666; +} + + +#tabs .active { + border-bottom-color: #f00; + color: #222; +} + +.tab-container .content { + display: none; +} + +/* 页面布局 */ +.main { + padding: 30px 100px; + width: 960px; + margin: 0 auto; +} + +.main .logo { + color: #333; + text-align: left; + margin-bottom: 30px; + line-height: 1; + height: 110px; + margin-top: -50px; + overflow: hidden; + *zoom: 1; +} + +.main .logo a { + font-size: 160px; + color: #333; +} + +.helps { + margin-top: 40px; +} + +.helps pre { + padding: 20px; + margin: 10px 0; + border: solid 1px #e7e1cd; + background-color: #fffdef; + overflow: auto; +} + +.icon_lists { + width: 100% !important; + overflow: hidden; + *zoom: 1; +} + +.icon_lists li { + width: 100px; + margin-bottom: 10px; + margin-right: 20px; + text-align: center; + list-style: none !important; + cursor: default; +} + +.icon_lists li .code-name { + line-height: 1.2; +} + +.icon_lists .icon { + display: block; + height: 100px; + line-height: 100px; + font-size: 42px; + margin: 10px auto; + color: #333; + -webkit-transition: font-size 0.25s linear, width 0.25s linear; + -moz-transition: font-size 0.25s linear, width 0.25s linear; + transition: font-size 0.25s linear, width 0.25s linear; +} + +.icon_lists .icon:hover { + font-size: 100px; +} + +.icon_lists .svg-icon { + /* 通过设置 font-size 来改变图标大小 */ + width: 1em; + /* 图标和文字相邻时,垂直对齐 */ + vertical-align: -0.15em; + /* 通过设置 color 来改变 SVG 的颜色/fill */ + fill: currentColor; + /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示 + normalize.css 中也包含这行 */ + overflow: hidden; +} + +.icon_lists li .name, +.icon_lists li .code-name { + color: #666; +} + +/* markdown 样式 */ +.markdown { + color: #666; + font-size: 14px; + line-height: 1.8; +} + +.highlight { + line-height: 1.5; +} + +.markdown img { + vertical-align: middle; + max-width: 100%; +} + +.markdown h1 { + color: #404040; + font-weight: 500; + line-height: 40px; + margin-bottom: 24px; +} + +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + color: #404040; + margin: 1.6em 0 0.6em 0; + font-weight: 500; + clear: both; +} + +.markdown h1 { + font-size: 28px; +} + +.markdown h2 { + font-size: 22px; +} + +.markdown h3 { + font-size: 16px; +} + +.markdown h4 { + font-size: 14px; +} + +.markdown h5 { + font-size: 12px; +} + +.markdown h6 { + font-size: 12px; +} + +.markdown hr { + height: 1px; + border: 0; + background: #e9e9e9; + margin: 16px 0; + clear: both; +} + +.markdown p { + margin: 1em 0; +} + +.markdown>p, +.markdown>blockquote, +.markdown>.highlight, +.markdown>ol, +.markdown>ul { + width: 80%; +} + +.markdown ul>li { + list-style: circle; +} + +.markdown>ul li, +.markdown blockquote ul>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown>ul li p, +.markdown>ol li p { + margin: 0.6em 0; +} + +.markdown ol>li { + list-style: decimal; +} + +.markdown>ol li, +.markdown blockquote ol>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown code { + margin: 0 3px; + padding: 0 5px; + background: #eee; + border-radius: 3px; +} + +.markdown strong, +.markdown b { + font-weight: 600; +} + +.markdown>table { + border-collapse: collapse; + border-spacing: 0px; + empty-cells: show; + border: 1px solid #e9e9e9; + width: 95%; + margin-bottom: 24px; +} + +.markdown>table th { + white-space: nowrap; + color: #333; + font-weight: 600; +} + +.markdown>table th, +.markdown>table td { + border: 1px solid #e9e9e9; + padding: 8px 16px; + text-align: left; +} + +.markdown>table th { + background: #F7F7F7; +} + +.markdown blockquote { + font-size: 90%; + color: #999; + border-left: 4px solid #e9e9e9; + padding-left: 0.8em; + margin: 1em 0; +} + +.markdown blockquote p { + margin: 0; +} + +.markdown .anchor { + opacity: 0; + transition: opacity 0.3s ease; + margin-left: 8px; +} + +.markdown .waiting { + color: #ccc; +} + +.markdown h1:hover .anchor, +.markdown h2:hover .anchor, +.markdown h3:hover .anchor, +.markdown h4:hover .anchor, +.markdown h5:hover .anchor, +.markdown h6:hover .anchor { + opacity: 1; + display: inline-block; +} + +.markdown>br, +.markdown>p>br { + clear: both; +} + + +.hljs { + display: block; + background: white; + padding: 0.5em; + color: #333333; + overflow-x: auto; +} + +.hljs-comment, +.hljs-meta { + color: #969896; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-strong, +.hljs-emphasis, +.hljs-quote { + color: #df5000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #a71d5d; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute { + color: #0086b3; +} + +.hljs-section, +.hljs-name { + color: #63a35c; +} + +.hljs-tag { + color: #333333; +} + +.hljs-title, +.hljs-attr, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #795da3; +} + +.hljs-addition { + color: #55a532; + background-color: #eaffea; +} + +.hljs-deletion { + color: #bd2c00; + background-color: #ffecec; +} + +.hljs-link { + text-decoration: underline; +} + +/* 代码高亮 */ +/* PrismJS 1.15.0 +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre)>code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre)>code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/demo_index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/demo_index.html" new file mode 100644 index 0000000000000000000000000000000000000000..b1ac8517cfb86548221abfccb3b881ee7edfb6bd --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/demo_index.html" @@ -0,0 +1,743 @@ + + + + + IconFont Demo + + + + + + + + + + + +
+

+ +
+
+
    + +
  • + 󰀽 +
    F
    +
    &#xf003d;
    +
  • + +
  • + +
    15天无理由退货
    +
    &#xe606;
    +
  • + +
  • + +
    右箭头
    +
    &#xe62e;
    +
  • + +
  • + +
    箭头
    +
    &#xe6bc;
    +
  • + +
  • + +
    播放 三角形
    +
    &#xe769;
    +
  • + +
  • + +
    定位 (1)
    +
    &#xe617;
    +
  • + +
  • + +
    右箭头
    +
    &#xe619;
    +
  • + +
  • + +
    7天无理由退货
    +
    &#xe60e;
    +
  • + +
  • + +
    三角形
    +
    &#xe620;
    +
  • + +
  • + +
    维修
    +
    &#xe629;
    +
  • + +
  • + +
    手机
    +
    &#xe641;
    +
  • + +
  • + +
    放大镜
    +
    &#xe63d;
    +
  • + +
  • + +
    我的
    +
    &#xe65d;
    +
  • + +
  • + +
    返回顶部
    +
    &#xe623;
    +
  • + +
  • + +
    耳机
    +
    &#xe605;
    +
  • + +
  • + +
    手机到手机
    +
    &#xe64a;
    +
  • + +
  • + +
    礼物
    +
    &#xe624;
    +
  • + +
  • + +
    箭头
    +
    &#xe621;
    +
  • + +
  • + +
    对话
    +
    &#xe710;
    +
  • + +
  • + +
    电话卡
    +
    &#xe733;
    +
  • + +
  • + +
    充值
    +
    &#xe65c;
    +
  • + +
  • + +
    手机
    +
    &#xe525;
    +
  • + +
  • + +
    购物车
    +
    &#xe607;
    +
  • + +
  • + +
    右箭头
    +
    &#xe658;
    +
  • + +
  • + +
    礼物
    +
    &#xe611;
    +
  • + +
+
+

Unicode 引用

+
+ +

Unicode 是字体在网页端最原始的应用方式,特点是:

+
    +
  • 兼容性最好,支持 IE6+,及所有现代浏览器。
  • +
  • 支持按字体的方式去动态调整图标大小,颜色等等。
  • +
  • 但是因为是字体,所以不支持多色。只能使用平台里单色的图标,就算项目里有多色图标也会自动去色。
  • +
+
+

注意:新版 iconfont 支持多色图标,这些多色图标在 Unicode 模式下将不能使用,如果有需求建议使用symbol 的引用方式

+
+

Unicode 使用步骤如下:

+

第一步:拷贝项目下面生成的 @font-face

+
@font-face {
+  font-family: 'iconfont';
+  src: url('iconfont.eot');
+  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
+      url('iconfont.woff2') format('woff2'),
+      url('iconfont.woff') format('woff'),
+      url('iconfont.ttf') format('truetype'),
+      url('iconfont.svg#iconfont') format('svg');
+}
+
+

第二步:定义使用 iconfont 的样式

+
.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+

第三步:挑选相应图标并获取字体编码,应用于页面

+
+<span class="iconfont">&#x33;</span>
+
+
+

"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    + F +
    +
    .icon-F +
    +
  • + +
  • + +
    + 15天无理由退货 +
    +
    .icon-15tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-iconfonticonfonti2copycopy +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantouarrowhead7 +
    +
  • + +
  • + +
    + 播放 三角形 +
    +
    .icon-bofangsanjiaoxing +
    +
  • + +
  • + +
    + 定位 (1) +
    +
    .icon-dingwei1 +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou +
    +
  • + +
  • + +
    + 7天无理由退货 +
    +
    .icon-7tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 三角形 +
    +
    .icon-sanjiaoxing +
    +
  • + +
  • + +
    + 维修 +
    +
    .icon-buoumaotubiao46 +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-tel +
    +
  • + +
  • + +
    + 放大镜 +
    +
    .icon-fangdajing +
    +
  • + +
  • + +
    + 我的 +
    +
    .icon-my_icon +
    +
  • + +
  • + +
    + 返回顶部 +
    +
    .icon-fanhuidingbu +
    +
  • + +
  • + +
    + 耳机 +
    +
    .icon-erji +
    +
  • + +
  • + +
    + 手机到手机 +
    +
    .icon-shoujidaoshouji +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-gifs +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantou +
    +
  • + +
  • + +
    + 对话 +
    +
    .icon-duihua +
    +
  • + +
  • + +
    + 电话卡 +
    +
    .icon-dianhuaqia +
    +
  • + +
  • + +
    + 充值 +
    +
    .icon-chongzhi +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-shouji +
    +
  • + +
  • + +
    + 购物车 +
    +
    .icon-gouwuche +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou1 +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-present +
    +
  • + +
+
+

font-class 引用

+
+ +

font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。

+

与 Unicode 使用方式相比,具有如下特点:

+
    +
  • 兼容性良好,支持 IE8+,及所有现代浏览器。
  • +
  • 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
  • +
  • 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
  • +
  • 不过因为本质上还是使用的字体,所以多色图标还是不支持的。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 fontclass 代码:

+
<link rel="stylesheet" href="./iconfont.css">
+
+

第二步:挑选相应图标并获取类名,应用于页面:

+
<span class="iconfont icon-xxx"></span>
+
+
+

" + iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    F
    +
    #icon-F
    +
  • + +
  • + +
    15天无理由退货
    +
    #icon-15tianwuliyoutuihuo
    +
  • + +
  • + +
    右箭头
    +
    #icon-iconfonticonfonti2copycopy
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantouarrowhead7
    +
  • + +
  • + +
    播放 三角形
    +
    #icon-bofangsanjiaoxing
    +
  • + +
  • + +
    定位 (1)
    +
    #icon-dingwei1
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou
    +
  • + +
  • + +
    7天无理由退货
    +
    #icon-7tianwuliyoutuihuo
    +
  • + +
  • + +
    三角形
    +
    #icon-sanjiaoxing
    +
  • + +
  • + +
    维修
    +
    #icon-buoumaotubiao46
    +
  • + +
  • + +
    手机
    +
    #icon-tel
    +
  • + +
  • + +
    放大镜
    +
    #icon-fangdajing
    +
  • + +
  • + +
    我的
    +
    #icon-my_icon
    +
  • + +
  • + +
    返回顶部
    +
    #icon-fanhuidingbu
    +
  • + +
  • + +
    耳机
    +
    #icon-erji
    +
  • + +
  • + +
    手机到手机
    +
    #icon-shoujidaoshouji
    +
  • + +
  • + +
    礼物
    +
    #icon-gifs
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantou
    +
  • + +
  • + +
    对话
    +
    #icon-duihua
    +
  • + +
  • + +
    电话卡
    +
    #icon-dianhuaqia
    +
  • + +
  • + +
    充值
    +
    #icon-chongzhi
    +
  • + +
  • + +
    手机
    +
    #icon-shouji
    +
  • + +
  • + +
    购物车
    +
    #icon-gouwuche
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou1
    +
  • + +
  • + +
    礼物
    +
    #icon-present
    +
  • + +
+
+

Symbol 引用

+
+ +

这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 + 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:

+
    +
  • 支持多色图标了,不再受单色限制。
  • +
  • 通过一些技巧,支持像字体那样,通过 font-size, color 来调整样式。
  • +
  • 兼容性较差,支持 IE9+,及现代浏览器。
  • +
  • 浏览器渲染 SVG 的性能一般,还不如 png。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 symbol 代码:

+
<script src="./iconfont.js"></script>
+
+

第二步:加入通用 CSS 代码(引入一次就行):

+
<style>
+.icon {
+  width: 1em;
+  height: 1em;
+  vertical-align: -0.15em;
+  fill: currentColor;
+  overflow: hidden;
+}
+</style>
+
+

第三步:挑选相应图标并获取类名,应用于页面:

+
<svg class="icon" aria-hidden="true">
+  <use xlink:href="#icon-xxx"></use>
+</svg>
+
+
+
+ +
+
+ + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..82b55e328cc0b42679e713b74141f4d4aacd6518 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.css" @@ -0,0 +1,117 @@ +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1561534862311'); /* IE9 */ + src: url('iconfont.eot?t=1561534862311#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABFwAAsAAAAAHwAAABEjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGTgqqVKFYATYCJANoCzYABCAFhG0HgnYbghlFRoWNAwiCfFWy/8sEbg6cHSoHC2MTVdfaiqoBixK7WOwOGSqE4yw/B7GUIWI/rNT/+f6GqqcOpfx53LSX/CBJkASxFqpGbULFAqVitDAxZt5p5/Vpb6N3TGBylZl0ou3M240z7xknIlyu5TO4qghVIkWo0Hb2kg0c7YWejCiF7G79gDhgS7jBnJrUsmQXDSPk14EhA2bpK33BbrJxwocQOAZDm58L/de6xa50DUUSYsRv4xQBEOCYhv7T4FxpkYX7wRMLs+mpdy45TNoc5DhP3GF7jxkAKRRmQmN7T70HQLUpQEnSzVg7KE2bZ08pqPCvBCQwGJt5ugobC6OAKerK+O/5AQYAFBgkwjjLx3etBwToAoZeC+YqqPUoNxAFmRgI7fyMcQkMc+GBEN9yBgFgB/n72DeQNkIAHHgI9AVV30dRu3nTH0DkExPrsFccA4DNeAAIABIBEAC4LLMFEwHycSIRqSyegGEAiBWq7qTw8ygCv8TPUtMKEylOshwF9sg4qB5TenMfAJXieVVDRRx24Np1hkGsEZ9YNZkxNu0/8QBUpICDmhC0+CAAEmQkwKIAgQhoYGgoiYEAOQUeAMYH9BQBAGDZGtV6diarCKiAn1cEpAB+fhHAAfyCIqAGfkkREAL42SKgBX61ACxECwFAQkGBBAkDBRlIBAQQRSIhAEgcKFAgyaCAQHJAQQRSAAo0SCkoMCBjQUEDMhEUlCCTQEEMMoAiQAB8wVCQE5IOCgqQuSgEPJBCjmUyiTpnnAwAC9X454HQTbcNEoYBYdVggE9xEdEYaQAlBjwQgwCZAmAxgjoOQioVE0fKZTIkcn1SLA7GkCIG6YM1WpYixKYWLQpvIQUCBcMIrYYgwp1QKRKalggE8jRMbHRKCJmcUQJFA0FbnaYMQiHDqBgxISJPGYNIH8wQUkqmWjvCxfbqTwmk9u/w//JT+EzceDgRPZXNlcw/4afyEuWDOZG5cZRhvmglKZFfmwuPZtoRg3Qm5gAP2X6nNDOOUUgcncmnf4lTP0lsmihcxlhfYVwYHaKjFT73dI3OOVVldTL75Ily7/BpOvZ0wCvEOHFSkjKbcSp7/5pi+RAQZKTA7etBjmavHLp68bfnpfIl27no3IvMiefu35efMPMTp7xOd/6IyS8i75N/SOWdtv3p9+Nb6TQned5gQq80hcuqf8QPcpalLE+xMjFdTUxWxdQdsRJuQ5/C47Jk77ehUtYxIYg0cUaMnD7mTbYTTTfmAhgoq2gYwmCaSRrquAwL8+/fvXOazfEUDbjpSm77AbWoASpkllO+yX6bc2pLT1ZaaAln0CDryr9cY8lbCf2gVBgxosEPwA+eEKERZWYpZac5BR1RzObsdBWOEHc1Vh3TnavN1AuV0V1hGXlBjVZZT07d1zr043JBGR2dPYcZ+G77pCpt8dkt8tSvJ01F0OkGiCyU7FojSYlxEECYJNeEaCa8f0rnAVVogN2ZDKyfgN3WP91FJA9g90lZCHL7IU1dFfP4zT/hAi4L0pCZQQBIaAhk5RF6Es1sW1hHrElbmH85+mfNrb0/FrFiT4Fmn7UgDXKBHXxuw2ffzWkmzNaVvxkHuIgrcLosg6t28oFiPhRnnUIIYIguu3X7su+JKfPOKLuVcqznjmrF5pjOXGsIN9gY3RHWz7EyIEgF67wGO2kVuZqiti5JhiQ6KAJLhzBAeyzhZBS+TYZqSKObAQSzIK/zACFDozxtP7OZ6bJYyX30t5971vxs2i+26KNkT/GT+pPRsUefROPA4Grhthfx9v7P0wntWOHhs8QBGnxTdmxllqeXKqcwN6XxQbTtdXoswPjXePJPXKIy9JUwvc5KH2h72/W2F+W93CflaVq7fn1kVKb8w4zqq7G+V33d+nH23pHjHOHP/5/Y/uyvFdonf4xre/rvcswlEQiNK9y+xvpaansRbUOvX7ClAtv30LjEpQ0ujtK7dSl6m73+GfbcgJfGLOG5tnfwbsNhnUELYz77ZAXgpH4vXx/VMdI4N7XGtmfnBQ4hFxWrY+CbHYkjwFGPCQAT0fAytlCFjvIUN44yRox1Z3HjSGPMcEfLK9tvB9J4Q6wJmg4gVWXHtabbKwAIXxgVgjHvQsdUo6wucZwh0n/CEXszDtFCHh6Ez/5b0ffJP+PuDgxZtB6rRfWHI4IpeE8v0RlanhzFJAIRpwu1FhJdetpFTJ71HQUIh2wMREU6E8McHw1wgUy7r+XrgCCDpOzMNg+IMqpl2rzka5360XnQxt7/K6dQv2/ESIcQe+99tqCCebB/vxZy/bxiZET+/pIJF064fALYQUd00tBzTJ+5wTYOOAKpZcrwbt9n/01op8GoPKeNVKb3l2pjqaYn/xwe6DSCUDy4PRMIcW8QDuioJWtL483vfgh2hl6+ThrTcXZBUhDL2vTjhd8rllELl1q0OYM579xFAsROcV5HjqDJ1+J2p9v+eMa6UI173fjUWBiYE9GYZyXHiY7FuxaM3SUaqxp403AtpILcpS+MvTT2zfaLLc26QvJl3eXfZN1UWXnz2omdkeUU/fHTNYnm+WMXts3LqBFPocfFH8ssNs0E6Z3GdMcIhUqWOo4RL1OmfjNfsnj8J5Noqp6/dQM2CcuVsYKQ+OhigleHagoJ7ZODhIzhm1QdwYqO1LAoBSiS7Vn2Rasd2Y4O2LMG1mniAlIqENWo/NFq/T8hAA7XoTvDBEmx9UdwBe7KGQ8NZ75mnjJfnzE8jEz/67Cvl27CrxZOBNx2SX5O2o52PXjoRjvRLAftYtrk59Hd5a34mT7UJmn4ZRPH/bpZvBJve8vbnr5isxkMlfDKxwkSSf7cn5xcNVfFgXEDcY/g3bPBgXDcDfvdnYiOfvTRUSLA6UBH0RF1bUfs/Yd6V4bHsfL03oOeoHSdZ968bB+rZ325C+fTHxNAJg3Dluf3aE3bPyEEwv6mYOj6Tv1d1+9tt+M7P30xesf7N/cyj0ThP6sfih79FPFItZf+x53fHsmnnnfBC3j6wsetTdh54rvviF7Oue++P4/c2Psno7aWMnPKV3DFOcuA91pxxtTPUv1TUJ8Nrr19Z5b8A/msVVkpm7VwoUPuuHNb6IMvUCDDlP5zRpElTofSdboSQNwxC2f26oJmXdBKvug58+ekoyiFtX1EXZUt9v3EuaOU6urYmIkRN83WitKnhimprYrm/LbahD+VONN5QCupStq9xWq+GTExpkU5taZ1buL7sbaq/MKMk+wEzVUwupYOqwZ5a3mD1cP56y7KH9J84XpDb1iKrMO+j+DOul70ztuoM3veeQehCwL1/kHI1uK9vfiaANO+Fq1BITghgyMMGubRIyw5IoV1dcOhM7M4xt6BOVDziZPNeIBZBmrGHPaO4pjO6IFnMjeiP7TpaWXPT/cv4ADAMy3qO5ro/JBGMvfAM30aPq+jYy4mICCKz92CRjjbAVlLHG3XF5FPFU/JXKpf0U8taL0+i32fdWy4qCUH5IOk9ob0z4qB51VTSWb7FGdLZkVJ+0hCamqGitHkK5qrWw5wo4NJL8VkWPfu+WoPRoktCfmc0Rlj/6JPY3jH7AnXlG4ia/QP7343UkRhRe5jRd4fJF4y+MVtRR7JcJKrpGHWgtT1c5OON5S4YqjbrXVfebZzVj3pJdkde9uer45iVDmFcS8d4zw/SNws/IG+1W8Pgx4M1iCVHdGCw+O9SY006Z/H2305zTEzYXmWdaRd3j0Y2GW6Jghwy+DfKqrPTutoex8UURuk6VKdZqOgSGt0DhuG4ZU0eZmn840Q8lxDU2hTgDmtmhKTdt76JdjwSbpkITMjZb7EIFmUvcxHdimDgqjZq2VLYwI8In3Qsm9H3ORthtGv7r2TJC+Y/Sz8n5X1tkqzpbaqfuU3EUNzFIUV7/yUly/dSg5So7Yz2Ry68Ev/LNIdenKQ3CrNzYf6Kd3Ofo8uQrclP5+r/p8GAdXgyeHbzW2jzY5iYQPNd5rtJW67mZ/4F6EYMNbk52/RheuO5uVPP1PxbPvEB0Z5o7FLo9nBmB8sgguN/J++UkSG5xWE//Lw29BXFvREEl8pfoIbCQQ/GAGZJDUeN0qJHhiV1HHFcUpZb7EIgK+MJceXZPBBsJP1/kPV0wh7dJXjeN3mN+JFPVnqrB51r0lt6n2dShCdy1JlnVOfN6lM59+IXlygDjdnInbsWM6cxtWN2X5cOls9paJic/Zr+NL/Y3/o5dDa1TdDZ0pYR8ih0BOhywpcMvIyKdP5deHkISEmZcO0bz7f7IOVWDjMZnwMkTd8PIP+ng6npsvXhz0W8fcids2azIzBPbrNY8Z6tJ4BdllLfX0DJ+HGji0SF8VuQyxn/oDzZnwQZthnFB3jIvTIvIE6j5kBtSmf/TiT7WRnMp+xmvzX59QHVCddgc/oIWZDDtFSOWJrbZkezmYzc6wJ49Fks9V56VHDqioQa6vlPFytLSMz7EuejTYbd6xnUhsGpbnzDGSxs89ZTI7oKp+3KFT3UkOKQcrbXVmjv6bH1d3na9dQg4r3qVTXAsO0uGkW8+FOD6Lz/t78WTyvm5V/hwxx23BHtlnOk2+WKRrnLDUpKdFx0TWllWmpxU+0cMuF5Aj2novVHtWxuntaljwqZB/dFYEoVgw6EMea+pnye4n34NgUp9XK55dn6lRNc8RlzffG71P+TwnUXkk/okqlv3jLWnFuQnuQTVlYqFwsTs76dOakm/9WvKaniGZmh+RuS8qDULThLV6IgXiLeHvwW2sYorcBzDRBXlbOpn3pPx52vLy8P7T/ue/Z8/6wa4os5OnXXzPYvQG7yjQC0pkpzlteuokaUg6RTZr/653O/wVnKcjbmnzrsSR0UehW6ZNd5FBWqNFV73p0K7SoCMdt22aAPZNomIDiP3lyc3hT7qbhA15jRm3GzVuiV3VoQgOyj5gBRUUymTX5kl/25Z7mK8+oNaLaIJ6ir4GaK64rhPcVkhyCxh+4RddEmagEaoGZPcV/g6I/DFkAmvi7eAAEblWAcOw71Qw0NX9fPlQV+H0lv7YWaoGmeisO/BTYvDjqAIEXykH1yr7b3Swfb60SuVy62Y0KUNPRbXrfmQqR8VjTSlFrU9WXzttqE3LgJ3DMXz4aqWV+hv/A/4gMiA38E3i5CYMMUmv/twGsu7800z+Sg4HLKk/+ptm/9eg/LtvfGb1/AuXDM5uBaAMh4P9xEPi3ka6kIOJ/69mie3R7vEqrBgV+Jy+GB34qvisJqy/wD4yNHtD5EFgJBwDKeAjgH0csK7DI5lD+k8MwEFKmTTYOAtBjlBUbiQnEJmbzgIYMzEdsXjYFCYonpkFuqSZgBAkA8dqRjQHjTDYOEriJEWKHMIHYD7J5oPId4pM6KJsCx8inSUP0zKWKliIEFCzZMsOplOkLA6/3J6qYg1Mtq+F+0XlDJTtKNl5PPmOJTkQYv1LHIUgmHRXsSdHBPCdWOUqRh33Nier6IGXWLuw+p6I2gCIOAsHJLzDTbCvPxZGSfHYwSPz5T0iJcsAVXPZU+RdyPFPDpP49fNkKkc9iWemysvDLrCjHlqtMYta5DikwFpWh3DhGmPrsgVKIC/bNYZAq11LU282qKu43byvGhjgXXr4r6v+WRZRklVqj1ekNRpPZYrXZHU6X2+P1Kf6Ax7I8OgsGynXMzZZiiEZH2nuoQeaYU7W16DwtOb1AEZyjtUYQF/OEJJTKA9OVtDGl6glbWqM5GggzV3384qKBm4dXrWkSKRZAISYJdnrefPzCgCcTkOY1d4vtnxx4FK/W0YgOkcQWutRMvRZfK4C8Hi1lpO/e0NURN2mGgTB1xgFroMc1lWqnTWf9Cz1FcR25xmE7Qx11K4cey1AD') format('woff2'), + url('iconfont.woff?t=1561534862311') format('woff'), + url('iconfont.ttf?t=1561534862311') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1561534862311#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-F:before { + content: "\f003d"; +} + +.icon-15tianwuliyoutuihuo:before { + content: "\e606"; +} + +.icon-iconfonticonfonti2copycopy:before { + content: "\e62e"; +} + +.icon-jiantouarrowhead7:before { + content: "\e6bc"; +} + +.icon-bofangsanjiaoxing:before { + content: "\e769"; +} + +.icon-dingwei1:before { + content: "\e617"; +} + +.icon-youjiantou:before { + content: "\e619"; +} + +.icon-7tianwuliyoutuihuo:before { + content: "\e60e"; +} + +.icon-sanjiaoxing:before { + content: "\e620"; +} + +.icon-buoumaotubiao46:before { + content: "\e629"; +} + +.icon-tel:before { + content: "\e641"; +} + +.icon-fangdajing:before { + content: "\e63d"; +} + +.icon-my_icon:before { + content: "\e65d"; +} + +.icon-fanhuidingbu:before { + content: "\e623"; +} + +.icon-erji:before { + content: "\e605"; +} + +.icon-shoujidaoshouji:before { + content: "\e64a"; +} + +.icon-gifs:before { + content: "\e624"; +} + +.icon-jiantou:before { + content: "\e621"; +} + +.icon-duihua:before { + content: "\e710"; +} + +.icon-dianhuaqia:before { + content: "\e733"; +} + +.icon-chongzhi:before { + content: "\e65c"; +} + +.icon-shouji:before { + content: "\e525"; +} + +.icon-gouwuche:before { + content: "\e607"; +} + +.icon-youjiantou1:before { + content: "\e658"; +} + +.icon-present:before { + content: "\e611"; +} + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.eot" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..5e9a285d4f141012b90c8b0093da4f07c0fa62bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.eot" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.js" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.js" new file mode 100644 index 0000000000000000000000000000000000000000..1d120ac96efd0bc668b14ad234fd20ae00664a04 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.js" @@ -0,0 +1 @@ +!function(s){var c,t='',h=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(h&&!s.__iconfont__svg__cssinject__){s.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var h=function(){document.removeEventListener("DOMContentLoaded",h,!1),c()};document.addEventListener("DOMContentLoaded",h,!1)}else document.attachEvent&&(l=c,a=s.document,o=!1,(i=function(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(i,50)}t()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,t())});function t(){o||(o=!0,l())}var l,a,o,i}(function(){var c,h;(c=document.createElement("div")).innerHTML=t,t=null,(h=c.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",function(c,h){h.firstChild?function(c,h){h.parentNode.insertBefore(c,h)}(c,h.firstChild):h.appendChild(c)}(h,document.body))})}(window); \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.svg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..f5269cc8c727142a59f9837e20fd4f892c11407a --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.svg" @@ -0,0 +1,101 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.ttf" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..3b9dd2e7ca16388626976f473598d8c4d5570021 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.ttf" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.woff" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..f42f23160f7a24b91c3b05e052902bbd8644c35f Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.woff" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.woff2" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.woff2" new file mode 100644 index 0000000000000000000000000000000000000000..12e816ceb161961bcfcefb2c446b3224a38a5870 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/iconfont/iconfont.woff2" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/mi.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/mi.css" new file mode 100644 index 0000000000000000000000000000000000000000..9de8a2e92c8a5edca3f75b02870ae4adcb594692 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/mi.css" @@ -0,0 +1,509 @@ +/* 头部样式开始 */ +.header{ + width: 100%; + height: 120px; + overflow: hidden; + position: relative; +} + +.header img{ + height: 120px; + /* 图片,以中间开始渲染 */ + position: absolute; + left: 50%; + transform: translateX(-50%); +} +/* 头部样式结束 */ + +/* 黑色导航样式开始 */ +.black-nav{ + width: 100%; + height: 40px; + line-height: 40px; + background-color: #333; + font-size: 12px; +} +.wrap{ + width: 1226px; + margin: 0 auto; +} +.black-nav-left{ + float: left; +} +.black-nav-right{ + float: right; +} +.black-nav li{ + float: left; + position: relative; +} +.black-nav a{ + color: #b0b0b0; +} +.black-nav span{ + color: #424242; + margin: 0 3.6px; +} +.download{ + width: 124px; + height: 0; + background: #fff; + box-shadow: 0 1px 5px #aaa; + position: absolute; + top: 40px; + left: 50%; + margin-left: -62px; + overflow:hidden; + transition: all 0.3s; + z-index: 10; +} +.download img{ + width: 90px; + margin: 18px auto 0; +} +.download p{ + color: #333; + font-size: 14px; + line-height: 14px; +} +.black-nav-left li:hover>.download{ + height: 148px; +} +.stri{ + width: 0; + height: 0; + border-bottom: 8px solid #fff; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + position:absolute; + bottom: 0; + left: 50%; + margin-left: -8px; + display: none; +} +.black-nav-left>li:hover>.stri{ + display: block; +} +.cart{ + width: 120px; + height: 40px; + background: #424242; + margin-left: 25px; + position: relative; + z-index: 10; +} +.cart:hover{ + background: #fff; +} +.cart:hover>a{ + color: #ff6700; +} +.cart i{ + font-style: normal; + margin-right: 8px; +} +.cart-list{ + width: 316px; + height: 0; + background: #fff; + box-shadow: 0 2px 10px rgba(0,0,0,0.15); + position: absolute; + right: 0; + top: 40px; + color: #424242; + overflow: hidden; + transition: all 0.3s; + line-height: 100px; +} +.cart:hover>.cart-list{ + height: 100px; +} +/* 黑色导航样式结束 */ + +/* 白色导航样式开始 */ +.white-nav{ + width: 100%; + height: 100px; + background: #fff; + position: relative; +} +.logo{ + width: 55px; + height: 55px; + background: #ff6700; + float: left; + margin-top: 22.5px; + overflow: hidden; + position: relative; +} +.logo>img{ + width: 100%; + height: 100%; + position:absolute; + top: 0; + transition: all 0.2s; +} +.mi-home{ + left: -55px; +} +.mi-logo{ + left: 0; +} +.logo:hover>.mi-home{ + left: 0; +} +.logo:hover>.mi-logo{ + left: 55px; +} +.nav-bar{ + width: 875px; + height: 100px; + line-height: 100px; + float: left; +} +.search{ + width: 296px; + height: 100px; + float: right; +} +.nav-bar li{ + float: left; +} +.nav-bar>ul>li>a{ + color: #333; + padding: 0 10px; +} + +.nav-bar>ul>li>a:hover{ + color: #ff6700; +} + +.nav-bar>ul>li:first-child img{ + margin-top: 22.5px; +} + +.search input{ + width: 244px; + height: 50px; + border:1px solid #e0e0e0; + margin-top: 25px; + /* 去掉选中的边框 */ + outline: none; + padding: 0 10px; + box-sizing: border-box; + border-right: 0; +} + +.search button{ + width: 52px; + height: 50px; + background: #fff; + border:1px solid #e0e0e0; + float: right; + margin-top: 25px; +} +.search button:hover{ + background: #ff6700; + color: #fff; +} + +.nav-bar-list{ + width: 100%; + height: 229px; + background: #fff; + border-top: 1px solid #eee; + box-shadow: 0 3px 4px rgba(0,0,0,0.1); + position: absolute; + left: 0; + top: 100px; + display: none; + z-index: 10; +} + +.nav-bar li:hover .nav-bar-list{ + display: block; +} + +.img-box{ + width: 100%; + height: 110px; + margin-top: 35px; + border-right: 1px solid #eee; + box-sizing: border-box; + margin-bottom: 16px; +} + +.nav-bar-list li:last-child .img-box{ + border-right: 0; +} + +.nav-bar-list p{ + font-size: 12px; + line-height: 20px; +} + +.name{ + color: #333; +} + +.price{ + color: #ff6700; +} +/* 白色导航样式结束 */ +/* banner样式开始 */ +.banner{ + width: 100%; + height: 460px; +} +.banner-img{ + width: 100%; +} +.banner>.wrap{ + position: relative; +} +.slide{ + width: 234px; + height: 420px; + padding: 20px 0; + background: rgba(105,101,101,0.6); + position: absolute; + left: 0; + top: 0; +} + +.slide>ul>li{ + height: 42px; + line-height: 42px; + text-align: left; + padding-left: 30px; + font-size: 14px; +} +.slide>ul>li:hover{ + background: #ff6700; +} +.slide>ul>li>a{ + color: #fff; +} +.slide i{ + float: right; + padding-right: 20px; +} + +.slide-list{ + width: 992px; + height: 460px; + background: #fff; + border: 1px solid #e0e0e0; + border-left: none; + box-sizing: border-box; + box-shadow: 0 8px 16px rgba(0,0,0,0.18); + padding-top: 2px; + position: absolute; + top: 0; + left: 234px; + display: none; +} +.slide-list ul{ + width: 100%; +} + +.slide-list ul li{ + width: 247.75px; + float: left; + height: 76px; + padding: 18px 0 18px 20px; + box-sizing: border-box; + line-height: 40px; +} +.slide-list img{ + width: 40px; + margin-right: 14px; +} +.slide-list span{ + color: #333; + font-size: 14px; + /* 一行宽度不够的时候,用...代替 */ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + position: relative; + top: -14px; +} +.slide li:hover .slide-list{ + display: block; +} + +.slide-list li:hover span{ + color: #ff6700; +} +/* banner样式结束 */ +/* 广告样式开始 */ +.ad{ + width: 100%; + height: 170px; + padding: 14px 0 26px; + background: #fff; +} + +.ad-aside{ + width: 234px; + height: 170px; + background: #5f5750; + padding: 3px; + box-sizing: border-box; + font-size: 12px; + float: left; +} + +.ad-aside li{ + float: left; + width: 76px; + height: 82px; + padding-top: 18px; + box-sizing: border-box; + opacity: 0.7; +} + +.ad-aside a{ + color: #fff; +} +.ad-aside i{ + font-size: 24px; + margin-bottom: 4px; + display: block; +} +.ad-aside li:hover{ + opacity: 1; +} +.ad-img{ + width: 316px; + height: 170px; + float: left; + margin-left: 14px; +} + +.ad-img img{ + width: 100%; +} +/* 广告样式结束 */ +/* 主体部分样式开始 */ +.content{ + width: 100%; + background: #f5f5f5; + overflow: hidden; + padding: 4px 0 12px; +} +/* 主体部分样式结束 */ +/* 手机模块样式开始 */ +.title{ + text-align: left; + color: #333; + font-size: 22px; + font-weight: 200; + line-height: 58px; +} +.phone-box{ + width: 100%; + height: 614px; +} +.phone-box-left{ + width: 234px; + height: 100%; + float: left; +} +.phone-box-right{ + width: 992px; + height: 614px; + float: left; +} + +.item{ + width: 234px; + height: 300px; + background: #fff; + padding: 20px 0; + margin: 0 0 14px 14px; + float: left; + box-sizing: border-box; + transition: all 0.2s linear; +} +.item:hover{ + /* transform: translateY(-2px); */ + transform: translate3d(0,-2px,0); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} + +.item-img{ + width: 160px; + margin-bottom: 18px; +} + +.item-name{ + width: 214px; + height: 21px; + color: #333; + font-size: 14px; + line-height: 21px; + margin: 0 auto 2px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.item-desc{ + width: 214px; + height: 18px; + color: #b0b0b0; + font-size: 12px; + line-height: 18px; + margin: 0 auto 10px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.item-price{ + color: #ff6700; + font-size: 14px; +} + +.big-img{ + width: 100%; + height: 120px; + margin: 22px 0; +} + +/* 手机模块样式结束 */ +/* 家电模块样式开始 */ +.elc-box{ + width: 100%; + height: 614px; +} +.elc-item{ + margin-left: 0; + padding: 0; +} + +.item-price>del{ + color: #b0b0b0; +} +.item-last{ + width: 234px; + height: 300px; + float: left; + margin-left: 14px; +} +.item-last>div{ + width: 234px; + height: 143px; + background: #fff; + transition: all 0.2s linear; +} +.item-last>div:first-child{ + margin-bottom: 14px; +} +.item-last>div:hover{ + transform: translateY(-2px); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} +/* 家电模块样式结束 */ \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/reset.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..be2dc78d18b6bec6cf9115f7b6f31495e6c73e20 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;font-family: Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;} +li{ list-style: none;} +a{text-decoration: none;} +img{border: none;} \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a70e7760dd848d296634e193f100d303c22784ec Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/banner.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/banner.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a7dedb23d9ca63f06bca42993ca2469ca11ebb93 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/banner.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/download.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/download.png" new file mode 100644 index 0000000000000000000000000000000000000000..8ace029704d62e8173ee6d55c037aff4315488fd Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/download.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/elc-left.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/elc-left.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..4944f84309095c2abd454ec18fdd90362f4797bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/elc-left.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/elc-right.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/elc-right.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..e53fb78e054c12b65206347e1dc3bcabc2b4fbe7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/elc-right.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/mi-home.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/mi-home.png" new file mode 100644 index 0000000000000000000000000000000000000000..cb3ea82de3c11402e99f4add187c49db4de6f958 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/mi-home.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/mi-logo.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/mi-logo.png" new file mode 100644 index 0000000000000000000000000000000000000000..82de5d977bca6d3131baec5696deac1c77df29d7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/mi-logo.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone-right.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone-right.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..29d6158b84d292d5c2693486a41d7bad10752813 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone-right.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone.png" new file mode 100644 index 0000000000000000000000000000000000000000..413d28d043d4d9495f8d4e9bbcf3aaa068d578b2 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone_ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone_ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..512ec1b87db7453a7765477f88fc7a709c249f18 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone_ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone_left.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone_left.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..40d4f53d4f48177808edead35691347a3f770fae Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/phone_left.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/top.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/top.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a1c3c4ba18304ed49a5d826cf2dd3d56b4ff27c1 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/top.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/video.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/video.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..389b97c854b501892615644bd4c25253dc62ba46 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/video.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/zzxsh.gif" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/zzxsh.gif" new file mode 100644 index 0000000000000000000000000000000000000000..bb6222f926a49166214a8a471bb9044c509f67e0 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/images/zzxsh.gif" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..90a93117ba00b1f00909ce11ac833e1f09f2ed20 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/07_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\345\256\266\347\224\265/index.html" @@ -0,0 +1,433 @@ + + + + + + + 小米 + + + + + + + +
+ + + +
+ + + +
+
+ + +
+
+ + + + + + + + +
+ +
+ + +
+
+ + + + + + +
+
+ + + + \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/demo.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/demo.css" new file mode 100644 index 0000000000000000000000000000000000000000..a67054a0a030993643b8cbe9f344b34706efa134 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/demo.css" @@ -0,0 +1,539 @@ +/* Logo 字体 */ +@font-face { + font-family: "iconfont logo"; + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834'); + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg'); +} + +.logo { + font-family: "iconfont logo"; + font-size: 160px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* tabs */ +.nav-tabs { + position: relative; +} + +.nav-tabs .nav-more { + position: absolute; + right: 0; + bottom: 0; + height: 42px; + line-height: 42px; + color: #666; +} + +#tabs { + border-bottom: 1px solid #eee; +} + +#tabs li { + cursor: pointer; + width: 100px; + height: 40px; + line-height: 40px; + text-align: center; + font-size: 16px; + border-bottom: 2px solid transparent; + position: relative; + z-index: 1; + margin-bottom: -1px; + color: #666; +} + + +#tabs .active { + border-bottom-color: #f00; + color: #222; +} + +.tab-container .content { + display: none; +} + +/* 页面布局 */ +.main { + padding: 30px 100px; + width: 960px; + margin: 0 auto; +} + +.main .logo { + color: #333; + text-align: left; + margin-bottom: 30px; + line-height: 1; + height: 110px; + margin-top: -50px; + overflow: hidden; + *zoom: 1; +} + +.main .logo a { + font-size: 160px; + color: #333; +} + +.helps { + margin-top: 40px; +} + +.helps pre { + padding: 20px; + margin: 10px 0; + border: solid 1px #e7e1cd; + background-color: #fffdef; + overflow: auto; +} + +.icon_lists { + width: 100% !important; + overflow: hidden; + *zoom: 1; +} + +.icon_lists li { + width: 100px; + margin-bottom: 10px; + margin-right: 20px; + text-align: center; + list-style: none !important; + cursor: default; +} + +.icon_lists li .code-name { + line-height: 1.2; +} + +.icon_lists .icon { + display: block; + height: 100px; + line-height: 100px; + font-size: 42px; + margin: 10px auto; + color: #333; + -webkit-transition: font-size 0.25s linear, width 0.25s linear; + -moz-transition: font-size 0.25s linear, width 0.25s linear; + transition: font-size 0.25s linear, width 0.25s linear; +} + +.icon_lists .icon:hover { + font-size: 100px; +} + +.icon_lists .svg-icon { + /* 通过设置 font-size 来改变图标大小 */ + width: 1em; + /* 图标和文字相邻时,垂直对齐 */ + vertical-align: -0.15em; + /* 通过设置 color 来改变 SVG 的颜色/fill */ + fill: currentColor; + /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示 + normalize.css 中也包含这行 */ + overflow: hidden; +} + +.icon_lists li .name, +.icon_lists li .code-name { + color: #666; +} + +/* markdown 样式 */ +.markdown { + color: #666; + font-size: 14px; + line-height: 1.8; +} + +.highlight { + line-height: 1.5; +} + +.markdown img { + vertical-align: middle; + max-width: 100%; +} + +.markdown h1 { + color: #404040; + font-weight: 500; + line-height: 40px; + margin-bottom: 24px; +} + +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + color: #404040; + margin: 1.6em 0 0.6em 0; + font-weight: 500; + clear: both; +} + +.markdown h1 { + font-size: 28px; +} + +.markdown h2 { + font-size: 22px; +} + +.markdown h3 { + font-size: 16px; +} + +.markdown h4 { + font-size: 14px; +} + +.markdown h5 { + font-size: 12px; +} + +.markdown h6 { + font-size: 12px; +} + +.markdown hr { + height: 1px; + border: 0; + background: #e9e9e9; + margin: 16px 0; + clear: both; +} + +.markdown p { + margin: 1em 0; +} + +.markdown>p, +.markdown>blockquote, +.markdown>.highlight, +.markdown>ol, +.markdown>ul { + width: 80%; +} + +.markdown ul>li { + list-style: circle; +} + +.markdown>ul li, +.markdown blockquote ul>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown>ul li p, +.markdown>ol li p { + margin: 0.6em 0; +} + +.markdown ol>li { + list-style: decimal; +} + +.markdown>ol li, +.markdown blockquote ol>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown code { + margin: 0 3px; + padding: 0 5px; + background: #eee; + border-radius: 3px; +} + +.markdown strong, +.markdown b { + font-weight: 600; +} + +.markdown>table { + border-collapse: collapse; + border-spacing: 0px; + empty-cells: show; + border: 1px solid #e9e9e9; + width: 95%; + margin-bottom: 24px; +} + +.markdown>table th { + white-space: nowrap; + color: #333; + font-weight: 600; +} + +.markdown>table th, +.markdown>table td { + border: 1px solid #e9e9e9; + padding: 8px 16px; + text-align: left; +} + +.markdown>table th { + background: #F7F7F7; +} + +.markdown blockquote { + font-size: 90%; + color: #999; + border-left: 4px solid #e9e9e9; + padding-left: 0.8em; + margin: 1em 0; +} + +.markdown blockquote p { + margin: 0; +} + +.markdown .anchor { + opacity: 0; + transition: opacity 0.3s ease; + margin-left: 8px; +} + +.markdown .waiting { + color: #ccc; +} + +.markdown h1:hover .anchor, +.markdown h2:hover .anchor, +.markdown h3:hover .anchor, +.markdown h4:hover .anchor, +.markdown h5:hover .anchor, +.markdown h6:hover .anchor { + opacity: 1; + display: inline-block; +} + +.markdown>br, +.markdown>p>br { + clear: both; +} + + +.hljs { + display: block; + background: white; + padding: 0.5em; + color: #333333; + overflow-x: auto; +} + +.hljs-comment, +.hljs-meta { + color: #969896; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-strong, +.hljs-emphasis, +.hljs-quote { + color: #df5000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #a71d5d; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute { + color: #0086b3; +} + +.hljs-section, +.hljs-name { + color: #63a35c; +} + +.hljs-tag { + color: #333333; +} + +.hljs-title, +.hljs-attr, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #795da3; +} + +.hljs-addition { + color: #55a532; + background-color: #eaffea; +} + +.hljs-deletion { + color: #bd2c00; + background-color: #ffecec; +} + +.hljs-link { + text-decoration: underline; +} + +/* 代码高亮 */ +/* PrismJS 1.15.0 +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre)>code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre)>code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/demo_index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/demo_index.html" new file mode 100644 index 0000000000000000000000000000000000000000..b1ac8517cfb86548221abfccb3b881ee7edfb6bd --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/demo_index.html" @@ -0,0 +1,743 @@ + + + + + IconFont Demo + + + + + + + + + + + +
+

+ +
+
+
    + +
  • + 󰀽 +
    F
    +
    &#xf003d;
    +
  • + +
  • + +
    15天无理由退货
    +
    &#xe606;
    +
  • + +
  • + +
    右箭头
    +
    &#xe62e;
    +
  • + +
  • + +
    箭头
    +
    &#xe6bc;
    +
  • + +
  • + +
    播放 三角形
    +
    &#xe769;
    +
  • + +
  • + +
    定位 (1)
    +
    &#xe617;
    +
  • + +
  • + +
    右箭头
    +
    &#xe619;
    +
  • + +
  • + +
    7天无理由退货
    +
    &#xe60e;
    +
  • + +
  • + +
    三角形
    +
    &#xe620;
    +
  • + +
  • + +
    维修
    +
    &#xe629;
    +
  • + +
  • + +
    手机
    +
    &#xe641;
    +
  • + +
  • + +
    放大镜
    +
    &#xe63d;
    +
  • + +
  • + +
    我的
    +
    &#xe65d;
    +
  • + +
  • + +
    返回顶部
    +
    &#xe623;
    +
  • + +
  • + +
    耳机
    +
    &#xe605;
    +
  • + +
  • + +
    手机到手机
    +
    &#xe64a;
    +
  • + +
  • + +
    礼物
    +
    &#xe624;
    +
  • + +
  • + +
    箭头
    +
    &#xe621;
    +
  • + +
  • + +
    对话
    +
    &#xe710;
    +
  • + +
  • + +
    电话卡
    +
    &#xe733;
    +
  • + +
  • + +
    充值
    +
    &#xe65c;
    +
  • + +
  • + +
    手机
    +
    &#xe525;
    +
  • + +
  • + +
    购物车
    +
    &#xe607;
    +
  • + +
  • + +
    右箭头
    +
    &#xe658;
    +
  • + +
  • + +
    礼物
    +
    &#xe611;
    +
  • + +
+
+

Unicode 引用

+
+ +

Unicode 是字体在网页端最原始的应用方式,特点是:

+
    +
  • 兼容性最好,支持 IE6+,及所有现代浏览器。
  • +
  • 支持按字体的方式去动态调整图标大小,颜色等等。
  • +
  • 但是因为是字体,所以不支持多色。只能使用平台里单色的图标,就算项目里有多色图标也会自动去色。
  • +
+
+

注意:新版 iconfont 支持多色图标,这些多色图标在 Unicode 模式下将不能使用,如果有需求建议使用symbol 的引用方式

+
+

Unicode 使用步骤如下:

+

第一步:拷贝项目下面生成的 @font-face

+
@font-face {
+  font-family: 'iconfont';
+  src: url('iconfont.eot');
+  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
+      url('iconfont.woff2') format('woff2'),
+      url('iconfont.woff') format('woff'),
+      url('iconfont.ttf') format('truetype'),
+      url('iconfont.svg#iconfont') format('svg');
+}
+
+

第二步:定义使用 iconfont 的样式

+
.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+

第三步:挑选相应图标并获取字体编码,应用于页面

+
+<span class="iconfont">&#x33;</span>
+
+
+

"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    + F +
    +
    .icon-F +
    +
  • + +
  • + +
    + 15天无理由退货 +
    +
    .icon-15tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-iconfonticonfonti2copycopy +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantouarrowhead7 +
    +
  • + +
  • + +
    + 播放 三角形 +
    +
    .icon-bofangsanjiaoxing +
    +
  • + +
  • + +
    + 定位 (1) +
    +
    .icon-dingwei1 +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou +
    +
  • + +
  • + +
    + 7天无理由退货 +
    +
    .icon-7tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 三角形 +
    +
    .icon-sanjiaoxing +
    +
  • + +
  • + +
    + 维修 +
    +
    .icon-buoumaotubiao46 +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-tel +
    +
  • + +
  • + +
    + 放大镜 +
    +
    .icon-fangdajing +
    +
  • + +
  • + +
    + 我的 +
    +
    .icon-my_icon +
    +
  • + +
  • + +
    + 返回顶部 +
    +
    .icon-fanhuidingbu +
    +
  • + +
  • + +
    + 耳机 +
    +
    .icon-erji +
    +
  • + +
  • + +
    + 手机到手机 +
    +
    .icon-shoujidaoshouji +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-gifs +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantou +
    +
  • + +
  • + +
    + 对话 +
    +
    .icon-duihua +
    +
  • + +
  • + +
    + 电话卡 +
    +
    .icon-dianhuaqia +
    +
  • + +
  • + +
    + 充值 +
    +
    .icon-chongzhi +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-shouji +
    +
  • + +
  • + +
    + 购物车 +
    +
    .icon-gouwuche +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou1 +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-present +
    +
  • + +
+
+

font-class 引用

+
+ +

font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。

+

与 Unicode 使用方式相比,具有如下特点:

+
    +
  • 兼容性良好,支持 IE8+,及所有现代浏览器。
  • +
  • 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
  • +
  • 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
  • +
  • 不过因为本质上还是使用的字体,所以多色图标还是不支持的。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 fontclass 代码:

+
<link rel="stylesheet" href="./iconfont.css">
+
+

第二步:挑选相应图标并获取类名,应用于页面:

+
<span class="iconfont icon-xxx"></span>
+
+
+

" + iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    F
    +
    #icon-F
    +
  • + +
  • + +
    15天无理由退货
    +
    #icon-15tianwuliyoutuihuo
    +
  • + +
  • + +
    右箭头
    +
    #icon-iconfonticonfonti2copycopy
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantouarrowhead7
    +
  • + +
  • + +
    播放 三角形
    +
    #icon-bofangsanjiaoxing
    +
  • + +
  • + +
    定位 (1)
    +
    #icon-dingwei1
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou
    +
  • + +
  • + +
    7天无理由退货
    +
    #icon-7tianwuliyoutuihuo
    +
  • + +
  • + +
    三角形
    +
    #icon-sanjiaoxing
    +
  • + +
  • + +
    维修
    +
    #icon-buoumaotubiao46
    +
  • + +
  • + +
    手机
    +
    #icon-tel
    +
  • + +
  • + +
    放大镜
    +
    #icon-fangdajing
    +
  • + +
  • + +
    我的
    +
    #icon-my_icon
    +
  • + +
  • + +
    返回顶部
    +
    #icon-fanhuidingbu
    +
  • + +
  • + +
    耳机
    +
    #icon-erji
    +
  • + +
  • + +
    手机到手机
    +
    #icon-shoujidaoshouji
    +
  • + +
  • + +
    礼物
    +
    #icon-gifs
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantou
    +
  • + +
  • + +
    对话
    +
    #icon-duihua
    +
  • + +
  • + +
    电话卡
    +
    #icon-dianhuaqia
    +
  • + +
  • + +
    充值
    +
    #icon-chongzhi
    +
  • + +
  • + +
    手机
    +
    #icon-shouji
    +
  • + +
  • + +
    购物车
    +
    #icon-gouwuche
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou1
    +
  • + +
  • + +
    礼物
    +
    #icon-present
    +
  • + +
+
+

Symbol 引用

+
+ +

这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 + 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:

+
    +
  • 支持多色图标了,不再受单色限制。
  • +
  • 通过一些技巧,支持像字体那样,通过 font-size, color 来调整样式。
  • +
  • 兼容性较差,支持 IE9+,及现代浏览器。
  • +
  • 浏览器渲染 SVG 的性能一般,还不如 png。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 symbol 代码:

+
<script src="./iconfont.js"></script>
+
+

第二步:加入通用 CSS 代码(引入一次就行):

+
<style>
+.icon {
+  width: 1em;
+  height: 1em;
+  vertical-align: -0.15em;
+  fill: currentColor;
+  overflow: hidden;
+}
+</style>
+
+

第三步:挑选相应图标并获取类名,应用于页面:

+
<svg class="icon" aria-hidden="true">
+  <use xlink:href="#icon-xxx"></use>
+</svg>
+
+
+
+ +
+
+ + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..82b55e328cc0b42679e713b74141f4d4aacd6518 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.css" @@ -0,0 +1,117 @@ +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1561534862311'); /* IE9 */ + src: url('iconfont.eot?t=1561534862311#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABFwAAsAAAAAHwAAABEjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGTgqqVKFYATYCJANoCzYABCAFhG0HgnYbghlFRoWNAwiCfFWy/8sEbg6cHSoHC2MTVdfaiqoBixK7WOwOGSqE4yw/B7GUIWI/rNT/+f6GqqcOpfx53LSX/CBJkASxFqpGbULFAqVitDAxZt5p5/Vpb6N3TGBylZl0ou3M240z7xknIlyu5TO4qghVIkWo0Hb2kg0c7YWejCiF7G79gDhgS7jBnJrUsmQXDSPk14EhA2bpK33BbrJxwocQOAZDm58L/de6xa50DUUSYsRv4xQBEOCYhv7T4FxpkYX7wRMLs+mpdy45TNoc5DhP3GF7jxkAKRRmQmN7T70HQLUpQEnSzVg7KE2bZ08pqPCvBCQwGJt5ugobC6OAKerK+O/5AQYAFBgkwjjLx3etBwToAoZeC+YqqPUoNxAFmRgI7fyMcQkMc+GBEN9yBgFgB/n72DeQNkIAHHgI9AVV30dRu3nTH0DkExPrsFccA4DNeAAIABIBEAC4LLMFEwHycSIRqSyegGEAiBWq7qTw8ygCv8TPUtMKEylOshwF9sg4qB5TenMfAJXieVVDRRx24Np1hkGsEZ9YNZkxNu0/8QBUpICDmhC0+CAAEmQkwKIAgQhoYGgoiYEAOQUeAMYH9BQBAGDZGtV6diarCKiAn1cEpAB+fhHAAfyCIqAGfkkREAL42SKgBX61ACxECwFAQkGBBAkDBRlIBAQQRSIhAEgcKFAgyaCAQHJAQQRSAAo0SCkoMCBjQUEDMhEUlCCTQEEMMoAiQAB8wVCQE5IOCgqQuSgEPJBCjmUyiTpnnAwAC9X454HQTbcNEoYBYdVggE9xEdEYaQAlBjwQgwCZAmAxgjoOQioVE0fKZTIkcn1SLA7GkCIG6YM1WpYixKYWLQpvIQUCBcMIrYYgwp1QKRKalggE8jRMbHRKCJmcUQJFA0FbnaYMQiHDqBgxISJPGYNIH8wQUkqmWjvCxfbqTwmk9u/w//JT+EzceDgRPZXNlcw/4afyEuWDOZG5cZRhvmglKZFfmwuPZtoRg3Qm5gAP2X6nNDOOUUgcncmnf4lTP0lsmihcxlhfYVwYHaKjFT73dI3OOVVldTL75Ily7/BpOvZ0wCvEOHFSkjKbcSp7/5pi+RAQZKTA7etBjmavHLp68bfnpfIl27no3IvMiefu35efMPMTp7xOd/6IyS8i75N/SOWdtv3p9+Nb6TQned5gQq80hcuqf8QPcpalLE+xMjFdTUxWxdQdsRJuQ5/C47Jk77ehUtYxIYg0cUaMnD7mTbYTTTfmAhgoq2gYwmCaSRrquAwL8+/fvXOazfEUDbjpSm77AbWoASpkllO+yX6bc2pLT1ZaaAln0CDryr9cY8lbCf2gVBgxosEPwA+eEKERZWYpZac5BR1RzObsdBWOEHc1Vh3TnavN1AuV0V1hGXlBjVZZT07d1zr043JBGR2dPYcZ+G77pCpt8dkt8tSvJ01F0OkGiCyU7FojSYlxEECYJNeEaCa8f0rnAVVogN2ZDKyfgN3WP91FJA9g90lZCHL7IU1dFfP4zT/hAi4L0pCZQQBIaAhk5RF6Es1sW1hHrElbmH85+mfNrb0/FrFiT4Fmn7UgDXKBHXxuw2ffzWkmzNaVvxkHuIgrcLosg6t28oFiPhRnnUIIYIguu3X7su+JKfPOKLuVcqznjmrF5pjOXGsIN9gY3RHWz7EyIEgF67wGO2kVuZqiti5JhiQ6KAJLhzBAeyzhZBS+TYZqSKObAQSzIK/zACFDozxtP7OZ6bJYyX30t5971vxs2i+26KNkT/GT+pPRsUefROPA4Grhthfx9v7P0wntWOHhs8QBGnxTdmxllqeXKqcwN6XxQbTtdXoswPjXePJPXKIy9JUwvc5KH2h72/W2F+W93CflaVq7fn1kVKb8w4zqq7G+V33d+nH23pHjHOHP/5/Y/uyvFdonf4xre/rvcswlEQiNK9y+xvpaansRbUOvX7ClAtv30LjEpQ0ujtK7dSl6m73+GfbcgJfGLOG5tnfwbsNhnUELYz77ZAXgpH4vXx/VMdI4N7XGtmfnBQ4hFxWrY+CbHYkjwFGPCQAT0fAytlCFjvIUN44yRox1Z3HjSGPMcEfLK9tvB9J4Q6wJmg4gVWXHtabbKwAIXxgVgjHvQsdUo6wucZwh0n/CEXszDtFCHh6Ez/5b0ffJP+PuDgxZtB6rRfWHI4IpeE8v0RlanhzFJAIRpwu1FhJdetpFTJ71HQUIh2wMREU6E8McHw1wgUy7r+XrgCCDpOzMNg+IMqpl2rzka5360XnQxt7/K6dQv2/ESIcQe+99tqCCebB/vxZy/bxiZET+/pIJF064fALYQUd00tBzTJ+5wTYOOAKpZcrwbt9n/01op8GoPKeNVKb3l2pjqaYn/xwe6DSCUDy4PRMIcW8QDuioJWtL483vfgh2hl6+ThrTcXZBUhDL2vTjhd8rllELl1q0OYM579xFAsROcV5HjqDJ1+J2p9v+eMa6UI173fjUWBiYE9GYZyXHiY7FuxaM3SUaqxp403AtpILcpS+MvTT2zfaLLc26QvJl3eXfZN1UWXnz2omdkeUU/fHTNYnm+WMXts3LqBFPocfFH8ssNs0E6Z3GdMcIhUqWOo4RL1OmfjNfsnj8J5Noqp6/dQM2CcuVsYKQ+OhigleHagoJ7ZODhIzhm1QdwYqO1LAoBSiS7Vn2Rasd2Y4O2LMG1mniAlIqENWo/NFq/T8hAA7XoTvDBEmx9UdwBe7KGQ8NZ75mnjJfnzE8jEz/67Cvl27CrxZOBNx2SX5O2o52PXjoRjvRLAftYtrk59Hd5a34mT7UJmn4ZRPH/bpZvBJve8vbnr5isxkMlfDKxwkSSf7cn5xcNVfFgXEDcY/g3bPBgXDcDfvdnYiOfvTRUSLA6UBH0RF1bUfs/Yd6V4bHsfL03oOeoHSdZ968bB+rZ325C+fTHxNAJg3Dluf3aE3bPyEEwv6mYOj6Tv1d1+9tt+M7P30xesf7N/cyj0ThP6sfih79FPFItZf+x53fHsmnnnfBC3j6wsetTdh54rvviF7Oue++P4/c2Psno7aWMnPKV3DFOcuA91pxxtTPUv1TUJ8Nrr19Z5b8A/msVVkpm7VwoUPuuHNb6IMvUCDDlP5zRpElTofSdboSQNwxC2f26oJmXdBKvug58+ekoyiFtX1EXZUt9v3EuaOU6urYmIkRN83WitKnhimprYrm/LbahD+VONN5QCupStq9xWq+GTExpkU5taZ1buL7sbaq/MKMk+wEzVUwupYOqwZ5a3mD1cP56y7KH9J84XpDb1iKrMO+j+DOul70ztuoM3veeQehCwL1/kHI1uK9vfiaANO+Fq1BITghgyMMGubRIyw5IoV1dcOhM7M4xt6BOVDziZPNeIBZBmrGHPaO4pjO6IFnMjeiP7TpaWXPT/cv4ADAMy3qO5ro/JBGMvfAM30aPq+jYy4mICCKz92CRjjbAVlLHG3XF5FPFU/JXKpf0U8taL0+i32fdWy4qCUH5IOk9ob0z4qB51VTSWb7FGdLZkVJ+0hCamqGitHkK5qrWw5wo4NJL8VkWPfu+WoPRoktCfmc0Rlj/6JPY3jH7AnXlG4ia/QP7343UkRhRe5jRd4fJF4y+MVtRR7JcJKrpGHWgtT1c5OON5S4YqjbrXVfebZzVj3pJdkde9uer45iVDmFcS8d4zw/SNws/IG+1W8Pgx4M1iCVHdGCw+O9SY006Z/H2305zTEzYXmWdaRd3j0Y2GW6Jghwy+DfKqrPTutoex8UURuk6VKdZqOgSGt0DhuG4ZU0eZmn840Q8lxDU2hTgDmtmhKTdt76JdjwSbpkITMjZb7EIFmUvcxHdimDgqjZq2VLYwI8In3Qsm9H3ORthtGv7r2TJC+Y/Sz8n5X1tkqzpbaqfuU3EUNzFIUV7/yUly/dSg5So7Yz2Ry68Ev/LNIdenKQ3CrNzYf6Kd3Ofo8uQrclP5+r/p8GAdXgyeHbzW2jzY5iYQPNd5rtJW67mZ/4F6EYMNbk52/RheuO5uVPP1PxbPvEB0Z5o7FLo9nBmB8sgguN/J++UkSG5xWE//Lw29BXFvREEl8pfoIbCQQ/GAGZJDUeN0qJHhiV1HHFcUpZb7EIgK+MJceXZPBBsJP1/kPV0wh7dJXjeN3mN+JFPVnqrB51r0lt6n2dShCdy1JlnVOfN6lM59+IXlygDjdnInbsWM6cxtWN2X5cOls9paJic/Zr+NL/Y3/o5dDa1TdDZ0pYR8ih0BOhywpcMvIyKdP5deHkISEmZcO0bz7f7IOVWDjMZnwMkTd8PIP+ng6npsvXhz0W8fcids2azIzBPbrNY8Z6tJ4BdllLfX0DJ+HGji0SF8VuQyxn/oDzZnwQZthnFB3jIvTIvIE6j5kBtSmf/TiT7WRnMp+xmvzX59QHVCddgc/oIWZDDtFSOWJrbZkezmYzc6wJ49Fks9V56VHDqioQa6vlPFytLSMz7EuejTYbd6xnUhsGpbnzDGSxs89ZTI7oKp+3KFT3UkOKQcrbXVmjv6bH1d3na9dQg4r3qVTXAsO0uGkW8+FOD6Lz/t78WTyvm5V/hwxx23BHtlnOk2+WKRrnLDUpKdFx0TWllWmpxU+0cMuF5Aj2novVHtWxuntaljwqZB/dFYEoVgw6EMea+pnye4n34NgUp9XK55dn6lRNc8RlzffG71P+TwnUXkk/okqlv3jLWnFuQnuQTVlYqFwsTs76dOakm/9WvKaniGZmh+RuS8qDULThLV6IgXiLeHvwW2sYorcBzDRBXlbOpn3pPx52vLy8P7T/ue/Z8/6wa4os5OnXXzPYvQG7yjQC0pkpzlteuokaUg6RTZr/653O/wVnKcjbmnzrsSR0UehW6ZNd5FBWqNFV73p0K7SoCMdt22aAPZNomIDiP3lyc3hT7qbhA15jRm3GzVuiV3VoQgOyj5gBRUUymTX5kl/25Z7mK8+oNaLaIJ6ir4GaK64rhPcVkhyCxh+4RddEmagEaoGZPcV/g6I/DFkAmvi7eAAEblWAcOw71Qw0NX9fPlQV+H0lv7YWaoGmeisO/BTYvDjqAIEXykH1yr7b3Swfb60SuVy62Y0KUNPRbXrfmQqR8VjTSlFrU9WXzttqE3LgJ3DMXz4aqWV+hv/A/4gMiA38E3i5CYMMUmv/twGsu7800z+Sg4HLKk/+ptm/9eg/LtvfGb1/AuXDM5uBaAMh4P9xEPi3ka6kIOJ/69mie3R7vEqrBgV+Jy+GB34qvisJqy/wD4yNHtD5EFgJBwDKeAjgH0csK7DI5lD+k8MwEFKmTTYOAtBjlBUbiQnEJmbzgIYMzEdsXjYFCYonpkFuqSZgBAkA8dqRjQHjTDYOEriJEWKHMIHYD7J5oPId4pM6KJsCx8inSUP0zKWKliIEFCzZMsOplOkLA6/3J6qYg1Mtq+F+0XlDJTtKNl5PPmOJTkQYv1LHIUgmHRXsSdHBPCdWOUqRh33Nier6IGXWLuw+p6I2gCIOAsHJLzDTbCvPxZGSfHYwSPz5T0iJcsAVXPZU+RdyPFPDpP49fNkKkc9iWemysvDLrCjHlqtMYta5DikwFpWh3DhGmPrsgVKIC/bNYZAq11LU282qKu43byvGhjgXXr4r6v+WRZRklVqj1ekNRpPZYrXZHU6X2+P1Kf6Ax7I8OgsGynXMzZZiiEZH2nuoQeaYU7W16DwtOb1AEZyjtUYQF/OEJJTKA9OVtDGl6glbWqM5GggzV3384qKBm4dXrWkSKRZAISYJdnrefPzCgCcTkOY1d4vtnxx4FK/W0YgOkcQWutRMvRZfK4C8Hi1lpO/e0NURN2mGgTB1xgFroMc1lWqnTWf9Cz1FcR25xmE7Qx11K4cey1AD') format('woff2'), + url('iconfont.woff?t=1561534862311') format('woff'), + url('iconfont.ttf?t=1561534862311') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1561534862311#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-F:before { + content: "\f003d"; +} + +.icon-15tianwuliyoutuihuo:before { + content: "\e606"; +} + +.icon-iconfonticonfonti2copycopy:before { + content: "\e62e"; +} + +.icon-jiantouarrowhead7:before { + content: "\e6bc"; +} + +.icon-bofangsanjiaoxing:before { + content: "\e769"; +} + +.icon-dingwei1:before { + content: "\e617"; +} + +.icon-youjiantou:before { + content: "\e619"; +} + +.icon-7tianwuliyoutuihuo:before { + content: "\e60e"; +} + +.icon-sanjiaoxing:before { + content: "\e620"; +} + +.icon-buoumaotubiao46:before { + content: "\e629"; +} + +.icon-tel:before { + content: "\e641"; +} + +.icon-fangdajing:before { + content: "\e63d"; +} + +.icon-my_icon:before { + content: "\e65d"; +} + +.icon-fanhuidingbu:before { + content: "\e623"; +} + +.icon-erji:before { + content: "\e605"; +} + +.icon-shoujidaoshouji:before { + content: "\e64a"; +} + +.icon-gifs:before { + content: "\e624"; +} + +.icon-jiantou:before { + content: "\e621"; +} + +.icon-duihua:before { + content: "\e710"; +} + +.icon-dianhuaqia:before { + content: "\e733"; +} + +.icon-chongzhi:before { + content: "\e65c"; +} + +.icon-shouji:before { + content: "\e525"; +} + +.icon-gouwuche:before { + content: "\e607"; +} + +.icon-youjiantou1:before { + content: "\e658"; +} + +.icon-present:before { + content: "\e611"; +} + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.eot" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..5e9a285d4f141012b90c8b0093da4f07c0fa62bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.eot" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.js" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.js" new file mode 100644 index 0000000000000000000000000000000000000000..1d120ac96efd0bc668b14ad234fd20ae00664a04 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.js" @@ -0,0 +1 @@ +!function(s){var c,t='',h=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(h&&!s.__iconfont__svg__cssinject__){s.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var h=function(){document.removeEventListener("DOMContentLoaded",h,!1),c()};document.addEventListener("DOMContentLoaded",h,!1)}else document.attachEvent&&(l=c,a=s.document,o=!1,(i=function(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(i,50)}t()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,t())});function t(){o||(o=!0,l())}var l,a,o,i}(function(){var c,h;(c=document.createElement("div")).innerHTML=t,t=null,(h=c.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",function(c,h){h.firstChild?function(c,h){h.parentNode.insertBefore(c,h)}(c,h.firstChild):h.appendChild(c)}(h,document.body))})}(window); \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.svg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..f5269cc8c727142a59f9837e20fd4f892c11407a --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.svg" @@ -0,0 +1,101 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.ttf" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..3b9dd2e7ca16388626976f473598d8c4d5570021 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.ttf" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.woff" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..f42f23160f7a24b91c3b05e052902bbd8644c35f Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.woff" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.woff2" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.woff2" new file mode 100644 index 0000000000000000000000000000000000000000..12e816ceb161961bcfcefb2c446b3224a38a5870 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/iconfont/iconfont.woff2" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/mi.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/mi.css" new file mode 100644 index 0000000000000000000000000000000000000000..cac0cb55ea9c2e11a07627a1e8455ba531b69f18 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/mi.css" @@ -0,0 +1,583 @@ +/* 头部样式开始 */ +.header{ + width: 100%; + height: 120px; + overflow: hidden; + position: relative; +} + +.header img{ + height: 120px; + /* 图片,以中间开始渲染 */ + position: absolute; + left: 50%; + transform: translateX(-50%); +} +/* 头部样式结束 */ + +/* 黑色导航样式开始 */ +.black-nav{ + width: 100%; + height: 40px; + line-height: 40px; + background-color: #333; + font-size: 12px; +} +.wrap{ + width: 1226px; + margin: 0 auto; +} +.black-nav-left{ + float: left; +} +.black-nav-right{ + float: right; +} +.black-nav li{ + float: left; + position: relative; +} +.black-nav a{ + color: #b0b0b0; +} +.black-nav span{ + color: #424242; + margin: 0 3.6px; +} +.download{ + width: 124px; + height: 0; + background: #fff; + box-shadow: 0 1px 5px #aaa; + position: absolute; + top: 40px; + left: 50%; + margin-left: -62px; + overflow:hidden; + transition: all 0.3s; + z-index: 10; +} +.download img{ + width: 90px; + margin: 18px auto 0; +} +.download p{ + color: #333; + font-size: 14px; + line-height: 14px; +} +.black-nav-left li:hover>.download{ + height: 148px; +} +.stri{ + width: 0; + height: 0; + border-bottom: 8px solid #fff; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + position:absolute; + bottom: 0; + left: 50%; + margin-left: -8px; + display: none; +} +.black-nav-left>li:hover>.stri{ + display: block; +} +.cart{ + width: 120px; + height: 40px; + background: #424242; + margin-left: 25px; + position: relative; + z-index: 10; +} +.cart:hover{ + background: #fff; +} +.cart:hover>a{ + color: #ff6700; +} +.cart i{ + font-style: normal; + margin-right: 8px; +} +.cart-list{ + width: 316px; + height: 0; + background: #fff; + box-shadow: 0 2px 10px rgba(0,0,0,0.15); + position: absolute; + right: 0; + top: 40px; + color: #424242; + overflow: hidden; + transition: all 0.3s; + line-height: 100px; +} +.cart:hover>.cart-list{ + height: 100px; +} +/* 黑色导航样式结束 */ + +/* 白色导航样式开始 */ +.white-nav{ + width: 100%; + height: 100px; + background: #fff; + position: relative; +} +.logo{ + width: 55px; + height: 55px; + background: #ff6700; + float: left; + margin-top: 22.5px; + overflow: hidden; + position: relative; +} +.logo>img{ + width: 100%; + height: 100%; + position:absolute; + top: 0; + transition: all 0.2s; +} +.mi-home{ + left: -55px; +} +.mi-logo{ + left: 0; +} +.logo:hover>.mi-home{ + left: 0; +} +.logo:hover>.mi-logo{ + left: 55px; +} +.nav-bar{ + width: 875px; + height: 100px; + line-height: 100px; + float: left; +} +.search{ + width: 296px; + height: 100px; + float: right; +} +.nav-bar li{ + float: left; +} +.nav-bar>ul>li>a{ + color: #333; + padding: 0 10px; +} + +.nav-bar>ul>li>a:hover{ + color: #ff6700; +} + +.nav-bar>ul>li:first-child img{ + margin-top: 22.5px; +} + +.search input{ + width: 244px; + height: 50px; + border:1px solid #e0e0e0; + margin-top: 25px; + /* 去掉选中的边框 */ + outline: none; + padding: 0 10px; + box-sizing: border-box; + border-right: 0; +} + +.search button{ + width: 52px; + height: 50px; + background: #fff; + border:1px solid #e0e0e0; + float: right; + margin-top: 25px; +} +.search button:hover{ + background: #ff6700; + color: #fff; +} + +.nav-bar-list{ + width: 100%; + height: 229px; + background: #fff; + border-top: 1px solid #eee; + box-shadow: 0 3px 4px rgba(0,0,0,0.1); + position: absolute; + left: 0; + top: 100px; + display: none; + z-index: 10; +} + +.nav-bar li:hover .nav-bar-list{ + display: block; +} + +.img-box{ + width: 100%; + height: 110px; + margin-top: 35px; + border-right: 1px solid #eee; + box-sizing: border-box; + margin-bottom: 16px; +} + +.nav-bar-list li:last-child .img-box{ + border-right: 0; +} + +.nav-bar-list p{ + font-size: 12px; + line-height: 20px; +} + +.name{ + color: #333; +} + +.price{ + color: #ff6700; +} +/* 白色导航样式结束 */ +/* banner样式开始 */ +.banner{ + width: 100%; + height: 460px; +} +.banner-img{ + width: 100%; +} +.banner>.wrap{ + position: relative; +} +.slide{ + width: 234px; + height: 420px; + padding: 20px 0; + background: rgba(105,101,101,0.6); + position: absolute; + left: 0; + top: 0; +} + +.slide>ul>li{ + height: 42px; + line-height: 42px; + text-align: left; + padding-left: 30px; + font-size: 14px; +} +.slide>ul>li:hover{ + background: #ff6700; +} +.slide>ul>li>a{ + color: #fff; +} +.slide i{ + float: right; + padding-right: 20px; +} + +.slide-list{ + width: 992px; + height: 460px; + background: #fff; + border: 1px solid #e0e0e0; + border-left: none; + box-sizing: border-box; + box-shadow: 0 8px 16px rgba(0,0,0,0.18); + padding-top: 2px; + position: absolute; + top: 0; + left: 234px; + display: none; +} +.slide-list ul{ + width: 100%; +} + +.slide-list ul li{ + width: 247.75px; + float: left; + height: 76px; + padding: 18px 0 18px 20px; + box-sizing: border-box; + line-height: 40px; +} +.slide-list img{ + width: 40px; + margin-right: 14px; +} +.slide-list span{ + color: #333; + font-size: 14px; + /* 一行宽度不够的时候,用...代替 */ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + position: relative; + top: -14px; +} +.slide li:hover .slide-list{ + display: block; +} + +.slide-list li:hover span{ + color: #ff6700; +} +/* banner样式结束 */ +/* 广告样式开始 */ +.ad{ + width: 100%; + height: 170px; + padding: 14px 0 26px; + background: #fff; +} + +.ad-aside{ + width: 234px; + height: 170px; + background: #5f5750; + padding: 3px; + box-sizing: border-box; + font-size: 12px; + float: left; +} + +.ad-aside li{ + float: left; + width: 76px; + height: 82px; + padding-top: 18px; + box-sizing: border-box; + opacity: 0.7; +} + +.ad-aside a{ + color: #fff; +} +.ad-aside i{ + font-size: 24px; + margin-bottom: 4px; + display: block; +} +.ad-aside li:hover{ + opacity: 1; +} +.ad-img{ + width: 316px; + height: 170px; + float: left; + margin-left: 14px; +} + +.ad-img img{ + width: 100%; +} +/* 广告样式结束 */ +/* 主体部分样式开始 */ +.content{ + width: 100%; + background: #f5f5f5; + overflow: hidden; + padding: 4px 0 12px; +} +/* 主体部分样式结束 */ +/* 手机模块样式开始 */ +.title{ + text-align: left; + color: #333; + font-size: 22px; + font-weight: 200; + line-height: 58px; +} +.phone-box{ + width: 100%; + height: 614px; +} +.phone-box-left{ + width: 234px; + height: 100%; + float: left; +} +.phone-box-right{ + width: 992px; + height: 614px; + float: left; +} + +.item{ + width: 234px; + height: 300px; + background: #fff; + padding: 20px 0; + margin: 0 0 14px 14px; + float: left; + box-sizing: border-box; + transition: all 0.2s linear; +} +.item:hover{ + /* transform: translateY(-2px); */ + transform: translate3d(0,-2px,0); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} + +.item-img{ + width: 160px; + margin-bottom: 18px; +} + +.item-name{ + width: 214px; + height: 21px; + color: #333; + font-size: 14px; + line-height: 21px; + margin: 0 auto 2px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.item-desc{ + width: 214px; + height: 18px; + color: #b0b0b0; + font-size: 12px; + line-height: 18px; + margin: 0 auto 10px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.item-price{ + color: #ff6700; + font-size: 14px; +} + +.big-img{ + width: 100%; + height: 120px; + margin: 22px 0; +} + +/* 手机模块样式结束 */ +/* 家电模块样式开始 */ +.elc-box{ + width: 100%; + height: 614px; +} +.elc-item{ + margin-left: 0; + padding: 0; +} + +.item-price>del{ + color: #b0b0b0; +} +.item-last{ + width: 234px; + height: 300px; + float: left; + margin-left: 14px; +} +.item-last>div{ + width: 234px; + height: 143px; + background: #fff; + transition: all 0.2s linear; +} +.item-last>div:first-child{ + margin-bottom: 14px; +} +.item-last>div:hover{ + transform: translateY(-2px); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} +/* 家电模块样式结束 */ +/* 视频模块样式开始 */ +.video-box{ + width: 100%; + height: 299px; +} + +.video-box>div{ + width: 296px; + height: 285px; + background: #fff; + float: left; + margin-bottom: 14px; + margin-right: 14px; + transition: all 0.2s linear; +} + +.video-box>div:hover{ + transform: translateY(-2px); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} + +.video-box>div:last-child{ + margin-right: 0; +} + +.video-img{ + width: 100%; + height: 180px; + margin-bottom: 28px; + position: relative; +} +.btn{ + width: 32px; + height: 20px; + border-radius: 12px; + border: 2px solid #fff; + position: absolute; + left: 20px; + bottom: 10px; +} + +.sanjiao{ + border-left: 8px solid #fff; + border-top: 6px solid transparent; + border-bottom: 6px solid transparent; + width: 0; + height: 0; + margin: 3px auto; +} +.video-name{ + color: #333; + font-size: 14px; + width: 286px; + height: 21px; + margin: 0 auto 6px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.video-desc{ + width: 286px; + height: 18px; + margin: 0 auto; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + color: #b0b0b0; + font-size: 12px; +} +.video-img:hover .btn{ + background: #ff6700; + border-color: #ff6700; +} +/* 视频模块样式结束 */ \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/reset.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..be2dc78d18b6bec6cf9115f7b6f31495e6c73e20 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;font-family: Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;} +li{ list-style: none;} +a{text-decoration: none;} +img{border: none;} \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a70e7760dd848d296634e193f100d303c22784ec Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/banner.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/banner.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a7dedb23d9ca63f06bca42993ca2469ca11ebb93 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/banner.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/download.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/download.png" new file mode 100644 index 0000000000000000000000000000000000000000..8ace029704d62e8173ee6d55c037aff4315488fd Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/download.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/elc-left.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/elc-left.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..4944f84309095c2abd454ec18fdd90362f4797bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/elc-left.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/elc-right.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/elc-right.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..e53fb78e054c12b65206347e1dc3bcabc2b4fbe7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/elc-right.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/mi-home.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/mi-home.png" new file mode 100644 index 0000000000000000000000000000000000000000..cb3ea82de3c11402e99f4add187c49db4de6f958 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/mi-home.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/mi-logo.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/mi-logo.png" new file mode 100644 index 0000000000000000000000000000000000000000..82de5d977bca6d3131baec5696deac1c77df29d7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/mi-logo.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone-right.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone-right.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..29d6158b84d292d5c2693486a41d7bad10752813 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone-right.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone.png" new file mode 100644 index 0000000000000000000000000000000000000000..413d28d043d4d9495f8d4e9bbcf3aaa068d578b2 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone_ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone_ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..512ec1b87db7453a7765477f88fc7a709c249f18 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone_ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone_left.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone_left.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..40d4f53d4f48177808edead35691347a3f770fae Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/phone_left.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/top.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/top.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a1c3c4ba18304ed49a5d826cf2dd3d56b4ff27c1 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/top.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/video.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/video.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..389b97c854b501892615644bd4c25253dc62ba46 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/video.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/wb.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/wb.png" new file mode 100644 index 0000000000000000000000000000000000000000..f78ec4cd5de6f2e8639486db9f08c0736080b926 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/wb.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/wx.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/wx.png" new file mode 100644 index 0000000000000000000000000000000000000000..158d1327bd8048026fb999d5a6ea0d7753f86327 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/wx.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/zzxsh.gif" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/zzxsh.gif" new file mode 100644 index 0000000000000000000000000000000000000000..bb6222f926a49166214a8a471bb9044c509f67e0 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/images/zzxsh.gif" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..858b00c5beb4672254dd74193df15ce7c5003d4d --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/08_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\350\247\206\351\242\221/index.html" @@ -0,0 +1,480 @@ + + + + + + + 小米 + + + + + + + +
+ + + +
+ + + +
+
+ + +
+
+ + + + + + + + +
+ +
+ + +
+
+ + + + + + + +
+

视频

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+ + + + \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/demo.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/demo.css" new file mode 100644 index 0000000000000000000000000000000000000000..a67054a0a030993643b8cbe9f344b34706efa134 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/demo.css" @@ -0,0 +1,539 @@ +/* Logo 字体 */ +@font-face { + font-family: "iconfont logo"; + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834'); + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg'); +} + +.logo { + font-family: "iconfont logo"; + font-size: 160px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* tabs */ +.nav-tabs { + position: relative; +} + +.nav-tabs .nav-more { + position: absolute; + right: 0; + bottom: 0; + height: 42px; + line-height: 42px; + color: #666; +} + +#tabs { + border-bottom: 1px solid #eee; +} + +#tabs li { + cursor: pointer; + width: 100px; + height: 40px; + line-height: 40px; + text-align: center; + font-size: 16px; + border-bottom: 2px solid transparent; + position: relative; + z-index: 1; + margin-bottom: -1px; + color: #666; +} + + +#tabs .active { + border-bottom-color: #f00; + color: #222; +} + +.tab-container .content { + display: none; +} + +/* 页面布局 */ +.main { + padding: 30px 100px; + width: 960px; + margin: 0 auto; +} + +.main .logo { + color: #333; + text-align: left; + margin-bottom: 30px; + line-height: 1; + height: 110px; + margin-top: -50px; + overflow: hidden; + *zoom: 1; +} + +.main .logo a { + font-size: 160px; + color: #333; +} + +.helps { + margin-top: 40px; +} + +.helps pre { + padding: 20px; + margin: 10px 0; + border: solid 1px #e7e1cd; + background-color: #fffdef; + overflow: auto; +} + +.icon_lists { + width: 100% !important; + overflow: hidden; + *zoom: 1; +} + +.icon_lists li { + width: 100px; + margin-bottom: 10px; + margin-right: 20px; + text-align: center; + list-style: none !important; + cursor: default; +} + +.icon_lists li .code-name { + line-height: 1.2; +} + +.icon_lists .icon { + display: block; + height: 100px; + line-height: 100px; + font-size: 42px; + margin: 10px auto; + color: #333; + -webkit-transition: font-size 0.25s linear, width 0.25s linear; + -moz-transition: font-size 0.25s linear, width 0.25s linear; + transition: font-size 0.25s linear, width 0.25s linear; +} + +.icon_lists .icon:hover { + font-size: 100px; +} + +.icon_lists .svg-icon { + /* 通过设置 font-size 来改变图标大小 */ + width: 1em; + /* 图标和文字相邻时,垂直对齐 */ + vertical-align: -0.15em; + /* 通过设置 color 来改变 SVG 的颜色/fill */ + fill: currentColor; + /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示 + normalize.css 中也包含这行 */ + overflow: hidden; +} + +.icon_lists li .name, +.icon_lists li .code-name { + color: #666; +} + +/* markdown 样式 */ +.markdown { + color: #666; + font-size: 14px; + line-height: 1.8; +} + +.highlight { + line-height: 1.5; +} + +.markdown img { + vertical-align: middle; + max-width: 100%; +} + +.markdown h1 { + color: #404040; + font-weight: 500; + line-height: 40px; + margin-bottom: 24px; +} + +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + color: #404040; + margin: 1.6em 0 0.6em 0; + font-weight: 500; + clear: both; +} + +.markdown h1 { + font-size: 28px; +} + +.markdown h2 { + font-size: 22px; +} + +.markdown h3 { + font-size: 16px; +} + +.markdown h4 { + font-size: 14px; +} + +.markdown h5 { + font-size: 12px; +} + +.markdown h6 { + font-size: 12px; +} + +.markdown hr { + height: 1px; + border: 0; + background: #e9e9e9; + margin: 16px 0; + clear: both; +} + +.markdown p { + margin: 1em 0; +} + +.markdown>p, +.markdown>blockquote, +.markdown>.highlight, +.markdown>ol, +.markdown>ul { + width: 80%; +} + +.markdown ul>li { + list-style: circle; +} + +.markdown>ul li, +.markdown blockquote ul>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown>ul li p, +.markdown>ol li p { + margin: 0.6em 0; +} + +.markdown ol>li { + list-style: decimal; +} + +.markdown>ol li, +.markdown blockquote ol>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown code { + margin: 0 3px; + padding: 0 5px; + background: #eee; + border-radius: 3px; +} + +.markdown strong, +.markdown b { + font-weight: 600; +} + +.markdown>table { + border-collapse: collapse; + border-spacing: 0px; + empty-cells: show; + border: 1px solid #e9e9e9; + width: 95%; + margin-bottom: 24px; +} + +.markdown>table th { + white-space: nowrap; + color: #333; + font-weight: 600; +} + +.markdown>table th, +.markdown>table td { + border: 1px solid #e9e9e9; + padding: 8px 16px; + text-align: left; +} + +.markdown>table th { + background: #F7F7F7; +} + +.markdown blockquote { + font-size: 90%; + color: #999; + border-left: 4px solid #e9e9e9; + padding-left: 0.8em; + margin: 1em 0; +} + +.markdown blockquote p { + margin: 0; +} + +.markdown .anchor { + opacity: 0; + transition: opacity 0.3s ease; + margin-left: 8px; +} + +.markdown .waiting { + color: #ccc; +} + +.markdown h1:hover .anchor, +.markdown h2:hover .anchor, +.markdown h3:hover .anchor, +.markdown h4:hover .anchor, +.markdown h5:hover .anchor, +.markdown h6:hover .anchor { + opacity: 1; + display: inline-block; +} + +.markdown>br, +.markdown>p>br { + clear: both; +} + + +.hljs { + display: block; + background: white; + padding: 0.5em; + color: #333333; + overflow-x: auto; +} + +.hljs-comment, +.hljs-meta { + color: #969896; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-strong, +.hljs-emphasis, +.hljs-quote { + color: #df5000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #a71d5d; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute { + color: #0086b3; +} + +.hljs-section, +.hljs-name { + color: #63a35c; +} + +.hljs-tag { + color: #333333; +} + +.hljs-title, +.hljs-attr, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #795da3; +} + +.hljs-addition { + color: #55a532; + background-color: #eaffea; +} + +.hljs-deletion { + color: #bd2c00; + background-color: #ffecec; +} + +.hljs-link { + text-decoration: underline; +} + +/* 代码高亮 */ +/* PrismJS 1.15.0 +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre)>code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre)>code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/demo_index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/demo_index.html" new file mode 100644 index 0000000000000000000000000000000000000000..b1ac8517cfb86548221abfccb3b881ee7edfb6bd --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/demo_index.html" @@ -0,0 +1,743 @@ + + + + + IconFont Demo + + + + + + + + + + + +
+

+ +
+
+
    + +
  • + 󰀽 +
    F
    +
    &#xf003d;
    +
  • + +
  • + +
    15天无理由退货
    +
    &#xe606;
    +
  • + +
  • + +
    右箭头
    +
    &#xe62e;
    +
  • + +
  • + +
    箭头
    +
    &#xe6bc;
    +
  • + +
  • + +
    播放 三角形
    +
    &#xe769;
    +
  • + +
  • + +
    定位 (1)
    +
    &#xe617;
    +
  • + +
  • + +
    右箭头
    +
    &#xe619;
    +
  • + +
  • + +
    7天无理由退货
    +
    &#xe60e;
    +
  • + +
  • + +
    三角形
    +
    &#xe620;
    +
  • + +
  • + +
    维修
    +
    &#xe629;
    +
  • + +
  • + +
    手机
    +
    &#xe641;
    +
  • + +
  • + +
    放大镜
    +
    &#xe63d;
    +
  • + +
  • + +
    我的
    +
    &#xe65d;
    +
  • + +
  • + +
    返回顶部
    +
    &#xe623;
    +
  • + +
  • + +
    耳机
    +
    &#xe605;
    +
  • + +
  • + +
    手机到手机
    +
    &#xe64a;
    +
  • + +
  • + +
    礼物
    +
    &#xe624;
    +
  • + +
  • + +
    箭头
    +
    &#xe621;
    +
  • + +
  • + +
    对话
    +
    &#xe710;
    +
  • + +
  • + +
    电话卡
    +
    &#xe733;
    +
  • + +
  • + +
    充值
    +
    &#xe65c;
    +
  • + +
  • + +
    手机
    +
    &#xe525;
    +
  • + +
  • + +
    购物车
    +
    &#xe607;
    +
  • + +
  • + +
    右箭头
    +
    &#xe658;
    +
  • + +
  • + +
    礼物
    +
    &#xe611;
    +
  • + +
+
+

Unicode 引用

+
+ +

Unicode 是字体在网页端最原始的应用方式,特点是:

+
    +
  • 兼容性最好,支持 IE6+,及所有现代浏览器。
  • +
  • 支持按字体的方式去动态调整图标大小,颜色等等。
  • +
  • 但是因为是字体,所以不支持多色。只能使用平台里单色的图标,就算项目里有多色图标也会自动去色。
  • +
+
+

注意:新版 iconfont 支持多色图标,这些多色图标在 Unicode 模式下将不能使用,如果有需求建议使用symbol 的引用方式

+
+

Unicode 使用步骤如下:

+

第一步:拷贝项目下面生成的 @font-face

+
@font-face {
+  font-family: 'iconfont';
+  src: url('iconfont.eot');
+  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
+      url('iconfont.woff2') format('woff2'),
+      url('iconfont.woff') format('woff'),
+      url('iconfont.ttf') format('truetype'),
+      url('iconfont.svg#iconfont') format('svg');
+}
+
+

第二步:定义使用 iconfont 的样式

+
.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+

第三步:挑选相应图标并获取字体编码,应用于页面

+
+<span class="iconfont">&#x33;</span>
+
+
+

"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    + F +
    +
    .icon-F +
    +
  • + +
  • + +
    + 15天无理由退货 +
    +
    .icon-15tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-iconfonticonfonti2copycopy +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantouarrowhead7 +
    +
  • + +
  • + +
    + 播放 三角形 +
    +
    .icon-bofangsanjiaoxing +
    +
  • + +
  • + +
    + 定位 (1) +
    +
    .icon-dingwei1 +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou +
    +
  • + +
  • + +
    + 7天无理由退货 +
    +
    .icon-7tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 三角形 +
    +
    .icon-sanjiaoxing +
    +
  • + +
  • + +
    + 维修 +
    +
    .icon-buoumaotubiao46 +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-tel +
    +
  • + +
  • + +
    + 放大镜 +
    +
    .icon-fangdajing +
    +
  • + +
  • + +
    + 我的 +
    +
    .icon-my_icon +
    +
  • + +
  • + +
    + 返回顶部 +
    +
    .icon-fanhuidingbu +
    +
  • + +
  • + +
    + 耳机 +
    +
    .icon-erji +
    +
  • + +
  • + +
    + 手机到手机 +
    +
    .icon-shoujidaoshouji +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-gifs +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantou +
    +
  • + +
  • + +
    + 对话 +
    +
    .icon-duihua +
    +
  • + +
  • + +
    + 电话卡 +
    +
    .icon-dianhuaqia +
    +
  • + +
  • + +
    + 充值 +
    +
    .icon-chongzhi +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-shouji +
    +
  • + +
  • + +
    + 购物车 +
    +
    .icon-gouwuche +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou1 +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-present +
    +
  • + +
+
+

font-class 引用

+
+ +

font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。

+

与 Unicode 使用方式相比,具有如下特点:

+
    +
  • 兼容性良好,支持 IE8+,及所有现代浏览器。
  • +
  • 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
  • +
  • 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
  • +
  • 不过因为本质上还是使用的字体,所以多色图标还是不支持的。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 fontclass 代码:

+
<link rel="stylesheet" href="./iconfont.css">
+
+

第二步:挑选相应图标并获取类名,应用于页面:

+
<span class="iconfont icon-xxx"></span>
+
+
+

" + iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    F
    +
    #icon-F
    +
  • + +
  • + +
    15天无理由退货
    +
    #icon-15tianwuliyoutuihuo
    +
  • + +
  • + +
    右箭头
    +
    #icon-iconfonticonfonti2copycopy
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantouarrowhead7
    +
  • + +
  • + +
    播放 三角形
    +
    #icon-bofangsanjiaoxing
    +
  • + +
  • + +
    定位 (1)
    +
    #icon-dingwei1
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou
    +
  • + +
  • + +
    7天无理由退货
    +
    #icon-7tianwuliyoutuihuo
    +
  • + +
  • + +
    三角形
    +
    #icon-sanjiaoxing
    +
  • + +
  • + +
    维修
    +
    #icon-buoumaotubiao46
    +
  • + +
  • + +
    手机
    +
    #icon-tel
    +
  • + +
  • + +
    放大镜
    +
    #icon-fangdajing
    +
  • + +
  • + +
    我的
    +
    #icon-my_icon
    +
  • + +
  • + +
    返回顶部
    +
    #icon-fanhuidingbu
    +
  • + +
  • + +
    耳机
    +
    #icon-erji
    +
  • + +
  • + +
    手机到手机
    +
    #icon-shoujidaoshouji
    +
  • + +
  • + +
    礼物
    +
    #icon-gifs
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantou
    +
  • + +
  • + +
    对话
    +
    #icon-duihua
    +
  • + +
  • + +
    电话卡
    +
    #icon-dianhuaqia
    +
  • + +
  • + +
    充值
    +
    #icon-chongzhi
    +
  • + +
  • + +
    手机
    +
    #icon-shouji
    +
  • + +
  • + +
    购物车
    +
    #icon-gouwuche
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou1
    +
  • + +
  • + +
    礼物
    +
    #icon-present
    +
  • + +
+
+

Symbol 引用

+
+ +

这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 + 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:

+
    +
  • 支持多色图标了,不再受单色限制。
  • +
  • 通过一些技巧,支持像字体那样,通过 font-size, color 来调整样式。
  • +
  • 兼容性较差,支持 IE9+,及现代浏览器。
  • +
  • 浏览器渲染 SVG 的性能一般,还不如 png。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 symbol 代码:

+
<script src="./iconfont.js"></script>
+
+

第二步:加入通用 CSS 代码(引入一次就行):

+
<style>
+.icon {
+  width: 1em;
+  height: 1em;
+  vertical-align: -0.15em;
+  fill: currentColor;
+  overflow: hidden;
+}
+</style>
+
+

第三步:挑选相应图标并获取类名,应用于页面:

+
<svg class="icon" aria-hidden="true">
+  <use xlink:href="#icon-xxx"></use>
+</svg>
+
+
+
+ +
+
+ + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..82b55e328cc0b42679e713b74141f4d4aacd6518 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.css" @@ -0,0 +1,117 @@ +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1561534862311'); /* IE9 */ + src: url('iconfont.eot?t=1561534862311#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABFwAAsAAAAAHwAAABEjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGTgqqVKFYATYCJANoCzYABCAFhG0HgnYbghlFRoWNAwiCfFWy/8sEbg6cHSoHC2MTVdfaiqoBixK7WOwOGSqE4yw/B7GUIWI/rNT/+f6GqqcOpfx53LSX/CBJkASxFqpGbULFAqVitDAxZt5p5/Vpb6N3TGBylZl0ou3M240z7xknIlyu5TO4qghVIkWo0Hb2kg0c7YWejCiF7G79gDhgS7jBnJrUsmQXDSPk14EhA2bpK33BbrJxwocQOAZDm58L/de6xa50DUUSYsRv4xQBEOCYhv7T4FxpkYX7wRMLs+mpdy45TNoc5DhP3GF7jxkAKRRmQmN7T70HQLUpQEnSzVg7KE2bZ08pqPCvBCQwGJt5ugobC6OAKerK+O/5AQYAFBgkwjjLx3etBwToAoZeC+YqqPUoNxAFmRgI7fyMcQkMc+GBEN9yBgFgB/n72DeQNkIAHHgI9AVV30dRu3nTH0DkExPrsFccA4DNeAAIABIBEAC4LLMFEwHycSIRqSyegGEAiBWq7qTw8ygCv8TPUtMKEylOshwF9sg4qB5TenMfAJXieVVDRRx24Np1hkGsEZ9YNZkxNu0/8QBUpICDmhC0+CAAEmQkwKIAgQhoYGgoiYEAOQUeAMYH9BQBAGDZGtV6diarCKiAn1cEpAB+fhHAAfyCIqAGfkkREAL42SKgBX61ACxECwFAQkGBBAkDBRlIBAQQRSIhAEgcKFAgyaCAQHJAQQRSAAo0SCkoMCBjQUEDMhEUlCCTQEEMMoAiQAB8wVCQE5IOCgqQuSgEPJBCjmUyiTpnnAwAC9X454HQTbcNEoYBYdVggE9xEdEYaQAlBjwQgwCZAmAxgjoOQioVE0fKZTIkcn1SLA7GkCIG6YM1WpYixKYWLQpvIQUCBcMIrYYgwp1QKRKalggE8jRMbHRKCJmcUQJFA0FbnaYMQiHDqBgxISJPGYNIH8wQUkqmWjvCxfbqTwmk9u/w//JT+EzceDgRPZXNlcw/4afyEuWDOZG5cZRhvmglKZFfmwuPZtoRg3Qm5gAP2X6nNDOOUUgcncmnf4lTP0lsmihcxlhfYVwYHaKjFT73dI3OOVVldTL75Ily7/BpOvZ0wCvEOHFSkjKbcSp7/5pi+RAQZKTA7etBjmavHLp68bfnpfIl27no3IvMiefu35efMPMTp7xOd/6IyS8i75N/SOWdtv3p9+Nb6TQned5gQq80hcuqf8QPcpalLE+xMjFdTUxWxdQdsRJuQ5/C47Jk77ehUtYxIYg0cUaMnD7mTbYTTTfmAhgoq2gYwmCaSRrquAwL8+/fvXOazfEUDbjpSm77AbWoASpkllO+yX6bc2pLT1ZaaAln0CDryr9cY8lbCf2gVBgxosEPwA+eEKERZWYpZac5BR1RzObsdBWOEHc1Vh3TnavN1AuV0V1hGXlBjVZZT07d1zr043JBGR2dPYcZ+G77pCpt8dkt8tSvJ01F0OkGiCyU7FojSYlxEECYJNeEaCa8f0rnAVVogN2ZDKyfgN3WP91FJA9g90lZCHL7IU1dFfP4zT/hAi4L0pCZQQBIaAhk5RF6Es1sW1hHrElbmH85+mfNrb0/FrFiT4Fmn7UgDXKBHXxuw2ffzWkmzNaVvxkHuIgrcLosg6t28oFiPhRnnUIIYIguu3X7su+JKfPOKLuVcqznjmrF5pjOXGsIN9gY3RHWz7EyIEgF67wGO2kVuZqiti5JhiQ6KAJLhzBAeyzhZBS+TYZqSKObAQSzIK/zACFDozxtP7OZ6bJYyX30t5971vxs2i+26KNkT/GT+pPRsUefROPA4Grhthfx9v7P0wntWOHhs8QBGnxTdmxllqeXKqcwN6XxQbTtdXoswPjXePJPXKIy9JUwvc5KH2h72/W2F+W93CflaVq7fn1kVKb8w4zqq7G+V33d+nH23pHjHOHP/5/Y/uyvFdonf4xre/rvcswlEQiNK9y+xvpaansRbUOvX7ClAtv30LjEpQ0ujtK7dSl6m73+GfbcgJfGLOG5tnfwbsNhnUELYz77ZAXgpH4vXx/VMdI4N7XGtmfnBQ4hFxWrY+CbHYkjwFGPCQAT0fAytlCFjvIUN44yRox1Z3HjSGPMcEfLK9tvB9J4Q6wJmg4gVWXHtabbKwAIXxgVgjHvQsdUo6wucZwh0n/CEXszDtFCHh6Ez/5b0ffJP+PuDgxZtB6rRfWHI4IpeE8v0RlanhzFJAIRpwu1FhJdetpFTJ71HQUIh2wMREU6E8McHw1wgUy7r+XrgCCDpOzMNg+IMqpl2rzka5360XnQxt7/K6dQv2/ESIcQe+99tqCCebB/vxZy/bxiZET+/pIJF064fALYQUd00tBzTJ+5wTYOOAKpZcrwbt9n/01op8GoPKeNVKb3l2pjqaYn/xwe6DSCUDy4PRMIcW8QDuioJWtL483vfgh2hl6+ThrTcXZBUhDL2vTjhd8rllELl1q0OYM579xFAsROcV5HjqDJ1+J2p9v+eMa6UI173fjUWBiYE9GYZyXHiY7FuxaM3SUaqxp403AtpILcpS+MvTT2zfaLLc26QvJl3eXfZN1UWXnz2omdkeUU/fHTNYnm+WMXts3LqBFPocfFH8ssNs0E6Z3GdMcIhUqWOo4RL1OmfjNfsnj8J5Noqp6/dQM2CcuVsYKQ+OhigleHagoJ7ZODhIzhm1QdwYqO1LAoBSiS7Vn2Rasd2Y4O2LMG1mniAlIqENWo/NFq/T8hAA7XoTvDBEmx9UdwBe7KGQ8NZ75mnjJfnzE8jEz/67Cvl27CrxZOBNx2SX5O2o52PXjoRjvRLAftYtrk59Hd5a34mT7UJmn4ZRPH/bpZvBJve8vbnr5isxkMlfDKxwkSSf7cn5xcNVfFgXEDcY/g3bPBgXDcDfvdnYiOfvTRUSLA6UBH0RF1bUfs/Yd6V4bHsfL03oOeoHSdZ968bB+rZ325C+fTHxNAJg3Dluf3aE3bPyEEwv6mYOj6Tv1d1+9tt+M7P30xesf7N/cyj0ThP6sfih79FPFItZf+x53fHsmnnnfBC3j6wsetTdh54rvviF7Oue++P4/c2Psno7aWMnPKV3DFOcuA91pxxtTPUv1TUJ8Nrr19Z5b8A/msVVkpm7VwoUPuuHNb6IMvUCDDlP5zRpElTofSdboSQNwxC2f26oJmXdBKvug58+ekoyiFtX1EXZUt9v3EuaOU6urYmIkRN83WitKnhimprYrm/LbahD+VONN5QCupStq9xWq+GTExpkU5taZ1buL7sbaq/MKMk+wEzVUwupYOqwZ5a3mD1cP56y7KH9J84XpDb1iKrMO+j+DOul70ztuoM3veeQehCwL1/kHI1uK9vfiaANO+Fq1BITghgyMMGubRIyw5IoV1dcOhM7M4xt6BOVDziZPNeIBZBmrGHPaO4pjO6IFnMjeiP7TpaWXPT/cv4ADAMy3qO5ro/JBGMvfAM30aPq+jYy4mICCKz92CRjjbAVlLHG3XF5FPFU/JXKpf0U8taL0+i32fdWy4qCUH5IOk9ob0z4qB51VTSWb7FGdLZkVJ+0hCamqGitHkK5qrWw5wo4NJL8VkWPfu+WoPRoktCfmc0Rlj/6JPY3jH7AnXlG4ia/QP7343UkRhRe5jRd4fJF4y+MVtRR7JcJKrpGHWgtT1c5OON5S4YqjbrXVfebZzVj3pJdkde9uer45iVDmFcS8d4zw/SNws/IG+1W8Pgx4M1iCVHdGCw+O9SY006Z/H2305zTEzYXmWdaRd3j0Y2GW6Jghwy+DfKqrPTutoex8UURuk6VKdZqOgSGt0DhuG4ZU0eZmn840Q8lxDU2hTgDmtmhKTdt76JdjwSbpkITMjZb7EIFmUvcxHdimDgqjZq2VLYwI8In3Qsm9H3ORthtGv7r2TJC+Y/Sz8n5X1tkqzpbaqfuU3EUNzFIUV7/yUly/dSg5So7Yz2Ry68Ev/LNIdenKQ3CrNzYf6Kd3Ofo8uQrclP5+r/p8GAdXgyeHbzW2jzY5iYQPNd5rtJW67mZ/4F6EYMNbk52/RheuO5uVPP1PxbPvEB0Z5o7FLo9nBmB8sgguN/J++UkSG5xWE//Lw29BXFvREEl8pfoIbCQQ/GAGZJDUeN0qJHhiV1HHFcUpZb7EIgK+MJceXZPBBsJP1/kPV0wh7dJXjeN3mN+JFPVnqrB51r0lt6n2dShCdy1JlnVOfN6lM59+IXlygDjdnInbsWM6cxtWN2X5cOls9paJic/Zr+NL/Y3/o5dDa1TdDZ0pYR8ih0BOhywpcMvIyKdP5deHkISEmZcO0bz7f7IOVWDjMZnwMkTd8PIP+ng6npsvXhz0W8fcids2azIzBPbrNY8Z6tJ4BdllLfX0DJ+HGji0SF8VuQyxn/oDzZnwQZthnFB3jIvTIvIE6j5kBtSmf/TiT7WRnMp+xmvzX59QHVCddgc/oIWZDDtFSOWJrbZkezmYzc6wJ49Fks9V56VHDqioQa6vlPFytLSMz7EuejTYbd6xnUhsGpbnzDGSxs89ZTI7oKp+3KFT3UkOKQcrbXVmjv6bH1d3na9dQg4r3qVTXAsO0uGkW8+FOD6Lz/t78WTyvm5V/hwxx23BHtlnOk2+WKRrnLDUpKdFx0TWllWmpxU+0cMuF5Aj2novVHtWxuntaljwqZB/dFYEoVgw6EMea+pnye4n34NgUp9XK55dn6lRNc8RlzffG71P+TwnUXkk/okqlv3jLWnFuQnuQTVlYqFwsTs76dOakm/9WvKaniGZmh+RuS8qDULThLV6IgXiLeHvwW2sYorcBzDRBXlbOpn3pPx52vLy8P7T/ue/Z8/6wa4os5OnXXzPYvQG7yjQC0pkpzlteuokaUg6RTZr/653O/wVnKcjbmnzrsSR0UehW6ZNd5FBWqNFV73p0K7SoCMdt22aAPZNomIDiP3lyc3hT7qbhA15jRm3GzVuiV3VoQgOyj5gBRUUymTX5kl/25Z7mK8+oNaLaIJ6ir4GaK64rhPcVkhyCxh+4RddEmagEaoGZPcV/g6I/DFkAmvi7eAAEblWAcOw71Qw0NX9fPlQV+H0lv7YWaoGmeisO/BTYvDjqAIEXykH1yr7b3Swfb60SuVy62Y0KUNPRbXrfmQqR8VjTSlFrU9WXzttqE3LgJ3DMXz4aqWV+hv/A/4gMiA38E3i5CYMMUmv/twGsu7800z+Sg4HLKk/+ptm/9eg/LtvfGb1/AuXDM5uBaAMh4P9xEPi3ka6kIOJ/69mie3R7vEqrBgV+Jy+GB34qvisJqy/wD4yNHtD5EFgJBwDKeAjgH0csK7DI5lD+k8MwEFKmTTYOAtBjlBUbiQnEJmbzgIYMzEdsXjYFCYonpkFuqSZgBAkA8dqRjQHjTDYOEriJEWKHMIHYD7J5oPId4pM6KJsCx8inSUP0zKWKliIEFCzZMsOplOkLA6/3J6qYg1Mtq+F+0XlDJTtKNl5PPmOJTkQYv1LHIUgmHRXsSdHBPCdWOUqRh33Nier6IGXWLuw+p6I2gCIOAsHJLzDTbCvPxZGSfHYwSPz5T0iJcsAVXPZU+RdyPFPDpP49fNkKkc9iWemysvDLrCjHlqtMYta5DikwFpWh3DhGmPrsgVKIC/bNYZAq11LU282qKu43byvGhjgXXr4r6v+WRZRklVqj1ekNRpPZYrXZHU6X2+P1Kf6Ax7I8OgsGynXMzZZiiEZH2nuoQeaYU7W16DwtOb1AEZyjtUYQF/OEJJTKA9OVtDGl6glbWqM5GggzV3384qKBm4dXrWkSKRZAISYJdnrefPzCgCcTkOY1d4vtnxx4FK/W0YgOkcQWutRMvRZfK4C8Hi1lpO/e0NURN2mGgTB1xgFroMc1lWqnTWf9Cz1FcR25xmE7Qx11K4cey1AD') format('woff2'), + url('iconfont.woff?t=1561534862311') format('woff'), + url('iconfont.ttf?t=1561534862311') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1561534862311#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-F:before { + content: "\f003d"; +} + +.icon-15tianwuliyoutuihuo:before { + content: "\e606"; +} + +.icon-iconfonticonfonti2copycopy:before { + content: "\e62e"; +} + +.icon-jiantouarrowhead7:before { + content: "\e6bc"; +} + +.icon-bofangsanjiaoxing:before { + content: "\e769"; +} + +.icon-dingwei1:before { + content: "\e617"; +} + +.icon-youjiantou:before { + content: "\e619"; +} + +.icon-7tianwuliyoutuihuo:before { + content: "\e60e"; +} + +.icon-sanjiaoxing:before { + content: "\e620"; +} + +.icon-buoumaotubiao46:before { + content: "\e629"; +} + +.icon-tel:before { + content: "\e641"; +} + +.icon-fangdajing:before { + content: "\e63d"; +} + +.icon-my_icon:before { + content: "\e65d"; +} + +.icon-fanhuidingbu:before { + content: "\e623"; +} + +.icon-erji:before { + content: "\e605"; +} + +.icon-shoujidaoshouji:before { + content: "\e64a"; +} + +.icon-gifs:before { + content: "\e624"; +} + +.icon-jiantou:before { + content: "\e621"; +} + +.icon-duihua:before { + content: "\e710"; +} + +.icon-dianhuaqia:before { + content: "\e733"; +} + +.icon-chongzhi:before { + content: "\e65c"; +} + +.icon-shouji:before { + content: "\e525"; +} + +.icon-gouwuche:before { + content: "\e607"; +} + +.icon-youjiantou1:before { + content: "\e658"; +} + +.icon-present:before { + content: "\e611"; +} + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.eot" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..5e9a285d4f141012b90c8b0093da4f07c0fa62bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.eot" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.js" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.js" new file mode 100644 index 0000000000000000000000000000000000000000..1d120ac96efd0bc668b14ad234fd20ae00664a04 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.js" @@ -0,0 +1 @@ +!function(s){var c,t='',h=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(h&&!s.__iconfont__svg__cssinject__){s.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var h=function(){document.removeEventListener("DOMContentLoaded",h,!1),c()};document.addEventListener("DOMContentLoaded",h,!1)}else document.attachEvent&&(l=c,a=s.document,o=!1,(i=function(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(i,50)}t()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,t())});function t(){o||(o=!0,l())}var l,a,o,i}(function(){var c,h;(c=document.createElement("div")).innerHTML=t,t=null,(h=c.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",function(c,h){h.firstChild?function(c,h){h.parentNode.insertBefore(c,h)}(c,h.firstChild):h.appendChild(c)}(h,document.body))})}(window); \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.svg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..f5269cc8c727142a59f9837e20fd4f892c11407a --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.svg" @@ -0,0 +1,101 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.ttf" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..3b9dd2e7ca16388626976f473598d8c4d5570021 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.ttf" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.woff" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..f42f23160f7a24b91c3b05e052902bbd8644c35f Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.woff" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.woff2" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.woff2" new file mode 100644 index 0000000000000000000000000000000000000000..12e816ceb161961bcfcefb2c446b3224a38a5870 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/iconfont/iconfont.woff2" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/mi.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/mi.css" new file mode 100644 index 0000000000000000000000000000000000000000..0f1e275ca52b3178e1d38f19a370e5ae25fe2e4e --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/mi.css" @@ -0,0 +1,690 @@ +/* 头部样式开始 */ +.header{ + width: 100%; + height: 120px; + overflow: hidden; + position: relative; +} + +.header img{ + height: 120px; + /* 图片,以中间开始渲染 */ + position: absolute; + left: 50%; + transform: translateX(-50%); +} +/* 头部样式结束 */ + +/* 黑色导航样式开始 */ +.black-nav{ + width: 100%; + height: 40px; + line-height: 40px; + background-color: #333; + font-size: 12px; +} +.wrap{ + width: 1226px; + margin: 0 auto; +} +.black-nav-left{ + float: left; +} +.black-nav-right{ + float: right; +} +.black-nav li{ + float: left; + position: relative; +} +.black-nav a{ + color: #b0b0b0; +} +.black-nav span{ + color: #424242; + margin: 0 3.6px; +} +.download{ + width: 124px; + height: 0; + background: #fff; + box-shadow: 0 1px 5px #aaa; + position: absolute; + top: 40px; + left: 50%; + margin-left: -62px; + overflow:hidden; + transition: all 0.3s; + z-index: 10; +} +.download img{ + width: 90px; + margin: 18px auto 0; +} +.download p{ + color: #333; + font-size: 14px; + line-height: 14px; +} +.black-nav-left li:hover>.download{ + height: 148px; +} +.stri{ + width: 0; + height: 0; + border-bottom: 8px solid #fff; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + position:absolute; + bottom: 0; + left: 50%; + margin-left: -8px; + display: none; +} +.black-nav-left>li:hover>.stri{ + display: block; +} +.cart{ + width: 120px; + height: 40px; + background: #424242; + margin-left: 25px; + position: relative; + z-index: 10; +} +.cart:hover{ + background: #fff; +} +.cart:hover>a{ + color: #ff6700; +} +.cart i{ + font-style: normal; + margin-right: 8px; +} +.cart-list{ + width: 316px; + height: 0; + background: #fff; + box-shadow: 0 2px 10px rgba(0,0,0,0.15); + position: absolute; + right: 0; + top: 40px; + color: #424242; + overflow: hidden; + transition: all 0.3s; + line-height: 100px; +} +.cart:hover>.cart-list{ + height: 100px; +} +/* 黑色导航样式结束 */ + +/* 白色导航样式开始 */ +.white-nav{ + width: 100%; + height: 100px; + background: #fff; + position: relative; +} +.logo{ + width: 55px; + height: 55px; + background: #ff6700; + float: left; + margin-top: 22.5px; + overflow: hidden; + position: relative; +} +.logo>img{ + width: 100%; + height: 100%; + position:absolute; + top: 0; + transition: all 0.2s; +} +.mi-home{ + left: -55px; +} +.mi-logo{ + left: 0; +} +.logo:hover>.mi-home{ + left: 0; +} +.logo:hover>.mi-logo{ + left: 55px; +} +.nav-bar{ + width: 875px; + height: 100px; + line-height: 100px; + float: left; +} +.search{ + width: 296px; + height: 100px; + float: right; +} +.nav-bar li{ + float: left; +} +.nav-bar>ul>li>a{ + color: #333; + padding: 0 10px; +} + +.nav-bar>ul>li>a:hover{ + color: #ff6700; +} + +.nav-bar>ul>li:first-child img{ + margin-top: 22.5px; +} + +.search input{ + width: 244px; + height: 50px; + border:1px solid #e0e0e0; + margin-top: 25px; + /* 去掉选中的边框 */ + outline: none; + padding: 0 10px; + box-sizing: border-box; + border-right: 0; +} + +.search button{ + width: 52px; + height: 50px; + background: #fff; + border:1px solid #e0e0e0; + float: right; + margin-top: 25px; +} +.search button:hover{ + background: #ff6700; + color: #fff; +} + +.nav-bar-list{ + width: 100%; + height: 229px; + background: #fff; + border-top: 1px solid #eee; + box-shadow: 0 3px 4px rgba(0,0,0,0.1); + position: absolute; + left: 0; + top: 100px; + display: none; + z-index: 10; +} + +.nav-bar li:hover .nav-bar-list{ + display: block; +} + +.img-box{ + width: 100%; + height: 110px; + margin-top: 35px; + border-right: 1px solid #eee; + box-sizing: border-box; + margin-bottom: 16px; +} + +.nav-bar-list li:last-child .img-box{ + border-right: 0; +} + +.nav-bar-list p{ + font-size: 12px; + line-height: 20px; +} + +.name{ + color: #333; +} + +.price{ + color: #ff6700; +} +/* 白色导航样式结束 */ +/* banner样式开始 */ +.banner{ + width: 100%; + height: 460px; +} +.banner-img{ + width: 100%; +} +.banner>.wrap{ + position: relative; +} +.slide{ + width: 234px; + height: 420px; + padding: 20px 0; + background: rgba(105,101,101,0.6); + position: absolute; + left: 0; + top: 0; +} + +.slide>ul>li{ + height: 42px; + line-height: 42px; + text-align: left; + padding-left: 30px; + font-size: 14px; +} +.slide>ul>li:hover{ + background: #ff6700; +} +.slide>ul>li>a{ + color: #fff; +} +.slide i{ + float: right; + padding-right: 20px; +} + +.slide-list{ + width: 992px; + height: 460px; + background: #fff; + border: 1px solid #e0e0e0; + border-left: none; + box-sizing: border-box; + box-shadow: 0 8px 16px rgba(0,0,0,0.18); + padding-top: 2px; + position: absolute; + top: 0; + left: 234px; + display: none; +} +.slide-list ul{ + width: 100%; +} + +.slide-list ul li{ + width: 247.75px; + float: left; + height: 76px; + padding: 18px 0 18px 20px; + box-sizing: border-box; + line-height: 40px; +} +.slide-list img{ + width: 40px; + margin-right: 14px; +} +.slide-list span{ + color: #333; + font-size: 14px; + /* 一行宽度不够的时候,用...代替 */ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + position: relative; + top: -14px; +} +.slide li:hover .slide-list{ + display: block; +} + +.slide-list li:hover span{ + color: #ff6700; +} +/* banner样式结束 */ +/* 广告样式开始 */ +.ad{ + width: 100%; + height: 170px; + padding: 14px 0 26px; + background: #fff; +} + +.ad-aside{ + width: 234px; + height: 170px; + background: #5f5750; + padding: 3px; + box-sizing: border-box; + font-size: 12px; + float: left; +} + +.ad-aside li{ + float: left; + width: 76px; + height: 82px; + padding-top: 18px; + box-sizing: border-box; + opacity: 0.7; +} + +.ad-aside a{ + color: #fff; +} +.ad-aside i{ + font-size: 24px; + margin-bottom: 4px; + display: block; +} +.ad-aside li:hover{ + opacity: 1; +} +.ad-img{ + width: 316px; + height: 170px; + float: left; + margin-left: 14px; +} + +.ad-img img{ + width: 100%; +} +/* 广告样式结束 */ +/* 主体部分样式开始 */ +.content{ + width: 100%; + background: #f5f5f5; + overflow: hidden; + padding: 4px 0 12px; +} +/* 主体部分样式结束 */ +/* 手机模块样式开始 */ +.title{ + text-align: left; + color: #333; + font-size: 22px; + font-weight: 200; + line-height: 58px; +} +.phone-box{ + width: 100%; + height: 614px; +} +.phone-box-left{ + width: 234px; + height: 100%; + float: left; +} +.phone-box-right{ + width: 992px; + height: 614px; + float: left; +} + +.item{ + width: 234px; + height: 300px; + background: #fff; + padding: 20px 0; + margin: 0 0 14px 14px; + float: left; + box-sizing: border-box; + transition: all 0.2s linear; +} +.item:hover{ + /* transform: translateY(-2px); */ + transform: translate3d(0,-2px,0); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} + +.item-img{ + width: 160px; + margin-bottom: 18px; +} + +.item-name{ + width: 214px; + height: 21px; + color: #333; + font-size: 14px; + line-height: 21px; + margin: 0 auto 2px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.item-desc{ + width: 214px; + height: 18px; + color: #b0b0b0; + font-size: 12px; + line-height: 18px; + margin: 0 auto 10px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.item-price{ + color: #ff6700; + font-size: 14px; +} + +.big-img{ + width: 100%; + height: 120px; + margin: 22px 0; +} + +/* 手机模块样式结束 */ +/* 家电模块样式开始 */ +.elc-box{ + width: 100%; + height: 614px; +} +.elc-item{ + margin-left: 0; + padding: 0; +} + +.item-price>del{ + color: #b0b0b0; +} +.item-last{ + width: 234px; + height: 300px; + float: left; + margin-left: 14px; +} +.item-last>div{ + width: 234px; + height: 143px; + background: #fff; + transition: all 0.2s linear; +} +.item-last>div:first-child{ + margin-bottom: 14px; +} +.item-last>div:hover{ + transform: translateY(-2px); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} +/* 家电模块样式结束 */ +/* 视频模块样式开始 */ +.video-box{ + width: 100%; + height: 299px; +} + +.video-box>div{ + width: 296px; + height: 285px; + background: #fff; + float: left; + margin-bottom: 14px; + margin-right: 14px; + transition: all 0.2s linear; +} + +.video-box>div:hover{ + transform: translateY(-2px); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} + +.video-box>div:last-child{ + margin-right: 0; +} + +.video-img{ + width: 100%; + height: 180px; + margin-bottom: 28px; + position: relative; +} +.btn{ + width: 32px; + height: 20px; + border-radius: 12px; + border: 2px solid #fff; + position: absolute; + left: 20px; + bottom: 10px; +} + +.sanjiao{ + border-left: 8px solid #fff; + border-top: 6px solid transparent; + border-bottom: 6px solid transparent; + width: 0; + height: 0; + margin: 3px auto; +} +.video-name{ + color: #333; + font-size: 14px; + width: 286px; + height: 21px; + margin: 0 auto 6px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.video-desc{ + width: 286px; + height: 18px; + margin: 0 auto; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + color: #b0b0b0; + font-size: 12px; +} +.video-img:hover .btn{ + background: #ff6700; + border-color: #ff6700; +} +/* 视频模块样式结束 */ +/* 页脚样式开始 */ +.footer-service{ + width: 100%; + height: 25px; + line-height: 25px; + padding: 27px 0; + border-bottom: 1px solid #e0e0e0; +} +.footer-service li{ + float: left; + width: 19.8%; + border-right: 1px solid #e0e0e0; +} +.footer-service li:last-child{ + border-right: none; +} + +.footer-service i{ + font-size: 24px; + margin-right: 6px; +} + +.footer-service a{ + color: #616161; +} + +.footer-service a:hover{ + color: #ff6700; +} +.footer-link{ + width: 100%; + height: 172px; + padding: 40px 0; +} + +.footer-link ul{ + float: left; + width: 160px; + text-align: left; + color: #424242; + font-size: 14px; + line-height: 1.25; +} + +.footer-link ul a{ + font-size: 12px; + color: #757575; +} + +.footer-link a:hover{ + color: #ff6700; +} + +.footer-link li{ + margin-top: 10px; +} + +.footer-link li:first-child{ + margin: 0 0 26px; +} + +.footer-aside{ + width: 251px; + height: 111px; + border-left: 1px solid #e0e0e0; + float: right; + color: #616161; +} +.tel{ + font-size: 22px; + line-height: 22px; + color: #ff6700; + margin-bottom: 5px; +} +.time{ + font-size: 12px; + margin-bottom: 5px; +} +.kefu{ + display: block; + width: 120px; + height: 30px; + line-height: 30px; + border: 1px solid #ff6700; + box-sizing: border-box; + margin: 0 auto; + color: #ff6700; + transition: all 0.4s; + font-size: 12px; +} +.footer-link .kefu:hover{ + background: #f25807; + border-color: #f25807; + color: #fff; + +} +.follow{ + font-size: 12px; + margin-top: 10px; +} +.follow img{ + width: 24px; + margin-left: 6px; + position: relative; + top: 7px; +} +/* 页脚样式结束 */ \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/reset.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..be2dc78d18b6bec6cf9115f7b6f31495e6c73e20 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;font-family: Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;} +li{ list-style: none;} +a{text-decoration: none;} +img{border: none;} \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a70e7760dd848d296634e193f100d303c22784ec Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/banner.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/banner.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a7dedb23d9ca63f06bca42993ca2469ca11ebb93 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/banner.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/download.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/download.png" new file mode 100644 index 0000000000000000000000000000000000000000..8ace029704d62e8173ee6d55c037aff4315488fd Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/download.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/elc-left.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/elc-left.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..4944f84309095c2abd454ec18fdd90362f4797bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/elc-left.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/elc-right.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/elc-right.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..e53fb78e054c12b65206347e1dc3bcabc2b4fbe7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/elc-right.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/favicon.ico" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/favicon.ico" new file mode 100644 index 0000000000000000000000000000000000000000..64afb4595e5d98d13c53ea2e9f94bade1a01a640 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/favicon.ico" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/mi-home.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/mi-home.png" new file mode 100644 index 0000000000000000000000000000000000000000..cb3ea82de3c11402e99f4add187c49db4de6f958 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/mi-home.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/mi-logo.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/mi-logo.png" new file mode 100644 index 0000000000000000000000000000000000000000..82de5d977bca6d3131baec5696deac1c77df29d7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/mi-logo.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone-right.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone-right.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..29d6158b84d292d5c2693486a41d7bad10752813 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone-right.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone.png" new file mode 100644 index 0000000000000000000000000000000000000000..413d28d043d4d9495f8d4e9bbcf3aaa068d578b2 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone_ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone_ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..512ec1b87db7453a7765477f88fc7a709c249f18 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone_ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone_left.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone_left.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..40d4f53d4f48177808edead35691347a3f770fae Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/phone_left.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/top.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/top.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a1c3c4ba18304ed49a5d826cf2dd3d56b4ff27c1 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/top.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/video.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/video.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..389b97c854b501892615644bd4c25253dc62ba46 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/video.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/wb.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/wb.png" new file mode 100644 index 0000000000000000000000000000000000000000..f78ec4cd5de6f2e8639486db9f08c0736080b926 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/wb.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/wx.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/wx.png" new file mode 100644 index 0000000000000000000000000000000000000000..158d1327bd8048026fb999d5a6ea0d7753f86327 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/wx.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/zzxsh.gif" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/zzxsh.gif" new file mode 100644 index 0000000000000000000000000000000000000000..bb6222f926a49166214a8a471bb9044c509f67e0 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/images/zzxsh.gif" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..976b0a4aaad7e2eaf3da45a89741eeb2b190d184 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/09_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_\351\241\265\350\204\232/index.html" @@ -0,0 +1,567 @@ + + + + + + + 小米 + + + + + + + +
+ + + +
+ + + +
+
+ + +
+
+ + + + + + + + +
+ +
+ + +
+
+ + + + + + + +
+

视频

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+ + + + + + \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/demo.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/demo.css" new file mode 100644 index 0000000000000000000000000000000000000000..a67054a0a030993643b8cbe9f344b34706efa134 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/demo.css" @@ -0,0 +1,539 @@ +/* Logo 字体 */ +@font-face { + font-family: "iconfont logo"; + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834'); + src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'), + url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg'); +} + +.logo { + font-family: "iconfont logo"; + font-size: 160px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +/* tabs */ +.nav-tabs { + position: relative; +} + +.nav-tabs .nav-more { + position: absolute; + right: 0; + bottom: 0; + height: 42px; + line-height: 42px; + color: #666; +} + +#tabs { + border-bottom: 1px solid #eee; +} + +#tabs li { + cursor: pointer; + width: 100px; + height: 40px; + line-height: 40px; + text-align: center; + font-size: 16px; + border-bottom: 2px solid transparent; + position: relative; + z-index: 1; + margin-bottom: -1px; + color: #666; +} + + +#tabs .active { + border-bottom-color: #f00; + color: #222; +} + +.tab-container .content { + display: none; +} + +/* 页面布局 */ +.main { + padding: 30px 100px; + width: 960px; + margin: 0 auto; +} + +.main .logo { + color: #333; + text-align: left; + margin-bottom: 30px; + line-height: 1; + height: 110px; + margin-top: -50px; + overflow: hidden; + *zoom: 1; +} + +.main .logo a { + font-size: 160px; + color: #333; +} + +.helps { + margin-top: 40px; +} + +.helps pre { + padding: 20px; + margin: 10px 0; + border: solid 1px #e7e1cd; + background-color: #fffdef; + overflow: auto; +} + +.icon_lists { + width: 100% !important; + overflow: hidden; + *zoom: 1; +} + +.icon_lists li { + width: 100px; + margin-bottom: 10px; + margin-right: 20px; + text-align: center; + list-style: none !important; + cursor: default; +} + +.icon_lists li .code-name { + line-height: 1.2; +} + +.icon_lists .icon { + display: block; + height: 100px; + line-height: 100px; + font-size: 42px; + margin: 10px auto; + color: #333; + -webkit-transition: font-size 0.25s linear, width 0.25s linear; + -moz-transition: font-size 0.25s linear, width 0.25s linear; + transition: font-size 0.25s linear, width 0.25s linear; +} + +.icon_lists .icon:hover { + font-size: 100px; +} + +.icon_lists .svg-icon { + /* 通过设置 font-size 来改变图标大小 */ + width: 1em; + /* 图标和文字相邻时,垂直对齐 */ + vertical-align: -0.15em; + /* 通过设置 color 来改变 SVG 的颜色/fill */ + fill: currentColor; + /* path 和 stroke 溢出 viewBox 部分在 IE 下会显示 + normalize.css 中也包含这行 */ + overflow: hidden; +} + +.icon_lists li .name, +.icon_lists li .code-name { + color: #666; +} + +/* markdown 样式 */ +.markdown { + color: #666; + font-size: 14px; + line-height: 1.8; +} + +.highlight { + line-height: 1.5; +} + +.markdown img { + vertical-align: middle; + max-width: 100%; +} + +.markdown h1 { + color: #404040; + font-weight: 500; + line-height: 40px; + margin-bottom: 24px; +} + +.markdown h2, +.markdown h3, +.markdown h4, +.markdown h5, +.markdown h6 { + color: #404040; + margin: 1.6em 0 0.6em 0; + font-weight: 500; + clear: both; +} + +.markdown h1 { + font-size: 28px; +} + +.markdown h2 { + font-size: 22px; +} + +.markdown h3 { + font-size: 16px; +} + +.markdown h4 { + font-size: 14px; +} + +.markdown h5 { + font-size: 12px; +} + +.markdown h6 { + font-size: 12px; +} + +.markdown hr { + height: 1px; + border: 0; + background: #e9e9e9; + margin: 16px 0; + clear: both; +} + +.markdown p { + margin: 1em 0; +} + +.markdown>p, +.markdown>blockquote, +.markdown>.highlight, +.markdown>ol, +.markdown>ul { + width: 80%; +} + +.markdown ul>li { + list-style: circle; +} + +.markdown>ul li, +.markdown blockquote ul>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown>ul li p, +.markdown>ol li p { + margin: 0.6em 0; +} + +.markdown ol>li { + list-style: decimal; +} + +.markdown>ol li, +.markdown blockquote ol>li { + margin-left: 20px; + padding-left: 4px; +} + +.markdown code { + margin: 0 3px; + padding: 0 5px; + background: #eee; + border-radius: 3px; +} + +.markdown strong, +.markdown b { + font-weight: 600; +} + +.markdown>table { + border-collapse: collapse; + border-spacing: 0px; + empty-cells: show; + border: 1px solid #e9e9e9; + width: 95%; + margin-bottom: 24px; +} + +.markdown>table th { + white-space: nowrap; + color: #333; + font-weight: 600; +} + +.markdown>table th, +.markdown>table td { + border: 1px solid #e9e9e9; + padding: 8px 16px; + text-align: left; +} + +.markdown>table th { + background: #F7F7F7; +} + +.markdown blockquote { + font-size: 90%; + color: #999; + border-left: 4px solid #e9e9e9; + padding-left: 0.8em; + margin: 1em 0; +} + +.markdown blockquote p { + margin: 0; +} + +.markdown .anchor { + opacity: 0; + transition: opacity 0.3s ease; + margin-left: 8px; +} + +.markdown .waiting { + color: #ccc; +} + +.markdown h1:hover .anchor, +.markdown h2:hover .anchor, +.markdown h3:hover .anchor, +.markdown h4:hover .anchor, +.markdown h5:hover .anchor, +.markdown h6:hover .anchor { + opacity: 1; + display: inline-block; +} + +.markdown>br, +.markdown>p>br { + clear: both; +} + + +.hljs { + display: block; + background: white; + padding: 0.5em; + color: #333333; + overflow-x: auto; +} + +.hljs-comment, +.hljs-meta { + color: #969896; +} + +.hljs-string, +.hljs-variable, +.hljs-template-variable, +.hljs-strong, +.hljs-emphasis, +.hljs-quote { + color: #df5000; +} + +.hljs-keyword, +.hljs-selector-tag, +.hljs-type { + color: #a71d5d; +} + +.hljs-literal, +.hljs-symbol, +.hljs-bullet, +.hljs-attribute { + color: #0086b3; +} + +.hljs-section, +.hljs-name { + color: #63a35c; +} + +.hljs-tag { + color: #333333; +} + +.hljs-title, +.hljs-attr, +.hljs-selector-id, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo { + color: #795da3; +} + +.hljs-addition { + color: #55a532; + background-color: #eaffea; +} + +.hljs-deletion { + color: #bd2c00; + background-color: #ffecec; +} + +.hljs-link { + text-decoration: underline; +} + +/* 代码高亮 */ +/* PrismJS 1.15.0 +https://prismjs.com/download.html#themes=prism&languages=markup+css+clike+javascript */ +/** + * prism.js default theme for JavaScript, CSS and HTML + * Based on dabblet (http://dabblet.com) + * @author Lea Verou + */ +code[class*="language-"], +pre[class*="language-"] { + color: black; + background: none; + text-shadow: 0 1px white; + font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace; + text-align: left; + white-space: pre; + word-spacing: normal; + word-break: normal; + word-wrap: normal; + line-height: 1.5; + + -moz-tab-size: 4; + -o-tab-size: 4; + tab-size: 4; + + -webkit-hyphens: none; + -moz-hyphens: none; + -ms-hyphens: none; + hyphens: none; +} + +pre[class*="language-"]::-moz-selection, +pre[class*="language-"] ::-moz-selection, +code[class*="language-"]::-moz-selection, +code[class*="language-"] ::-moz-selection { + text-shadow: none; + background: #b3d4fc; +} + +pre[class*="language-"]::selection, +pre[class*="language-"] ::selection, +code[class*="language-"]::selection, +code[class*="language-"] ::selection { + text-shadow: none; + background: #b3d4fc; +} + +@media print { + + code[class*="language-"], + pre[class*="language-"] { + text-shadow: none; + } +} + +/* Code blocks */ +pre[class*="language-"] { + padding: 1em; + margin: .5em 0; + overflow: auto; +} + +:not(pre)>code[class*="language-"], +pre[class*="language-"] { + background: #f5f2f0; +} + +/* Inline code */ +:not(pre)>code[class*="language-"] { + padding: .1em; + border-radius: .3em; + white-space: normal; +} + +.token.comment, +.token.prolog, +.token.doctype, +.token.cdata { + color: slategray; +} + +.token.punctuation { + color: #999; +} + +.namespace { + opacity: .7; +} + +.token.property, +.token.tag, +.token.boolean, +.token.number, +.token.constant, +.token.symbol, +.token.deleted { + color: #905; +} + +.token.selector, +.token.attr-name, +.token.string, +.token.char, +.token.builtin, +.token.inserted { + color: #690; +} + +.token.operator, +.token.entity, +.token.url, +.language-css .token.string, +.style .token.string { + color: #9a6e3a; + background: hsla(0, 0%, 100%, .5); +} + +.token.atrule, +.token.attr-value, +.token.keyword { + color: #07a; +} + +.token.function, +.token.class-name { + color: #DD4A68; +} + +.token.regex, +.token.important, +.token.variable { + color: #e90; +} + +.token.important, +.token.bold { + font-weight: bold; +} + +.token.italic { + font-style: italic; +} + +.token.entity { + cursor: help; +} diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/demo_index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/demo_index.html" new file mode 100644 index 0000000000000000000000000000000000000000..b1ac8517cfb86548221abfccb3b881ee7edfb6bd --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/demo_index.html" @@ -0,0 +1,743 @@ + + + + + IconFont Demo + + + + + + + + + + + +
+

+ +
+
+
    + +
  • + 󰀽 +
    F
    +
    &#xf003d;
    +
  • + +
  • + +
    15天无理由退货
    +
    &#xe606;
    +
  • + +
  • + +
    右箭头
    +
    &#xe62e;
    +
  • + +
  • + +
    箭头
    +
    &#xe6bc;
    +
  • + +
  • + +
    播放 三角形
    +
    &#xe769;
    +
  • + +
  • + +
    定位 (1)
    +
    &#xe617;
    +
  • + +
  • + +
    右箭头
    +
    &#xe619;
    +
  • + +
  • + +
    7天无理由退货
    +
    &#xe60e;
    +
  • + +
  • + +
    三角形
    +
    &#xe620;
    +
  • + +
  • + +
    维修
    +
    &#xe629;
    +
  • + +
  • + +
    手机
    +
    &#xe641;
    +
  • + +
  • + +
    放大镜
    +
    &#xe63d;
    +
  • + +
  • + +
    我的
    +
    &#xe65d;
    +
  • + +
  • + +
    返回顶部
    +
    &#xe623;
    +
  • + +
  • + +
    耳机
    +
    &#xe605;
    +
  • + +
  • + +
    手机到手机
    +
    &#xe64a;
    +
  • + +
  • + +
    礼物
    +
    &#xe624;
    +
  • + +
  • + +
    箭头
    +
    &#xe621;
    +
  • + +
  • + +
    对话
    +
    &#xe710;
    +
  • + +
  • + +
    电话卡
    +
    &#xe733;
    +
  • + +
  • + +
    充值
    +
    &#xe65c;
    +
  • + +
  • + +
    手机
    +
    &#xe525;
    +
  • + +
  • + +
    购物车
    +
    &#xe607;
    +
  • + +
  • + +
    右箭头
    +
    &#xe658;
    +
  • + +
  • + +
    礼物
    +
    &#xe611;
    +
  • + +
+
+

Unicode 引用

+
+ +

Unicode 是字体在网页端最原始的应用方式,特点是:

+
    +
  • 兼容性最好,支持 IE6+,及所有现代浏览器。
  • +
  • 支持按字体的方式去动态调整图标大小,颜色等等。
  • +
  • 但是因为是字体,所以不支持多色。只能使用平台里单色的图标,就算项目里有多色图标也会自动去色。
  • +
+
+

注意:新版 iconfont 支持多色图标,这些多色图标在 Unicode 模式下将不能使用,如果有需求建议使用symbol 的引用方式

+
+

Unicode 使用步骤如下:

+

第一步:拷贝项目下面生成的 @font-face

+
@font-face {
+  font-family: 'iconfont';
+  src: url('iconfont.eot');
+  src: url('iconfont.eot?#iefix') format('embedded-opentype'),
+      url('iconfont.woff2') format('woff2'),
+      url('iconfont.woff') format('woff'),
+      url('iconfont.ttf') format('truetype'),
+      url('iconfont.svg#iconfont') format('svg');
+}
+
+

第二步:定义使用 iconfont 的样式

+
.iconfont {
+  font-family: "iconfont" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
+}
+
+

第三步:挑选相应图标并获取字体编码,应用于页面

+
+<span class="iconfont">&#x33;</span>
+
+
+

"iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    + F +
    +
    .icon-F +
    +
  • + +
  • + +
    + 15天无理由退货 +
    +
    .icon-15tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-iconfonticonfonti2copycopy +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantouarrowhead7 +
    +
  • + +
  • + +
    + 播放 三角形 +
    +
    .icon-bofangsanjiaoxing +
    +
  • + +
  • + +
    + 定位 (1) +
    +
    .icon-dingwei1 +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou +
    +
  • + +
  • + +
    + 7天无理由退货 +
    +
    .icon-7tianwuliyoutuihuo +
    +
  • + +
  • + +
    + 三角形 +
    +
    .icon-sanjiaoxing +
    +
  • + +
  • + +
    + 维修 +
    +
    .icon-buoumaotubiao46 +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-tel +
    +
  • + +
  • + +
    + 放大镜 +
    +
    .icon-fangdajing +
    +
  • + +
  • + +
    + 我的 +
    +
    .icon-my_icon +
    +
  • + +
  • + +
    + 返回顶部 +
    +
    .icon-fanhuidingbu +
    +
  • + +
  • + +
    + 耳机 +
    +
    .icon-erji +
    +
  • + +
  • + +
    + 手机到手机 +
    +
    .icon-shoujidaoshouji +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-gifs +
    +
  • + +
  • + +
    + 箭头 +
    +
    .icon-jiantou +
    +
  • + +
  • + +
    + 对话 +
    +
    .icon-duihua +
    +
  • + +
  • + +
    + 电话卡 +
    +
    .icon-dianhuaqia +
    +
  • + +
  • + +
    + 充值 +
    +
    .icon-chongzhi +
    +
  • + +
  • + +
    + 手机 +
    +
    .icon-shouji +
    +
  • + +
  • + +
    + 购物车 +
    +
    .icon-gouwuche +
    +
  • + +
  • + +
    + 右箭头 +
    +
    .icon-youjiantou1 +
    +
  • + +
  • + +
    + 礼物 +
    +
    .icon-present +
    +
  • + +
+
+

font-class 引用

+
+ +

font-class 是 Unicode 使用方式的一种变种,主要是解决 Unicode 书写不直观,语意不明确的问题。

+

与 Unicode 使用方式相比,具有如下特点:

+
    +
  • 兼容性良好,支持 IE8+,及所有现代浏览器。
  • +
  • 相比于 Unicode 语意明确,书写更直观。可以很容易分辨这个 icon 是什么。
  • +
  • 因为使用 class 来定义图标,所以当要替换图标时,只需要修改 class 里面的 Unicode 引用。
  • +
  • 不过因为本质上还是使用的字体,所以多色图标还是不支持的。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 fontclass 代码:

+
<link rel="stylesheet" href="./iconfont.css">
+
+

第二步:挑选相应图标并获取类名,应用于页面:

+
<span class="iconfont icon-xxx"></span>
+
+
+

" + iconfont" 是你项目下的 font-family。可以通过编辑项目查看,默认是 "iconfont"。

+
+
+
+
+
    + +
  • + +
    F
    +
    #icon-F
    +
  • + +
  • + +
    15天无理由退货
    +
    #icon-15tianwuliyoutuihuo
    +
  • + +
  • + +
    右箭头
    +
    #icon-iconfonticonfonti2copycopy
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantouarrowhead7
    +
  • + +
  • + +
    播放 三角形
    +
    #icon-bofangsanjiaoxing
    +
  • + +
  • + +
    定位 (1)
    +
    #icon-dingwei1
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou
    +
  • + +
  • + +
    7天无理由退货
    +
    #icon-7tianwuliyoutuihuo
    +
  • + +
  • + +
    三角形
    +
    #icon-sanjiaoxing
    +
  • + +
  • + +
    维修
    +
    #icon-buoumaotubiao46
    +
  • + +
  • + +
    手机
    +
    #icon-tel
    +
  • + +
  • + +
    放大镜
    +
    #icon-fangdajing
    +
  • + +
  • + +
    我的
    +
    #icon-my_icon
    +
  • + +
  • + +
    返回顶部
    +
    #icon-fanhuidingbu
    +
  • + +
  • + +
    耳机
    +
    #icon-erji
    +
  • + +
  • + +
    手机到手机
    +
    #icon-shoujidaoshouji
    +
  • + +
  • + +
    礼物
    +
    #icon-gifs
    +
  • + +
  • + +
    箭头
    +
    #icon-jiantou
    +
  • + +
  • + +
    对话
    +
    #icon-duihua
    +
  • + +
  • + +
    电话卡
    +
    #icon-dianhuaqia
    +
  • + +
  • + +
    充值
    +
    #icon-chongzhi
    +
  • + +
  • + +
    手机
    +
    #icon-shouji
    +
  • + +
  • + +
    购物车
    +
    #icon-gouwuche
    +
  • + +
  • + +
    右箭头
    +
    #icon-youjiantou1
    +
  • + +
  • + +
    礼物
    +
    #icon-present
    +
  • + +
+
+

Symbol 引用

+
+ +

这是一种全新的使用方式,应该说这才是未来的主流,也是平台目前推荐的用法。相关介绍可以参考这篇文章 + 这种用法其实是做了一个 SVG 的集合,与另外两种相比具有如下特点:

+
    +
  • 支持多色图标了,不再受单色限制。
  • +
  • 通过一些技巧,支持像字体那样,通过 font-size, color 来调整样式。
  • +
  • 兼容性较差,支持 IE9+,及现代浏览器。
  • +
  • 浏览器渲染 SVG 的性能一般,还不如 png。
  • +
+

使用步骤如下:

+

第一步:引入项目下面生成的 symbol 代码:

+
<script src="./iconfont.js"></script>
+
+

第二步:加入通用 CSS 代码(引入一次就行):

+
<style>
+.icon {
+  width: 1em;
+  height: 1em;
+  vertical-align: -0.15em;
+  fill: currentColor;
+  overflow: hidden;
+}
+</style>
+
+

第三步:挑选相应图标并获取类名,应用于页面:

+
<svg class="icon" aria-hidden="true">
+  <use xlink:href="#icon-xxx"></use>
+</svg>
+
+
+
+ +
+
+ + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..82b55e328cc0b42679e713b74141f4d4aacd6518 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.css" @@ -0,0 +1,117 @@ +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1561534862311'); /* IE9 */ + src: url('iconfont.eot?t=1561534862311#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAABFwAAsAAAAAHwAAABEjAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCGTgqqVKFYATYCJANoCzYABCAFhG0HgnYbghlFRoWNAwiCfFWy/8sEbg6cHSoHC2MTVdfaiqoBixK7WOwOGSqE4yw/B7GUIWI/rNT/+f6GqqcOpfx53LSX/CBJkASxFqpGbULFAqVitDAxZt5p5/Vpb6N3TGBylZl0ou3M240z7xknIlyu5TO4qghVIkWo0Hb2kg0c7YWejCiF7G79gDhgS7jBnJrUsmQXDSPk14EhA2bpK33BbrJxwocQOAZDm58L/de6xa50DUUSYsRv4xQBEOCYhv7T4FxpkYX7wRMLs+mpdy45TNoc5DhP3GF7jxkAKRRmQmN7T70HQLUpQEnSzVg7KE2bZ08pqPCvBCQwGJt5ugobC6OAKerK+O/5AQYAFBgkwjjLx3etBwToAoZeC+YqqPUoNxAFmRgI7fyMcQkMc+GBEN9yBgFgB/n72DeQNkIAHHgI9AVV30dRu3nTH0DkExPrsFccA4DNeAAIABIBEAC4LLMFEwHycSIRqSyegGEAiBWq7qTw8ygCv8TPUtMKEylOshwF9sg4qB5TenMfAJXieVVDRRx24Np1hkGsEZ9YNZkxNu0/8QBUpICDmhC0+CAAEmQkwKIAgQhoYGgoiYEAOQUeAMYH9BQBAGDZGtV6diarCKiAn1cEpAB+fhHAAfyCIqAGfkkREAL42SKgBX61ACxECwFAQkGBBAkDBRlIBAQQRSIhAEgcKFAgyaCAQHJAQQRSAAo0SCkoMCBjQUEDMhEUlCCTQEEMMoAiQAB8wVCQE5IOCgqQuSgEPJBCjmUyiTpnnAwAC9X454HQTbcNEoYBYdVggE9xEdEYaQAlBjwQgwCZAmAxgjoOQioVE0fKZTIkcn1SLA7GkCIG6YM1WpYixKYWLQpvIQUCBcMIrYYgwp1QKRKalggE8jRMbHRKCJmcUQJFA0FbnaYMQiHDqBgxISJPGYNIH8wQUkqmWjvCxfbqTwmk9u/w//JT+EzceDgRPZXNlcw/4afyEuWDOZG5cZRhvmglKZFfmwuPZtoRg3Qm5gAP2X6nNDOOUUgcncmnf4lTP0lsmihcxlhfYVwYHaKjFT73dI3OOVVldTL75Ily7/BpOvZ0wCvEOHFSkjKbcSp7/5pi+RAQZKTA7etBjmavHLp68bfnpfIl27no3IvMiefu35efMPMTp7xOd/6IyS8i75N/SOWdtv3p9+Nb6TQned5gQq80hcuqf8QPcpalLE+xMjFdTUxWxdQdsRJuQ5/C47Jk77ehUtYxIYg0cUaMnD7mTbYTTTfmAhgoq2gYwmCaSRrquAwL8+/fvXOazfEUDbjpSm77AbWoASpkllO+yX6bc2pLT1ZaaAln0CDryr9cY8lbCf2gVBgxosEPwA+eEKERZWYpZac5BR1RzObsdBWOEHc1Vh3TnavN1AuV0V1hGXlBjVZZT07d1zr043JBGR2dPYcZ+G77pCpt8dkt8tSvJ01F0OkGiCyU7FojSYlxEECYJNeEaCa8f0rnAVVogN2ZDKyfgN3WP91FJA9g90lZCHL7IU1dFfP4zT/hAi4L0pCZQQBIaAhk5RF6Es1sW1hHrElbmH85+mfNrb0/FrFiT4Fmn7UgDXKBHXxuw2ffzWkmzNaVvxkHuIgrcLosg6t28oFiPhRnnUIIYIguu3X7su+JKfPOKLuVcqznjmrF5pjOXGsIN9gY3RHWz7EyIEgF67wGO2kVuZqiti5JhiQ6KAJLhzBAeyzhZBS+TYZqSKObAQSzIK/zACFDozxtP7OZ6bJYyX30t5971vxs2i+26KNkT/GT+pPRsUefROPA4Grhthfx9v7P0wntWOHhs8QBGnxTdmxllqeXKqcwN6XxQbTtdXoswPjXePJPXKIy9JUwvc5KH2h72/W2F+W93CflaVq7fn1kVKb8w4zqq7G+V33d+nH23pHjHOHP/5/Y/uyvFdonf4xre/rvcswlEQiNK9y+xvpaansRbUOvX7ClAtv30LjEpQ0ujtK7dSl6m73+GfbcgJfGLOG5tnfwbsNhnUELYz77ZAXgpH4vXx/VMdI4N7XGtmfnBQ4hFxWrY+CbHYkjwFGPCQAT0fAytlCFjvIUN44yRox1Z3HjSGPMcEfLK9tvB9J4Q6wJmg4gVWXHtabbKwAIXxgVgjHvQsdUo6wucZwh0n/CEXszDtFCHh6Ez/5b0ffJP+PuDgxZtB6rRfWHI4IpeE8v0RlanhzFJAIRpwu1FhJdetpFTJ71HQUIh2wMREU6E8McHw1wgUy7r+XrgCCDpOzMNg+IMqpl2rzka5360XnQxt7/K6dQv2/ESIcQe+99tqCCebB/vxZy/bxiZET+/pIJF064fALYQUd00tBzTJ+5wTYOOAKpZcrwbt9n/01op8GoPKeNVKb3l2pjqaYn/xwe6DSCUDy4PRMIcW8QDuioJWtL483vfgh2hl6+ThrTcXZBUhDL2vTjhd8rllELl1q0OYM579xFAsROcV5HjqDJ1+J2p9v+eMa6UI173fjUWBiYE9GYZyXHiY7FuxaM3SUaqxp403AtpILcpS+MvTT2zfaLLc26QvJl3eXfZN1UWXnz2omdkeUU/fHTNYnm+WMXts3LqBFPocfFH8ssNs0E6Z3GdMcIhUqWOo4RL1OmfjNfsnj8J5Noqp6/dQM2CcuVsYKQ+OhigleHagoJ7ZODhIzhm1QdwYqO1LAoBSiS7Vn2Rasd2Y4O2LMG1mniAlIqENWo/NFq/T8hAA7XoTvDBEmx9UdwBe7KGQ8NZ75mnjJfnzE8jEz/67Cvl27CrxZOBNx2SX5O2o52PXjoRjvRLAftYtrk59Hd5a34mT7UJmn4ZRPH/bpZvBJve8vbnr5isxkMlfDKxwkSSf7cn5xcNVfFgXEDcY/g3bPBgXDcDfvdnYiOfvTRUSLA6UBH0RF1bUfs/Yd6V4bHsfL03oOeoHSdZ968bB+rZ325C+fTHxNAJg3Dluf3aE3bPyEEwv6mYOj6Tv1d1+9tt+M7P30xesf7N/cyj0ThP6sfih79FPFItZf+x53fHsmnnnfBC3j6wsetTdh54rvviF7Oue++P4/c2Psno7aWMnPKV3DFOcuA91pxxtTPUv1TUJ8Nrr19Z5b8A/msVVkpm7VwoUPuuHNb6IMvUCDDlP5zRpElTofSdboSQNwxC2f26oJmXdBKvug58+ekoyiFtX1EXZUt9v3EuaOU6urYmIkRN83WitKnhimprYrm/LbahD+VONN5QCupStq9xWq+GTExpkU5taZ1buL7sbaq/MKMk+wEzVUwupYOqwZ5a3mD1cP56y7KH9J84XpDb1iKrMO+j+DOul70ztuoM3veeQehCwL1/kHI1uK9vfiaANO+Fq1BITghgyMMGubRIyw5IoV1dcOhM7M4xt6BOVDziZPNeIBZBmrGHPaO4pjO6IFnMjeiP7TpaWXPT/cv4ADAMy3qO5ro/JBGMvfAM30aPq+jYy4mICCKz92CRjjbAVlLHG3XF5FPFU/JXKpf0U8taL0+i32fdWy4qCUH5IOk9ob0z4qB51VTSWb7FGdLZkVJ+0hCamqGitHkK5qrWw5wo4NJL8VkWPfu+WoPRoktCfmc0Rlj/6JPY3jH7AnXlG4ia/QP7343UkRhRe5jRd4fJF4y+MVtRR7JcJKrpGHWgtT1c5OON5S4YqjbrXVfebZzVj3pJdkde9uer45iVDmFcS8d4zw/SNws/IG+1W8Pgx4M1iCVHdGCw+O9SY006Z/H2305zTEzYXmWdaRd3j0Y2GW6Jghwy+DfKqrPTutoex8UURuk6VKdZqOgSGt0DhuG4ZU0eZmn840Q8lxDU2hTgDmtmhKTdt76JdjwSbpkITMjZb7EIFmUvcxHdimDgqjZq2VLYwI8In3Qsm9H3ORthtGv7r2TJC+Y/Sz8n5X1tkqzpbaqfuU3EUNzFIUV7/yUly/dSg5So7Yz2Ry68Ev/LNIdenKQ3CrNzYf6Kd3Ofo8uQrclP5+r/p8GAdXgyeHbzW2jzY5iYQPNd5rtJW67mZ/4F6EYMNbk52/RheuO5uVPP1PxbPvEB0Z5o7FLo9nBmB8sgguN/J++UkSG5xWE//Lw29BXFvREEl8pfoIbCQQ/GAGZJDUeN0qJHhiV1HHFcUpZb7EIgK+MJceXZPBBsJP1/kPV0wh7dJXjeN3mN+JFPVnqrB51r0lt6n2dShCdy1JlnVOfN6lM59+IXlygDjdnInbsWM6cxtWN2X5cOls9paJic/Zr+NL/Y3/o5dDa1TdDZ0pYR8ih0BOhywpcMvIyKdP5deHkISEmZcO0bz7f7IOVWDjMZnwMkTd8PIP+ng6npsvXhz0W8fcids2azIzBPbrNY8Z6tJ4BdllLfX0DJ+HGji0SF8VuQyxn/oDzZnwQZthnFB3jIvTIvIE6j5kBtSmf/TiT7WRnMp+xmvzX59QHVCddgc/oIWZDDtFSOWJrbZkezmYzc6wJ49Fks9V56VHDqioQa6vlPFytLSMz7EuejTYbd6xnUhsGpbnzDGSxs89ZTI7oKp+3KFT3UkOKQcrbXVmjv6bH1d3na9dQg4r3qVTXAsO0uGkW8+FOD6Lz/t78WTyvm5V/hwxx23BHtlnOk2+WKRrnLDUpKdFx0TWllWmpxU+0cMuF5Aj2novVHtWxuntaljwqZB/dFYEoVgw6EMea+pnye4n34NgUp9XK55dn6lRNc8RlzffG71P+TwnUXkk/okqlv3jLWnFuQnuQTVlYqFwsTs76dOakm/9WvKaniGZmh+RuS8qDULThLV6IgXiLeHvwW2sYorcBzDRBXlbOpn3pPx52vLy8P7T/ue/Z8/6wa4os5OnXXzPYvQG7yjQC0pkpzlteuokaUg6RTZr/653O/wVnKcjbmnzrsSR0UehW6ZNd5FBWqNFV73p0K7SoCMdt22aAPZNomIDiP3lyc3hT7qbhA15jRm3GzVuiV3VoQgOyj5gBRUUymTX5kl/25Z7mK8+oNaLaIJ6ir4GaK64rhPcVkhyCxh+4RddEmagEaoGZPcV/g6I/DFkAmvi7eAAEblWAcOw71Qw0NX9fPlQV+H0lv7YWaoGmeisO/BTYvDjqAIEXykH1yr7b3Swfb60SuVy62Y0KUNPRbXrfmQqR8VjTSlFrU9WXzttqE3LgJ3DMXz4aqWV+hv/A/4gMiA38E3i5CYMMUmv/twGsu7800z+Sg4HLKk/+ptm/9eg/LtvfGb1/AuXDM5uBaAMh4P9xEPi3ka6kIOJ/69mie3R7vEqrBgV+Jy+GB34qvisJqy/wD4yNHtD5EFgJBwDKeAjgH0csK7DI5lD+k8MwEFKmTTYOAtBjlBUbiQnEJmbzgIYMzEdsXjYFCYonpkFuqSZgBAkA8dqRjQHjTDYOEriJEWKHMIHYD7J5oPId4pM6KJsCx8inSUP0zKWKliIEFCzZMsOplOkLA6/3J6qYg1Mtq+F+0XlDJTtKNl5PPmOJTkQYv1LHIUgmHRXsSdHBPCdWOUqRh33Nier6IGXWLuw+p6I2gCIOAsHJLzDTbCvPxZGSfHYwSPz5T0iJcsAVXPZU+RdyPFPDpP49fNkKkc9iWemysvDLrCjHlqtMYta5DikwFpWh3DhGmPrsgVKIC/bNYZAq11LU282qKu43byvGhjgXXr4r6v+WRZRklVqj1ekNRpPZYrXZHU6X2+P1Kf6Ax7I8OgsGynXMzZZiiEZH2nuoQeaYU7W16DwtOb1AEZyjtUYQF/OEJJTKA9OVtDGl6glbWqM5GggzV3384qKBm4dXrWkSKRZAISYJdnrefPzCgCcTkOY1d4vtnxx4FK/W0YgOkcQWutRMvRZfK4C8Hi1lpO/e0NURN2mGgTB1xgFroMc1lWqnTWf9Cz1FcR25xmE7Qx11K4cey1AD') format('woff2'), + url('iconfont.woff?t=1561534862311') format('woff'), + url('iconfont.ttf?t=1561534862311') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ + url('iconfont.svg?t=1561534862311#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family: "iconfont" !important; + font-size: 16px; + font-style: normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-F:before { + content: "\f003d"; +} + +.icon-15tianwuliyoutuihuo:before { + content: "\e606"; +} + +.icon-iconfonticonfonti2copycopy:before { + content: "\e62e"; +} + +.icon-jiantouarrowhead7:before { + content: "\e6bc"; +} + +.icon-bofangsanjiaoxing:before { + content: "\e769"; +} + +.icon-dingwei1:before { + content: "\e617"; +} + +.icon-youjiantou:before { + content: "\e619"; +} + +.icon-7tianwuliyoutuihuo:before { + content: "\e60e"; +} + +.icon-sanjiaoxing:before { + content: "\e620"; +} + +.icon-buoumaotubiao46:before { + content: "\e629"; +} + +.icon-tel:before { + content: "\e641"; +} + +.icon-fangdajing:before { + content: "\e63d"; +} + +.icon-my_icon:before { + content: "\e65d"; +} + +.icon-fanhuidingbu:before { + content: "\e623"; +} + +.icon-erji:before { + content: "\e605"; +} + +.icon-shoujidaoshouji:before { + content: "\e64a"; +} + +.icon-gifs:before { + content: "\e624"; +} + +.icon-jiantou:before { + content: "\e621"; +} + +.icon-duihua:before { + content: "\e710"; +} + +.icon-dianhuaqia:before { + content: "\e733"; +} + +.icon-chongzhi:before { + content: "\e65c"; +} + +.icon-shouji:before { + content: "\e525"; +} + +.icon-gouwuche:before { + content: "\e607"; +} + +.icon-youjiantou1:before { + content: "\e658"; +} + +.icon-present:before { + content: "\e611"; +} + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.eot" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..5e9a285d4f141012b90c8b0093da4f07c0fa62bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.eot" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.js" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.js" new file mode 100644 index 0000000000000000000000000000000000000000..1d120ac96efd0bc668b14ad234fd20ae00664a04 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.js" @@ -0,0 +1 @@ +!function(s){var c,t='',h=(c=document.getElementsByTagName("script"))[c.length-1].getAttribute("data-injectcss");if(h&&!s.__iconfont__svg__cssinject__){s.__iconfont__svg__cssinject__=!0;try{document.write("")}catch(c){console&&console.log(c)}}!function(c){if(document.addEventListener)if(~["complete","loaded","interactive"].indexOf(document.readyState))setTimeout(c,0);else{var h=function(){document.removeEventListener("DOMContentLoaded",h,!1),c()};document.addEventListener("DOMContentLoaded",h,!1)}else document.attachEvent&&(l=c,a=s.document,o=!1,(i=function(){try{a.documentElement.doScroll("left")}catch(c){return void setTimeout(i,50)}t()})(),a.onreadystatechange=function(){"complete"==a.readyState&&(a.onreadystatechange=null,t())});function t(){o||(o=!0,l())}var l,a,o,i}(function(){var c,h;(c=document.createElement("div")).innerHTML=t,t=null,(h=c.getElementsByTagName("svg")[0])&&(h.setAttribute("aria-hidden","true"),h.style.position="absolute",h.style.width=0,h.style.height=0,h.style.overflow="hidden",function(c,h){h.firstChild?function(c,h){h.parentNode.insertBefore(c,h)}(c,h.firstChild):h.appendChild(c)}(h,document.body))})}(window); \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.svg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..f5269cc8c727142a59f9837e20fd4f892c11407a --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.svg" @@ -0,0 +1,101 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.ttf" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..3b9dd2e7ca16388626976f473598d8c4d5570021 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.ttf" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.woff" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..f42f23160f7a24b91c3b05e052902bbd8644c35f Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.woff" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.woff2" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.woff2" new file mode 100644 index 0000000000000000000000000000000000000000..12e816ceb161961bcfcefb2c446b3224a38a5870 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/iconfont/iconfont.woff2" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/mi.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/mi.css" new file mode 100644 index 0000000000000000000000000000000000000000..4d97c9cab28b8053487cad3fa889e9582989ffbe --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/mi.css" @@ -0,0 +1,691 @@ +/* 头部样式开始 */ +.header{ + width: 100%; + height: 120px; + overflow: hidden; + position: relative; +} + +.header img{ + height: 120px; + /* 图片,以中间开始渲染 */ + position: absolute; + left: 50%; + transform: translateX(-50%); +} +/* 头部样式结束 */ + +/* 黑色导航样式开始 */ +.black-nav{ + width: 100%; + height: 40px; + line-height: 40px; + background-color: #333; + font-size: 12px; +} +.wrap{ + width: 1226px; + margin: 0 auto; +} +.black-nav-left{ + float: left; +} +.black-nav-right{ + float: right; +} +.black-nav li{ + float: left; + position: relative; +} +.black-nav a{ + color: #b0b0b0; +} +.black-nav span{ + color: #424242; + margin: 0 3.6px; +} +.download{ + width: 124px; + height: 0; + background: #fff; + box-shadow: 0 1px 5px #aaa; + position: absolute; + top: 40px; + left: 50%; + margin-left: -62px; + overflow:hidden; + transition: all 0.3s; + z-index: 10; +} +.download img{ + width: 90px; + margin: 18px auto 0; +} +.download p{ + color: #333; + font-size: 14px; + line-height: 14px; +} +.black-nav-left li:hover>.download{ + height: 148px; +} +.stri{ + width: 0; + height: 0; + border-bottom: 8px solid #fff; + border-left: 8px solid transparent; + border-right: 8px solid transparent; + position:absolute; + bottom: 0; + left: 50%; + margin-left: -8px; + display: none; +} +.black-nav-left>li:hover>.stri{ + display: block; +} +.cart{ + width: 120px; + height: 40px; + background: #424242; + margin-left: 25px; + position: relative; + z-index: 10; +} +.cart:hover{ + background: #fff; +} +.cart:hover>a{ + color: #ff6700; +} +.cart i{ + font-style: normal; + margin-right: 8px; +} +.cart-list{ + width: 316px; + height: 0; + background: #fff; + box-shadow: 0 2px 10px rgba(0,0,0,0.15); + position: absolute; + right: 0; + top: 40px; + color: #424242; + overflow: hidden; + transition: all 0.3s; + line-height: 100px; +} +.cart:hover>.cart-list{ + height: 100px; +} +/* 黑色导航样式结束 */ + +/* 白色导航样式开始 */ +.white-nav{ + width: 100%; + height: 100px; + background: #fff; + position: relative; +} +.logo{ + width: 55px; + height: 55px; + background: #ff6700; + float: left; + margin-top: 22.5px; + overflow: hidden; + position: relative; + border-radius: 20px; +} +.logo>img{ + width: 100%; + height: 100%; + position:absolute; + top: 0; + transition: all 0.2s; +} +.mi-home{ + left: -55px; +} +.mi-logo{ + left: 0; +} +.logo:hover>.mi-home{ + left: 0; +} +.logo:hover>.mi-logo{ + left: 55px; +} +.nav-bar{ + width: 875px; + height: 100px; + line-height: 100px; + float: left; +} +.search{ + width: 296px; + height: 100px; + float: right; +} +.nav-bar li{ + float: left; +} +.nav-bar>ul>li>a{ + color: #333; + padding: 0 10px; +} + +.nav-bar>ul>li>a:hover{ + color: #ff6700; +} + +.nav-bar>ul>li:first-child img{ + margin-top: 22.5px; +} + +.search input{ + width: 244px; + height: 50px; + border:1px solid #e0e0e0; + margin-top: 25px; + /* 去掉选中的边框 */ + outline: none; + padding: 0 10px; + box-sizing: border-box; + border-right: 0; +} + +.search button{ + width: 52px; + height: 50px; + background: #fff; + border:1px solid #e0e0e0; + float: right; + margin-top: 25px; +} +.search button:hover{ + background: #ff6700; + color: #fff; +} + +.nav-bar-list{ + width: 100%; + height: 229px; + background: #fff; + border-top: 1px solid #eee; + box-shadow: 0 3px 4px rgba(0,0,0,0.1); + position: absolute; + left: 0; + top: 100px; + display: none; + z-index: 10; +} + +.nav-bar li:hover .nav-bar-list{ + display: block; +} + +.img-box{ + width: 100%; + height: 110px; + margin-top: 35px; + border-right: 1px solid #eee; + box-sizing: border-box; + margin-bottom: 16px; +} + +.nav-bar-list li:last-child .img-box{ + border-right: 0; +} + +.nav-bar-list p{ + font-size: 12px; + line-height: 20px; +} + +.name{ + color: #333; +} + +.price{ + color: #ff6700; +} +/* 白色导航样式结束 */ +/* banner样式开始 */ +.banner{ + width: 100%; + height: 460px; +} +.banner-img{ + width: 100%; +} +.banner>.wrap{ + position: relative; +} +.slide{ + width: 234px; + height: 420px; + padding: 20px 0; + background: rgba(105,101,101,0.6); + position: absolute; + left: 0; + top: 0; +} + +.slide>ul>li{ + height: 42px; + line-height: 42px; + text-align: left; + padding-left: 30px; + font-size: 14px; +} +.slide>ul>li:hover{ + background: #ff6700; +} +.slide>ul>li>a{ + color: #fff; +} +.slide i{ + float: right; + padding-right: 20px; +} + +.slide-list{ + width: 992px; + height: 460px; + background: #fff; + border: 1px solid #e0e0e0; + border-left: none; + box-sizing: border-box; + box-shadow: 0 8px 16px rgba(0,0,0,0.18); + padding-top: 2px; + position: absolute; + top: 0; + left: 234px; + display: none; +} +.slide-list ul{ + width: 100%; +} + +.slide-list ul li{ + width: 247.75px; + float: left; + height: 76px; + padding: 18px 0 18px 20px; + box-sizing: border-box; + line-height: 40px; +} +.slide-list img{ + width: 40px; + margin-right: 14px; +} +.slide-list span{ + color: #333; + font-size: 14px; + /* 一行宽度不够的时候,用...代替 */ + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + position: relative; + top: -14px; +} +.slide li:hover .slide-list{ + display: block; +} + +.slide-list li:hover span{ + color: #ff6700; +} +/* banner样式结束 */ +/* 广告样式开始 */ +.ad{ + width: 100%; + height: 170px; + padding: 14px 0 26px; + background: #fff; +} + +.ad-aside{ + width: 234px; + height: 170px; + background: #5f5750; + padding: 3px; + box-sizing: border-box; + font-size: 12px; + float: left; +} + +.ad-aside li{ + float: left; + width: 76px; + height: 82px; + padding-top: 18px; + box-sizing: border-box; + opacity: 0.7; +} + +.ad-aside a{ + color: #fff; +} +.ad-aside i{ + font-size: 24px; + margin-bottom: 4px; + display: block; +} +.ad-aside li:hover{ + opacity: 1; +} +.ad-img{ + width: 316px; + height: 170px; + float: left; + margin-left: 14px; +} + +.ad-img img{ + width: 100%; +} +/* 广告样式结束 */ +/* 主体部分样式开始 */ +.content{ + width: 100%; + background: #f5f5f5; + overflow: hidden; + padding: 4px 0 12px; +} +/* 主体部分样式结束 */ +/* 手机模块样式开始 */ +.title{ + text-align: left; + color: #333; + font-size: 22px; + font-weight: 200; + line-height: 58px; +} +.phone-box{ + width: 100%; + height: 614px; +} +.phone-box-left{ + width: 234px; + height: 100%; + float: left; +} +.phone-box-right{ + width: 992px; + height: 614px; + float: left; +} + +.item{ + width: 234px; + height: 300px; + background: #fff; + padding: 20px 0; + margin: 0 0 14px 14px; + float: left; + box-sizing: border-box; + transition: all 0.2s linear; +} +.item:hover{ + /* transform: translateY(-2px); */ + transform: translate3d(0,-2px,0); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} + +.item-img{ + width: 160px; + margin-bottom: 18px; +} + +.item-name{ + width: 214px; + height: 21px; + color: #333; + font-size: 14px; + line-height: 21px; + margin: 0 auto 2px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.item-desc{ + width: 214px; + height: 18px; + color: #b0b0b0; + font-size: 12px; + line-height: 18px; + margin: 0 auto 10px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.item-price{ + color: #ff6700; + font-size: 14px; +} + +.big-img{ + width: 100%; + height: 120px; + margin: 22px 0; +} + +/* 手机模块样式结束 */ +/* 家电模块样式开始 */ +.elc-box{ + width: 100%; + height: 614px; +} +.elc-item{ + margin-left: 0; + padding: 0; +} + +.item-price>del{ + color: #b0b0b0; +} +.item-last{ + width: 234px; + height: 300px; + float: left; + margin-left: 14px; +} +.item-last>div{ + width: 234px; + height: 143px; + background: #fff; + transition: all 0.2s linear; +} +.item-last>div:first-child{ + margin-bottom: 14px; +} +.item-last>div:hover{ + transform: translateY(-2px); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} +/* 家电模块样式结束 */ +/* 视频模块样式开始 */ +.video-box{ + width: 100%; + height: 299px; +} + +.video-box>div{ + width: 296px; + height: 285px; + background: #fff; + float: left; + margin-bottom: 14px; + margin-right: 14px; + transition: all 0.2s linear; +} + +.video-box>div:hover{ + transform: translateY(-2px); + box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); +} + +.video-box>div:last-child{ + margin-right: 0; +} + +.video-img{ + width: 100%; + height: 180px; + margin-bottom: 28px; + position: relative; +} +.btn{ + width: 32px; + height: 20px; + border-radius: 12px; + border: 2px solid #fff; + position: absolute; + left: 20px; + bottom: 10px; +} + +.sanjiao{ + border-left: 8px solid #fff; + border-top: 6px solid transparent; + border-bottom: 6px solid transparent; + width: 0; + height: 0; + margin: 3px auto; +} +.video-name{ + color: #333; + font-size: 14px; + width: 286px; + height: 21px; + margin: 0 auto 6px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} +.video-desc{ + width: 286px; + height: 18px; + margin: 0 auto; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + color: #b0b0b0; + font-size: 12px; +} +.video-img:hover .btn{ + background: #ff6700; + border-color: #ff6700; +} +/* 视频模块样式结束 */ +/* 页脚样式开始 */ +.footer-service{ + width: 100%; + height: 25px; + line-height: 25px; + padding: 27px 0; + border-bottom: 1px solid #e0e0e0; +} +.footer-service li{ + float: left; + width: 19.8%; + border-right: 1px solid #e0e0e0; +} +.footer-service li:last-child{ + border-right: none; +} + +.footer-service i{ + font-size: 24px; + margin-right: 6px; +} + +.footer-service a{ + color: #616161; +} + +.footer-service a:hover{ + color: #ff6700; +} +.footer-link{ + width: 100%; + height: 172px; + padding: 40px 0; +} + +.footer-link ul{ + float: left; + width: 160px; + text-align: left; + color: #424242; + font-size: 14px; + line-height: 1.25; +} + +.footer-link ul a{ + font-size: 12px; + color: #757575; +} + +.footer-link a:hover{ + color: #ff6700; +} + +.footer-link li{ + margin-top: 10px; +} + +.footer-link li:first-child{ + margin: 0 0 26px; +} + +.footer-aside{ + width: 251px; + height: 111px; + border-left: 1px solid #e0e0e0; + float: right; + color: #616161; +} +.tel{ + font-size: 22px; + line-height: 22px; + color: #ff6700; + margin-bottom: 5px; +} +.time{ + font-size: 12px; + margin-bottom: 5px; +} +.kefu{ + display: block; + width: 120px; + height: 30px; + line-height: 30px; + border: 1px solid #ff6700; + box-sizing: border-box; + margin: 0 auto; + color: #ff6700; + transition: all 0.4s; + font-size: 12px; +} +.footer-link .kefu:hover{ + background: #f25807; + border-color: #f25807; + color: #fff; + +} +.follow{ + font-size: 12px; + margin-top: 10px; +} +.follow img{ + width: 24px; + margin-left: 6px; + position: relative; + top: 7px; +} +/* 页脚样式结束 */ \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/reset.css" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..be2dc78d18b6bec6cf9115f7b6f31495e6c73e20 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;font-family: Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;} +li{ list-style: none;} +a{text-decoration: none;} +img{border: none;} \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a70e7760dd848d296634e193f100d303c22784ec Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/banner.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/banner.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a7dedb23d9ca63f06bca42993ca2469ca11ebb93 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/banner.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/download.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/download.png" new file mode 100644 index 0000000000000000000000000000000000000000..8ace029704d62e8173ee6d55c037aff4315488fd Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/download.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/elc-left.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/elc-left.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..4944f84309095c2abd454ec18fdd90362f4797bc Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/elc-left.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/elc-right.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/elc-right.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..e53fb78e054c12b65206347e1dc3bcabc2b4fbe7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/elc-right.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/favicon.ico" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/favicon.ico" new file mode 100644 index 0000000000000000000000000000000000000000..03477d24218922e3fbbe464c322db2929be6e7f6 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/favicon.ico" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/mi-home.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/mi-home.png" new file mode 100644 index 0000000000000000000000000000000000000000..cb3ea82de3c11402e99f4add187c49db4de6f958 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/mi-home.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/mi-logo.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/mi-logo.png" new file mode 100644 index 0000000000000000000000000000000000000000..82de5d977bca6d3131baec5696deac1c77df29d7 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/mi-logo.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone-right.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone-right.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..29d6158b84d292d5c2693486a41d7bad10752813 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone-right.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone.png" new file mode 100644 index 0000000000000000000000000000000000000000..413d28d043d4d9495f8d4e9bbcf3aaa068d578b2 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone_ad.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone_ad.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..512ec1b87db7453a7765477f88fc7a709c249f18 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone_ad.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone_left.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone_left.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..40d4f53d4f48177808edead35691347a3f770fae Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/phone_left.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/top.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/top.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..a1c3c4ba18304ed49a5d826cf2dd3d56b4ff27c1 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/top.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/video.jpg" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/video.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..389b97c854b501892615644bd4c25253dc62ba46 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/video.jpg" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/wb.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/wb.png" new file mode 100644 index 0000000000000000000000000000000000000000..f78ec4cd5de6f2e8639486db9f08c0736080b926 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/wb.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/wx.png" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/wx.png" new file mode 100644 index 0000000000000000000000000000000000000000..158d1327bd8048026fb999d5a6ea0d7753f86327 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/wx.png" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/zzxsh.gif" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/zzxsh.gif" new file mode 100644 index 0000000000000000000000000000000000000000..bb6222f926a49166214a8a471bb9044c509f67e0 Binary files /dev/null and "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/images/zzxsh.gif" differ diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/index.html" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..1edf940d3bdd2d780602f38254031720dee173c6 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/10_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256_ICON/index.html" @@ -0,0 +1,568 @@ + + + + + + + 小米 + + + + + + + + +
+ + + +
+ + + +
+
+ + +
+
+ + + + + + + + +
+ +
+ + +
+
+ + + + + + + +
+

视频

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+
+
+

Redmi 10X系列发布会

+

Redmi 10X系列发布会

+
+
+
+ +
+
+ + + + + + \ No newline at end of file diff --git "a/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/13.\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256.pdf" "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/13.\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256.pdf" new file mode 100644 index 0000000000000000000000000000000000000000..f049bc772daaf263099011750978b0e843a15812 --- /dev/null +++ "b/css/47_\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256/13.\345\260\217\347\261\263\345\256\230\347\275\221\351\241\271\347\233\256.pdf" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f7a5f96e69910134a222747c0af65e4ebff095bb7f2fa6d7c56f75868bf99a8 +size 5806242 diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/.DS_Store" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/.DS_Store" new file mode 100644 index 0000000000000000000000000000000000000000..a565a6c883915bc1fee4a2b12e0eac9319bcf389 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/.DS_Store" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..754d206286086960ae5453d04593cd27b11e0dbc --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.css" @@ -0,0 +1,21 @@ + +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1533172187680'); /* IE9*/ + src: url('iconfont.eot?t=1533172187680#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAWoAAsAAAAACDwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7khYY21hcAAAAYAAAABnAAABnM9va7tnbHlmAAAB6AAAAb8AAAH89r3Qo2hlYWQAAAOoAAAALwAAADYSMDmsaGhlYQAAA9gAAAAcAAAAJAfeA4VobXR4AAAD9AAAABAAAAAQD+kAAGxvY2EAAAQEAAAACgAAAAoBdADAbWF4cAAABBAAAAAfAAAAIAETAF1uYW1lAAAEMAAAAUUAAAJtPlT+fXBvc3QAAAV4AAAAMAAAAEEW0Cg8eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/sU4gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVDzLYW7438AQw9zA0AAUZgTJAQAsBgzaeJzFkMENwCAIRT9iG9N0lB6bbuESPfXgAE7MGhbQixP4zRP4IWIAsAFg5VIiQB8Iplddcp9xuB/xaJ30BI1VspTWpsxE3pE8C/Yy7VgmWjd61un3PSrbdx3oFyV3bK9SOuAf86QSVwB4nE1QTWsTURS99z1nkjTJTDtfb77yMTM2L23TRx1nJog1QZBCxYXSVaEoLlwUaauIdGGRQhBcuHDnvgiu3HfRX+EvqOjKheBeRl8SEC+Xc8+9nMU5FxSAP1/pBXXBhD5cgztwHwDVNYw10sKIZ4KsoR0pNrM0yhMeVZJY0FvIYtVy0iLrMbWi6qhhG69HacEF4ZhnI3ITU6eF6AX+jrEcGvQ9Lri8/aa8S87Q7iShPlovtwdjK+2a1eOGYXiG8a6qKkqVkCu6hgfMqSm1BbX8qOi+fdFZIR1seNy/t9vsBsbjt9lha5nVEE9P0Qy62qfxkr8k+8R3TMOrLDarrt9Mrlp4/L3umo1W7xvIIjLrD/qBMnBhXaZMmcPaRNWJhkksnWfDERnGMs8ik2nSYsiGvCBcIH4Z39gUgw26slrXBgebctvbYN7ey/HWpNjfLyZbt19l5+H5o8qTYkJ+Mk8Mnp08F1q9vzpVvZ7K+3l2VF4e5rkQUnmE9tMsl56o9FTSS0qgDgwSADMaYdbjkYaWo8yQzS40mn58zh/Qh3YQ2L/PJNIXs2H/d5pz+eigH+AUfv1j5edwzkKAv8dbWOsAeJxjYGRgYADifSeeJ8fz23xl4GZhAIHrHVW3EfT/hywMzBJALgcDE0gUAGReC/IAeJxjYGRgYG7438AQw8IAAkCSkQEVsAAARwoCbQQAAAAD6QAABAAAAAQAAAAAAAAAAHYAwAD+AAB4nGNgZGBgYGEIZGBlAAEmIOYCQgaG/2A+AwAREgFxAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nGNgYoAALgbsgIWRiZGZkYWRlYGxgjM3MT0vMy0ztYg9PTUvPaU0n4EBAFjTB0c=') format('woff'), + url('iconfont.ttf?t=1533172187680') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ + url('iconfont.svg?t=1533172187680#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family:"iconfont" !important; + font-size:16px; + font-style:normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-magnifier:before { content: "\e64d"; } + +.icon-gengduo:before { content: "\e66c"; } + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.eot" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..6a8ed58193566747bf585edb240c12652eae65bb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.eot" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.svg" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..a0e6bfea129bf50ca649253544450aa4794257e1 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.svg" @@ -0,0 +1,39 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.ttf" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..a8ba8dfa15b3b0d7ac8fb550ccce39dc7106231a Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.ttf" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.woff" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..35df04852cf050d92cdda9f02608dec62ffcdb53 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/iconfont/iconfont.woff" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/mike.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/mike.css" new file mode 100644 index 0000000000000000000000000000000000000000..be5eeb449f00509713bd538ac398b32138e422c0 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/mike.css" @@ -0,0 +1,88 @@ +/* 导航样式开始 */ +.nav{ + width: 100%; + height: 66px; + background: #88c5e1; + border-bottom: 5px solid #54abd4; +} + +.wrap{ + /* mi:1226px 百分比: */ + width: 87%; + margin: 0 auto; +} + +.logo,.search,.nav-bar{ + float: left; + height: 66px; +} + +.logo{ + width: 25%; + background: url("../images/Brand.png") no-repeat left; + background-size: 183px; +} + +.search{ + width: 40%; + position: relative; +} +.search .text-input{ + width: 100%; + height: 40px; + background-color: #f5f5f5; + border: 1px solid #f5f5f5; + box-sizing: border-box; + border-radius: 2px; + outline: none; + margin-top: 13px; + padding-left: 10px; + transition: all .2s; +} + +.search button{ + width: 40px; + height: 34px; + background-size: #f5f5f5; + color: #54abd4; + font-weight: 900; + position: absolute; + right: 2px; + top: 16px; +} + +.text-input:hover{ + background-color: #fff; + border-color: #54abd4; +} + +.nav-bar{ + width: 35%; +} + +.nav-bar>ul{ + float: right; +} + +.nav-bar ul li{ + float: left; +} + +/* 66 - 21 = 45 - 20 = 25 / 2 */ +.nav-bar ul li a{ + color: #fff; + padding: 10px; + display: block; + margin-left: 8px; + margin-top: 12.5px; +} + +.nav-bar-active{ + border-bottom: 2px solid #fff; +} + +.nav-bar a:hover{ + border-bottom: 2px solid #fff; +} + +/* 导航样式结束 */ \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/reset.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..333c64859f506892c018dd062253248e1ddadd80 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;} +li{ list-style: none;} +a{text-decoration: none;} +input,button,img{border: none} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/images/Brand-M.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/images/Brand-M.png" new file mode 100644 index 0000000000000000000000000000000000000000..59c6df5a3497ae11829b3d559b8a97e2021dd2eb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/images/Brand-M.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/images/Brand-S.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/images/Brand-S.png" new file mode 100644 index 0000000000000000000000000000000000000000..58be66619b712dfc4f84ce78cd074996cf41bf90 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/images/Brand-S.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/images/Brand.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/images/Brand.png" new file mode 100644 index 0000000000000000000000000000000000000000..689e2207378f90a2b9ffdabb28df076593b63fc6 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/images/Brand.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/index.html" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..6fe9c69654e2cfc2e6b039ecdf64105b781df257 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/01_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252/index.html" @@ -0,0 +1,36 @@ + + + + + + + Document + + + + + + + + + + + \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..754d206286086960ae5453d04593cd27b11e0dbc --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.css" @@ -0,0 +1,21 @@ + +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1533172187680'); /* IE9*/ + src: url('iconfont.eot?t=1533172187680#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAWoAAsAAAAACDwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7khYY21hcAAAAYAAAABnAAABnM9va7tnbHlmAAAB6AAAAb8AAAH89r3Qo2hlYWQAAAOoAAAALwAAADYSMDmsaGhlYQAAA9gAAAAcAAAAJAfeA4VobXR4AAAD9AAAABAAAAAQD+kAAGxvY2EAAAQEAAAACgAAAAoBdADAbWF4cAAABBAAAAAfAAAAIAETAF1uYW1lAAAEMAAAAUUAAAJtPlT+fXBvc3QAAAV4AAAAMAAAAEEW0Cg8eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/sU4gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVDzLYW7438AQw9zA0AAUZgTJAQAsBgzaeJzFkMENwCAIRT9iG9N0lB6bbuESPfXgAE7MGhbQixP4zRP4IWIAsAFg5VIiQB8Iplddcp9xuB/xaJ30BI1VspTWpsxE3pE8C/Yy7VgmWjd61un3PSrbdx3oFyV3bK9SOuAf86QSVwB4nE1QTWsTURS99z1nkjTJTDtfb77yMTM2L23TRx1nJog1QZBCxYXSVaEoLlwUaauIdGGRQhBcuHDnvgiu3HfRX+EvqOjKheBeRl8SEC+Xc8+9nMU5FxSAP1/pBXXBhD5cgztwHwDVNYw10sKIZ4KsoR0pNrM0yhMeVZJY0FvIYtVy0iLrMbWi6qhhG69HacEF4ZhnI3ITU6eF6AX+jrEcGvQ9Lri8/aa8S87Q7iShPlovtwdjK+2a1eOGYXiG8a6qKkqVkCu6hgfMqSm1BbX8qOi+fdFZIR1seNy/t9vsBsbjt9lha5nVEE9P0Qy62qfxkr8k+8R3TMOrLDarrt9Mrlp4/L3umo1W7xvIIjLrD/qBMnBhXaZMmcPaRNWJhkksnWfDERnGMs8ik2nSYsiGvCBcIH4Z39gUgw26slrXBgebctvbYN7ey/HWpNjfLyZbt19l5+H5o8qTYkJ+Mk8Mnp08F1q9vzpVvZ7K+3l2VF4e5rkQUnmE9tMsl56o9FTSS0qgDgwSADMaYdbjkYaWo8yQzS40mn58zh/Qh3YQ2L/PJNIXs2H/d5pz+eigH+AUfv1j5edwzkKAv8dbWOsAeJxjYGRgYADifSeeJ8fz23xl4GZhAIHrHVW3EfT/hywMzBJALgcDE0gUAGReC/IAeJxjYGRgYG7438AQw8IAAkCSkQEVsAAARwoCbQQAAAAD6QAABAAAAAQAAAAAAAAAAHYAwAD+AAB4nGNgZGBgYGEIZGBlAAEmIOYCQgaG/2A+AwAREgFxAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nGNgYoAALgbsgIWRiZGZkYWRlYGxgjM3MT0vMy0ztYg9PTUvPaU0n4EBAFjTB0c=') format('woff'), + url('iconfont.ttf?t=1533172187680') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ + url('iconfont.svg?t=1533172187680#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family:"iconfont" !important; + font-size:16px; + font-style:normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-magnifier:before { content: "\e64d"; } + +.icon-gengduo:before { content: "\e66c"; } + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.eot" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..6a8ed58193566747bf585edb240c12652eae65bb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.eot" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.svg" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..a0e6bfea129bf50ca649253544450aa4794257e1 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.svg" @@ -0,0 +1,39 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.ttf" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..a8ba8dfa15b3b0d7ac8fb550ccce39dc7106231a Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.ttf" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.woff" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..35df04852cf050d92cdda9f02608dec62ffcdb53 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.woff" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/mike.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/mike.css" new file mode 100644 index 0000000000000000000000000000000000000000..730b9238115d8a11faec1725c22004218e5b7e88 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/mike.css" @@ -0,0 +1,145 @@ +/* 导航样式开始 */ +.nav{ + width: 100%; + height: 66px; + background: #88c5e1; + border-bottom: 5px solid #54abd4; +} + +.wrap{ + /* mi:1226px 百分比: */ + width: 87%; + margin: 0 auto; +} + +.logo,.search,.nav-bar{ + float: left; + height: 66px; +} + + +.search .text-input{ + width: 100%; + height: 40px; + background-color: #f5f5f5; + border: 1px solid #f5f5f5; + box-sizing: border-box; + border-radius: 2px; + outline: none; + margin-top: 13px; + padding-left: 10px; + transition: all .2s; +} + +.search button{ + width: 40px; + height: 34px; + background-size: #f5f5f5; + color: #54abd4; + font-weight: 900; + position: absolute; + right: 2px; + top: 16px; +} + +.text-input:hover{ + background-color: #fff; + border-color: #54abd4; +} + +.nav-bar>ul{ + float: right; +} + +.nav-bar ul li{ + float: left; +} + +/* 66 - 21 = 45 - 20 = 25 / 2 */ +.nav-bar ul li a{ + color: #fff; + padding: 10px; + display: block; + margin-left: 8px; + margin-top: 12.5px; +} + +.nav-bar-active{ + border-bottom: 2px solid #fff; +} + +.nav-bar a:hover{ + border-bottom: 2px solid #fff; +} + +/* 导航样式结束 */ + + +/******** 响应式设计 *********/ +/* PC端 */ +@media screen and (min-width:992px) { + .logo{ + width: 25%; + background: url("../images/Brand.png") no-repeat left; + background-size: 183px; + } + .search{ + width: 40%; + position: relative; + } + .nav-bar{ + width: 35%; + } + .btn{ + display: none; + } +} + +/* PAD端 */ +@media screen and (min-width:768px) and (max-width:992px){ + .logo{ + width: 18%; + background: url("../images/Brand-M.png") no-repeat left; + background-size: 86px; + } + .search{ + width: 42%; + position: relative; + } + .nav-bar{ + width: 40%; + } + .btn{ + display: none; + } +} + +/* M端 */ +@media screen and (max-width:768px){ + .logo{ + width: 16%; + background: url("../images/Brand-S.png") no-repeat left; + background-size: 38px; + } + .search{ + width: 68%; + position: relative; + } + .nav-bar{ + display: none; + } + /* (43 - 22) / 2 */ + .btn{ + width: 43px; + height: 43px; + border: 1px solid #fff; + font-weight: 700; + line-height: 43px; + float: right; + color: #fff; + margin-top: 10.5px; + } + .btn i{ + font-size: 20px; + } +} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/reset.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..333c64859f506892c018dd062253248e1ddadd80 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;} +li{ list-style: none;} +a{text-decoration: none;} +input,button,img{border: none} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-M.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-M.png" new file mode 100644 index 0000000000000000000000000000000000000000..59c6df5a3497ae11829b3d559b8a97e2021dd2eb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-M.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-S.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-S.png" new file mode 100644 index 0000000000000000000000000000000000000000..58be66619b712dfc4f84ce78cd074996cf41bf90 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-S.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand.png" new file mode 100644 index 0000000000000000000000000000000000000000..689e2207378f90a2b9ffdabb28df076593b63fc6 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/MiLogo.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/MiLogo.png" new file mode 100644 index 0000000000000000000000000000000000000000..2f60f7778441704eefb8ae3fbcaead792d2c4cae Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/MiLogo.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/homeImg.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/homeImg.png" new file mode 100644 index 0000000000000000000000000000000000000000..ffce83a4437c101c1dd2271e95b944947417cae2 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/homeImg.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/miTitle.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/miTitle.png" new file mode 100644 index 0000000000000000000000000000000000000000..ed8691034a2c3206bf2e42d55d285e0a59d1a351 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/miTitle.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/index.html" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..e220d732a48870b77cb10dd853069636fbac54da --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/02_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\345\257\274\350\210\252\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/index.html" @@ -0,0 +1,39 @@ + + + + + + + Document + + + + + + + + + + + \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..754d206286086960ae5453d04593cd27b11e0dbc --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.css" @@ -0,0 +1,21 @@ + +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1533172187680'); /* IE9*/ + src: url('iconfont.eot?t=1533172187680#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAWoAAsAAAAACDwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7khYY21hcAAAAYAAAABnAAABnM9va7tnbHlmAAAB6AAAAb8AAAH89r3Qo2hlYWQAAAOoAAAALwAAADYSMDmsaGhlYQAAA9gAAAAcAAAAJAfeA4VobXR4AAAD9AAAABAAAAAQD+kAAGxvY2EAAAQEAAAACgAAAAoBdADAbWF4cAAABBAAAAAfAAAAIAETAF1uYW1lAAAEMAAAAUUAAAJtPlT+fXBvc3QAAAV4AAAAMAAAAEEW0Cg8eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/sU4gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVDzLYW7438AQw9zA0AAUZgTJAQAsBgzaeJzFkMENwCAIRT9iG9N0lB6bbuESPfXgAE7MGhbQixP4zRP4IWIAsAFg5VIiQB8Iplddcp9xuB/xaJ30BI1VspTWpsxE3pE8C/Yy7VgmWjd61un3PSrbdx3oFyV3bK9SOuAf86QSVwB4nE1QTWsTURS99z1nkjTJTDtfb77yMTM2L23TRx1nJog1QZBCxYXSVaEoLlwUaauIdGGRQhBcuHDnvgiu3HfRX+EvqOjKheBeRl8SEC+Xc8+9nMU5FxSAP1/pBXXBhD5cgztwHwDVNYw10sKIZ4KsoR0pNrM0yhMeVZJY0FvIYtVy0iLrMbWi6qhhG69HacEF4ZhnI3ITU6eF6AX+jrEcGvQ9Lri8/aa8S87Q7iShPlovtwdjK+2a1eOGYXiG8a6qKkqVkCu6hgfMqSm1BbX8qOi+fdFZIR1seNy/t9vsBsbjt9lha5nVEE9P0Qy62qfxkr8k+8R3TMOrLDarrt9Mrlp4/L3umo1W7xvIIjLrD/qBMnBhXaZMmcPaRNWJhkksnWfDERnGMs8ik2nSYsiGvCBcIH4Z39gUgw26slrXBgebctvbYN7ey/HWpNjfLyZbt19l5+H5o8qTYkJ+Mk8Mnp08F1q9vzpVvZ7K+3l2VF4e5rkQUnmE9tMsl56o9FTSS0qgDgwSADMaYdbjkYaWo8yQzS40mn58zh/Qh3YQ2L/PJNIXs2H/d5pz+eigH+AUfv1j5edwzkKAv8dbWOsAeJxjYGRgYADifSeeJ8fz23xl4GZhAIHrHVW3EfT/hywMzBJALgcDE0gUAGReC/IAeJxjYGRgYG7438AQw8IAAkCSkQEVsAAARwoCbQQAAAAD6QAABAAAAAQAAAAAAAAAAHYAwAD+AAB4nGNgZGBgYGEIZGBlAAEmIOYCQgaG/2A+AwAREgFxAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nGNgYoAALgbsgIWRiZGZkYWRlYGxgjM3MT0vMy0ztYg9PTUvPaU0n4EBAFjTB0c=') format('woff'), + url('iconfont.ttf?t=1533172187680') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ + url('iconfont.svg?t=1533172187680#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family:"iconfont" !important; + font-size:16px; + font-style:normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-magnifier:before { content: "\e64d"; } + +.icon-gengduo:before { content: "\e66c"; } + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.eot" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..6a8ed58193566747bf585edb240c12652eae65bb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.eot" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.svg" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..a0e6bfea129bf50ca649253544450aa4794257e1 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.svg" @@ -0,0 +1,39 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.ttf" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..a8ba8dfa15b3b0d7ac8fb550ccce39dc7106231a Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.ttf" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.woff" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..35df04852cf050d92cdda9f02608dec62ffcdb53 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/iconfont/iconfont.woff" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/mike.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/mike.css" new file mode 100644 index 0000000000000000000000000000000000000000..fcc2a58f02f0fb4ae29bfc48b39c7282f36f697d --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/mike.css" @@ -0,0 +1,230 @@ +/* 导航样式开始 */ +.nav{ + width: 100%; + height: 66px; + background: #88c5e1; + border-bottom: 5px solid #54abd4; +} + +.wrap{ + /* mi:1226px 百分比: */ + width: 87%; + margin: 0 auto; +} + +.logo,.search,.nav-bar{ + float: left; + height: 66px; +} + + +.text-input{ + width: 100%; + height: 40px; + background-color: #f5f5f5; + border: 1px solid #f5f5f5; + box-sizing: border-box; + border-radius: 2px; + outline: none; + margin-top: 13px; + padding-left: 10px; + transition: all .2s; +} + +.search button{ + width: 40px; + height: 34px; + background-size: #f5f5f5; + color: #54abd4; + font-weight: 900; + position: absolute; + right: 2px; + top: 16px; +} + +.text-input:hover{ + background-color: #fff; + border-color: #54abd4; +} + +.nav-bar>ul{ + float: right; +} + +.nav-bar ul li{ + float: left; +} + +/* 66 - 21 = 45 - 20 = 25 / 2 */ +.nav-bar ul li a{ + color: #fff; + padding: 10px; + display: block; + margin-left: 8px; + margin-top: 12.5px; +} + +.nav-bar-active{ + border-bottom: 2px solid #fff; +} + +.nav-bar a:hover{ + border-bottom: 2px solid #fff; +} + +/* 导航样式结束 */ +/* 登录样式开始 */ +.login{ + width: 100%; + background-image: url("../images/homeImg.png"); + background-repeat: no-repeat; + background-size: 100% 100%; + box-sizing: border-box; +} + +.login-logo,.form{ + float: left; +} + +.form li{ + float: left; +} + +.form li a{ + color: #fff; + padding: 10px 0 3px; + display: block; + margin-right: 15px; +} + +.rem{ + margin: 15px 0; + text-align: left; + color: #fff; + font-size: 12px; +} + +.rem a{ + float: right; + color: #fff; +} + +.form button{ + width: 100%; + height: 44px; + background-color: #88c5e1; + color: #fff; + font-size: 16px; + border-radius: 6px; + box-shadow: 0 8px #54abd4; +} + +.form button:hover{ + transform: translateY(3px); + box-shadow: 0 5px #54abd4; +} + +/* 登录样式结束 */ + + +/******** 响应式设计 *********/ +/* PC端 */ +@media screen and (min-width:992px) { + .logo{ + width: 25%; + background: url("../images/Brand.png") no-repeat left; + background-size: 183px; + } + .search{ + width: 40%; + position: relative; + } + .nav-bar{ + width: 35%; + } + .btn{ + display: none; + } + /* 登录 */ + .login{ + height: 460px; + padding-top: 75px; + } + .login-logo{ + width: 70%; + } + .form{ + width: 30%; + } +} + +/* PAD端 */ +@media screen and (min-width:768px) and (max-width:992px){ + .logo{ + width: 18%; + background: url("../images/Brand-M.png") no-repeat left; + background-size: 86px; + } + .search{ + width: 42%; + position: relative; + } + .nav-bar{ + width: 40%; + } + .btn{ + display: none; + } + /* 登录 */ + .login{ + height: 338px; + padding-top: 30px; + } + .login-logo{ + width: 57%; + } + .form{ + width: 43%; + } +} + +/* M端 */ +@media screen and (max-width:768px){ + .logo{ + width: 16%; + background: url("../images/Brand-S.png") no-repeat left; + background-size: 38px; + } + .search{ + width: 68%; + position: relative; + } + .nav-bar{ + display: none; + } + /* (43 - 22) / 2 */ + .btn{ + width: 43px; + height: 43px; + border: 1px solid #fff; + font-weight: 700; + line-height: 43px; + float: right; + color: #fff; + margin-top: 10.5px; + } + .btn i{ + font-size: 20px; + } + /* 登录 */ + .login{ + height: 338px; + padding-top: 30px; + } + .login-logo{ + display: none; + } + .form{ + width: 100%; + } +} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/reset.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..333c64859f506892c018dd062253248e1ddadd80 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;} +li{ list-style: none;} +a{text-decoration: none;} +input,button,img{border: none} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/Brand-M.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/Brand-M.png" new file mode 100644 index 0000000000000000000000000000000000000000..59c6df5a3497ae11829b3d559b8a97e2021dd2eb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/Brand-M.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/Brand-S.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/Brand-S.png" new file mode 100644 index 0000000000000000000000000000000000000000..58be66619b712dfc4f84ce78cd074996cf41bf90 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/Brand-S.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/Brand.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/Brand.png" new file mode 100644 index 0000000000000000000000000000000000000000..689e2207378f90a2b9ffdabb28df076593b63fc6 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/Brand.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/MiLogo.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/MiLogo.png" new file mode 100644 index 0000000000000000000000000000000000000000..2f60f7778441704eefb8ae3fbcaead792d2c4cae Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/MiLogo.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/homeImg.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/homeImg.png" new file mode 100644 index 0000000000000000000000000000000000000000..ffce83a4437c101c1dd2271e95b944947417cae2 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/homeImg.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/miTitle.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/miTitle.png" new file mode 100644 index 0000000000000000000000000000000000000000..ed8691034a2c3206bf2e42d55d285e0a59d1a351 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/images/miTitle.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/index.html" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..4b9dae8f387bc5f59dc6cf564ab9d0f45b1efc48 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/03_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225/index.html" @@ -0,0 +1,65 @@ + + + + + + + Document + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..754d206286086960ae5453d04593cd27b11e0dbc --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.css" @@ -0,0 +1,21 @@ + +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1533172187680'); /* IE9*/ + src: url('iconfont.eot?t=1533172187680#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAWoAAsAAAAACDwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7khYY21hcAAAAYAAAABnAAABnM9va7tnbHlmAAAB6AAAAb8AAAH89r3Qo2hlYWQAAAOoAAAALwAAADYSMDmsaGhlYQAAA9gAAAAcAAAAJAfeA4VobXR4AAAD9AAAABAAAAAQD+kAAGxvY2EAAAQEAAAACgAAAAoBdADAbWF4cAAABBAAAAAfAAAAIAETAF1uYW1lAAAEMAAAAUUAAAJtPlT+fXBvc3QAAAV4AAAAMAAAAEEW0Cg8eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/sU4gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVDzLYW7438AQw9zA0AAUZgTJAQAsBgzaeJzFkMENwCAIRT9iG9N0lB6bbuESPfXgAE7MGhbQixP4zRP4IWIAsAFg5VIiQB8Iplddcp9xuB/xaJ30BI1VspTWpsxE3pE8C/Yy7VgmWjd61un3PSrbdx3oFyV3bK9SOuAf86QSVwB4nE1QTWsTURS99z1nkjTJTDtfb77yMTM2L23TRx1nJog1QZBCxYXSVaEoLlwUaauIdGGRQhBcuHDnvgiu3HfRX+EvqOjKheBeRl8SEC+Xc8+9nMU5FxSAP1/pBXXBhD5cgztwHwDVNYw10sKIZ4KsoR0pNrM0yhMeVZJY0FvIYtVy0iLrMbWi6qhhG69HacEF4ZhnI3ITU6eF6AX+jrEcGvQ9Lri8/aa8S87Q7iShPlovtwdjK+2a1eOGYXiG8a6qKkqVkCu6hgfMqSm1BbX8qOi+fdFZIR1seNy/t9vsBsbjt9lha5nVEE9P0Qy62qfxkr8k+8R3TMOrLDarrt9Mrlp4/L3umo1W7xvIIjLrD/qBMnBhXaZMmcPaRNWJhkksnWfDERnGMs8ik2nSYsiGvCBcIH4Z39gUgw26slrXBgebctvbYN7ey/HWpNjfLyZbt19l5+H5o8qTYkJ+Mk8Mnp08F1q9vzpVvZ7K+3l2VF4e5rkQUnmE9tMsl56o9FTSS0qgDgwSADMaYdbjkYaWo8yQzS40mn58zh/Qh3YQ2L/PJNIXs2H/d5pz+eigH+AUfv1j5edwzkKAv8dbWOsAeJxjYGRgYADifSeeJ8fz23xl4GZhAIHrHVW3EfT/hywMzBJALgcDE0gUAGReC/IAeJxjYGRgYG7438AQw8IAAkCSkQEVsAAARwoCbQQAAAAD6QAABAAAAAQAAAAAAAAAAHYAwAD+AAB4nGNgZGBgYGEIZGBlAAEmIOYCQgaG/2A+AwAREgFxAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nGNgYoAALgbsgIWRiZGZkYWRlYGxgjM3MT0vMy0ztYg9PTUvPaU0n4EBAFjTB0c=') format('woff'), + url('iconfont.ttf?t=1533172187680') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ + url('iconfont.svg?t=1533172187680#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family:"iconfont" !important; + font-size:16px; + font-style:normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-magnifier:before { content: "\e64d"; } + +.icon-gengduo:before { content: "\e66c"; } + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.eot" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..6a8ed58193566747bf585edb240c12652eae65bb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.eot" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.svg" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..a0e6bfea129bf50ca649253544450aa4794257e1 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.svg" @@ -0,0 +1,39 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.ttf" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..a8ba8dfa15b3b0d7ac8fb550ccce39dc7106231a Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.ttf" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.woff" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..35df04852cf050d92cdda9f02608dec62ffcdb53 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/iconfont/iconfont.woff" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/mike.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/mike.css" new file mode 100644 index 0000000000000000000000000000000000000000..fcc2a58f02f0fb4ae29bfc48b39c7282f36f697d --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/mike.css" @@ -0,0 +1,230 @@ +/* 导航样式开始 */ +.nav{ + width: 100%; + height: 66px; + background: #88c5e1; + border-bottom: 5px solid #54abd4; +} + +.wrap{ + /* mi:1226px 百分比: */ + width: 87%; + margin: 0 auto; +} + +.logo,.search,.nav-bar{ + float: left; + height: 66px; +} + + +.text-input{ + width: 100%; + height: 40px; + background-color: #f5f5f5; + border: 1px solid #f5f5f5; + box-sizing: border-box; + border-radius: 2px; + outline: none; + margin-top: 13px; + padding-left: 10px; + transition: all .2s; +} + +.search button{ + width: 40px; + height: 34px; + background-size: #f5f5f5; + color: #54abd4; + font-weight: 900; + position: absolute; + right: 2px; + top: 16px; +} + +.text-input:hover{ + background-color: #fff; + border-color: #54abd4; +} + +.nav-bar>ul{ + float: right; +} + +.nav-bar ul li{ + float: left; +} + +/* 66 - 21 = 45 - 20 = 25 / 2 */ +.nav-bar ul li a{ + color: #fff; + padding: 10px; + display: block; + margin-left: 8px; + margin-top: 12.5px; +} + +.nav-bar-active{ + border-bottom: 2px solid #fff; +} + +.nav-bar a:hover{ + border-bottom: 2px solid #fff; +} + +/* 导航样式结束 */ +/* 登录样式开始 */ +.login{ + width: 100%; + background-image: url("../images/homeImg.png"); + background-repeat: no-repeat; + background-size: 100% 100%; + box-sizing: border-box; +} + +.login-logo,.form{ + float: left; +} + +.form li{ + float: left; +} + +.form li a{ + color: #fff; + padding: 10px 0 3px; + display: block; + margin-right: 15px; +} + +.rem{ + margin: 15px 0; + text-align: left; + color: #fff; + font-size: 12px; +} + +.rem a{ + float: right; + color: #fff; +} + +.form button{ + width: 100%; + height: 44px; + background-color: #88c5e1; + color: #fff; + font-size: 16px; + border-radius: 6px; + box-shadow: 0 8px #54abd4; +} + +.form button:hover{ + transform: translateY(3px); + box-shadow: 0 5px #54abd4; +} + +/* 登录样式结束 */ + + +/******** 响应式设计 *********/ +/* PC端 */ +@media screen and (min-width:992px) { + .logo{ + width: 25%; + background: url("../images/Brand.png") no-repeat left; + background-size: 183px; + } + .search{ + width: 40%; + position: relative; + } + .nav-bar{ + width: 35%; + } + .btn{ + display: none; + } + /* 登录 */ + .login{ + height: 460px; + padding-top: 75px; + } + .login-logo{ + width: 70%; + } + .form{ + width: 30%; + } +} + +/* PAD端 */ +@media screen and (min-width:768px) and (max-width:992px){ + .logo{ + width: 18%; + background: url("../images/Brand-M.png") no-repeat left; + background-size: 86px; + } + .search{ + width: 42%; + position: relative; + } + .nav-bar{ + width: 40%; + } + .btn{ + display: none; + } + /* 登录 */ + .login{ + height: 338px; + padding-top: 30px; + } + .login-logo{ + width: 57%; + } + .form{ + width: 43%; + } +} + +/* M端 */ +@media screen and (max-width:768px){ + .logo{ + width: 16%; + background: url("../images/Brand-S.png") no-repeat left; + background-size: 38px; + } + .search{ + width: 68%; + position: relative; + } + .nav-bar{ + display: none; + } + /* (43 - 22) / 2 */ + .btn{ + width: 43px; + height: 43px; + border: 1px solid #fff; + font-weight: 700; + line-height: 43px; + float: right; + color: #fff; + margin-top: 10.5px; + } + .btn i{ + font-size: 20px; + } + /* 登录 */ + .login{ + height: 338px; + padding-top: 30px; + } + .login-logo{ + display: none; + } + .form{ + width: 100%; + } +} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/reset.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..333c64859f506892c018dd062253248e1ddadd80 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;} +li{ list-style: none;} +a{text-decoration: none;} +input,button,img{border: none} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-M.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-M.png" new file mode 100644 index 0000000000000000000000000000000000000000..59c6df5a3497ae11829b3d559b8a97e2021dd2eb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-M.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-S.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-S.png" new file mode 100644 index 0000000000000000000000000000000000000000..58be66619b712dfc4f84ce78cd074996cf41bf90 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand-S.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand.png" new file mode 100644 index 0000000000000000000000000000000000000000..689e2207378f90a2b9ffdabb28df076593b63fc6 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/Brand.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/MiLogo.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/MiLogo.png" new file mode 100644 index 0000000000000000000000000000000000000000..2f60f7778441704eefb8ae3fbcaead792d2c4cae Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/MiLogo.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/film.jpg" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/film.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..86455f20f4b47de6f1477a697e88f6075c47f911 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/film.jpg" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/homeImg.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/homeImg.png" new file mode 100644 index 0000000000000000000000000000000000000000..ffce83a4437c101c1dd2271e95b944947417cae2 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/homeImg.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/miTitle.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/miTitle.png" new file mode 100644 index 0000000000000000000000000000000000000000..ed8691034a2c3206bf2e42d55d285e0a59d1a351 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/images/miTitle.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/index.html" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..4b9dae8f387bc5f59dc6cf564ab9d0f45b1efc48 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/04_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\231\273\345\275\225\345\223\215\345\272\224\345\274\217\350\256\276\350\256\241/index.html" @@ -0,0 +1,65 @@ + + + + + + + Document + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..754d206286086960ae5453d04593cd27b11e0dbc --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.css" @@ -0,0 +1,21 @@ + +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1533172187680'); /* IE9*/ + src: url('iconfont.eot?t=1533172187680#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAWoAAsAAAAACDwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7khYY21hcAAAAYAAAABnAAABnM9va7tnbHlmAAAB6AAAAb8AAAH89r3Qo2hlYWQAAAOoAAAALwAAADYSMDmsaGhlYQAAA9gAAAAcAAAAJAfeA4VobXR4AAAD9AAAABAAAAAQD+kAAGxvY2EAAAQEAAAACgAAAAoBdADAbWF4cAAABBAAAAAfAAAAIAETAF1uYW1lAAAEMAAAAUUAAAJtPlT+fXBvc3QAAAV4AAAAMAAAAEEW0Cg8eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/sU4gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVDzLYW7438AQw9zA0AAUZgTJAQAsBgzaeJzFkMENwCAIRT9iG9N0lB6bbuESPfXgAE7MGhbQixP4zRP4IWIAsAFg5VIiQB8Iplddcp9xuB/xaJ30BI1VspTWpsxE3pE8C/Yy7VgmWjd61un3PSrbdx3oFyV3bK9SOuAf86QSVwB4nE1QTWsTURS99z1nkjTJTDtfb77yMTM2L23TRx1nJog1QZBCxYXSVaEoLlwUaauIdGGRQhBcuHDnvgiu3HfRX+EvqOjKheBeRl8SEC+Xc8+9nMU5FxSAP1/pBXXBhD5cgztwHwDVNYw10sKIZ4KsoR0pNrM0yhMeVZJY0FvIYtVy0iLrMbWi6qhhG69HacEF4ZhnI3ITU6eF6AX+jrEcGvQ9Lri8/aa8S87Q7iShPlovtwdjK+2a1eOGYXiG8a6qKkqVkCu6hgfMqSm1BbX8qOi+fdFZIR1seNy/t9vsBsbjt9lha5nVEE9P0Qy62qfxkr8k+8R3TMOrLDarrt9Mrlp4/L3umo1W7xvIIjLrD/qBMnBhXaZMmcPaRNWJhkksnWfDERnGMs8ik2nSYsiGvCBcIH4Z39gUgw26slrXBgebctvbYN7ey/HWpNjfLyZbt19l5+H5o8qTYkJ+Mk8Mnp08F1q9vzpVvZ7K+3l2VF4e5rkQUnmE9tMsl56o9FTSS0qgDgwSADMaYdbjkYaWo8yQzS40mn58zh/Qh3YQ2L/PJNIXs2H/d5pz+eigH+AUfv1j5edwzkKAv8dbWOsAeJxjYGRgYADifSeeJ8fz23xl4GZhAIHrHVW3EfT/hywMzBJALgcDE0gUAGReC/IAeJxjYGRgYG7438AQw8IAAkCSkQEVsAAARwoCbQQAAAAD6QAABAAAAAQAAAAAAAAAAHYAwAD+AAB4nGNgZGBgYGEIZGBlAAEmIOYCQgaG/2A+AwAREgFxAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nGNgYoAALgbsgIWRiZGZkYWRlYGxgjM3MT0vMy0ztYg9PTUvPaU0n4EBAFjTB0c=') format('woff'), + url('iconfont.ttf?t=1533172187680') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ + url('iconfont.svg?t=1533172187680#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family:"iconfont" !important; + font-size:16px; + font-style:normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-magnifier:before { content: "\e64d"; } + +.icon-gengduo:before { content: "\e66c"; } + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.eot" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..6a8ed58193566747bf585edb240c12652eae65bb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.eot" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.svg" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..a0e6bfea129bf50ca649253544450aa4794257e1 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.svg" @@ -0,0 +1,39 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.ttf" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..a8ba8dfa15b3b0d7ac8fb550ccce39dc7106231a Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.ttf" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.woff" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..35df04852cf050d92cdda9f02608dec62ffcdb53 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.woff" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/mike.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/mike.css" new file mode 100644 index 0000000000000000000000000000000000000000..30772b51cc71e9a3d40e56a4eff00e67a4be1acf --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/mike.css" @@ -0,0 +1,296 @@ +/* 导航样式开始 */ +.nav{ + width: 100%; + height: 66px; + background: #88c5e1; + border-bottom: 5px solid #54abd4; +} + +.wrap{ + /* mi:1226px 百分比: */ + width: 87%; + margin: 0 auto; +} + +.logo,.search,.nav-bar{ + float: left; + height: 66px; +} + + +.text-input{ + width: 100%; + height: 40px; + background-color: #f5f5f5; + border: 1px solid #f5f5f5; + box-sizing: border-box; + border-radius: 2px; + outline: none; + margin-top: 13px; + padding-left: 10px; + transition: all .2s; +} + +.search button{ + width: 40px; + height: 34px; + background-size: #f5f5f5; + color: #54abd4; + font-weight: 900; + position: absolute; + right: 2px; + top: 16px; +} + +.text-input:hover{ + background-color: #fff; + border-color: #54abd4; +} + +.nav-bar>ul{ + float: right; +} + +.nav-bar ul li{ + float: left; +} + +/* 66 - 21 = 45 - 20 = 25 / 2 */ +.nav-bar ul li a{ + color: #fff; + padding: 10px; + display: block; + margin-left: 8px; + margin-top: 12.5px; +} + +.nav-bar-active{ + border-bottom: 2px solid #fff; +} + +.nav-bar a:hover{ + border-bottom: 2px solid #fff; +} + +/* 导航样式结束 */ +/* 登录样式开始 */ +.login{ + width: 100%; + background-image: url("../images/homeImg.png"); + background-repeat: no-repeat; + background-size: 100% 100%; + box-sizing: border-box; +} + +.login-logo,.form{ + float: left; +} + +.form li{ + float: left; +} + +.form li a{ + color: #fff; + padding: 10px 0 3px; + display: block; + margin-right: 15px; +} + +.rem{ + margin: 15px 0; + text-align: left; + color: #fff; + font-size: 12px; +} + +.rem a{ + float: right; + color: #fff; +} + +.form button{ + width: 100%; + height: 44px; + background-color: #88c5e1; + color: #fff; + font-size: 16px; + border-radius: 6px; + box-shadow: 0 8px #54abd4; +} + +.form button:hover{ + transform: translateY(3px); + box-shadow: 0 5px #54abd4; +} + +/* 登录样式结束 */ +/* 主体开始 */ +.content{ + padding-top: 40px; +} +/* 主体结束 */ +/* 新课速度开始 */ +.new-course{ + background-color: #fff; + margin-bottom: 20px; + box-shadow: 0 14px 10px -10px rgba(0, 0, 0, 0.1); + overflow: hidden; + padding-bottom: 60px; +} + +.container{ + width: 93%; + margin: 0 auto; +} + +.title{ + font-weight: 400; + font-size: 18px; + text-align: left; + padding: 8px 0 8px 16px; + border-left: 3px solid #54abd4; + margin: 40px 0 36px; +} + +.new-course-box>div{ + width: 50%; + float: left; + padding: 10px; + box-sizing: border-box; +} + +.new-course-box>div>div{ + width: 100%; + height: 100%; + background-color: #f5f5f5; + border-radius: 0 0 4px 4px; + box-shadow: 1px 1px 2px #ddd; +} + +.new-course-box img{ + width: 100%; +} + +.new-course-box p{ + color: #999; + line-height: 80px; +} + +/* 新课速度结束 */ + + +/******** 响应式设计 *********/ +/* PC端 */ +@media screen and (min-width:992px) { + .logo{ + width: 25%; + background: url("../images/Brand.png") no-repeat left; + background-size: 183px; + } + .search{ + width: 40%; + position: relative; + } + .nav-bar{ + width: 35%; + } + .btn{ + display: none; + } + /* 登录 */ + .login{ + height: 460px; + padding-top: 75px; + } + .login-logo{ + width: 70%; + } + .form{ + width: 30%; + } + /* 新课速递 */ + .new-course{ + width: 64%; + } + +} + +/* PAD端 */ +@media screen and (min-width:768px) and (max-width:992px){ + .logo{ + width: 18%; + background: url("../images/Brand-M.png") no-repeat left; + background-size: 86px; + } + .search{ + width: 42%; + position: relative; + } + .nav-bar{ + width: 40%; + } + .btn{ + display: none; + } + /* 登录 */ + .login{ + height: 338px; + padding-top: 30px; + } + .login-logo{ + width: 57%; + } + .form{ + width: 43%; + } + /* 新课速递 */ + .new-course{ + width: 100%; + } +} + +/* M端 */ +@media screen and (max-width:768px){ + .logo{ + width: 16%; + background: url("../images/Brand-S.png") no-repeat left; + background-size: 38px; + } + .search{ + width: 68%; + position: relative; + } + .nav-bar{ + display: none; + } + /* (43 - 22) / 2 */ + .btn{ + width: 43px; + height: 43px; + border: 1px solid #fff; + font-weight: 700; + line-height: 43px; + float: right; + color: #fff; + margin-top: 10.5px; + } + .btn i{ + font-size: 20px; + } + /* 登录 */ + .login{ + height: 338px; + padding-top: 30px; + } + .login-logo{ + display: none; + } + .form{ + width: 100%; + } + /* 新课速递 */ + .new-course{ + width: 100%; + } +} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/reset.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..333c64859f506892c018dd062253248e1ddadd80 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;} +li{ list-style: none;} +a{text-decoration: none;} +input,button,img{border: none} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-M.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-M.png" new file mode 100644 index 0000000000000000000000000000000000000000..59c6df5a3497ae11829b3d559b8a97e2021dd2eb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-M.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-S.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-S.png" new file mode 100644 index 0000000000000000000000000000000000000000..58be66619b712dfc4f84ce78cd074996cf41bf90 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-S.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand.png" new file mode 100644 index 0000000000000000000000000000000000000000..689e2207378f90a2b9ffdabb28df076593b63fc6 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/MiLogo.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/MiLogo.png" new file mode 100644 index 0000000000000000000000000000000000000000..2f60f7778441704eefb8ae3fbcaead792d2c4cae Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/MiLogo.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/film.jpg" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/film.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..86455f20f4b47de6f1477a697e88f6075c47f911 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/film.jpg" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/homeImg.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/homeImg.png" new file mode 100644 index 0000000000000000000000000000000000000000..ffce83a4437c101c1dd2271e95b944947417cae2 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/homeImg.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/miTitle.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/miTitle.png" new file mode 100644 index 0000000000000000000000000000000000000000..ed8691034a2c3206bf2e42d55d285e0a59d1a351 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/images/miTitle.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/index.html" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..018bd10369c57f352cba233e4dbd27b0e0700b2d --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/05_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\346\226\260\350\257\276\351\200\237\351\200\222\344\270\216\345\223\215\345\272\224\345\274\217/index.html" @@ -0,0 +1,93 @@ + + + + + + + Document + + + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..754d206286086960ae5453d04593cd27b11e0dbc --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.css" @@ -0,0 +1,21 @@ + +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1533172187680'); /* IE9*/ + src: url('iconfont.eot?t=1533172187680#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAWoAAsAAAAACDwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7khYY21hcAAAAYAAAABnAAABnM9va7tnbHlmAAAB6AAAAb8AAAH89r3Qo2hlYWQAAAOoAAAALwAAADYSMDmsaGhlYQAAA9gAAAAcAAAAJAfeA4VobXR4AAAD9AAAABAAAAAQD+kAAGxvY2EAAAQEAAAACgAAAAoBdADAbWF4cAAABBAAAAAfAAAAIAETAF1uYW1lAAAEMAAAAUUAAAJtPlT+fXBvc3QAAAV4AAAAMAAAAEEW0Cg8eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/sU4gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVDzLYW7438AQw9zA0AAUZgTJAQAsBgzaeJzFkMENwCAIRT9iG9N0lB6bbuESPfXgAE7MGhbQixP4zRP4IWIAsAFg5VIiQB8Iplddcp9xuB/xaJ30BI1VspTWpsxE3pE8C/Yy7VgmWjd61un3PSrbdx3oFyV3bK9SOuAf86QSVwB4nE1QTWsTURS99z1nkjTJTDtfb77yMTM2L23TRx1nJog1QZBCxYXSVaEoLlwUaauIdGGRQhBcuHDnvgiu3HfRX+EvqOjKheBeRl8SEC+Xc8+9nMU5FxSAP1/pBXXBhD5cgztwHwDVNYw10sKIZ4KsoR0pNrM0yhMeVZJY0FvIYtVy0iLrMbWi6qhhG69HacEF4ZhnI3ITU6eF6AX+jrEcGvQ9Lri8/aa8S87Q7iShPlovtwdjK+2a1eOGYXiG8a6qKkqVkCu6hgfMqSm1BbX8qOi+fdFZIR1seNy/t9vsBsbjt9lha5nVEE9P0Qy62qfxkr8k+8R3TMOrLDarrt9Mrlp4/L3umo1W7xvIIjLrD/qBMnBhXaZMmcPaRNWJhkksnWfDERnGMs8ik2nSYsiGvCBcIH4Z39gUgw26slrXBgebctvbYN7ey/HWpNjfLyZbt19l5+H5o8qTYkJ+Mk8Mnp08F1q9vzpVvZ7K+3l2VF4e5rkQUnmE9tMsl56o9FTSS0qgDgwSADMaYdbjkYaWo8yQzS40mn58zh/Qh3YQ2L/PJNIXs2H/d5pz+eigH+AUfv1j5edwzkKAv8dbWOsAeJxjYGRgYADifSeeJ8fz23xl4GZhAIHrHVW3EfT/hywMzBJALgcDE0gUAGReC/IAeJxjYGRgYG7438AQw8IAAkCSkQEVsAAARwoCbQQAAAAD6QAABAAAAAQAAAAAAAAAAHYAwAD+AAB4nGNgZGBgYGEIZGBlAAEmIOYCQgaG/2A+AwAREgFxAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nGNgYoAALgbsgIWRiZGZkYWRlYGxgjM3MT0vMy0ztYg9PTUvPaU0n4EBAFjTB0c=') format('woff'), + url('iconfont.ttf?t=1533172187680') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ + url('iconfont.svg?t=1533172187680#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family:"iconfont" !important; + font-size:16px; + font-style:normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-magnifier:before { content: "\e64d"; } + +.icon-gengduo:before { content: "\e66c"; } + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.eot" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..6a8ed58193566747bf585edb240c12652eae65bb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.eot" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.svg" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..a0e6bfea129bf50ca649253544450aa4794257e1 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.svg" @@ -0,0 +1,39 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.ttf" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..a8ba8dfa15b3b0d7ac8fb550ccce39dc7106231a Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.ttf" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.woff" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..35df04852cf050d92cdda9f02608dec62ffcdb53 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/iconfont/iconfont.woff" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/mike.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/mike.css" new file mode 100644 index 0000000000000000000000000000000000000000..58d69c57a743d54fe1ff6c12a5ba0354e15e2b14 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/mike.css" @@ -0,0 +1,392 @@ +/* 导航样式开始 */ +.nav{ + width: 100%; + height: 66px; + background: #88c5e1; + border-bottom: 5px solid #54abd4; +} + +.wrap{ + /* mi:1226px 百分比: */ + width: 87%; + margin: 0 auto; +} + +.logo,.search,.nav-bar{ + float: left; + height: 66px; +} + + +.text-input{ + width: 100%; + height: 40px; + background-color: #f5f5f5; + border: 1px solid #f5f5f5; + box-sizing: border-box; + border-radius: 2px; + outline: none; + margin-top: 13px; + padding-left: 10px; + transition: all .2s; +} + +.search button{ + width: 40px; + height: 34px; + background-size: #f5f5f5; + color: #54abd4; + font-weight: 900; + position: absolute; + right: 2px; + top: 16px; +} + +.text-input:hover{ + background-color: #fff; + border-color: #54abd4; +} + +.nav-bar>ul{ + float: right; +} + +.nav-bar ul li{ + float: left; +} + +/* 66 - 21 = 45 - 20 = 25 / 2 */ +.nav-bar ul li a{ + color: #fff; + padding: 10px; + display: block; + margin-left: 8px; + margin-top: 12.5px; +} + +.nav-bar-active{ + border-bottom: 2px solid #fff; +} + +.nav-bar a:hover{ + border-bottom: 2px solid #fff; +} + +/* 导航样式结束 */ +/* 登录样式开始 */ +.login{ + width: 100%; + background-image: url("../images/homeImg.png"); + background-repeat: no-repeat; + background-size: 100% 100%; + box-sizing: border-box; +} + +.login-logo,.form{ + float: left; +} + +.form li{ + float: left; +} + +.form li a{ + color: #fff; + padding: 10px 0 3px; + display: block; + margin-right: 15px; +} + +.rem{ + margin: 15px 0; + text-align: left; + color: #fff; + font-size: 12px; +} + +.rem a{ + float: right; + color: #fff; +} + +.form button{ + width: 100%; + height: 44px; + background-color: #88c5e1; + color: #fff; + font-size: 16px; + border-radius: 6px; + box-shadow: 0 8px #54abd4; +} + +.form button:hover{ + transform: translateY(3px); + box-shadow: 0 5px #54abd4; +} + +/* 登录样式结束 */ +/* 主体开始 */ +.content{ + padding-top: 40px; +} +/* 主体结束 */ +/* 新课速度开始 */ +.new-course{ + background-color: #fff; + margin-bottom: 20px; + box-shadow: 0 14px 10px -10px rgba(0, 0, 0, 0.1); + overflow: hidden; + padding-bottom: 60px; +} + +.container{ + width: 93%; + margin: 0 auto; +} + +.title{ + font-weight: 400; + font-size: 18px; + text-align: left; + padding: 8px 0 8px 16px; + border-left: 3px solid #54abd4; + margin: 40px 0 36px; +} + +.new-course-box>div{ + width: 50%; + float: left; + padding: 10px; + box-sizing: border-box; +} + +.new-course-box>div>div{ + width: 100%; + height: 100%; + background-color: #f5f5f5; + border-radius: 0 0 4px 4px; + box-shadow: 1px 1px 2px #ddd; +} + +.new-course-box img{ + width: 100%; +} + +.new-course-box p{ + color: #999; + line-height: 80px; +} + +/* 新课速度结束 */ +/* 热门课程榜开始 */ +.hot-course{ + background-color: #fff; + margin-bottom: 20px; + box-shadow: 0 14px 10px -10px rgb(0 0 0 / 10%); + overflow: hidden; + padding-bottom: 60px; +} + +.hot-course-box>div { + float: left; + padding: 5px; + box-sizing: border-box; +} + +.hot-course-box>div>div { + width: 100%; + height: 100%; + background-color: #f5f5f5; + padding: 52px 16px; + box-sizing: border-box; +} + +.goods-img { + width: 46px; +} + +.name { + display: block; + color: #333; + font-size: 18px; + font-weight: 700; + margin-top: 3px; + height: 24px; + line-height: 24px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.message { + margin-top: 15px; +} + +.link { + display: inline-block; + color: #fff; + font-size: 14px; + border-radius: 4px; + background-color: #88c5e1; + padding: 3px 5px; + margin: 0 4px 4px 0; +} + +.score { + margin: 10px 0 5px; + color: #f8ce38; + font-size: 12px; +} + +.score>img { + width: 12px; + position: relative; + top: 2px; +} + +.comment { + color: #7d7d7d; + font-size: 12px; +} + +.comment>a { + color: #7d7d7d; +} + +/* 热门课程榜结束 */ + +/******** 响应式设计 *********/ +/* PC端 */ +@media screen and (min-width:992px) { + .logo{ + width: 25%; + background: url("../images/Brand.png") no-repeat left; + background-size: 183px; + } + .search{ + width: 40%; + position: relative; + } + .nav-bar{ + width: 35%; + } + .btn{ + display: none; + } + /* 登录 */ + .login{ + height: 460px; + padding-top: 75px; + } + .login-logo{ + width: 70%; + } + .form{ + width: 30%; + } + /* 新课速递 */ + .new-course{ + width: 64%; + } + /* 热门课程榜 */ + .hot-course{ + width: 64%; + } + .hot-course-box>div { + width: 33%; + } + +} + +/* PAD端 */ +@media screen and (min-width:768px) and (max-width:992px){ + .logo{ + width: 18%; + background: url("../images/Brand-M.png") no-repeat left; + background-size: 86px; + } + .search{ + width: 42%; + position: relative; + } + .nav-bar{ + width: 40%; + } + .btn{ + display: none; + } + /* 登录 */ + .login{ + height: 338px; + padding-top: 30px; + } + .login-logo{ + width: 57%; + } + .form{ + width: 43%; + } + /* 新课速递 */ + .new-course{ + width: 100%; + } + /* 热门课程榜 */ + .hot-course{ + width: 100%; + } + .hot-course-box>div { + width: 50%; + } +} + +/* M端 */ +@media screen and (max-width:768px){ + .logo{ + width: 16%; + background: url("../images/Brand-S.png") no-repeat left; + background-size: 38px; + } + .search{ + width: 68%; + position: relative; + } + .nav-bar{ + display: none; + } + /* (43 - 22) / 2 */ + .btn{ + width: 43px; + height: 43px; + border: 1px solid #fff; + font-weight: 700; + line-height: 43px; + float: right; + color: #fff; + margin-top: 10.5px; + } + .btn i{ + font-size: 20px; + } + /* 登录 */ + .login{ + height: 338px; + padding-top: 30px; + } + .login-logo{ + display: none; + } + .form{ + width: 100%; + } + /* 新课速递 */ + .new-course{ + width: 100%; + } + /* 热门课程榜 */ + .hot-course{ + width: 100%; + } + .hot-course-box>div { + width: 100%; + } +} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/reset.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..333c64859f506892c018dd062253248e1ddadd80 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;} +li{ list-style: none;} +a{text-decoration: none;} +input,button,img{border: none} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-M.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-M.png" new file mode 100644 index 0000000000000000000000000000000000000000..59c6df5a3497ae11829b3d559b8a97e2021dd2eb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-M.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-S.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-S.png" new file mode 100644 index 0000000000000000000000000000000000000000..58be66619b712dfc4f84ce78cd074996cf41bf90 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand-S.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand.png" new file mode 100644 index 0000000000000000000000000000000000000000..689e2207378f90a2b9ffdabb28df076593b63fc6 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/Brand.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/MiLogo.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/MiLogo.png" new file mode 100644 index 0000000000000000000000000000000000000000..2f60f7778441704eefb8ae3fbcaead792d2c4cae Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/MiLogo.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/film.jpg" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/film.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..86455f20f4b47de6f1477a697e88f6075c47f911 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/film.jpg" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/homeImg.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/homeImg.png" new file mode 100644 index 0000000000000000000000000000000000000000..ffce83a4437c101c1dd2271e95b944947417cae2 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/homeImg.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/miTitle.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/miTitle.png" new file mode 100644 index 0000000000000000000000000000000000000000..ed8691034a2c3206bf2e42d55d285e0a59d1a351 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/miTitle.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/music.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/music.png" new file mode 100644 index 0000000000000000000000000000000000000000..17e41fff01ddf4636d018eef6e20bb4b134f14db Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/music.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/star.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/star.png" new file mode 100644 index 0000000000000000000000000000000000000000..0894287d59220fbd350b5714a50f8c225662d1a5 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/images/star.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/index.html" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..b3be23fb9f4365be43bd02718b792665420e9ab8 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/06_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\350\257\276\347\250\213\346\246\234\345\215\225\344\270\216\345\223\215\345\272\224\345\274\217/index.html" @@ -0,0 +1,239 @@ + + + + + + + + Document + + + + + + + + + + + + +
+
+ + + + +
+
+

热门课程榜

+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+
+ +
+
+ + + + + \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.css" new file mode 100644 index 0000000000000000000000000000000000000000..754d206286086960ae5453d04593cd27b11e0dbc --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.css" @@ -0,0 +1,21 @@ + +@font-face {font-family: "iconfont"; + src: url('iconfont.eot?t=1533172187680'); /* IE9*/ + src: url('iconfont.eot?t=1533172187680#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('data:application/x-font-woff;charset=utf-8;base64,d09GRgABAAAAAAWoAAsAAAAACDwAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAADMAAABCsP6z7U9TLzIAAAE8AAAARAAAAFZW7khYY21hcAAAAYAAAABnAAABnM9va7tnbHlmAAAB6AAAAb8AAAH89r3Qo2hlYWQAAAOoAAAALwAAADYSMDmsaGhlYQAAA9gAAAAcAAAAJAfeA4VobXR4AAAD9AAAABAAAAAQD+kAAGxvY2EAAAQEAAAACgAAAAoBdADAbWF4cAAABBAAAAAfAAAAIAETAF1uYW1lAAAEMAAAAUUAAAJtPlT+fXBvc3QAAAV4AAAAMAAAAEEW0Cg8eJxjYGRgYOBikGPQYWB0cfMJYeBgYGGAAJAMY05meiJQDMoDyrGAaQ4gZoOIAgCKIwNPAHicY2Bk/sU4gYGVgYOpk+kMAwNDP4RmfM1gxMjBwMDEwMrMgBUEpLmmMDgwVDzLYW7438AQw9zA0AAUZgTJAQAsBgzaeJzFkMENwCAIRT9iG9N0lB6bbuESPfXgAE7MGhbQixP4zRP4IWIAsAFg5VIiQB8Iplddcp9xuB/xaJ30BI1VspTWpsxE3pE8C/Yy7VgmWjd61un3PSrbdx3oFyV3bK9SOuAf86QSVwB4nE1QTWsTURS99z1nkjTJTDtfb77yMTM2L23TRx1nJog1QZBCxYXSVaEoLlwUaauIdGGRQhBcuHDnvgiu3HfRX+EvqOjKheBeRl8SEC+Xc8+9nMU5FxSAP1/pBXXBhD5cgztwHwDVNYw10sKIZ4KsoR0pNrM0yhMeVZJY0FvIYtVy0iLrMbWi6qhhG69HacEF4ZhnI3ITU6eF6AX+jrEcGvQ9Lri8/aa8S87Q7iShPlovtwdjK+2a1eOGYXiG8a6qKkqVkCu6hgfMqSm1BbX8qOi+fdFZIR1seNy/t9vsBsbjt9lha5nVEE9P0Qy62qfxkr8k+8R3TMOrLDarrt9Mrlp4/L3umo1W7xvIIjLrD/qBMnBhXaZMmcPaRNWJhkksnWfDERnGMs8ik2nSYsiGvCBcIH4Z39gUgw26slrXBgebctvbYN7ey/HWpNjfLyZbt19l5+H5o8qTYkJ+Mk8Mnp08F1q9vzpVvZ7K+3l2VF4e5rkQUnmE9tMsl56o9FTSS0qgDgwSADMaYdbjkYaWo8yQzS40mn58zh/Qh3YQ2L/PJNIXs2H/d5pz+eigH+AUfv1j5edwzkKAv8dbWOsAeJxjYGRgYADifSeeJ8fz23xl4GZhAIHrHVW3EfT/hywMzBJALgcDE0gUAGReC/IAeJxjYGRgYG7438AQw8IAAkCSkQEVsAAARwoCbQQAAAAD6QAABAAAAAQAAAAAAAAAAHYAwAD+AAB4nGNgZGBgYGEIZGBlAAEmIOYCQgaG/2A+AwAREgFxAHicZY9NTsMwEIVf+gekEqqoYIfkBWIBKP0Rq25YVGr3XXTfpk6bKokjx63UA3AejsAJOALcgDvwSCebNpbH37x5Y08A3OAHHo7fLfeRPVwyO3INF7gXrlN/EG6QX4SbaONVuEX9TdjHM6bCbXRheYPXuGL2hHdhDx18CNdwjU/hOvUv4Qb5W7iJO/wKt9Dx6sI+5l5XuI1HL/bHVi+cXqnlQcWhySKTOb+CmV7vkoWt0uqca1vEJlODoF9JU51pW91T7NdD5yIVWZOqCas6SYzKrdnq0AUb5/JRrxeJHoQm5Vhj/rbGAo5xBYUlDowxQhhkiMro6DtVZvSvsUPCXntWPc3ndFsU1P9zhQEC9M9cU7qy0nk6T4E9XxtSdXQrbsuelDSRXs1JErJCXta2VELqATZlV44RelzRiT8oZ0j/AAlabsgAAAB4nGNgYoAALgbsgIWRiZGZkYWRlYGxgjM3MT0vMy0ztYg9PTUvPaU0n4EBAFjTB0c=') format('woff'), + url('iconfont.ttf?t=1533172187680') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ + url('iconfont.svg?t=1533172187680#iconfont') format('svg'); /* iOS 4.1- */ +} + +.iconfont { + font-family:"iconfont" !important; + font-size:16px; + font-style:normal; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; +} + +.icon-magnifier:before { content: "\e64d"; } + +.icon-gengduo:before { content: "\e66c"; } + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.eot" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.eot" new file mode 100644 index 0000000000000000000000000000000000000000..6a8ed58193566747bf585edb240c12652eae65bb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.eot" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.svg" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.svg" new file mode 100644 index 0000000000000000000000000000000000000000..a0e6bfea129bf50ca649253544450aa4794257e1 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.svg" @@ -0,0 +1,39 @@ + + + + + +Created by iconfont + + + + + + + + + + + + + + + + + + + + + diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.ttf" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.ttf" new file mode 100644 index 0000000000000000000000000000000000000000..a8ba8dfa15b3b0d7ac8fb550ccce39dc7106231a Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.ttf" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.woff" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.woff" new file mode 100644 index 0000000000000000000000000000000000000000..35df04852cf050d92cdda9f02608dec62ffcdb53 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/iconfont/iconfont.woff" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/mike.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/mike.css" new file mode 100644 index 0000000000000000000000000000000000000000..7ad55dd6b37a5f0ac4ba29535e4146f55434d99a --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/mike.css" @@ -0,0 +1,420 @@ +/* 导航样式开始 */ +.nav{ + width: 100%; + height: 66px; + background: #88c5e1; + border-bottom: 5px solid #54abd4; +} + +.wrap{ + /* mi:1226px 百分比: */ + width: 87%; + margin: 0 auto; + position: relative; +} + +.logo,.search,.nav-bar{ + float: left; + height: 66px; +} + + +.text-input{ + width: 100%; + height: 40px; + background-color: #f5f5f5; + border: 1px solid #f5f5f5; + box-sizing: border-box; + border-radius: 2px; + outline: none; + margin-top: 13px; + padding-left: 10px; + transition: all .2s; +} + +.search button{ + width: 40px; + height: 34px; + background-size: #f5f5f5; + color: #54abd4; + font-weight: 900; + position: absolute; + right: 2px; + top: 16px; +} + +.text-input:hover{ + background-color: #fff; + border-color: #54abd4; +} + +.nav-bar>ul{ + float: right; +} + +.nav-bar ul li{ + float: left; +} + +/* 66 - 21 = 45 - 20 = 25 / 2 */ +.nav-bar ul li a{ + color: #fff; + padding: 10px; + display: block; + margin-left: 8px; + margin-top: 12.5px; +} + +.nav-bar-active{ + border-bottom: 2px solid #fff; +} + +.nav-bar a:hover{ + border-bottom: 2px solid #fff; +} + +/* 导航样式结束 */ +/* 登录样式开始 */ +.login{ + width: 100%; + background-image: url("../images/homeImg.png"); + background-repeat: no-repeat; + background-size: 100% 100%; + box-sizing: border-box; +} + +.login-logo,.form{ + float: left; +} + +.form li{ + float: left; +} + +.form li a{ + color: #fff; + padding: 10px 0 3px; + display: block; + margin-right: 15px; +} + +.rem{ + margin: 15px 0; + text-align: left; + color: #fff; + font-size: 12px; +} + +.rem a{ + float: right; + color: #fff; +} + +.form button{ + width: 100%; + height: 44px; + background-color: #88c5e1; + color: #fff; + font-size: 16px; + border-radius: 6px; + box-shadow: 0 8px #54abd4; +} + +.form button:hover{ + transform: translateY(3px); + box-shadow: 0 5px #54abd4; +} + +/* 登录样式结束 */ +/* 主体开始 */ +.content{ + padding-top: 40px; +} +/* 主体结束 */ +/* 新课速度开始 */ +.new-course{ + background-color: #fff; + margin-bottom: 20px; + box-shadow: 0 14px 10px -10px rgba(0, 0, 0, 0.1); + overflow: hidden; + padding-bottom: 60px; +} + +.container{ + width: 93%; + margin: 0 auto; +} + +.title{ + font-weight: 400; + font-size: 18px; + text-align: left; + padding: 8px 0 8px 16px; + border-left: 3px solid #54abd4; + margin: 40px 0 36px; +} + +.new-course-box>div{ + width: 50%; + float: left; + padding: 10px; + box-sizing: border-box; +} + +.new-course-box>div>div{ + width: 100%; + height: 100%; + background-color: #f5f5f5; + border-radius: 0 0 4px 4px; + box-shadow: 1px 1px 2px #ddd; +} + +.new-course-box img{ + width: 100%; +} + +.new-course-box p{ + color: #999; + line-height: 80px; +} + +/* 新课速度结束 */ +/* 热门课程榜开始 */ +.hot-course{ + background-color: #fff; + margin-bottom: 20px; + box-shadow: 0 14px 10px -10px rgb(0 0 0 / 10%); + overflow: hidden; + padding-bottom: 60px; +} + +.hot-course-box>div { + float: left; + padding: 5px; + box-sizing: border-box; +} + +.hot-course-box>div>div { + width: 100%; + height: 100%; + background-color: #f5f5f5; + padding: 52px 16px; + box-sizing: border-box; +} + +.goods-img { + width: 46px; +} + +.name { + display: block; + color: #333; + font-size: 18px; + font-weight: 700; + margin-top: 3px; + height: 24px; + line-height: 24px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; +} + +.message { + margin-top: 15px; +} + +.link { + display: inline-block; + color: #fff; + font-size: 14px; + border-radius: 4px; + background-color: #88c5e1; + padding: 3px 5px; + margin: 0 4px 4px 0; +} + +.score { + margin: 10px 0 5px; + color: #f8ce38; + font-size: 12px; +} + +.score>img { + width: 12px; + position: relative; + top: 2px; +} + +.comment { + color: #7d7d7d; + font-size: 12px; +} + +.comment>a { + color: #7d7d7d; +} + +/* 热门课程榜结束 */ + +/* 热门标签样式开始 */ +.hot-tag-box{ + text-align: left; + margin-bottom: 18px; +} +.hot-tag-box h5{ + font-weight: 400; + color: #666; + padding: 8px 0 16px; +} +/* 热门标签样式结束 */ + +/******** 响应式设计 *********/ +/* PC端 */ +@media screen and (min-width:992px) { + .logo{ + width: 25%; + background: url("../images/Brand.png") no-repeat left; + background-size: 183px; + } + .search{ + width: 40%; + position: relative; + } + .nav-bar{ + width: 35%; + } + .btn{ + display: none; + } + /* 登录 */ + .login{ + height: 460px; + padding-top: 75px; + } + .login-logo{ + width: 70%; + } + .form{ + width: 30%; + } + /* 新课速递 */ + .new-course{ + width: 64%; + } + /* 热门课程榜 */ + .hot-course{ + width: 64%; + } + .hot-course-box>div { + width: 33%; + } + + .hot-tag { + width: 31%; + position: absolute; + top: 0; + right: 0; + } + +} + +/* PAD端 */ +@media screen and (min-width:768px) and (max-width:992px){ + .logo{ + width: 18%; + background: url("../images/Brand-M.png") no-repeat left; + background-size: 86px; + } + .search{ + width: 42%; + position: relative; + } + .nav-bar{ + width: 40%; + } + .btn{ + display: none; + } + /* 登录 */ + .login{ + height: 338px; + padding-top: 30px; + } + .login-logo{ + width: 57%; + } + .form{ + width: 43%; + } + /* 新课速递 */ + .new-course{ + width: 100%; + } + /* 热门课程榜 */ + .hot-course{ + width: 100%; + } + .hot-course-box>div { + width: 50%; + } + + .hot-tag { + width: 100%; + } +} + +/* M端 */ +@media screen and (max-width:768px){ + .logo{ + width: 16%; + background: url("../images/Brand-S.png") no-repeat left; + background-size: 38px; + } + .search{ + width: 68%; + position: relative; + } + .nav-bar{ + display: none; + } + /* (43 - 22) / 2 */ + .btn{ + width: 43px; + height: 43px; + border: 1px solid #fff; + font-weight: 700; + line-height: 43px; + float: right; + color: #fff; + margin-top: 10.5px; + } + .btn i{ + font-size: 20px; + } + /* 登录 */ + .login{ + height: 338px; + padding-top: 30px; + } + .login-logo{ + display: none; + } + .form{ + width: 100%; + } + /* 新课速递 */ + .new-course{ + width: 100%; + } + /* 热门课程榜 */ + .hot-course{ + width: 100%; + } + .hot-course-box>div { + width: 100%; + } + + .hot-tag { + width: 100%; + } +} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/reset.css" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/reset.css" new file mode 100644 index 0000000000000000000000000000000000000000..333c64859f506892c018dd062253248e1ddadd80 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/css/reset.css" @@ -0,0 +1,6 @@ +body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, legend, input, textarea, button, p, blockquote, th, td +{margin: 0;padding: 0;} +body{text-align: center;} +li{ list-style: none;} +a{text-decoration: none;} +input,button,img{border: none} \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/Brand-M.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/Brand-M.png" new file mode 100644 index 0000000000000000000000000000000000000000..59c6df5a3497ae11829b3d559b8a97e2021dd2eb Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/Brand-M.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/Brand-S.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/Brand-S.png" new file mode 100644 index 0000000000000000000000000000000000000000..58be66619b712dfc4f84ce78cd074996cf41bf90 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/Brand-S.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/Brand.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/Brand.png" new file mode 100644 index 0000000000000000000000000000000000000000..689e2207378f90a2b9ffdabb28df076593b63fc6 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/Brand.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/MiLogo.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/MiLogo.png" new file mode 100644 index 0000000000000000000000000000000000000000..2f60f7778441704eefb8ae3fbcaead792d2c4cae Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/MiLogo.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/film.jpg" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/film.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..86455f20f4b47de6f1477a697e88f6075c47f911 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/film.jpg" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/homeImg.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/homeImg.png" new file mode 100644 index 0000000000000000000000000000000000000000..ffce83a4437c101c1dd2271e95b944947417cae2 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/homeImg.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/miTitle.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/miTitle.png" new file mode 100644 index 0000000000000000000000000000000000000000..ed8691034a2c3206bf2e42d55d285e0a59d1a351 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/miTitle.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/music.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/music.png" new file mode 100644 index 0000000000000000000000000000000000000000..17e41fff01ddf4636d018eef6e20bb4b134f14db Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/music.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/star.png" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/star.png" new file mode 100644 index 0000000000000000000000000000000000000000..0894287d59220fbd350b5714a50f8c225662d1a5 Binary files /dev/null and "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/images/star.png" differ diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/index.html" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..e33d592ae97b7da0c4edc45dff9f761ca638e161 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/07_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256_\347\203\255\351\227\250\346\240\207\347\255\276/index.html" @@ -0,0 +1,282 @@ + + + + + + + + Document + + + + + + + + + + + + +
+
+ + + + +
+
+

热门课程榜

+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+ + 俄罗斯文学经典的当代意义 + +
+ + + + + + 4.8分 +
+
+ 3学分 + 68评论 +
+
+
+
+
+
+ + +
+
+

热门标签

+
+
学分
+ 2学分 + 1学分 + 3学分 +
+
+
学分
+ 2学分 + 1学分 + 3学分 +
+
+
学分
+ 2学分 + 1学分 + 3学分 +
+
+
学分
+ 2学分 + 1学分 + 3学分 +
+
+
学分
+ 2学分 + 1学分 + 3学分 +
+
+
学分
+ 2学分 + 1学分 + 3学分 +
+
+
+ +
+
+ + + + + \ No newline at end of file diff --git "a/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/14.\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256.pdf" "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/14.\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256.pdf" new file mode 100644 index 0000000000000000000000000000000000000000..1b1da68399fa8c0db1fb0f00f1b951e364e52863 --- /dev/null +++ "b/css/48_\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256/14.\345\223\215\345\272\224\345\274\217\351\241\271\347\233\256.pdf" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e54d1a178be18e7c5aaefb285f03c83366888ee9b8861ae919b98fe68d52546 +size 4177594 diff --git a/css/grid.css b/css/grid.css new file mode 100644 index 0000000000000000000000000000000000000000..5a86545882c3701d6b7105213697062930b6a344 --- /dev/null +++ b/css/grid.css @@ -0,0 +1,285 @@ + +.container{ + margin: 0 15%; +} + +.container-fluid{ + width: 100%; +} + +.col-xs-1, +.col-sm-1, +.col-md-1, +.col-lg-1, +.col-xs-2, +.col-sm-2, +.col-md-2, +.col-lg-2, +.col-xs-3, +.col-sm-3, +.col-md-3, +.col-lg-3, +.col-xs-4, +.col-sm-4, +.col-md-4, +.col-lg-4, +.col-xs-5, +.col-sm-5, +.col-md-5, +.col-lg-5, +.col-xs-6, +.col-sm-6, +.col-md-6, +.col-lg-6, +.col-xs-7, +.col-sm-7, +.col-md-7, +.col-lg-7, +.col-xs-8, +.col-sm-8, +.col-md-8, +.col-lg-8, +.col-xs-9, +.col-sm-9, +.col-md-9, +.col-lg-9, +.col-xs-10, +.col-sm-10, +.col-md-10, +.col-lg-10, +.col-xs-11, +.col-sm-11, +.col-md-11, +.col-lg-11, +.col-xs-12, +.col-sm-12, +.col-md-12, +.col-lg-12 { + position: relative; + min-height: 1px; + padding-right: 15px; + padding-left: 15px; + box-sizing: border-box; +} + +.col-xs-1, +.col-xs-2, +.col-xs-3, +.col-xs-4, +.col-xs-5, +.col-xs-6, +.col-xs-7, +.col-xs-8, +.col-xs-9, +.col-xs-10, +.col-xs-11, +.col-xs-12 { + float: left; +} + +.col-xs-12 { + width: 100%; +} + +.col-xs-11 { + width: 91.66666667%; +} + +.col-xs-10 { + width: 83.33333333%; +} + +.col-xs-9 { + width: 75%; +} + +.col-xs-8 { + width: 66.66666667%; +} + +.col-xs-7 { + width: 58.33333333%; +} + +.col-xs-6 { + width: 50%; +} + +.col-xs-5 { + width: 41.66666667%; +} + +.col-xs-4 { + width: 33.33333333%; +} + +.col-xs-3 { + width: 25%; +} + +.col-xs-2 { + width: 16.66666667%; +} + +.col-xs-1 { + width: 8.33333333%; +} + +@media (min-width: 768px) { + .col-sm-1, + .col-sm-2, + .col-sm-3, + .col-sm-4, + .col-sm-5, + .col-sm-6, + .col-sm-7, + .col-sm-8, + .col-sm-9, + .col-sm-10, + .col-sm-11, + .col-sm-12 { + float: left; + } + .col-sm-12 { + width: 100%; + } + .col-sm-11 { + width: 91.66666667%; + } + .col-sm-10 { + width: 83.33333333%; + } + .col-sm-9 { + width: 75%; + } + .col-sm-8 { + width: 66.66666667%; + } + .col-sm-7 { + width: 58.33333333%; + } + .col-sm-6 { + width: 50%; + } + .col-sm-5 { + width: 41.66666667%; + } + .col-sm-4 { + width: 33.33333333%; + } + .col-sm-3 { + width: 25%; + } + .col-sm-2 { + width: 16.66666667%; + } + .col-sm-1 { + width: 8.33333333%; + } +} + +@media (min-width: 992px) { + .col-md-1, + .col-md-2, + .col-md-3, + .col-md-4, + .col-md-5, + .col-md-6, + .col-md-7, + .col-md-8, + .col-md-9, + .col-md-10, + .col-md-11, + .col-md-12 { + float: left; + } + .col-md-12 { + width: 100%; + } + .col-md-11 { + width: 91.66666667%; + } + .col-md-10 { + width: 83.33333333%; + } + .col-md-9 { + width: 75%; + } + .col-md-8 { + width: 66.66666667%; + } + .col-md-7 { + width: 58.33333333%; + } + .col-md-6 { + width: 50%; + } + .col-md-5 { + width: 41.66666667%; + } + .col-md-4 { + width: 33.33333333%; + } + .col-md-3 { + width: 25%; + } + .col-md-2 { + width: 16.66666667%; + } + .col-md-1 { + width: 8.33333333%; + } +} + +@media (min-width: 1200px) { + .col-lg-1, + .col-lg-2, + .col-lg-3, + .col-lg-4, + .col-lg-5, + .col-lg-6, + .col-lg-7, + .col-lg-8, + .col-lg-9, + .col-lg-10, + .col-lg-11, + .col-lg-12 { + float: left; + } + .col-lg-12 { + width: 100%; + } + .col-lg-11 { + width: 91.66666667%; + } + .col-lg-10 { + width: 83.33333333%; + } + .col-lg-9 { + width: 75%; + } + .col-lg-8 { + width: 66.66666667%; + } + .col-lg-7 { + width: 58.33333333%; + } + .col-lg-6 { + width: 50%; + } + .col-lg-5 { + width: 41.66666667%; + } + .col-lg-4 { + width: 33.33333333%; + } + .col-lg-3 { + width: 25%; + } + .col-lg-2 { + width: 16.66666667%; + } + .col-lg-1 { + width: 8.33333333%; + } +} \ No newline at end of file diff --git a/css/iconfont.ttf b/css/iconfont.ttf new file mode 100644 index 0000000000000000000000000000000000000000..e54827ec48c5f08d9e35c8ad78576e4fd8e13554 Binary files /dev/null and b/css/iconfont.ttf differ diff --git a/css/img/1.jpeg b/css/img/1.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..5848e1f23e65639af7f06bb5865de30b43f4b62f Binary files /dev/null and b/css/img/1.jpeg differ diff --git a/css/img/1.jpg b/css/img/1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..0ba12856cddd05c01f89dc4fc121a5a186d54826 Binary files /dev/null and b/css/img/1.jpg differ diff --git a/css/img/1.png b/css/img/1.png new file mode 100644 index 0000000000000000000000000000000000000000..d17889089599518a540327f551a414198e9a6468 Binary files /dev/null and b/css/img/1.png differ diff --git a/css/img/1.webp b/css/img/1.webp new file mode 100644 index 0000000000000000000000000000000000000000..78b47fb7227596d3db2c8d4fda0b18b5c3ca2c32 Binary files /dev/null and b/css/img/1.webp differ diff --git a/css/img/10.jpeg b/css/img/10.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..2013333033058f13d9e7455cc76e73b45fb3f6ab Binary files /dev/null and b/css/img/10.jpeg differ diff --git a/css/img/2.jpeg b/css/img/2.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..c6e1c79836e2a7c295ab27f9f0b9f3282c1f7f35 Binary files /dev/null and b/css/img/2.jpeg differ diff --git a/css/img/2.webp b/css/img/2.webp new file mode 100644 index 0000000000000000000000000000000000000000..e6d695bf9a2b6297b21927a43a3856ecfcef06dc Binary files /dev/null and b/css/img/2.webp differ diff --git a/css/img/3.jpeg b/css/img/3.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..6a935399a10bdefdb1303503194328d39de98708 Binary files /dev/null and b/css/img/3.jpeg differ diff --git a/css/img/4.jpeg b/css/img/4.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..01df4fd6270c792b8e1f6b8fba6808cca8ce9908 Binary files /dev/null and b/css/img/4.jpeg differ diff --git a/css/img/5.jpeg b/css/img/5.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..6e370ac1e5d3cebb4aea5714358062c673a0aa3e Binary files /dev/null and b/css/img/5.jpeg differ diff --git a/css/img/6.webp b/css/img/6.webp new file mode 100644 index 0000000000000000000000000000000000000000..0f20c60192375e5b729b1678a25042212c5db2f2 Binary files /dev/null and b/css/img/6.webp differ diff --git a/css/img/7.jpeg b/css/img/7.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..c479b3a217756ed84286c369d3d567207f79252a Binary files /dev/null and b/css/img/7.jpeg differ diff --git a/css/img/8.jpg b/css/img/8.jpg new file mode 100644 index 0000000000000000000000000000000000000000..877dfaa387ca986ecd426584d91b6b97571121c3 Binary files /dev/null and b/css/img/8.jpg differ diff --git a/css/img/9.jpeg b/css/img/9.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..11ecd9f0f252d65d2a63925930bf79a406815f9f Binary files /dev/null and b/css/img/9.jpeg differ diff --git a/css/img/bg.jpg b/css/img/bg.jpg new file mode 100644 index 0000000000000000000000000000000000000000..7b625525befab6a232073f126084dabec4319049 Binary files /dev/null and b/css/img/bg.jpg differ diff --git a/css/img/icon.png b/css/img/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..2ebf5cb40bfa908776be0baf59205e3f0a68c9ed Binary files /dev/null and b/css/img/icon.png differ diff --git a/css/img/phone.png b/css/img/phone.png new file mode 100644 index 0000000000000000000000000000000000000000..0ce52eabb7db0829031f24a280669f10a2f1ccbc Binary files /dev/null and b/css/img/phone.png differ diff --git a/css/img/pictures.png b/css/img/pictures.png new file mode 100644 index 0000000000000000000000000000000000000000..aefee9817c586fc908e61c6f8309628d7683aa8a Binary files /dev/null and b/css/img/pictures.png differ diff --git a/css/init.css b/css/init.css new file mode 100644 index 0000000000000000000000000000000000000000..aa613575ebf79b27bc49de12692d493eb53b9ef9 --- /dev/null +++ b/css/init.css @@ -0,0 +1,3 @@ +h1{ + background-color: red; +} \ No newline at end of file diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000000000000000000000000000000000000..c11417d2a0d4d18e204126534d879f829dc7c46c --- /dev/null +++ b/css/style.css @@ -0,0 +1,6 @@ +/* 导入式 */ +@import url("init.css"); +h1{ + color: green; + font-size: 30px; +} \ No newline at end of file diff --git a/html/.DS_Store b/html/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..4bf4fc195963245e990a7cdd0d0e0072309661a8 Binary files /dev/null and b/html/.DS_Store differ diff --git a/html/.vscode/settings.json b/html/.vscode/settings.json new file mode 100644 index 0000000000000000000000000000000000000000..3986f4a75962f445df8863c929fcde5046b77569 --- /dev/null +++ b/html/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "editor.suggest.snippetsPreventQuickSuggestions": false, + "aiXcoder.showTrayIcon": true +} \ No newline at end of file diff --git "a/html/00_\347\254\254\344\270\200\344\270\252\347\275\221\351\241\265.html" "b/html/00_\347\254\254\344\270\200\344\270\252\347\275\221\351\241\265.html" new file mode 100644 index 0000000000000000000000000000000000000000..836a95aac264317094c2bae572b7d0164b091b9c --- /dev/null +++ "b/html/00_\347\254\254\344\270\200\344\270\252\347\275\221\351\241\265.html" @@ -0,0 +1,15 @@ + + + + + + + 第一个网页程序 + + + + 我的第一个网页 + + + + \ No newline at end of file diff --git "a/html/01_\346\240\207\351\242\230.html" "b/html/01_\346\240\207\351\242\230.html" new file mode 100644 index 0000000000000000000000000000000000000000..f420f61a98c6b43f5e018ffc4fcb54a0f8cdcb77 --- /dev/null +++ "b/html/01_\346\240\207\351\242\230.html" @@ -0,0 +1,30 @@ + + + + + + + + Document + + + + + +

一级标题

+

二级标题

+

三级标题

+

四级标题

+
五级标题
+
六级标题
+ +

标题

+

标题

+

标题

+

标题

+
标题
+
标题
+ + + + \ No newline at end of file diff --git "a/html/02_\346\256\265\350\220\275_\346\215\242\350\241\214_\346\260\264\345\271\263\347\272\277.html" "b/html/02_\346\256\265\350\220\275_\346\215\242\350\241\214_\346\260\264\345\271\263\347\272\277.html" new file mode 100644 index 0000000000000000000000000000000000000000..436b38f936abe899588c791ddaaf020bd7a7dc2e --- /dev/null +++ "b/html/02_\346\256\265\350\220\275_\346\215\242\350\241\214_\346\260\264\345\271\263\347\272\277.html" @@ -0,0 +1,18 @@ + + + + + + + Document + + + +

我今天下班要出去喝酒

+

你下班真的要去喝酒么,
我也去

+ + +
+ + + \ No newline at end of file diff --git "a/html/03_\345\233\276\347\211\207.html" "b/html/03_\345\233\276\347\211\207.html" new file mode 100644 index 0000000000000000000000000000000000000000..dcb5b011464c0870d52f3f7984f02a447f83495f --- /dev/null +++ "b/html/03_\345\233\276\347\211\207.html" @@ -0,0 +1,22 @@ + + + + + + + 展示图片 + + + + + 可爱的猫猫狗狗 + + + 迷死人的猫猫狗狗 + + + 典雅的大楼 + + \ No newline at end of file diff --git "a/html/04_\350\266\205\351\223\276\346\216\245.html" "b/html/04_\350\266\205\351\223\276\346\216\245.html" new file mode 100644 index 0000000000000000000000000000000000000000..8c60eb3e6e6f698b729a0e1da7df22983192569a --- /dev/null +++ "b/html/04_\350\266\205\351\223\276\346\216\245.html" @@ -0,0 +1,23 @@ + + + + + + + Document + + + + + 去小米官网 + + + + + + + + phone + + + \ No newline at end of file diff --git "a/html/05_\350\266\205\351\223\276\346\216\245\344\271\213\351\224\232\347\202\271.html" "b/html/05_\350\266\205\351\223\276\346\216\245\344\271\213\351\224\232\347\202\271.html" new file mode 100644 index 0000000000000000000000000000000000000000..65f2a75e44b84eeb1c295c4bc7f03aed2aef5892 --- /dev/null +++ "b/html/05_\350\266\205\351\223\276\346\216\245\344\271\213\351\224\232\347\202\271.html" @@ -0,0 +1,451 @@ + + + + + + + Document + + + +

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+ + 跳转到start + +

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 回到顶部 + start建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+

+ 建国之初,由于中国经历了长期的动乱与战争,社会矛盾尖锐,经济水平落后, + 货币贬值,交通运输不畅。建国后, + 一个全面模仿苏联工业化模式的共产主义社会便迅速建立起来 +

+ + \ No newline at end of file diff --git "a/html/06_\346\226\207\346\234\254.html" "b/html/06_\346\226\207\346\234\254.html" new file mode 100644 index 0000000000000000000000000000000000000000..e5ed958080739a106b282a973b4d19d2eb1fef03 --- /dev/null +++ "b/html/06_\346\226\207\346\234\254.html" @@ -0,0 +1,38 @@ + + + + + + + Document + + + +

建国之初,由于 + + 中国经历了长期的 + + + 动乱与战争 ,社会矛盾尖锐, + + + 经济水平落后, + + + 货币贬值 , + + + 交通运输 + + + 不畅。建国后, + + + 一个全面模仿苏联工业化 + + + 模式的共产主义社会便迅速建立起来 +

+ + + \ No newline at end of file diff --git "a/html/07_\346\234\211\345\272\217\345\210\227\350\241\250.html" "b/html/07_\346\234\211\345\272\217\345\210\227\350\241\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..4ba2d0410b1fd35717f0db725facdb46404f892a --- /dev/null +++ "b/html/07_\346\234\211\345\272\217\345\210\227\350\241\250.html" @@ -0,0 +1,73 @@ + + + + + + + Document + + + + +
    +
  1. 北理工
  2. +
  3. 程序员
  4. +
  5. 阿里
  6. +
  7. 京东
  8. +
+ + +
    +
  1. 北理工
  2. +
  3. 程序员
  4. +
  5. 阿里
  6. +
  7. 京东
  8. +
+ + +
    +
  1. 北理工
  2. +
  3. 程序员
  4. +
  5. 阿里
  6. +
  7. 京东
  8. +
+ + +
    +
  1. 北理工
  2. +
  3. 程序员
  4. +
  5. 阿里
  6. +
  7. 京东
  8. +
+ + +
    +
  1. 北理工
  2. +
  3. 程序员
  4. +
  5. 阿里
  6. +
  7. 京东
  8. +
+ + +
    +
  1. 北理工
  2. +
  3. 程序员
  4. +
  5. 阿里
  6. +
  7. 京东
  8. +
+ + +
    +
  1. 100
  2. +
  3. +
      +
    1. 201
    2. +
    3. 202
    4. +
    5. 203
    6. +
    +
  4. +
  5. 300
  6. +
+ + + \ No newline at end of file diff --git "a/html/08_\346\227\240\345\272\217\345\210\227\350\241\250.html" "b/html/08_\346\227\240\345\272\217\345\210\227\350\241\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..31c6b01da159bcfbe71aae05e5f6b502678b9d07 --- /dev/null +++ "b/html/08_\346\227\240\345\272\217\345\210\227\350\241\250.html" @@ -0,0 +1,66 @@ + + + + + + + Document + + + + +
    +
  • 北理工
  • +
  • 程序员
  • +
  • 京东
  • +
  • 阿里
  • +
+ + +
    +
  • 北理工
  • +
  • 程序员
  • +
  • 京东
  • +
  • 阿里
  • +
+ + +
    +
  • 北理工
  • +
  • 程序员
  • +
  • 京东
  • +
  • 阿里
  • +
+ + +
    +
  • 北理工
  • +
  • 程序员
  • +
  • 京东
  • +
  • 阿里
  • +
+ + +
    +
  • 北理工
  • +
  • 程序员
  • +
  • 京东
  • +
  • 阿里
  • +
+ + +
    +
  • 100
  • +
  • +
      +
    • 201
    • +
    • 202
    • +
    • 203
    • +
    • 204
    • +
    +
  • +
  • 300
  • +
+ + + \ No newline at end of file diff --git "a/html/09_\350\207\252\345\256\232\344\271\211\345\210\227\350\241\250.html" "b/html/09_\350\207\252\345\256\232\344\271\211\345\210\227\350\241\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..820b48edab3232f9d71a524efc21716d4a16b90a --- /dev/null +++ "b/html/09_\350\207\252\345\256\232\344\271\211\345\210\227\350\241\250.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + +
+
帮助中心
+
账户管理
+
购物指南
+ +
服务支持
+
售后政策
+
自助服务
+
+ + + \ No newline at end of file diff --git "a/html/10_\350\241\250\346\240\274.html" "b/html/10_\350\241\250\346\240\274.html" new file mode 100644 index 0000000000000000000000000000000000000000..243cbfe1bbf40b285d68bbae0634a3879d543e73 --- /dev/null +++ "b/html/10_\350\241\250\346\240\274.html" @@ -0,0 +1,59 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
表格名字
姓名年龄学校
单元格1单元格2单元格3
单元格4单元格5单元格6
单元格7单元格8单元格9
+ + + + + + + + + + + + + + + + + + +
单元格单元格单元格
单元格单元格单元格
单元格单元格单元格
+ + + \ No newline at end of file diff --git "a/html/11_\350\241\250\346\240\274\345\261\236\346\200\2471.html" "b/html/11_\350\241\250\346\240\274\345\261\236\346\200\2471.html" new file mode 100644 index 0000000000000000000000000000000000000000..c4c71e7ea0a2295a6d0a0e265b700fcb9a59b5ef --- /dev/null +++ "b/html/11_\350\241\250\346\240\274\345\261\236\346\200\2471.html" @@ -0,0 +1,48 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + + + + + + + + +
单元格单元格单元格
单元格单元格单元格
单元格单元格单元格
单元格单元格单元格
+ + + + + + \ No newline at end of file diff --git "a/html/12_\350\241\250\346\240\274\345\261\236\346\200\2472.html" "b/html/12_\350\241\250\346\240\274\345\261\236\346\200\2472.html" new file mode 100644 index 0000000000000000000000000000000000000000..554ddbb38849f1288b551b8f111354562c1c396d --- /dev/null +++ "b/html/12_\350\241\250\346\240\274\345\261\236\346\200\2472.html" @@ -0,0 +1,32 @@ + + + + + + + + Document + + + + + + + + + + + + + + + + + + + + +
单元格单元格单元格
单元格单元格单元格
单元格单元格单元格
+ + + \ No newline at end of file diff --git "a/html/13_\350\241\250\346\240\274\345\261\236\346\200\2473.html" "b/html/13_\350\241\250\346\240\274\345\261\236\346\200\2473.html" new file mode 100644 index 0000000000000000000000000000000000000000..8cd784de23174c0fd08d87b7000b30227de71193 --- /dev/null +++ "b/html/13_\350\241\250\346\240\274\345\261\236\346\200\2473.html" @@ -0,0 +1,30 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + + + +
单元格单元格单元格
单元格单元格单元格
单元格单元格单元格
+ + + \ No newline at end of file diff --git "a/html/14_\345\215\225\345\205\203\346\240\274\345\220\210\345\271\266.html" "b/html/14_\345\215\225\345\205\203\346\240\274\345\220\210\345\271\266.html" new file mode 100644 index 0000000000000000000000000000000000000000..a2382b58ec34775ebc8d1d5c834564337100e4f5 --- /dev/null +++ "b/html/14_\345\215\225\345\205\203\346\240\274\345\220\210\345\271\266.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + + + + + + + + +
单元格1单元格2单元格3单元格4单元格5
单元格6-11单元格7单元格81318单元格9101415
单元格12
单元格16单元格17单元格19单元格20
+ + + \ No newline at end of file diff --git "a/html/15_\350\241\250\346\240\274\345\256\236\346\223\2151.html" "b/html/15_\350\241\250\346\240\274\345\256\236\346\223\2151.html" new file mode 100644 index 0000000000000000000000000000000000000000..ed68b43071fa10b89fb085ccac3a402ac9e05234 --- /dev/null +++ "b/html/15_\350\241\250\346\240\274\345\256\236\346\223\2151.html" @@ -0,0 +1,26 @@ + + + + + + + Document + + + + + + + + + + + + + + + +
+ + + \ No newline at end of file diff --git "a/html/16_\350\241\250\346\240\274\345\256\236\346\223\2152.html" "b/html/16_\350\241\250\346\240\274\345\256\236\346\223\2152.html" new file mode 100644 index 0000000000000000000000000000000000000000..0f9760e909641dbbecbaf56dfaabeb276215cbfd --- /dev/null +++ "b/html/16_\350\241\250\346\240\274\345\256\236\346\223\2152.html" @@ -0,0 +1,52 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
酒店海外酒店团购
特价酒店民俗·客栈
机票火车票抢票汽车票船票
特价机票专车租车
旅游目的地攻略邮轮旅游
周边游自驾游
美食林美食林美食林
美食林美食林美食林
+ + + \ No newline at end of file diff --git "a/html/17_\350\241\250\345\215\225/01_\350\241\250\345\215\225.html" "b/html/17_\350\241\250\345\215\225/01_\350\241\250\345\215\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..6f43ee43beadfdc3da74c206d51fd176f8168f30 --- /dev/null +++ "b/html/17_\350\241\250\345\215\225/01_\350\241\250\345\215\225.html" @@ -0,0 +1,17 @@ + + + + + + + Document + + + +
+ + +
+ + + \ No newline at end of file diff --git "a/html/17_\350\241\250\345\215\225/02_\346\226\207\346\234\254\346\241\206_\345\257\206\347\240\201\346\241\206_\345\215\225\351\200\211\346\214\211\351\222\256.html" "b/html/17_\350\241\250\345\215\225/02_\346\226\207\346\234\254\346\241\206_\345\257\206\347\240\201\346\241\206_\345\215\225\351\200\211\346\214\211\351\222\256.html" new file mode 100644 index 0000000000000000000000000000000000000000..356c0551b6d0e066b14555dbff629f7d67d1c0fa --- /dev/null +++ "b/html/17_\350\241\250\345\215\225/02_\346\226\207\346\234\254\346\241\206_\345\257\206\347\240\201\346\241\206_\345\215\225\351\200\211\346\214\211\351\222\256.html" @@ -0,0 +1,41 @@ + + + + + + + Document + + + +
+ + +
+ +
+ + + first name +
+ last name +
+ + + password +
+ +
+ + 男 + 女 +
+ + + + + \ No newline at end of file diff --git "a/html/17_\350\241\250\345\215\225/03_\345\244\215\351\200\211\346\241\206_\346\226\207\344\273\266_\346\214\211\351\222\256.html" "b/html/17_\350\241\250\345\215\225/03_\345\244\215\351\200\211\346\241\206_\346\226\207\344\273\266_\346\214\211\351\222\256.html" new file mode 100644 index 0000000000000000000000000000000000000000..89b374445b637cd2504d1a94af97b5714a3ee204 --- /dev/null +++ "b/html/17_\350\241\250\345\215\225/03_\345\244\215\351\200\211\346\241\206_\346\226\207\344\273\266_\346\214\211\351\222\256.html" @@ -0,0 +1,58 @@ + + + + + + + + Document + + + + + + +
+ + 学习 + 电影 + 游戏 +
+ + + +
+ +
+ + + + + + + + + + + + + + +
+ + + + + + \ No newline at end of file diff --git "a/html/17_\350\241\250\345\215\225/04_\344\270\213\346\213\211\345\210\227\350\241\250_\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206_label.html" "b/html/17_\350\241\250\345\215\225/04_\344\270\213\346\213\211\345\210\227\350\241\250_\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206_label.html" new file mode 100644 index 0000000000000000000000000000000000000000..d74322e993744c2b9cee24ebc5b1340f57b6aef6 --- /dev/null +++ "b/html/17_\350\241\250\345\215\225/04_\344\270\213\346\213\211\345\210\227\350\241\250_\345\244\232\350\241\214\346\226\207\346\234\254\346\241\206_label.html" @@ -0,0 +1,69 @@ + + + + + + + Document + + + + + +
+ + +
+ +
+ + +
+ +
+ + + + + +
+ +
+ + + + +
+ + + \ No newline at end of file diff --git "a/html/17_\350\241\250\345\215\225/05_HTML5\346\226\260\345\242\236type\347\261\273\345\236\213.html" "b/html/17_\350\241\250\345\215\225/05_HTML5\346\226\260\345\242\236type\347\261\273\345\236\213.html" new file mode 100644 index 0000000000000000000000000000000000000000..e6c55e6a6af66425f65b3948536c1ed6a5756d8c --- /dev/null +++ "b/html/17_\350\241\250\345\215\225/05_HTML5\346\226\260\345\242\236type\347\261\273\345\236\213.html" @@ -0,0 +1,72 @@ + + + + + + + Document + + + +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ +
+ + + +
+ + + \ No newline at end of file diff --git "a/html/17_\350\241\250\345\215\225/06_HTML5\346\226\260\345\242\236\345\261\236\346\200\247.html" "b/html/17_\350\241\250\345\215\225/06_HTML5\346\226\260\345\242\236\345\261\236\346\200\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..52d9720289477d8b7b2a69c37562fa75e26aeb96 --- /dev/null +++ "b/html/17_\350\241\250\345\215\225/06_HTML5\346\226\260\345\242\236\345\261\236\346\200\247.html" @@ -0,0 +1,20 @@ + + + + + + + Document + + + +
+ + + + +
+ + + + \ No newline at end of file diff --git "a/html/17_\350\241\250\345\215\225/07_\350\241\250\345\215\225\345\256\236\346\223\2151.html" "b/html/17_\350\241\250\345\215\225/07_\350\241\250\345\215\225\345\256\236\346\223\2151.html" new file mode 100644 index 0000000000000000000000000000000000000000..e6a3b2c9e94fbb0b7d98268a17939ab3ee3b74ff --- /dev/null +++ "b/html/17_\350\241\250\345\215\225/07_\350\241\250\345\215\225\345\256\236\346\223\2151.html" @@ -0,0 +1,93 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
教员搜索
搜索类型 +
+ +
+
教员身份 +
+ +
+
所在地区 +
+ +
+
性别 +
+ 男 +
+ 女 +
+
学习科目 +
+ +
+
学习 +
+ +
+
专业 +
+ + +
+
+ + + \ No newline at end of file diff --git "a/html/17_\350\241\250\345\215\225/08_\350\241\250\345\215\225\345\256\236\346\223\2152.html" "b/html/17_\350\241\250\345\215\225/08_\350\241\250\345\215\225\345\256\236\346\223\2152.html" new file mode 100644 index 0000000000000000000000000000000000000000..f267692877933a98658f74e5188bde63257d2220 --- /dev/null +++ "b/html/17_\350\241\250\345\215\225/08_\350\241\250\345\215\225\345\256\236\346\223\2152.html" @@ -0,0 +1,110 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
姓名:
密码:
确认密码:
密码提示问题: +
+ +
+
密码提示答案:
性别: +
+ 男 + 女 +
+
年龄:
籍贯: +
+ + 省/直辖市 + + 市 +
+
爱好: +
+ 上网 + 看电影 + 游戏 +
+
个人介绍: + +
上传头像: + +
+
+ + +
+
+ + + \ No newline at end of file diff --git "a/html/17_\350\241\250\345\215\225/img/03.jpg" "b/html/17_\350\241\250\345\215\225/img/03.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..f8280c404e0690eb9c6a46b454a1c2e4a3369f8e Binary files /dev/null and "b/html/17_\350\241\250\345\215\225/img/03.jpg" differ diff --git "a/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/01_div\345\256\271\345\231\250.html" "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/01_div\345\256\271\345\231\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..47be4a50a9b9be8afa1e44ccc43767b1b64ebfc6 --- /dev/null +++ "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/01_div\345\256\271\345\231\250.html" @@ -0,0 +1,65 @@ + + + + + + + Document + + + + +
+
网站头部
+ +
+
主要内容
+
侧边栏
+
+ +
+ + + \ No newline at end of file diff --git "a/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/02_\346\226\260\345\242\236\345\270\203\345\261\200\346\240\207\347\255\276.html" "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/02_\346\226\260\345\242\236\345\270\203\345\261\200\346\240\207\347\255\276.html" new file mode 100644 index 0000000000000000000000000000000000000000..238d85566bc1984de2c01ea4d116d33c5e8285f2 --- /dev/null +++ "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/02_\346\226\260\345\242\236\345\270\203\345\261\200\346\240\207\347\255\276.html" @@ -0,0 +1,20 @@ + + + + + + + Document + + + +
网站头部
+ +
+
主要内容
+ +
+
底部
+ + + \ No newline at end of file diff --git "a/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/03_\350\247\206\351\242\221\345\222\214\351\237\263\351\242\221.html" "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/03_\350\247\206\351\242\221\345\222\214\351\237\263\351\242\221.html" new file mode 100644 index 0000000000000000000000000000000000000000..9dbe72095c3542ace3f8ea9f71cc9c781e11caed --- /dev/null +++ "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/03_\350\247\206\351\242\221\345\222\214\351\237\263\351\242\221.html" @@ -0,0 +1,39 @@ + + + + + + + Document + + + + + + + + + + + + + + \ No newline at end of file diff --git "a/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/04_HTML5\346\226\260\345\242\236\346\240\207\347\255\276.html" "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/04_HTML5\346\226\260\345\242\236\346\240\207\347\255\276.html" new file mode 100644 index 0000000000000000000000000000000000000000..5ed84032b327943c4564960df90a52013e471b99 --- /dev/null +++ "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/04_HTML5\346\226\260\345\242\236\346\240\207\347\255\276.html" @@ -0,0 +1,40 @@ + + + + + + + + Document + + + + +
+ +
美丽小姐姐
+
+ +
+ 我是标题 +
+

内容描述

+
+
+ +

大家好啊。我是 itbaizhan

+ + + + + + + + + + + + \ No newline at end of file diff --git "a/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/data/1.jpg" "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/data/1.jpg" new file mode 100644 index 0000000000000000000000000000000000000000..2748b167499191b39bb7387e980bcf362e6f5c6d Binary files /dev/null and "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/data/1.jpg" differ diff --git "a/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/data/games.mp4" "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/data/games.mp4" new file mode 100644 index 0000000000000000000000000000000000000000..451745a3102691c525024a93b16a956562918594 --- /dev/null +++ "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/data/games.mp4" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:99e7f07cd683b3e910cf5286b72d2975f843ea5c1e3cbae3dd15d0fe723b09c5 +size 3833685 diff --git "a/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/data/returns.mp3" "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/data/returns.mp3" new file mode 100644 index 0000000000000000000000000000000000000000..a8a9b589d93621841875fbf139594e3c3fc6abd0 --- /dev/null +++ "b/html/18_HTML5\346\226\260\345\242\236\345\205\203\347\264\240/data/returns.mp3" @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a56e72d405c8e68590c00fd201e41713261d5f669330ac4285cfae8ee96f6575 +size 4366462 diff --git a/html/img/.DS_Store b/html/img/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..b4efdb62d1b3859499f6ec49341701a4200ce93d Binary files /dev/null and b/html/img/.DS_Store differ diff --git a/html/img/1.jpeg b/html/img/1.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..a0609ad6c8e9ddf918ec9f6257f1a5701a006034 Binary files /dev/null and b/html/img/1.jpeg differ diff --git a/html/img/1.webp b/html/img/1.webp new file mode 100644 index 0000000000000000000000000000000000000000..ad46a9d050dbabf26ff94df22a50eaeed6e8f892 Binary files /dev/null and b/html/img/1.webp differ diff --git a/html/img/2.jpeg b/html/img/2.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..15032a280177dbac999aac0a4be920664432a711 Binary files /dev/null and b/html/img/2.jpeg differ diff --git a/html/img/3.jpeg b/html/img/3.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..79c044d1fc2545cfbd8dd40d5bc189c06bda4a98 Binary files /dev/null and b/html/img/3.jpeg differ diff --git a/html/img/4.jpeg b/html/img/4.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..14e9562772f129dcc9ca4a3d4f7c48a945a4ad7c Binary files /dev/null and b/html/img/4.jpeg differ diff --git a/html/img/5.jpeg b/html/img/5.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..9dbd49c9c992c3c9f9e3fd6025a88c5f0e3a8e78 Binary files /dev/null and b/html/img/5.jpeg differ diff --git a/html/img/6.jpeg b/html/img/6.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..f8dfd63a2652b2ef104093a624fa588acb8675b0 Binary files /dev/null and b/html/img/6.jpeg differ diff --git a/html/img/7.jpeg b/html/img/7.jpeg new file mode 100644 index 0000000000000000000000000000000000000000..b4abda12e3a2d7204ac2c1f4536949d983c60081 Binary files /dev/null and b/html/img/7.jpeg differ diff --git a/html/img/phone.webp b/html/img/phone.webp new file mode 100644 index 0000000000000000000000000000000000000000..e6d695bf9a2b6297b21927a43a3856ecfcef06dc Binary files /dev/null and b/html/img/phone.webp differ diff --git a/jQuery/.DS_Store b/jQuery/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..21c794ddd0386cc0b3427c7db1e456648b48b114 Binary files /dev/null and b/jQuery/.DS_Store differ diff --git "a/jQuery/01_\347\256\200\344\273\2131_\346\231\256\351\200\232\347\232\204JS\345\206\231\346\263\225.html" "b/jQuery/01_\347\256\200\344\273\2131_\346\231\256\351\200\232\347\232\204JS\345\206\231\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..c4171edf90f614dced9c284383180d9b332d4753 --- /dev/null +++ "b/jQuery/01_\347\256\200\344\273\2131_\346\231\256\351\200\232\347\232\204JS\345\206\231\346\263\225.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + +
Hello,学习jQuery
+ + + + + \ No newline at end of file diff --git "a/jQuery/01_\347\256\200\344\273\2132_jQuery\345\210\235\344\275\223\351\252\214.html" "b/jQuery/01_\347\256\200\344\273\2132_jQuery\345\210\235\344\275\223\351\252\214.html" new file mode 100644 index 0000000000000000000000000000000000000000..0701a37493dce616d0d30cf2a98b3576440257bf --- /dev/null +++ "b/jQuery/01_\347\256\200\344\273\2132_jQuery\345\210\235\344\275\223\351\252\214.html" @@ -0,0 +1,21 @@ + + + + + + + Document + + + + +
Hello,学习jQuery
+ + + + + \ No newline at end of file diff --git "a/jQuery/02_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2501_JS\345\206\231\346\263\225.html" "b/jQuery/02_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2501_JS\345\206\231\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..eb743c7df049e8b61c9cd7aff759ece12739f8de --- /dev/null +++ "b/jQuery/02_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2501_JS\345\206\231\346\263\225.html" @@ -0,0 +1,37 @@ + + + + + + + Document + + + +
类选择器
+
类选择器
+ 元素选择器 + ID选择器 + + + + + \ No newline at end of file diff --git "a/jQuery/02_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2502_jQuery\345\206\231\346\263\225.html" "b/jQuery/02_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2502_jQuery\345\206\231\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..ecb2636f4dbbb30ceb355ab0fb0da467ddb85880 --- /dev/null +++ "b/jQuery/02_\345\237\272\347\241\200\351\200\211\346\213\251\345\231\2502_jQuery\345\206\231\346\263\225.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + +
类选择器
+
类选择器
+ 元素选择器 + ID选择器 + + + + + + \ No newline at end of file diff --git "a/jQuery/03_\345\255\220\344\273\243\344\270\216\345\220\216\344\273\243\351\200\211\346\213\251\345\231\2501_JS\345\206\231\346\263\225.html" "b/jQuery/03_\345\255\220\344\273\243\344\270\216\345\220\216\344\273\243\351\200\211\346\213\251\345\231\2501_JS\345\206\231\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..03bb78490b5f15f18473432ba4fa5ae0fadb39c2 --- /dev/null +++ "b/jQuery/03_\345\255\220\344\273\243\344\270\216\345\220\216\344\273\243\351\200\211\346\213\251\345\231\2501_JS\345\206\231\346\263\225.html" @@ -0,0 +1,44 @@ + + + + + + + Document + + + +
    +
  • Item 1
  • +
  • +
      +
    • child item 1
    • +
    • child item 2
    • +
    • child item 3
    • +
    +
  • +
  • Item 3
  • +
+ + + + + \ No newline at end of file diff --git "a/jQuery/03_\345\255\220\344\273\243\344\270\216\345\220\216\344\273\243\351\200\211\346\213\251\345\231\2502_jQuery\345\206\231\346\263\225.html" "b/jQuery/03_\345\255\220\344\273\243\344\270\216\345\220\216\344\273\243\351\200\211\346\213\251\345\231\2502_jQuery\345\206\231\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..27f0ce97df0ba965857eeaac2e2161dd886c6fda --- /dev/null +++ "b/jQuery/03_\345\255\220\344\273\243\344\270\216\345\220\216\344\273\243\351\200\211\346\213\251\345\231\2502_jQuery\345\206\231\346\263\225.html" @@ -0,0 +1,37 @@ + + + + + + + Document + + + + +
    +
  • Item 1
  • +
  • +
      +
    • child item 1
    • +
    • child item 2
    • +
    • child item 3
    • +
    +
  • +
  • Item 3
  • +
+ + + + + \ No newline at end of file diff --git "a/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2501_\345\256\214\347\276\216\345\214\271\351\205\215.html" "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2501_\345\256\214\347\276\216\345\214\271\351\205\215.html" new file mode 100644 index 0000000000000000000000000000000000000000..d107db9d39e3b8ed3584086510c61b0036ea38c5 --- /dev/null +++ "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2501_\345\256\214\347\276\216\345\214\271\351\205\215.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + + +
+ + name +
+ +
+ + age +
+ + + + + + \ No newline at end of file diff --git "a/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2502_\345\211\215\347\274\200.html" "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2502_\345\211\215\347\274\200.html" new file mode 100644 index 0000000000000000000000000000000000000000..4466bbd233fd9ca090c25fde85f7f5c278bd120c --- /dev/null +++ "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2502_\345\211\215\347\274\200.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + + + sxt + sxt-itbaizhan + sxtitbaizhan + + + + + \ No newline at end of file diff --git "a/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2503_\345\214\205\345\220\253.html" "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2503_\345\214\205\345\220\253.html" new file mode 100644 index 0000000000000000000000000000000000000000..9fa789c9996d45aebb431cae8324eb051a8ef48f --- /dev/null +++ "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2503_\345\214\205\345\220\253.html" @@ -0,0 +1,26 @@ + + + + + + + Document + + + + + sxt + sxt-itbaizhan + sxtitbaizhan + itbaizhan + + + + + \ No newline at end of file diff --git "a/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2504_\347\251\272\346\240\274\351\232\224\345\274\200.html" "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2504_\347\251\272\346\240\274\351\232\224\345\274\200.html" new file mode 100644 index 0000000000000000000000000000000000000000..cf2ee1b09cb9ad7eab568d3609d9003a62cdfc08 --- /dev/null +++ "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2504_\347\251\272\346\240\274\351\232\224\345\274\200.html" @@ -0,0 +1,26 @@ + + + + + + + Document + + + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2505_\347\273\223\345\260\276.html" "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2505_\347\273\223\345\260\276.html" new file mode 100644 index 0000000000000000000000000000000000000000..fe8729d6e48be419ba1887a015175643acb74289 --- /dev/null +++ "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2505_\347\273\223\345\260\276.html" @@ -0,0 +1,26 @@ + + + + + + + Document + + + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2506_\345\274\200\345\247\213.html" "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2506_\345\274\200\345\247\213.html" new file mode 100644 index 0000000000000000000000000000000000000000..972f6281978911d32cfb343dfaa880d3d8e1c969 --- /dev/null +++ "b/jQuery/04_\345\261\236\346\200\247\351\200\211\346\213\251\345\231\2506_\345\274\200\345\247\213.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2501_eq.html" "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2501_eq.html" new file mode 100644 index 0000000000000000000000000000000000000000..5648bdf4e1df5cd24df79a84b5c570d28d4af047 --- /dev/null +++ "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2501_eq.html" @@ -0,0 +1,30 @@ + + + + + + + Document + + + + + +
    +
  • item 1
  • +
  • item 2
  • +
  • item 3
  • +
  • item 4
  • +
  • item 5
  • +
  • item 6
  • +
+ + + + + \ No newline at end of file diff --git "a/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2502_even.html" "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2502_even.html" new file mode 100644 index 0000000000000000000000000000000000000000..26d6630129676872f104aff267bbdf991600d68d --- /dev/null +++ "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2502_even.html" @@ -0,0 +1,36 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + +
Row with Index #0
Row with Index #1
Row with Index #2
Row with Index #3
+ + + + + \ No newline at end of file diff --git "a/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2503_odd.html" "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2503_odd.html" new file mode 100644 index 0000000000000000000000000000000000000000..7d2412bd647d1c89fe1cac3d7bde985916e3aa53 --- /dev/null +++ "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2503_odd.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + +
Row with Index #0
Row with Index #1
Row with Index #2
Row with Index #3
+ + + + + \ No newline at end of file diff --git "a/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2504_first.html" "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2504_first.html" new file mode 100644 index 0000000000000000000000000000000000000000..d6a001cfa6d26ed8418f9d0b8f6097ebcb48167c --- /dev/null +++ "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2504_first.html" @@ -0,0 +1,32 @@ + + + + + + + Document + + + + + + + + + + + + + + +
Row 1
Row 2
Row 3
+ + + + + \ No newline at end of file diff --git "a/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2505_last.html" "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2505_last.html" new file mode 100644 index 0000000000000000000000000000000000000000..85e5d94aedefb28d2f5bfb152ce968be9b88e601 --- /dev/null +++ "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2505_last.html" @@ -0,0 +1,32 @@ + + + + + + + Document + + + + + + + + + + + + + + +
Row 1
Row 2
Row 3
+ + + + + \ No newline at end of file diff --git "a/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2506_gt.html" "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2506_gt.html" new file mode 100644 index 0000000000000000000000000000000000000000..7379cde27fc690381f3b2bf691eab00a63ae696e --- /dev/null +++ "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2506_gt.html" @@ -0,0 +1,40 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + + + + +
TD #0TD #1TD #2
TD #3TD #4TD #5
TD #6TD #7TD #8
+ + + + + \ No newline at end of file diff --git "a/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2507_lt.html" "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2507_lt.html" new file mode 100644 index 0000000000000000000000000000000000000000..1bec0ef38f2113d54ff0237afbcd05feba5c264d --- /dev/null +++ "b/jQuery/05_\346\213\223\345\261\225\351\200\211\346\213\251\345\231\2507_lt.html" @@ -0,0 +1,40 @@ + + + + + + + Document + + + + + + + + + + + + + + + + + + + + +
TD #0TD #1TD #2
TD #3TD #4TD #5
TD #6TD #7TD #8
+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23401_class\347\233\270\345\205\2631_jQuery\345\206\231\346\263\225.html" "b/jQuery/06_DOM\346\223\215\344\275\23401_class\347\233\270\345\205\2631_jQuery\345\206\231\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..b0dbcf59c443a78c3e05c5c2fca2b28884ead6ff --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23401_class\347\233\270\345\205\2631_jQuery\345\206\231\346\263\225.html" @@ -0,0 +1,57 @@ + + + + + + + Document + + + + +
Hello
+ + Hello + + itbaizhan + + + + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23401_class\347\233\270\345\205\2632_JS\345\206\231\346\263\225.html" "b/jQuery/06_DOM\346\223\215\344\275\23401_class\347\233\270\345\205\2632_JS\345\206\231\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..ed55dd20c6143145122ad9221ae2a8817e69c0d2 --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23401_class\347\233\270\345\205\2632_JS\345\206\231\346\263\225.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + +
hello
+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23402_html.html" "b/jQuery/06_DOM\346\223\215\344\275\23402_html.html" new file mode 100644 index 0000000000000000000000000000000000000000..690b4d5d2916fdc0ad0fb271e7d90a045a3dccb5 --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23402_html.html" @@ -0,0 +1,37 @@ + + + + + + + Document + + + + +
Hello, jQuery
+ + + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23403_val.html" "b/jQuery/06_DOM\346\223\215\344\275\23403_val.html" new file mode 100644 index 0000000000000000000000000000000000000000..91193f99da8adca404c264e8890478dcafb211ba --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23403_val.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23404_attr.html" "b/jQuery/06_DOM\346\223\215\344\275\23404_attr.html" new file mode 100644 index 0000000000000000000000000000000000000000..af2ecd6cb55eeeb57d5e0e20fef9411fb75d492b --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23404_attr.html" @@ -0,0 +1,31 @@ + + + + + + + Document + + + + + 小姐姐 + + + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23405_removeAttr.html" "b/jQuery/06_DOM\346\223\215\344\275\23405_removeAttr.html" new file mode 100644 index 0000000000000000000000000000000000000000..92d5f3f1956a1311af39c5ad89b2f7a73cb4532c --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23405_removeAttr.html" @@ -0,0 +1,21 @@ + + + + + + + Document + + + + + itbaizha + + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23406_wrap.html" "b/jQuery/06_DOM\346\223\215\344\275\23406_wrap.html" new file mode 100644 index 0000000000000000000000000000000000000000..2cb18fd9413e6c94611a6090a3b6337e4dcefb6a --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23406_wrap.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + + +

Hello

+

World

+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23407_unwrap.html" "b/jQuery/06_DOM\346\223\215\344\275\23407_unwrap.html" new file mode 100644 index 0000000000000000000000000000000000000000..3575d33d0f46c239b97f2fe4debc317b2834159e --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23407_unwrap.html" @@ -0,0 +1,27 @@ + + + + + + + Document + + + + +
+

Hello

+
+ +
+

Hello

+
+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23408_warpAll.html" "b/jQuery/06_DOM\346\223\215\344\275\23408_warpAll.html" new file mode 100644 index 0000000000000000000000000000000000000000..88c5e4deddb6513ca92758b85fdde5ae0fec6811 --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23408_warpAll.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + + +

sxt

+

itbaizhan

+ Hello +

web

+ + + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23409_wrapInner.html" "b/jQuery/06_DOM\346\223\215\344\275\23409_wrapInner.html" new file mode 100644 index 0000000000000000000000000000000000000000..01ec7a0a8fd37c0b3053b264aebe73ec711619d9 --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23409_wrapInner.html" @@ -0,0 +1,21 @@ + + + + + + + Document + + + + +

Hello

+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23410_append.html" "b/jQuery/06_DOM\346\223\215\344\275\23410_append.html" new file mode 100644 index 0000000000000000000000000000000000000000..7463bce89b52e4074947eebd5ca5632e59604174 --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23410_append.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + +
+

分割线

+
+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23411_prepend.html" "b/jQuery/06_DOM\346\223\215\344\275\23411_prepend.html" new file mode 100644 index 0000000000000000000000000000000000000000..46299c0e448dc59c2569411261c97cb261fbe827 --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23411_prepend.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + +
+

分割线

+
+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23412_after.html" "b/jQuery/06_DOM\346\223\215\344\275\23412_after.html" new file mode 100644 index 0000000000000000000000000000000000000000..9b522495b37c4db370e8fd006d468e8a53e69466 --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23412_after.html" @@ -0,0 +1,21 @@ + + + + + + + Document + + + + +

Hello

+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23413_before.html" "b/jQuery/06_DOM\346\223\215\344\275\23413_before.html" new file mode 100644 index 0000000000000000000000000000000000000000..08cef4656431491ace5b9f2ebc75a0345003037d --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23413_before.html" @@ -0,0 +1,21 @@ + + + + + + + Document + + + + +

Hello

+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23414_empty.html" "b/jQuery/06_DOM\346\223\215\344\275\23414_empty.html" new file mode 100644 index 0000000000000000000000000000000000000000..53227a400089a6f316123293593bfa98a344a606 --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23414_empty.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + + +
+

Hello

+ Wrold +
+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23415_remove.html" "b/jQuery/06_DOM\346\223\215\344\275\23415_remove.html" new file mode 100644 index 0000000000000000000000000000000000000000..6688d6ac7540d51d7ce3517f5211ad0793933131 --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23415_remove.html" @@ -0,0 +1,27 @@ + + + + + + + Document + + + + +
+

Hello

+ Wrold +
+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23416_replaceAll.html" "b/jQuery/06_DOM\346\223\215\344\275\23416_replaceAll.html" new file mode 100644 index 0000000000000000000000000000000000000000..c2729018859cd804719b52e3ff924f78535d864c --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23416_replaceAll.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + +
+

Hello

+
+ + + + + \ No newline at end of file diff --git "a/jQuery/06_DOM\346\223\215\344\275\23417_replaceWith.html" "b/jQuery/06_DOM\346\223\215\344\275\23417_replaceWith.html" new file mode 100644 index 0000000000000000000000000000000000000000..519fb91551b76776a369da3614b02f842b882328 --- /dev/null +++ "b/jQuery/06_DOM\346\223\215\344\275\23417_replaceWith.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + + +
+

Hello

+
+ + + + + \ No newline at end of file diff --git "a/jQuery/07_CSS\346\223\215\344\275\2341_css.html" "b/jQuery/07_CSS\346\223\215\344\275\2341_css.html" new file mode 100644 index 0000000000000000000000000000000000000000..ba2ab19f570d9d1b3ba68c70552dcfc37ba1975f --- /dev/null +++ "b/jQuery/07_CSS\346\223\215\344\275\2341_css.html" @@ -0,0 +1,39 @@ + + + + + + + Document + + + + + + +
+
+ + + + + \ No newline at end of file diff --git "a/jQuery/07_CSS\346\223\215\344\275\2342_heightwidth.html" "b/jQuery/07_CSS\346\223\215\344\275\2342_heightwidth.html" new file mode 100644 index 0000000000000000000000000000000000000000..6462b376f1a4e3acbe47e3e1fc8f1ba2c82a67cd --- /dev/null +++ "b/jQuery/07_CSS\346\223\215\344\275\2342_heightwidth.html" @@ -0,0 +1,41 @@ + + + + + + + Document + + + + + + +
+
+ + + + + \ No newline at end of file diff --git "a/jQuery/07_CSS\346\223\215\344\275\2343_innerWidthInnerHeight.html" "b/jQuery/07_CSS\346\223\215\344\275\2343_innerWidthInnerHeight.html" new file mode 100644 index 0000000000000000000000000000000000000000..ce0b715856c80af791e56e8672d5688329c3c979 --- /dev/null +++ "b/jQuery/07_CSS\346\223\215\344\275\2343_innerWidthInnerHeight.html" @@ -0,0 +1,37 @@ + + + + + + + Document + + + + + +
+ + + + + + \ No newline at end of file diff --git "a/jQuery/07_CSS\346\223\215\344\275\2344_outerWidthouterHeight.html" "b/jQuery/07_CSS\346\223\215\344\275\2344_outerWidthouterHeight.html" new file mode 100644 index 0000000000000000000000000000000000000000..b34cdde0a06c6aa401f10d5867bb645e960b9c81 --- /dev/null +++ "b/jQuery/07_CSS\346\223\215\344\275\2344_outerWidthouterHeight.html" @@ -0,0 +1,40 @@ + + + + + + + Document + + + + +
+ + + + \ No newline at end of file diff --git "a/jQuery/07_CSS\346\223\215\344\275\2345_offset.html" "b/jQuery/07_CSS\346\223\215\344\275\2345_offset.html" new file mode 100644 index 0000000000000000000000000000000000000000..8f4a1a7f028e408e2616d632527ee56626948141 --- /dev/null +++ "b/jQuery/07_CSS\346\223\215\344\275\2345_offset.html" @@ -0,0 +1,50 @@ + + + + + + + Document + + + + + +
+
+ + + + + \ No newline at end of file diff --git "a/jQuery/07_CSS\346\223\215\344\275\2346_position.html" "b/jQuery/07_CSS\346\223\215\344\275\2346_position.html" new file mode 100644 index 0000000000000000000000000000000000000000..dfa390358b31debdc759ad32f66ad71e00d3ede4 --- /dev/null +++ "b/jQuery/07_CSS\346\223\215\344\275\2346_position.html" @@ -0,0 +1,56 @@ + + + + + + + + Document + + + + + + +
+
+
+ + + + + + \ No newline at end of file diff --git "a/jQuery/07_CSS\346\223\215\344\275\2347_scrollTopAndscrollLeft.html" "b/jQuery/07_CSS\346\223\215\344\275\2347_scrollTopAndscrollLeft.html" new file mode 100644 index 0000000000000000000000000000000000000000..b9ccc3699e96b91f6567369974f46f9b690e5e31 --- /dev/null +++ "b/jQuery/07_CSS\346\223\215\344\275\2347_scrollTopAndscrollLeft.html" @@ -0,0 +1,49 @@ + + + + + + + Document + + + + + +
+

itbaizhan

+

sxt

+
+ + + + + + \ No newline at end of file diff --git "a/jQuery/08_\347\273\221\345\256\232\344\272\213\344\273\266\345\244\204\347\220\206\345\231\2501_on.html" "b/jQuery/08_\347\273\221\345\256\232\344\272\213\344\273\266\345\244\204\347\220\206\345\231\2501_on.html" new file mode 100644 index 0000000000000000000000000000000000000000..9ac7a15bbdc2061c2df704a0a53cbe3ffd02b67a --- /dev/null +++ "b/jQuery/08_\347\273\221\345\256\232\344\272\213\344\273\266\345\244\204\347\220\206\345\231\2501_on.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + + + +
    +
  • item 1
  • +
  • item 2
  • +
  • item 3
  • +
  • item 4
  • +
+ + + + + \ No newline at end of file diff --git "a/jQuery/08_\347\273\221\345\256\232\344\272\213\344\273\266\345\244\204\347\220\206\345\231\2502_one.html" "b/jQuery/08_\347\273\221\345\256\232\344\272\213\344\273\266\345\244\204\347\220\206\345\231\2502_one.html" new file mode 100644 index 0000000000000000000000000000000000000000..6127412cfc795d5dc02122248b4439c607f27644 --- /dev/null +++ "b/jQuery/08_\347\273\221\345\256\232\344\272\213\344\273\266\345\244\204\347\220\206\345\231\2502_one.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/08_\347\273\221\345\256\232\344\272\213\344\273\266\345\244\204\347\220\206\345\231\2503_off.html" "b/jQuery/08_\347\273\221\345\256\232\344\272\213\344\273\266\345\244\204\347\220\206\345\231\2503_off.html" new file mode 100644 index 0000000000000000000000000000000000000000..77266517ad9eb126ecc423d508590110d323a94a --- /dev/null +++ "b/jQuery/08_\347\273\221\345\256\232\344\272\213\344\273\266\345\244\204\347\220\206\345\231\2503_off.html" @@ -0,0 +1,27 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2661_click.html" "b/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2661_click.html" new file mode 100644 index 0000000000000000000000000000000000000000..7c1226c37951c248492970777566757fdc940f4b --- /dev/null +++ "b/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2661_click.html" @@ -0,0 +1,27 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2662_hover.html" "b/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2662_hover.html" new file mode 100644 index 0000000000000000000000000000000000000000..b8e3a3082de2dd075effa9643fe853dd138db3d8 --- /dev/null +++ "b/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2662_hover.html" @@ -0,0 +1,54 @@ + + + + + + + Document + + + + + +
+
+ + + + + \ No newline at end of file diff --git "a/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2663_mouseenterAndmouseleave.html" "b/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2663_mouseenterAndmouseleave.html" new file mode 100644 index 0000000000000000000000000000000000000000..1de424cc048dd9fd3eb16813c186ef1634c8377f --- /dev/null +++ "b/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2663_mouseenterAndmouseleave.html" @@ -0,0 +1,39 @@ + + + + + + + Document + + + + + +
+ + + + + \ No newline at end of file diff --git "a/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2664_mousemove.html" "b/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2664_mousemove.html" new file mode 100644 index 0000000000000000000000000000000000000000..fcc4601e8706141c545a139dfcd6272247f792e8 --- /dev/null +++ "b/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2664_mousemove.html" @@ -0,0 +1,33 @@ + + + + + + + Document + + + + + +
+ + + + + \ No newline at end of file diff --git "a/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2665_mouseoverAndmouseout.html" "b/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2665_mouseoverAndmouseout.html" new file mode 100644 index 0000000000000000000000000000000000000000..356758e3256ce1628e7805d208203de84d77bb4a --- /dev/null +++ "b/jQuery/09_\351\274\240\346\240\207\344\272\213\344\273\2665_mouseoverAndmouseout.html" @@ -0,0 +1,55 @@ + + + + + + + Document + + + + + +
+
+
+ + + + + \ No newline at end of file diff --git "a/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2661_focus.html" "b/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2661_focus.html" new file mode 100644 index 0000000000000000000000000000000000000000..068a5e7e3f02dd9b8d1a60b128b970941028fc8d --- /dev/null +++ "b/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2661_focus.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2662_blur.html" "b/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2662_blur.html" new file mode 100644 index 0000000000000000000000000000000000000000..324acce2ceadbaf71760d89e4cd8053d3f6449af --- /dev/null +++ "b/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2662_blur.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2663_change.html" "b/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2663_change.html" new file mode 100644 index 0000000000000000000000000000000000000000..d99992c657d139154271d529b8204a50991b1bc9 --- /dev/null +++ "b/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2663_change.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2664_submit.html" "b/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2664_submit.html" new file mode 100644 index 0000000000000000000000000000000000000000..d9e5fb384b4f7e04469b5a6c43484e6b3fff546b --- /dev/null +++ "b/jQuery/10_\350\241\250\345\215\225\344\272\213\344\273\2664_submit.html" @@ -0,0 +1,27 @@ + + + + + + + Document + + + + +
+ + +
+ + + + + \ No newline at end of file diff --git "a/jQuery/11_\351\224\256\347\233\230\344\272\213\344\273\2661_keydown.html" "b/jQuery/11_\351\224\256\347\233\230\344\272\213\344\273\2661_keydown.html" new file mode 100644 index 0000000000000000000000000000000000000000..94bf9e8a1f3f73385fd351cf0b8fd2e9f06d8332 --- /dev/null +++ "b/jQuery/11_\351\224\256\347\233\230\344\272\213\344\273\2661_keydown.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/11_\351\224\256\347\233\230\344\272\213\344\273\2662_keypress.html" "b/jQuery/11_\351\224\256\347\233\230\344\272\213\344\273\2662_keypress.html" new file mode 100644 index 0000000000000000000000000000000000000000..35a503e81cdbc5ffe3a5badb97f2a67979c7bb66 --- /dev/null +++ "b/jQuery/11_\351\224\256\347\233\230\344\272\213\344\273\2662_keypress.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/11_\351\224\256\347\233\230\344\272\213\344\273\2663_keyup.html" "b/jQuery/11_\351\224\256\347\233\230\344\272\213\344\273\2663_keyup.html" new file mode 100644 index 0000000000000000000000000000000000000000..493f6811930b6d476dd5892668ba6bae8851ab55 --- /dev/null +++ "b/jQuery/11_\351\224\256\347\233\230\344\272\213\344\273\2663_keyup.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/12_\346\265\217\350\247\210\345\231\250\344\272\213\344\273\2661_resize.html" "b/jQuery/12_\346\265\217\350\247\210\345\231\250\344\272\213\344\273\2661_resize.html" new file mode 100644 index 0000000000000000000000000000000000000000..cb252f0172c0468585ad7922a64ab16d180027b4 --- /dev/null +++ "b/jQuery/12_\346\265\217\350\247\210\345\231\250\344\272\213\344\273\2661_resize.html" @@ -0,0 +1,39 @@ + + + + + + + Document + + + + + +
+ + + + + \ No newline at end of file diff --git "a/jQuery/12_\346\265\217\350\247\210\345\231\250\344\272\213\344\273\2662_scroll.html" "b/jQuery/12_\346\265\217\350\247\210\345\231\250\344\272\213\344\273\2662_scroll.html" new file mode 100644 index 0000000000000000000000000000000000000000..4d4f3e5a94c5d2fd37f1df2142f121497c271003 --- /dev/null +++ "b/jQuery/12_\346\265\217\350\247\210\345\231\250\344\272\213\344\273\2662_scroll.html" @@ -0,0 +1,38 @@ + + + + + + + Document + + + + + +

内容1

+

内容2

+

内容3

+

内容4

+ + + + + \ No newline at end of file diff --git "a/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2411_type.html" "b/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2411_type.html" new file mode 100644 index 0000000000000000000000000000000000000000..1691dbaf86aaa33347eed14548b1c6f498f388a5 --- /dev/null +++ "b/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2411_type.html" @@ -0,0 +1,21 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2412_target.html" "b/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2412_target.html" new file mode 100644 index 0000000000000000000000000000000000000000..aa340159ae49e8e3607143c075be440c5d14734d --- /dev/null +++ "b/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2412_target.html" @@ -0,0 +1,30 @@ + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2413_currentTarget.html" "b/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2413_currentTarget.html" new file mode 100644 index 0000000000000000000000000000000000000000..77a29cb59517c606b21fad0223f3af1c38946516 --- /dev/null +++ "b/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2413_currentTarget.html" @@ -0,0 +1,45 @@ + + + + + + + Document + + + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git "a/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2414_preventDefault.html" "b/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2414_preventDefault.html" new file mode 100644 index 0000000000000000000000000000000000000000..92a2230407e529777d4171c156c505c534256693 --- /dev/null +++ "b/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2414_preventDefault.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + + itbaizhan + + + + + \ No newline at end of file diff --git "a/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2415_stopPropagation.html" "b/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2415_stopPropagation.html" new file mode 100644 index 0000000000000000000000000000000000000000..93443d83ef4556807310c771a1decd9f2d121c2f --- /dev/null +++ "b/jQuery/13_\344\272\213\344\273\266\345\257\271\350\261\2415_stopPropagation.html" @@ -0,0 +1,36 @@ + + + + + + + Document + + + + + +
+ +
+ + + + + \ No newline at end of file diff --git "a/jQuery/14_jQuery\351\201\215\345\216\2061_map.html" "b/jQuery/14_jQuery\351\201\215\345\216\2061_map.html" new file mode 100644 index 0000000000000000000000000000000000000000..9bf4a224927432e081f27d7af3ce624ed8758dbc --- /dev/null +++ "b/jQuery/14_jQuery\351\201\215\345\216\2061_map.html" @@ -0,0 +1,46 @@ + + + + + + + Document + + + + +
    +
  • item 1
  • +
  • item 2
  • +
  • item 3
  • +
  • item 4
  • +
+ + + + + \ No newline at end of file diff --git "a/jQuery/14_jQuery\351\201\215\345\216\2062_each.html" "b/jQuery/14_jQuery\351\201\215\345\216\2062_each.html" new file mode 100644 index 0000000000000000000000000000000000000000..8b87b4fcc85eeefafc8df4737cb532664aa63ae9 --- /dev/null +++ "b/jQuery/14_jQuery\351\201\215\345\216\2062_each.html" @@ -0,0 +1,45 @@ + + + + + + + Document + + + + +
    +
  • item 1
  • +
  • item 2
  • +
  • item 3
  • +
  • item 4
  • +
+ + + + + \ No newline at end of file diff --git "a/jQuery/14_jQuery\351\201\215\345\216\2063_get.html" "b/jQuery/14_jQuery\351\201\215\345\216\2063_get.html" new file mode 100644 index 0000000000000000000000000000000000000000..c9ddecf819b44f76bda805b6d8bf61023c947eca --- /dev/null +++ "b/jQuery/14_jQuery\351\201\215\345\216\2063_get.html" @@ -0,0 +1,40 @@ + + + + + + + Document + + + + +
    +
  • item 1
  • +
  • item 2
  • +
  • item 3
  • +
  • item 4
  • +
+ + + + + \ No newline at end of file diff --git "a/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2061_children.html" "b/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2061_children.html" new file mode 100644 index 0000000000000000000000000000000000000000..573a9509a9469132672de1957c43d3b47d1cf483 --- /dev/null +++ "b/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2061_children.html" @@ -0,0 +1,33 @@ + + + + + + + Document + + + + +
    +
  • item 1
  • +
  • +
      +
    • child item1
    • +
    • child item2
    • +
    +
  • +
  • item 3
  • + Hello +
+ + + + + \ No newline at end of file diff --git "a/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2062_find.html" "b/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2062_find.html" new file mode 100644 index 0000000000000000000000000000000000000000..e410266da96475fd8a1da430a03d98a0797cdaad --- /dev/null +++ "b/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2062_find.html" @@ -0,0 +1,32 @@ + + + + + + + Document + + + + +
    +
  • item 1
  • +
  • +
      +
    • child item1
    • +
    • child item2
    • +
    +
  • +
  • item 3
  • + Hello +
+ + + + + \ No newline at end of file diff --git "a/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2063_next.html" "b/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2063_next.html" new file mode 100644 index 0000000000000000000000000000000000000000..5048deba2e9f0f8e69478dec5ca2353bb5256f98 --- /dev/null +++ "b/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2063_next.html" @@ -0,0 +1,23 @@ + + + + + + + Document + + + + +
第一个元素
+ 第二个元素 +

第三个元素

+ + + + \ No newline at end of file diff --git "a/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2064_parent.html" "b/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2064_parent.html" new file mode 100644 index 0000000000000000000000000000000000000000..adcfb6860a49929118cd16b11930570de91b913f --- /dev/null +++ "b/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2064_parent.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + +
+

Hello

+
+ + + + + \ No newline at end of file diff --git "a/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2065_siblings.html" "b/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2065_siblings.html" new file mode 100644 index 0000000000000000000000000000000000000000..9c808014cfb8cfe960c42db01b0e40166003ade2 --- /dev/null +++ "b/jQuery/15_jQuery\346\240\221\351\201\215\345\216\2065_siblings.html" @@ -0,0 +1,27 @@ + + + + + + + Document + + + + +

Hello1

+

Hello2

+

Hello3

+

Hello4

+ World +

Hello5

+ + + + + \ No newline at end of file diff --git "a/jQuery/16_jQuery\345\212\250\347\224\2731_show.html" "b/jQuery/16_jQuery\345\212\250\347\224\2731_show.html" new file mode 100644 index 0000000000000000000000000000000000000000..28507970735825256330ca7d1cbf2e0f91ab9687 --- /dev/null +++ "b/jQuery/16_jQuery\345\212\250\347\224\2731_show.html" @@ -0,0 +1,30 @@ + + + + + + + Document + + + + + +
+ + + + + \ No newline at end of file diff --git "a/jQuery/16_jQuery\345\212\250\347\224\2732_hide.html" "b/jQuery/16_jQuery\345\212\250\347\224\2732_hide.html" new file mode 100644 index 0000000000000000000000000000000000000000..37e6e0502a20e6a4bc67365e59733e7f1b373749 --- /dev/null +++ "b/jQuery/16_jQuery\345\212\250\347\224\2732_hide.html" @@ -0,0 +1,38 @@ + + + + + + + Document + + + + + +
+ + + + + + + + \ No newline at end of file diff --git "a/jQuery/16_jQuery\345\212\250\347\224\2733_fadeInAndfadeOut.html" "b/jQuery/16_jQuery\345\212\250\347\224\2733_fadeInAndfadeOut.html" new file mode 100644 index 0000000000000000000000000000000000000000..124a238f7bb985052d2b103a664ef1fa834394ad --- /dev/null +++ "b/jQuery/16_jQuery\345\212\250\347\224\2733_fadeInAndfadeOut.html" @@ -0,0 +1,41 @@ + + + + + + + Document + + + + + + + + + + +
+ + + + + \ No newline at end of file diff --git "a/jQuery/16_jQuery\345\212\250\347\224\2734_slideDownAndslideUp.html" "b/jQuery/16_jQuery\345\212\250\347\224\2734_slideDownAndslideUp.html" new file mode 100644 index 0000000000000000000000000000000000000000..ee80780a1dbe19d5fa69d3512da65fe637d9641d --- /dev/null +++ "b/jQuery/16_jQuery\345\212\250\347\224\2734_slideDownAndslideUp.html" @@ -0,0 +1,40 @@ + + + + + + + Document + + + + + +
+ + + + + + + + \ No newline at end of file diff --git "a/jQuery/16_jQuery\345\212\250\347\224\2735_animate.html" "b/jQuery/16_jQuery\345\212\250\347\224\2735_animate.html" new file mode 100644 index 0000000000000000000000000000000000000000..cc586a47767bb12794be5149a9121b2d1a3c5bae --- /dev/null +++ "b/jQuery/16_jQuery\345\212\250\347\224\2735_animate.html" @@ -0,0 +1,46 @@ + + + + + + + Document + + + + + +
+ + + + + + + + \ No newline at end of file diff --git "a/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/css/index.css" "b/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/css/index.css" new file mode 100644 index 0000000000000000000000000000000000000000..36d90ff25186e4a9d6f05e8c72197913dcc07252 --- /dev/null +++ "b/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/css/index.css" @@ -0,0 +1,34 @@ +*{ + margin: 0; + padding: 0; +} + +.menu{ + list-style: none; + width: 500px; + height: 50px; + background: skyblue; + margin: 100px auto; +} + +/* 直接子元素 */ +.menu>li{ + float: left; + width: 99px; + height: 50px; + border-right: 1px solid white; + line-height: 50px; + font-size: 20px; + text-align: center; + cursor: pointer; +} + +.dropdown{ + list-style: none; + background: wheat; + display: none; +} + +.dropdown li:hover{ + color: red; +} \ No newline at end of file diff --git "a/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/index.html" "b/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/index.html" new file mode 100644 index 0000000000000000000000000000000000000000..e056929132a26e67ea9224c55622d60a3cc47bf0 --- /dev/null +++ "b/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/index.html" @@ -0,0 +1,42 @@ + + + + + + + Document + + + + + + + + + + + \ No newline at end of file diff --git "a/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/js/index.js" "b/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/js/index.js" new file mode 100644 index 0000000000000000000000000000000000000000..64a71e57173b5a7eb9d6a083bb729bf465915012 --- /dev/null +++ "b/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/js/index.js" @@ -0,0 +1,16 @@ +// $(".menu li").mouseenter(function(){ +// // $(".dropdown").css("display","block") +// // this:鼠标滑动到那个元素,this就代表那个元素 +// $(this).children(".dropdown").slideDown(500) +// }) + +// $(".menu li").mouseleave(function(){ +// $(this).children(".dropdown").slideUp(500) +// }) + + +$(".menu li").hover(function(){ + $(this).children(".dropdown").slideDown(500) +},function(){ + $(this).children(".dropdown").slideUp(500) +}) \ No newline at end of file diff --git "a/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/js/jquery-3.6.0.js" "b/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/js/jquery-3.6.0.js" new file mode 100644 index 0000000000000000000000000000000000000000..fc6c299b73e792ef288e785c22393a5df9dded4b --- /dev/null +++ "b/jQuery/1_jQuery\350\217\234\345\215\225\345\212\237\350\203\275/js/jquery-3.6.0.js" @@ -0,0 +1,10881 @@ +/*! + * 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( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 + // Plus for old WebKit, typeof returns "function" for HTML collections + // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) + return typeof obj === "function" && typeof obj.nodeType !== "number" && + typeof obj.item !== "function"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.6.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), + function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); + } ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * 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( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem && elem.namespaceURI, + docElem = elem && ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +} +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the primary Deferred + primary = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + primary.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( primary.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return primary.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); + } + + return primary.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + + // Support: Chrome 86+ + // In Chrome, if an element having a focusout handler is blurred by + // clicking outside of it, it invokes the handler synchronously. If + // that handler calls `.remove()` on the element, the data is cleared, + // leaving `result` undefined. We need to guard against this. + return result && result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + which: true +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + // Suppress native focus or blur as it's already being fired + // in leverageNative. + _default: function() { + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + // + // Support: Firefox 70+ + // Only Firefox includes border widths + // in computed dimensions. (gh-4529) + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; + tr.style.cssText = "border:1px solid"; + + // Support: Chrome 86+ + // Height set through cssText does not get applied. + // Computed height then comes back as 0. + tr.style.height = "1px"; + trChild.style.height = "9px"; + + // Support: Android 8 Chrome 86+ + // In our bodyBackground.html iframe, + // display for all div elements is set to "inline", + // which causes a problem only in Android 8 Chrome 86. + // Ensuring the div is display: block + // gets around this issue. + trChild.style.display = "block"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + + parseInt( trStyle.borderTopWidth, 10 ) + + parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml, parserErrorElem; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) {} + + parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; + if ( !xml || parserErrorElem ) { + jQuery.error( "Invalid XML: " + ( + parserErrorElem ? + jQuery.map( parserErrorElem.childNodes, function( el ) { + return el.textContent; + } ).join( "\n" ) : + data + ) ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ).filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ).map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + +originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script but not if jsonp + if ( !isSuccess && + jQuery.inArray( "script", s.dataTypes ) > -1 && + jQuery.inArray( "json", s.dataTypes ) < 0 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + +
+ +
+
    +
  • +
  • +
  • +
  • +
  • +
+
+ +
+ + +
+ +
+
    +
  • +
  • +
  • +
  • +
  • +
+
+
+ + + \ No newline at end of file diff --git "a/jQuery/2_\346\267\241\345\205\245\346\267\241\345\207\272\350\275\256\346\222\255\345\233\276(\344\270\212)/js/jquery-3.6.0.js" "b/jQuery/2_\346\267\241\345\205\245\346\267\241\345\207\272\350\275\256\346\222\255\345\233\276(\344\270\212)/js/jquery-3.6.0.js" new file mode 100644 index 0000000000000000000000000000000000000000..fc6c299b73e792ef288e785c22393a5df9dded4b --- /dev/null +++ "b/jQuery/2_\346\267\241\345\205\245\346\267\241\345\207\272\350\275\256\346\222\255\345\233\276(\344\270\212)/js/jquery-3.6.0.js" @@ -0,0 +1,10881 @@ +/*! + * 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( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 + // Plus for old WebKit, typeof returns "function" for HTML collections + // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) + return typeof obj === "function" && typeof obj.nodeType !== "number" && + typeof obj.item !== "function"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.6.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), + function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); + } ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * 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( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem && elem.namespaceURI, + docElem = elem && ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +} +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the primary Deferred + primary = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + primary.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( primary.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return primary.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); + } + + return primary.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + + // Support: Chrome 86+ + // In Chrome, if an element having a focusout handler is blurred by + // clicking outside of it, it invokes the handler synchronously. If + // that handler calls `.remove()` on the element, the data is cleared, + // leaving `result` undefined. We need to guard against this. + return result && result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + which: true +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + // Suppress native focus or blur as it's already being fired + // in leverageNative. + _default: function() { + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + // + // Support: Firefox 70+ + // Only Firefox includes border widths + // in computed dimensions. (gh-4529) + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; + tr.style.cssText = "border:1px solid"; + + // Support: Chrome 86+ + // Height set through cssText does not get applied. + // Computed height then comes back as 0. + tr.style.height = "1px"; + trChild.style.height = "9px"; + + // Support: Android 8 Chrome 86+ + // In our bodyBackground.html iframe, + // display for all div elements is set to "inline", + // which causes a problem only in Android 8 Chrome 86. + // Ensuring the div is display: block + // gets around this issue. + trChild.style.display = "block"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + + parseInt( trStyle.borderTopWidth, 10 ) + + parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml, parserErrorElem; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) {} + + parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; + if ( !xml || parserErrorElem ) { + jQuery.error( "Invalid XML: " + ( + parserErrorElem ? + jQuery.map( parserErrorElem.childNodes, function( el ) { + return el.textContent; + } ).join( "\n" ) : + data + ) ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ).filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ).map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + +originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script but not if jsonp + if ( !isSuccess && + jQuery.inArray( "script", s.dataTypes ) > -1 && + jQuery.inArray( "json", s.dataTypes ) < 0 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + +
+ +
+
    +
  • +
  • +
  • +
  • +
  • +
+
+ +
+ + +
+ +
+
    +
  • +
  • +
  • +
  • +
  • +
+
+
+ + + + + \ No newline at end of file diff --git "a/jQuery/3_\346\267\241\345\205\245\346\267\241\345\207\272\350\275\256\346\222\255\345\233\276(\344\270\213)/js/index.js" "b/jQuery/3_\346\267\241\345\205\245\346\267\241\345\207\272\350\275\256\346\222\255\345\233\276(\344\270\213)/js/index.js" new file mode 100644 index 0000000000000000000000000000000000000000..808a7b9bec5f1d38f4ad4856eb28c4dde2d49920 --- /dev/null +++ "b/jQuery/3_\346\267\241\345\205\245\346\267\241\345\207\272\350\275\256\346\222\255\345\233\276(\344\270\213)/js/index.js" @@ -0,0 +1,53 @@ +// 设置标识 idx 代表当前显示第几张图片 +var idx = 0; + +// 读取所有的图片 +var lis = $("#m_unit ul li"); + +// 定时器:让轮播图自己动起来 每间隔3秒,调用leftRun +var timer = setInterval(leftRun,2000) + + +// 鼠标滑动到轮播图上的事件, 清除掉定时器 +$("#box").mouseenter(function(){ + clearInterval(timer) +}) + +// 鼠标滑出轮播图,继续自动轮播 +$("#box").mouseleave(function(){ + timer = setInterval(leftRun,3000); +}) + + +// 左按钮 +$("#leftBtn").click(leftRun) +function leftRun() { + // 隐藏上一张图片 + lis.eq(idx).fadeOut(300) + // 修改标识 + idx += 1; + // 边界处理 + if (idx > lis.length - 1) { + idx = 0; + } + // 显示下一张图片 + lis.eq(idx).fadeIn(300) + changeCircle(); +} + +// 右按钮 +$("#rightBtn").click(function () { + lis.eq(idx).fadeOut(300); + idx -= 1; + if (idx < 0) { + idx = lis.length - 1; + } + lis.eq(idx).fadeIn(300) + changeCircle(); +}) + +// 指示器改变 +function changeCircle() { + // 找到当前显示的图片idx,让指示器高亮,然后把他的同级元素的所有高亮都删除掉 + $("#circle ul li").eq(idx).addClass("current").siblings().removeClass("current"); +} \ No newline at end of file diff --git "a/jQuery/3_\346\267\241\345\205\245\346\267\241\345\207\272\350\275\256\346\222\255\345\233\276(\344\270\213)/js/jquery-3.6.0.js" "b/jQuery/3_\346\267\241\345\205\245\346\267\241\345\207\272\350\275\256\346\222\255\345\233\276(\344\270\213)/js/jquery-3.6.0.js" new file mode 100644 index 0000000000000000000000000000000000000000..fc6c299b73e792ef288e785c22393a5df9dded4b --- /dev/null +++ "b/jQuery/3_\346\267\241\345\205\245\346\267\241\345\207\272\350\275\256\346\222\255\345\233\276(\344\270\213)/js/jquery-3.6.0.js" @@ -0,0 +1,10881 @@ +/*! + * 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( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 + // Plus for old WebKit, typeof returns "function" for HTML collections + // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) + return typeof obj === "function" && typeof obj.nodeType !== "number" && + typeof obj.item !== "function"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.6.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), + function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); + } ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * 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( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem && elem.namespaceURI, + docElem = elem && ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +} +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the primary Deferred + primary = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + primary.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( primary.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return primary.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); + } + + return primary.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + + // Support: Chrome 86+ + // In Chrome, if an element having a focusout handler is blurred by + // clicking outside of it, it invokes the handler synchronously. If + // that handler calls `.remove()` on the element, the data is cleared, + // leaving `result` undefined. We need to guard against this. + return result && result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + which: true +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + // Suppress native focus or blur as it's already being fired + // in leverageNative. + _default: function() { + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + // + // Support: Firefox 70+ + // Only Firefox includes border widths + // in computed dimensions. (gh-4529) + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; + tr.style.cssText = "border:1px solid"; + + // Support: Chrome 86+ + // Height set through cssText does not get applied. + // Computed height then comes back as 0. + tr.style.height = "1px"; + trChild.style.height = "9px"; + + // Support: Android 8 Chrome 86+ + // In our bodyBackground.html iframe, + // display for all div elements is set to "inline", + // which causes a problem only in Android 8 Chrome 86. + // Ensuring the div is display: block + // gets around this issue. + trChild.style.display = "block"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + + parseInt( trStyle.borderTopWidth, 10 ) + + parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml, parserErrorElem; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) {} + + parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; + if ( !xml || parserErrorElem ) { + jQuery.error( "Invalid XML: " + ( + parserErrorElem ? + jQuery.map( parserErrorElem.childNodes, function( el ) { + return el.textContent; + } ).join( "\n" ) : + data + ) ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ).filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ).map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + +originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script but not if jsonp + if ( !isSuccess && + jQuery.inArray( "script", s.dataTypes ) > -1 && + jQuery.inArray( "json", s.dataTypes ) < 0 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + +
+
    +
  • +

    您好同学,欢迎您的咨询 >

    +
    + 您好同学,欢迎您的咨询!百战程序员始终以实战化教学为理念, + 以能真实胜任企业开发需求为教学标准,秉承着让人人享有品质教育的美好愿景, + 专注于互联网在线教育。目前java,python,web前端,人工智能,大数据, + 架构,测试,微服务架构等全系列就业班火热报名中,惊喜多多! +
    +
  • +
  • +

    您好同学,欢迎您的咨询 >

    +
    + 您好同学,欢迎您的咨询!百战程序员始终以实战化教学为理念, + 以能真实胜任企业开发需求为教学标准,秉承着让人人享有品质教育的美好愿景, + 专注于互联网在线教育。目前java,python,web前端,人工智能,大数据, + 架构,测试,微服务架构等全系列就业班火热报名中,惊喜多多! +
    +
  • +
  • +

    您好同学,欢迎您的咨询 >

    +
    + 您好同学,欢迎您的咨询!百战程序员始终以实战化教学为理念, + 以能真实胜任企业开发需求为教学标准,秉承着让人人享有品质教育的美好愿景, + 专注于互联网在线教育。目前java,python,web前端,人工智能,大数据, + 架构,测试,微服务架构等全系列就业班火热报名中,惊喜多多! +
    +
  • +
+
+ + + + + + diff --git "a/jQuery/4_\346\212\230\345\217\240\351\235\242\346\235\277/js/jquery-3.6.0.js" "b/jQuery/4_\346\212\230\345\217\240\351\235\242\346\235\277/js/jquery-3.6.0.js" new file mode 100644 index 0000000000000000000000000000000000000000..fc6c299b73e792ef288e785c22393a5df9dded4b --- /dev/null +++ "b/jQuery/4_\346\212\230\345\217\240\351\235\242\346\235\277/js/jquery-3.6.0.js" @@ -0,0 +1,10881 @@ +/*! + * 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( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 + // Plus for old WebKit, typeof returns "function" for HTML collections + // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) + return typeof obj === "function" && typeof obj.nodeType !== "number" && + typeof obj.item !== "function"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.6.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), + function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); + } ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * 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( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem && elem.namespaceURI, + docElem = elem && ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +} +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the primary Deferred + primary = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + primary.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( primary.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return primary.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); + } + + return primary.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + + // Support: Chrome 86+ + // In Chrome, if an element having a focusout handler is blurred by + // clicking outside of it, it invokes the handler synchronously. If + // that handler calls `.remove()` on the element, the data is cleared, + // leaving `result` undefined. We need to guard against this. + return result && result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + which: true +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + // Suppress native focus or blur as it's already being fired + // in leverageNative. + _default: function() { + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + // + // Support: Firefox 70+ + // Only Firefox includes border widths + // in computed dimensions. (gh-4529) + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; + tr.style.cssText = "border:1px solid"; + + // Support: Chrome 86+ + // Height set through cssText does not get applied. + // Computed height then comes back as 0. + tr.style.height = "1px"; + trChild.style.height = "9px"; + + // Support: Android 8 Chrome 86+ + // In our bodyBackground.html iframe, + // display for all div elements is set to "inline", + // which causes a problem only in Android 8 Chrome 86. + // Ensuring the div is display: block + // gets around this issue. + trChild.style.display = "block"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + + parseInt( trStyle.borderTopWidth, 10 ) + + parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml, parserErrorElem; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) {} + + parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; + if ( !xml || parserErrorElem ) { + jQuery.error( "Invalid XML: " + ( + parserErrorElem ? + jQuery.map( parserErrorElem.childNodes, function( el ) { + return el.textContent; + } ).join( "\n" ) : + data + ) ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ).filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ).map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + +originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script but not if jsonp + if ( !isSuccess && + jQuery.inArray( "script", s.dataTypes ) > -1 && + jQuery.inArray( "json", s.dataTypes ) < 0 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + +
内容1
+
内容2
+
内容3
+
内容4
+
内容5
+
内容6
+ + + 回到顶部 + + + + + \ No newline at end of file diff --git "a/jQuery/5_\345\233\236\345\210\260\351\241\266\351\203\250/js/jquery-3.6.0.js" "b/jQuery/5_\345\233\236\345\210\260\351\241\266\351\203\250/js/jquery-3.6.0.js" new file mode 100644 index 0000000000000000000000000000000000000000..fc6c299b73e792ef288e785c22393a5df9dded4b --- /dev/null +++ "b/jQuery/5_\345\233\236\345\210\260\351\241\266\351\203\250/js/jquery-3.6.0.js" @@ -0,0 +1,10881 @@ +/*! + * 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( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 + // Plus for old WebKit, typeof returns "function" for HTML collections + // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) + return typeof obj === "function" && typeof obj.nodeType !== "number" && + typeof obj.item !== "function"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.6.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), + function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); + } ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * 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( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem && elem.namespaceURI, + docElem = elem && ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +} +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the primary Deferred + primary = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + primary.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( primary.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return primary.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); + } + + return primary.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + + // Support: Chrome 86+ + // In Chrome, if an element having a focusout handler is blurred by + // clicking outside of it, it invokes the handler synchronously. If + // that handler calls `.remove()` on the element, the data is cleared, + // leaving `result` undefined. We need to guard against this. + return result && result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + which: true +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + // Suppress native focus or blur as it's already being fired + // in leverageNative. + _default: function() { + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + // + // Support: Firefox 70+ + // Only Firefox includes border widths + // in computed dimensions. (gh-4529) + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; + tr.style.cssText = "border:1px solid"; + + // Support: Chrome 86+ + // Height set through cssText does not get applied. + // Computed height then comes back as 0. + tr.style.height = "1px"; + trChild.style.height = "9px"; + + // Support: Android 8 Chrome 86+ + // In our bodyBackground.html iframe, + // display for all div elements is set to "inline", + // which causes a problem only in Android 8 Chrome 86. + // Ensuring the div is display: block + // gets around this issue. + trChild.style.display = "block"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + + parseInt( trStyle.borderTopWidth, 10 ) + + parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml, parserErrorElem; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) {} + + parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; + if ( !xml || parserErrorElem ) { + jQuery.error( "Invalid XML: " + ( + parserErrorElem ? + jQuery.map( parserErrorElem.childNodes, function( el ) { + return el.textContent; + } ).join( "\n" ) : + data + ) ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ).filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ).map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + +originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script but not if jsonp + if ( !isSuccess && + jQuery.inArray( "script", s.dataTypes ) > -1 && + jQuery.inArray( "json", s.dataTypes ) < 0 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + + \ No newline at end of file diff --git "a/jQuery/6_Swiper\350\275\256\346\222\255\345\233\276/swiper-bundle.min.css" "b/jQuery/6_Swiper\350\275\256\346\222\255\345\233\276/swiper-bundle.min.css" new file mode 100644 index 0000000000000000000000000000000000000000..bad5dabf0d2892c8dccee3784c661d9aa05ed01b --- /dev/null +++ "b/jQuery/6_Swiper\350\275\256\346\222\255\345\233\276/swiper-bundle.min.css" @@ -0,0 +1,13 @@ +/** + * Swiper 7.4.1 + * Most modern mobile touch slider and framework with hardware accelerated transitions + * https://swiperjs.com + * + * Copyright 2014-2021 Vladimir Kharlampidi + * + * Released under the MIT License + * + * Released on: December 24, 2021 + */ + +@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center}.swiper-virtual.swiper-css-mode .swiper-wrapper::after{content:'';position:absolute;left:0;top:0;pointer-events:none}.swiper-virtual.swiper-css-mode.swiper-horizontal .swiper-wrapper::after{height:1px;width:var(--swiper-virtual-size)}.swiper-virtual.swiper-css-mode.swiper-vertical .swiper-wrapper::after{width:1px;height:var(--swiper-virtual-size)}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size)/ 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - (var(--swiper-navigation-size)/ 2));z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color,var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;text-transform:none;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:'prev'}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:'next'}.swiper-button-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translate3d(0,0,0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width,var(--swiper-pagination-bullet-size,8px));height:var(--swiper-pagination-bullet-height,var(--swiper-pagination-bullet-size,8px));display:inline-block;border-radius:50%;background:var(--swiper-pagination-bullet-inactive-color,#000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;-webkit-appearance:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color,var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0px,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap,6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap,4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color,var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-lock{display:none}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-horizontal>.swiper-scrollbar{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-vertical>.swiper-scrollbar{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-zoom-container{width:100%;height:100%;display:flex;justify-content:center;align-items:center;text-align:center}.swiper-zoom-container>canvas,.swiper-zoom-container>img,.swiper-zoom-container>svg{max-width:100%;max-height:100%;object-fit:contain}.swiper-slide-zoomed{cursor:move}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;animation:swiper-preloader-spin 1s infinite linear;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{100%{transform:rotate(360deg)}}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}.swiper-grid>.swiper-wrapper{flex-wrap:wrap}.swiper-grid-column>.swiper-wrapper{flex-wrap:wrap;flex-direction:column}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube{overflow:visible}.swiper-cube .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1;visibility:hidden;transform-origin:0 0;width:100%;height:100%}.swiper-cube .swiper-slide .swiper-slide{pointer-events:none}.swiper-cube.swiper-rtl .swiper-slide{transform-origin:100% 0}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-cube .swiper-slide-active,.swiper-cube .swiper-slide-next,.swiper-cube .swiper-slide-next+.swiper-slide,.swiper-cube .swiper-slide-prev{pointer-events:auto;visibility:visible}.swiper-cube .swiper-slide-shadow-bottom,.swiper-cube .swiper-slide-shadow-left,.swiper-cube .swiper-slide-shadow-right,.swiper-cube .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-cube .swiper-cube-shadow{position:absolute;left:0;bottom:0px;width:100%;height:100%;opacity:.6;z-index:0}.swiper-cube .swiper-cube-shadow:before{content:'';background:#000;position:absolute;left:0;top:0;bottom:0;right:0;filter:blur(50px)}.swiper-flip{overflow:visible}.swiper-flip .swiper-slide{pointer-events:none;-webkit-backface-visibility:hidden;backface-visibility:hidden;z-index:1}.swiper-flip .swiper-slide .swiper-slide{pointer-events:none}.swiper-flip .swiper-slide-active,.swiper-flip .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-flip .swiper-slide-shadow-bottom,.swiper-flip .swiper-slide-shadow-left,.swiper-flip .swiper-slide-shadow-right,.swiper-flip .swiper-slide-shadow-top{z-index:0;-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-creative .swiper-slide{-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden;transition-property:transform,opacity,height}.swiper-cards{overflow:visible}.swiper-cards .swiper-slide{transform-origin:center bottom;-webkit-backface-visibility:hidden;backface-visibility:hidden;overflow:hidden} \ No newline at end of file diff --git "a/jQuery/6_Swiper\350\275\256\346\222\255\345\233\276/swiper-bundle.min.js" "b/jQuery/6_Swiper\350\275\256\346\222\255\345\233\276/swiper-bundle.min.js" new file mode 100644 index 0000000000000000000000000000000000000000..baf133d674c7176309df2d2ec6c81dd1d3b7c4f8 --- /dev/null +++ "b/jQuery/6_Swiper\350\275\256\346\222\255\345\233\276/swiper-bundle.min.js" @@ -0,0 +1,14 @@ +/** + * Swiper 7.4.1 + * Most modern mobile touch slider and framework with hardware accelerated transitions + * https://swiperjs.com + * + * Copyright 2014-2021 Vladimir Kharlampidi + * + * Released under the MIT License + * + * Released on: December 24, 2021 + */ + +!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Swiper=t()}(this,(function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s={},a={}){Object.keys(a).forEach((i=>{void 0===s[i]?s[i]=a[i]:e(a[i])&&e(s[i])&&Object.keys(a[i]).length>0&&t(s[i],a[i])}))}const s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return t(e,s),e}const i={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function r(){const e="undefined"!=typeof window?window:{};return t(e,i),e}class n extends Array{constructor(e){super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this)}}function l(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...l(e)):t.push(e)})),t}function o(e,t){return Array.prototype.filter.call(e,t)}function d(e,t){const s=r(),i=a();let l=[];if(!t&&e instanceof n)return e;if(!e)return new n(l);if("string"==typeof e){const s=e.trim();if(s.indexOf("<")>=0&&s.indexOf(">")>=0){let e="div";0===s.indexOf("e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=l(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=l(e.map((e=>e.split(" "))));return o(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=l(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}))},attr:function(e,t){if(1===arguments.length&&"string"==typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let s=0;s=0;e-=1){const s=n[e];a&&s.listener===a||a&&s.listener&&s.listener.dom7proxy&&s.listener.dom7proxy===a?(r.removeEventListener(t,s.proxyListener,i),n.splice(e,1)):a||(r.removeEventListener(t,s.proxyListener,i),n.splice(e,1))}}}return this},trigger:function(...e){const t=r(),s=e[0].split(" "),a=e[1];for(let i=0;it>0)),i.dispatchEvent(s),i.dom7EventData=[],delete i.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function s(a){a.target===this&&(e.call(this,a),t.off("transitionend",s))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=r();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=r(),t=a(),s=this[0],i=s.getBoundingClientRect(),n=t.body,l=s.clientTop||n.clientTop||0,o=s.clientLeft||n.clientLeft||0,d=s===e?e.scrollY:s.scrollTop,p=s===e?e.scrollX:s.scrollLeft;return{top:i.top+d-l,left:i.left+p-o}}return null},css:function(e,t){const s=r();let a;if(1===arguments.length){if("string"!=typeof e){for(a=0;a{e.apply(t,[t,s])})),this):this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:null;for(let t=0;tt-1)return d([]);if(e<0){const s=t+e;return d(s<0?[]:[this[s]])}return d([this[e]])},append:function(...e){let t;const s=a();for(let a=0;a=0;i-=1)this[s].insertBefore(a.childNodes[i],this[s].childNodes[0])}else if(e instanceof n)for(i=0;i0?e?this[0].nextElementSibling&&d(this[0].nextElementSibling).is(e)?d([this[0].nextElementSibling]):d([]):this[0].nextElementSibling?d([this[0].nextElementSibling]):d([]):d([])},nextAll:function(e){const t=[];let s=this[0];if(!s)return d([]);for(;s.nextElementSibling;){const a=s.nextElementSibling;e?d(a).is(e)&&t.push(a):t.push(a),s=a}return d(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&d(t.previousElementSibling).is(e)?d([t.previousElementSibling]):d([]):t.previousElementSibling?d([t.previousElementSibling]):d([])}return d([])},prevAll:function(e){const t=[];let s=this[0];if(!s)return d([]);for(;s.previousElementSibling;){const a=s.previousElementSibling;e?d(a).is(e)&&t.push(a):t.push(a),s=a}return d(t)},parent:function(e){const t=[];for(let s=0;s6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),n=new s.WebKitCSSMatrix("none"===i?"":i)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=n.toString().split(",")),"x"===t&&(i=s.WebKitCSSMatrix?n.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=s.WebKitCSSMatrix?n.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0}function m(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function f(...e){const t=Object(e[0]),s=["__proto__","constructor","prototype"];for(let i=1;is.indexOf(e)<0));for(let s=0,a=e.length;si?"next":"prev",p=(e,t)=>"next"===d&&e>=t||"prev"===d&&e<=t,c=()=>{n=(new Date).getTime(),null===l&&(l=n);const r=Math.max(Math.min((n-l)/o,1),0),d=.5-Math.cos(r*Math.PI)/2;let u=i+d*(t-i);if(p(u,t)&&(u=t),e.wrapperEl.scrollTo({[s]:u}),p(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:u})})),void a.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=a.requestAnimationFrame(c)};c()}let w,b,x;function y(){return w||(w=function(){const e=r(),t=a();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const s=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,s)}catch(e){}return t}(),gestures:"ongesturestart"in e}}()),w}function E(e={}){return b||(b=function({userAgent:e}={}){const t=y(),s=r(),a=s.navigator.platform,i=e||s.navigator.userAgent,n={ios:!1,android:!1},l=s.screen.width,o=s.screen.height,d=i.match(/(Android);?[\s\/]+([\d.]+)?/);let p=i.match(/(iPad).*OS\s([\d_]+)/);const c=i.match(/(iPod)(.*OS\s([\d_]+))?/),u=!p&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),h="Win32"===a;let m="MacIntel"===a;return!p&&m&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${o}`)>=0&&(p=i.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),m=!1),d&&!h&&(n.os="android",n.android=!0),(p||u||c)&&(n.os="ios",n.ios=!0),n}(e)),b}function T(){return x||(x=function(){const e=r();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),x}Object.keys(p).forEach((e=>{Object.defineProperty(d.fn,e,{value:p[e],writable:!0})}));var C={on(e,t,s){const a=this;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach((e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)})),a},once(e,t,s){const a=this;if("function"!=typeof t)return a;function i(...s){a.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(a,s)}return i.__emitterProxy=t,a.on(e,i,s)},onAny(e,t){const s=this;if("function"!=typeof e)return s;const a=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[a](e),s},offAny(e){const t=this;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return s.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach(((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)}))})),s):s},emit(...e){const t=this;if(!t.eventsListeners)return t;let s,a,i;"string"==typeof e[0]||Array.isArray(e[0])?(s=e[0],a=e.slice(1,e.length),i=t):(s=e[0].events,a=e[0].data,i=e[0].context||t),a.unshift(i);return(Array.isArray(s)?s:s.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(i,[e,...a])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(i,a)}))})),t}};function $({swiper:e,runCallbacks:t,direction:s,step:a}){const{activeIndex:i,previousIndex:r}=e;let n=s;if(n||(n=i>r?"next":i0)return;if(n.isTouched&&n.isMoved)return;!!l.noSwipingClass&&""!==l.noSwipingClass&&c.target&&c.target.shadowRoot&&e.path&&e.path[0]&&(h=d(e.path[0]));const m=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,f=!(!c.target||!c.target.shadowRoot);if(l.noSwiping&&(f?function(e,t=this){return function t(s){return s&&s!==a()&&s!==r()?(s.assignedSlot&&(s=s.assignedSlot),s.closest(e)||t(s.getRootNode().host)):null}(t)}(m,c.target):h.closest(m)[0]))return void(t.allowClick=!0);if(l.swipeHandler&&!h.closest(l.swipeHandler)[0])return;o.currentX="touchstart"===c.type?c.targetTouches[0].pageX:c.pageX,o.currentY="touchstart"===c.type?c.targetTouches[0].pageY:c.pageY;const g=o.currentX,v=o.currentY,w=l.edgeSwipeDetection||l.iOSEdgeSwipeDetection,b=l.edgeSwipeThreshold||l.iOSEdgeSwipeThreshold;if(w&&(g<=b||g>=i.innerWidth-b)){if("prevent"!==w)return;e.preventDefault()}if(Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),o.startX=g,o.startY=v,n.touchStartTime=u(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(n.allowThresholdMove=!1),"touchstart"!==c.type){let e=!0;h.is(n.focusableElements)&&(e=!1),s.activeElement&&d(s.activeElement).is(n.focusableElements)&&s.activeElement!==h[0]&&s.activeElement.blur();const a=e&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!a||h[0].isContentEditable||c.preventDefault()}t.emit("touchStart",c)}function M(e){const t=a(),s=this,i=s.touchEventsData,{params:r,touches:n,rtlTranslate:l,enabled:o}=s;if(!o)return;let p=e;if(p.originalEvent&&(p=p.originalEvent),!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",p));if(i.isTouchEvent&&"touchmove"!==p.type)return;const c="touchmove"===p.type&&p.targetTouches&&(p.targetTouches[0]||p.changedTouches[0]),h="touchmove"===p.type?c.pageX:p.pageX,m="touchmove"===p.type?c.pageY:p.pageY;if(p.preventedByNestedSwiper)return n.startX=h,void(n.startY=m);if(!s.allowTouchMove)return s.allowClick=!1,void(i.isTouched&&(Object.assign(n,{startX:h,startY:m,currentX:h,currentY:m}),i.touchStartTime=u()));if(i.isTouchEvent&&r.touchReleaseOnEdges&&!r.loop)if(s.isVertical()){if(mn.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(hn.startX&&s.translate>=s.minTranslate())return;if(i.isTouchEvent&&t.activeElement&&p.target===t.activeElement&&d(p.target).is(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);if(i.allowTouchCallbacks&&s.emit("touchMove",p),p.targetTouches&&p.targetTouches.length>1)return;n.currentX=h,n.currentY=m;const f=n.currentX-n.startX,g=n.currentY-n.startY;if(s.params.threshold&&Math.sqrt(f**2+g**2)=25&&(e=180*Math.atan2(Math.abs(g),Math.abs(f))/Math.PI,i.isScrolling=s.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",p),void 0===i.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(i.startMoving=!0)),i.isScrolling)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!r.cssMode&&p.cancelable&&p.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&p.stopPropagation(),i.isMoved||(r.loop&&!r.cssMode&&s.loopFix(),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating&&s.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!r.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)),s.emit("sliderMove",p),i.isMoved=!0;let v=s.isHorizontal()?f:g;n.diff=v,v*=r.touchRatio,l&&(v=-v),s.swipeDirection=v>0?"prev":"next",i.currentTranslate=v+i.startTranslate;let w=!0,b=r.resistanceRatio;if(r.touchReleaseOnEdges&&(b=0),v>0&&i.currentTranslate>s.minTranslate()?(w=!1,r.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+v)**b)):v<0&&i.currentTranslatei.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(v)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,void(n.diff=s.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&s.freeMode||r.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),s.params.freeMode&&r.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function P(e){const t=this,s=t.touchEventsData,{params:a,touches:i,rtlTranslate:r,slidesGrid:n,enabled:l}=t;if(!l)return;let o=e;if(o.originalEvent&&(o=o.originalEvent),s.allowTouchCallbacks&&t.emit("touchEnd",o),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&a.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);a.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const d=u(),p=d-s.touchStartTime;if(t.allowClick){const e=o.path||o.composedPath&&o.composedPath();t.updateClickedSlide(e&&e[0]||o.target),t.emit("tap click",o),p<300&&d-s.lastClickTime<300&&t.emit("doubleTap doubleClick",o)}if(s.lastClickTime=u(),c((()=>{t.destroyed||(t.allowClick=!0)})),!s.isTouched||!s.isMoved||!t.swipeDirection||0===i.diff||s.currentTranslate===s.startTranslate)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let h;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,h=a.followFinger?r?t.translate:-t.translate:-s.currentTranslate,a.cssMode)return;if(t.params.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});let m=0,f=t.slidesSizesGrid[0];for(let e=0;e=n[e]&&h=n[e]&&(m=e,f=n[n.length-1]-n[n.length-2])}const g=(h-n[m])/f,v=ma.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(g>=a.longSwipesRatio?t.slideTo(m+v):t.slideTo(m)),"prev"===t.swipeDirection&&(g>1-a.longSwipesRatio?t.slideTo(m+v):t.slideTo(m))}else{if(!a.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(o.target===t.navigation.nextEl||o.target===t.navigation.prevEl)?o.target===t.navigation.nextEl?t.slideTo(m+v):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(m+v),"prev"===t.swipeDirection&&t.slideTo(m))}}function k(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function z(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function O(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;if(!a)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,-0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();i=0===r?0:(e.translate-e.minTranslate())/r,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let I=!1;function L(){}const A=(e,t)=>{const s=a(),{params:i,touchEvents:r,el:n,wrapperEl:l,device:o,support:d}=e,p=!!i.nested,c="on"===t?"addEventListener":"removeEventListener",u=t;if(d.touch){const t=!("touchstart"!==r.start||!d.passiveListener||!i.passiveListeners)&&{passive:!0,capture:!1};n[c](r.start,e.onTouchStart,t),n[c](r.move,e.onTouchMove,d.passiveListener?{passive:!1,capture:p}:p),n[c](r.end,e.onTouchEnd,t),r.cancel&&n[c](r.cancel,e.onTouchEnd,t)}else n[c](r.start,e.onTouchStart,!1),s[c](r.move,e.onTouchMove,p),s[c](r.end,e.onTouchEnd,!1);(i.preventClicks||i.preventClicksPropagation)&&n[c]("click",e.onClick,!0),i.cssMode&&l[c]("scroll",e.onScroll),i.updateOnWindowResize?e[u](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",k,!0):e[u]("observerUpdate",k,!0)};const D=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var G={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function N(e,t){return function(s={}){const a=Object.keys(s)[0],i=s[a];"object"==typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(a)>=0&&!0===e[a]&&(e[a]={auto:!0}),a in e&&"enabled"in i?(!0===e[a]&&(e[a]={enabled:!0}),"object"!=typeof e[a]||"enabled"in e[a]||(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),f(t,s)):f(t,s)):f(t,s)}}const B={eventsEmitter:C,update:{updateSize:function(){const e=this;let t,s;const a=e.$el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a[0].clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a[0].clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(a.css("padding-left")||0,10)-parseInt(a.css("padding-right")||0,10),s=s-parseInt(a.css("padding-top")||0,10)-parseInt(a.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function s(e,s){return parseFloat(e.getPropertyValue(t(s))||0)}const a=e.params,{$wrapperEl:i,size:r,rtlTranslate:n,wrongRTL:l}=e,o=e.virtual&&a.virtual.enabled,d=o?e.virtual.slides.length:e.slides.length,p=i.children(`.${e.params.slideClass}`),c=o?e.virtual.slides.length:p.length;let u=[];const h=[],m=[];let f=a.slidesOffsetBefore;"function"==typeof f&&(f=a.slidesOffsetBefore.call(e));let v=a.slidesOffsetAfter;"function"==typeof v&&(v=a.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length;let x=a.spaceBetween,y=-f,E=0,T=0;if(void 0===r)return;"string"==typeof x&&x.indexOf("%")>=0&&(x=parseFloat(x.replace("%",""))/100*r),e.virtualSize=-x,n?p.css({marginLeft:"",marginBottom:"",marginTop:""}):p.css({marginRight:"",marginBottom:"",marginTop:""}),a.centeredSlides&&a.cssMode&&(g(e.wrapperEl,"--swiper-centered-offset-before",""),g(e.wrapperEl,"--swiper-centered-offset-after",""));const C=a.grid&&a.grid.rows>1&&e.grid;let $;C&&e.grid.initSlides(c);const S="auto"===a.slidesPerView&&a.breakpoints&&Object.keys(a.breakpoints).filter((e=>void 0!==a.breakpoints[e].slidesPerView)).length>0;for(let i=0;i1&&u.push(e.virtualSize-r)}if(0===u.length&&(u=[0]),0!==a.spaceBetween){const s=e.isHorizontal()&&n?"marginLeft":t("marginRight");p.filter(((e,t)=>!a.cssMode||t!==p.length-1)).css({[s]:`${x}px`})}if(a.centeredSlides&&a.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween;const t=e-r;u=u.map((e=>e<0?-f:e>t?t+v:e))}if(a.centerInsufficientSlides){let e=0;if(m.forEach((t=>{e+=t+(a.spaceBetween?a.spaceBetween:0)})),e-=a.spaceBetween,e{u[s]=e-t})),h.forEach(((e,s)=>{h[s]=e+t}))}}if(Object.assign(e,{slides:p,snapGrid:u,slidesGrid:h,slidesSizesGrid:m}),a.centeredSlides&&a.cssMode&&!a.centeredSlidesBounds){g(e.wrapperEl,"--swiper-centered-offset-before",-u[0]+"px"),g(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-m[m.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+s))}c!==d&&e.emit("slidesLengthChange"),u.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==b&&e.emit("slidesGridLengthChange"),a.watchSlidesProgress&&e.updateSlidesOffset()},updateAutoHeight:function(e){const t=this,s=[],a=t.virtual&&t.params.virtual.enabled;let i,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const n=e=>a?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)t.visibleSlides.each((e=>{s.push(e)}));else for(i=0;it.slides.length&&!a)break;s.push(n(e))}else s.push(n(t.activeIndex));for(i=0;ir?e:r}(r||0===r)&&t.$wrapperEl.css("height",`${r}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let s=0;s=0&&c1&&u<=t.size||c<=0&&u>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),a.eq(e).addClass(s.slideVisibleClass)),l.progress=i?-d:d,l.originalProgress=i?-p:p}t.visibleSlides=d(t.visibleSlides)},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:n}=t;const l=r,o=n;0===a?(i=0,r=!0,n=!0):(i=(e-t.minTranslate())/a,r=i<=0,n=i>=1),Object.assign(t,{progress:i,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!l&&t.emit("reachBeginning toEdge"),n&&!o&&t.emit("reachEnd toEdge"),(l&&!r||o&&!n)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,$wrapperEl:a,activeIndex:i,realIndex:r}=e,n=e.virtual&&s.virtual.enabled;let l;t.removeClass(`${s.slideActiveClass} ${s.slideNextClass} ${s.slidePrevClass} ${s.slideDuplicateActiveClass} ${s.slideDuplicateNextClass} ${s.slideDuplicatePrevClass}`),l=n?e.$wrapperEl.find(`.${s.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),l.addClass(s.slideActiveClass),s.loop&&(l.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${r}"]`).addClass(s.slideDuplicateActiveClass));let o=l.nextAll(`.${s.slideClass}`).eq(0).addClass(s.slideNextClass);s.loop&&0===o.length&&(o=t.eq(0),o.addClass(s.slideNextClass));let d=l.prevAll(`.${s.slideClass}`).eq(0).addClass(s.slidePrevClass);s.loop&&0===d.length&&(d=t.eq(-1),d.addClass(s.slidePrevClass)),s.loop&&(o.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${o.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicateNextClass),d.hasClass(s.slideDuplicateClass)?a.children(`.${s.slideClass}:not(.${s.slideDuplicateClass})[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass):a.children(`.${s.slideClass}.${s.slideDuplicateClass}[data-swiper-slide-index="${d.attr("data-swiper-slide-index")}"]`).addClass(s.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:a,snapGrid:i,params:r,activeIndex:n,realIndex:l,snapIndex:o}=t;let d,p=e;if(void 0===p){for(let e=0;e=a[e]&&s=a[e]&&s=a[e]&&(p=e);r.normalizeSlideIndex&&(p<0||void 0===p)&&(p=0)}if(i.indexOf(s)>=0)d=i.indexOf(s);else{const e=Math.min(r.slidesPerGroupSkip,p);d=e+Math.floor((p-e)/r.slidesPerGroup)}if(d>=i.length&&(d=i.length-1),p===n)return void(d!==o&&(t.snapIndex=d,t.emit("snapIndexChange")));const c=parseInt(t.slides.eq(p).attr("data-swiper-slide-index")||p,10);Object.assign(t,{snapIndex:d,realIndex:c,previousIndex:n,activeIndex:p}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),l!==c&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,s=t.params,a=d(e).closest(`.${s.slideClass}`)[0];let i,r=!1;if(a)for(let e=0;eo?o:a&&e=o.length&&(g=o.length-1),(c||l.initialSlide||0)===(p||0)&&s&&r.emit("beforeSlideChangeStart");const w=-o[g];if(r.updateProgress(w),l.normalizeSlideIndex)for(let e=0;e=s&&t=s&&t=s&&(n=e)}if(r.initialized&&n!==c){if(!r.allowSlideNext&&wr.translate&&w>r.maxTranslate()&&(c||0)!==n)return!1}let b;if(b=n>c?"next":n{r.wrapperEl.style.scrollSnapType="",r._swiperImmediateVirtual=!1}))}else{if(!r.support.smoothScroll)return v({swiper:r,targetPosition:s,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}return r.setTransition(t),r.setTranslate(w),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,a),r.transitionStart(s,b),0===t?r.transitionEnd(s,b):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.$wrapperEl[0].removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].removeEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,b))}),r.$wrapperEl[0].addEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.$wrapperEl[0].addEventListener("webkitTransitionEnd",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,s=!0,a){const i=this;let r=e;return i.params.loop&&(r+=i.loopedSlides),i.slideTo(r,t,s,a)},slideNext:function(e=this.params.speed,t=!0,s){const a=this,{animating:i,enabled:r,params:n}=a;if(!r)return a;let l=n.slidesPerGroup;"auto"===n.slidesPerView&&1===n.slidesPerGroup&&n.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndexp(e)));let h=n[u.indexOf(c)-1];if(void 0===h&&i.cssMode){let e;n.forEach(((t,s)=>{c>=t&&(e=s)})),void 0!==e&&(h=n[e>0?e-1:e])}let m=0;return void 0!==h&&(m=l.indexOf(h),m<0&&(m=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-a.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&a.isBeginning?a.slideTo(a.slides.length-1,e,t,s):a.slideTo(m,e,t,s)},slideReset:function(e=this.params.speed,t=!0,s){return this.slideTo(this.activeIndex,e,t,s)},slideToClosest:function(e=this.params.speed,t=!0,s,a=.5){const i=this;let r=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(r+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(r-=i.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:s}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,r=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(d(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?re.slides.length-e.loopedSlides+a/2?(e.loopFix(),r=s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),c((()=>{e.slideTo(r)}))):e.slideTo(r):r>e.slides.length-a?(e.loopFix(),r=s.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),c((()=>{e.slideTo(r)}))):e.slideTo(r)}else e.slideTo(r)}},loop:{loopCreate:function(){const e=this,t=a(),{params:s,$wrapperEl:i}=e,r=i.children().length>0?d(i.children()[0].parentNode):i;r.children(`.${s.slideClass}.${s.slideDuplicateClass}`).remove();let n=r.children(`.${s.slideClass}`);if(s.loopFillGroupWithBlank){const e=s.slidesPerGroup-n.length%s.slidesPerGroup;if(e!==s.slidesPerGroup){for(let a=0;an.length&&(e.loopedSlides=n.length);const l=[],o=[];n.each(((t,s)=>{const a=d(t);s=n.length-e.loopedSlides&&l.push(t),a.attr("data-swiper-slide-index",s)}));for(let e=0;e=0;e-=1)r.prepend(d(l[e].cloneNode(!0)).addClass(s.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:s,loopedSlides:a,allowSlidePrev:i,allowSlideNext:r,snapGrid:n,rtlTranslate:l}=e;let o;e.allowSlidePrev=!0,e.allowSlideNext=!0;const d=-n[t]-e.getTranslate();if(t=s.length-a){o=-s.length+t+a,o+=a;e.slideTo(o,0,!1,!0)&&0!==d&&e.setTranslate((l?-e.translate:e.translate)-d)}e.allowSlidePrev=i,e.allowSlideNext=r,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:s}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),s.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;s.style.cursor="move",s.style.cursor=e?"-webkit-grabbing":"-webkit-grab",s.style.cursor=e?"-moz-grabbin":"-moz-grab",s.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function(){const e=this,t=a(),{params:s,support:i}=e;e.onTouchStart=S.bind(e),e.onTouchMove=M.bind(e),e.onTouchEnd=P.bind(e),s.cssMode&&(e.onScroll=O.bind(e)),e.onClick=z.bind(e),i.touch&&!I&&(t.addEventListener("touchstart",L),I=!0),A(e,"on")},detachEvents:function(){A(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{activeIndex:t,initialized:s,loopedSlides:a=0,params:i,$el:r}=e,n=i.breakpoints;if(!n||n&&0===Object.keys(n).length)return;const l=e.getBreakpoint(n,e.params.breakpointsBase,e.el);if(!l||e.currentBreakpoint===l)return;const o=(l in n?n[l]:void 0)||e.originalParams,d=D(e,i),p=D(e,o),c=i.enabled;d&&!p?(r.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&p&&(r.addClass(`${i.containerModifierClass}grid`),(o.grid.fill&&"column"===o.grid.fill||!o.grid.fill&&"column"===i.grid.fill)&&r.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses());const u=o.direction&&o.direction!==i.direction,h=i.loop&&(o.slidesPerView!==i.slidesPerView||u);u&&s&&e.changeDirection(),f(e.params,o);const m=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),c&&!m?e.disable():!c&&m&&e.enable(),e.currentBreakpoint=l,e.emit("_beforeBreakpoint",o),h&&s&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-a+e.loopedSlides,0,!1)),e.emit("breakpoint",o)},getBreakpoint:function(e,t="window",s){if(!e||"container"===t&&!s)return;let a=!1;const i=r(),n="window"===t?i.innerHeight:s.clientHeight,l=Object.keys(e).map((e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}}));l.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let e=0;es}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:s,rtl:a,$el:i,device:r,support:n}=e,l=function(e,t){const s=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((a=>{e[a]&&s.push(t+a)})):"string"==typeof e&&s.push(t+e)})),s}(["initialized",s.direction,{"pointer-events":!n.touch},{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides}],s.containerModifierClass);t.push(...l),i.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,s,a,i,n){const l=r();let o;function p(){n&&n()}d(e).parent("picture")[0]||e.complete&&i?p():t?(o=new l.Image,o.onload=p,o.onerror=p,a&&(o.sizes=a),s&&(o.srcset=s),t&&(o.src=t)):p()},preloadImages:function(){const e=this;function t(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let s=0;s1){const e=[];return d(s.el).each((t=>{const a=f({},s,{el:t});e.push(new H(a))})),e}const a=this;a.__swiper__=!0,a.support=y(),a.device=E({userAgent:s.userAgent}),a.browser=T(),a.eventsListeners={},a.eventsAnyListeners=[],a.modules=[...a.__modules__],s.modules&&Array.isArray(s.modules)&&a.modules.push(...s.modules);const i={};a.modules.forEach((e=>{e({swiper:a,extendParams:N(s,i),on:a.on.bind(a),once:a.once.bind(a),off:a.off.bind(a),emit:a.emit.bind(a)})}));const r=f({},G,i);return a.params=f({},r,X,s),a.originalParams=f({},a.params),a.passedParams=f({},s),a.params&&a.params.on&&Object.keys(a.params.on).forEach((e=>{a.on(e,a.params.on[e])})),a.params&&a.params.onAny&&a.onAny(a.params.onAny),a.$=d,Object.assign(a,{enabled:a.params.enabled,el:t,classNames:[],slides:d(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===a.params.direction,isVertical:()=>"vertical"===a.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:a.params.allowSlideNext,allowSlidePrev:a.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return a.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},a.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},a.support.touch||!a.params.simulateTouch?a.touchEventsTouch:a.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:a.params.focusableElements,lastClickTime:u(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:a.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),a.emit("_swiper"),a.params.init&&a.init(),a}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if(s.centeredSlides){let e,t=a[l].swiperSlideSize;for(let s=l+1;sn&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e=0;e-=1){i[l]-i[e]1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||a()),s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.$el.removeClass(`${s.params.containerModifierClass}${a}`).addClass(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),s.emit("changeDirection"),t&&s.update()),s}mount(e){const t=this;if(t.mounted)return!0;const s=d(e||t.params.el);if(!(e=s[0]))return!1;e.swiper=t;const i=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let r=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=d(e.shadowRoot.querySelector(i()));return t.children=e=>s.children(e),t}return s.children(i())})();if(0===r.length&&t.params.createElements){const e=a().createElement("div");r=d(e),e.className=t.params.wrapperClass,s.append(e),s.children(`.${t.params.slideClass}`).each((e=>{r.append(e)}))}return Object.assign(t,{$el:s,el:e,$wrapperEl:r,wrapperEl:r[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===s.css("direction")),wrongRTL:"-webkit-box"===r.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const s=this,{params:a,$el:i,$wrapperEl:r,slides:n}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i.removeAttr("style"),r.removeAttr("style"),n&&n.length&&n.removeClass([a.slideVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),s.emit("destroy"),Object.keys(s.eventsListeners).forEach((e=>{s.off(e)})),!1!==e&&(s.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(s)),s.destroyed=!0),null}static extendDefaults(e){f(X,e)}static get extendedDefaults(){return X}static get defaults(){return G}static installModule(e){H.prototype.__modules__||(H.prototype.__modules__=[]);const t=H.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>H.installModule(e))),H):(H.installModule(e),H)}}function Y(e,t,s,i){const r=a();return e.params.createElements&&Object.keys(i).forEach((a=>{if(!s[a]&&!0===s.auto){let n=e.$el.children(`.${i[a]}`)[0];n||(n=r.createElement("div"),n.className=i[a],e.$el.append(n)),s[a]=n,t[a]=n}})),s}function W(e=""){return`.${e.trim().replace(/([\.:!\/])/g,"\\$1").replace(/ /g,".")}`}function R(e){const t=this,{$wrapperEl:s,params:a}=t;if(a.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(let t=0;t=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides.eq(t);e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;ee?n+t.length:n}else a.append(t);for(let e=0;e{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)})),a("setTranslate",(()=>{s.params.effect===t&&i()})),a("setTransition",((e,a)=>{s.params.effect===t&&r(a)}))}function U(e,t){return e.transformEl?t.find(e.transformEl).css({"backface-visibility":"hidden","-webkit-backface-visibility":"hidden"}):t}function K({swiper:e,duration:t,transformEl:s,allSlides:a}){const{slides:i,activeIndex:r,$wrapperEl:n}=e;if(e.params.virtualTranslate&&0!==t){let t,l=!1;t=a?s?i.find(s):i:s?i.eq(r).find(s):i.eq(r),t.transitionEnd((()=>{if(l)return;if(!e||e.destroyed)return;l=!0,e.animating=!1;const t=["webkitTransitionEnd","transitionend"];for(let e=0;e`),i.append(r)),r}Object.keys(B).forEach((e=>{Object.keys(B[e]).forEach((t=>{H.prototype[t]=B[e][t]}))})),H.use([function({swiper:e,on:t,emit:s}){const a=r();let i=null;const n=()=>{e&&!e.destroyed&&e.initialized&&(s("beforeResize"),s("resize"))},l=()=>{e&&!e.destroyed&&e.initialized&&s("orientationchange")};t("init",(()=>{e.params.resizeObserver&&void 0!==a.ResizeObserver?e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver((t=>{const{width:s,height:a}=e;let i=s,r=a;t.forEach((({contentBoxSize:t,contentRect:s,target:a})=>{a&&a!==e.el||(i=s?s.width:(t[0]||t).inlineSize,r=s?s.height:(t[0]||t).blockSize)})),i===s&&r===a||n()})),i.observe(e.el)):(a.addEventListener("resize",n),a.addEventListener("orientationchange",l))})),t("destroy",(()=>{i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null),a.removeEventListener("resize",n),a.removeEventListener("orientationchange",l)}))},function({swiper:e,extendParams:t,on:s,emit:a}){const i=[],n=r(),l=(e,t={})=>{const s=new(n.MutationObserver||n.WebkitMutationObserver)((e=>{if(1===e.length)return void a("observerUpdate",e[0]);const t=function(){a("observerUpdate",e[0])};n.requestAnimationFrame?n.requestAnimationFrame(t):n.setTimeout(t,0)}));s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.push(s)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e{i.forEach((e=>{e.disconnect()})),i.splice(0,i.length)}))}]);const J=[function({swiper:e,extendParams:t,on:s}){let a;function i(t,s){const a=e.params.virtual;if(a.cache&&e.virtual.cache[s])return e.virtual.cache[s];const i=a.renderSlide?d(a.renderSlide.call(e,t,s)):d(`
${t}
`);return i.attr("data-swiper-slide-index")||i.attr("data-swiper-slide-index",s),a.cache&&(e.virtual.cache[s]=i),i}function r(t){const{slidesPerView:s,slidesPerGroup:a,centeredSlides:r}=e.params,{addSlidesBefore:n,addSlidesAfter:l}=e.params.virtual,{from:o,to:d,slides:p,slidesGrid:c,offset:u}=e.virtual;e.params.cssMode||e.updateActiveIndex();const h=e.activeIndex||0;let m,f,g;m=e.rtlTranslate?"right":e.isHorizontal()?"left":"top",r?(f=Math.floor(s/2)+a+l,g=Math.floor(s/2)+a+n):(f=s+(a-1)+l,g=a+n);const v=Math.max((h||0)-g,0),w=Math.min((h||0)+f,p.length-1),b=(e.slidesGrid[v]||0)-(e.slidesGrid[0]||0);function x(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.lazy&&e.params.lazy.enabled&&e.lazy.load()}if(Object.assign(e.virtual,{from:v,to:w,offset:b,slidesGrid:e.slidesGrid}),o===v&&d===w&&!t)return e.slidesGrid!==c&&b!==u&&e.slides.css(m,`${b}px`),void e.updateProgress();if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:b,from:v,to:w,slides:function(){const e=[];for(let t=v;t<=w;t+=1)e.push(p[t]);return e}()}),void(e.params.virtual.renderExternalUpdate&&x());const y=[],E=[];if(t)e.$wrapperEl.find(`.${e.params.slideClass}`).remove();else for(let t=o;t<=d;t+=1)(tw)&&e.$wrapperEl.find(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`).remove();for(let e=0;e=v&&e<=w&&(void 0===d||t?E.push(e):(e>d&&E.push(e),e{e.$wrapperEl.append(i(p[t],t))})),y.sort(((e,t)=>t-e)).forEach((t=>{e.$wrapperEl.prepend(i(p[t],t))})),e.$wrapperEl.children(".swiper-slide").css(m,`${b}px`),x()}t({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}}),e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]},s("beforeInit",(()=>{e.params.virtual.enabled&&(e.virtual.slides=e.params.virtual.slides,e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,e.params.initialSlide||r())})),s("setTranslate",(()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(a),a=setTimeout((()=>{r()}),100)):r())})),s("init update resize",(()=>{e.params.virtual.enabled&&e.params.cssMode&&g(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)})),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let s=0;s{const a=t[e],r=a.attr("data-swiper-slide-index");r&&a.attr("data-swiper-slide-index",parseInt(r,10)+i),s[parseInt(e,10)+i]=a})),e.virtual.cache=s}r(!0),e.slideTo(a,0)},removeSlide:function(t){if(null==t)return;let s=e.activeIndex;if(Array.isArray(t))for(let a=t.length-1;a>=0;a-=1)e.virtual.slides.splice(t[a],1),e.params.virtual.cache&&delete e.virtual.cache[t[a]],t[a]0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const a=e.$el,i=a[0].clientWidth,r=a[0].clientHeight,n=l.innerWidth,o=l.innerHeight,d=e.$el.offset();s&&(d.left-=e.$el[0].scrollLeft);const p=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let e=0;e=0&&s[0]<=n&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((d||p||c||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((p||u)&&!s||(d||c)&&s)&&e.slideNext(),((d||c)&&!s||(p||u)&&s)&&e.slidePrev()):((d||p||h||m)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(p||m)&&e.slideNext(),(d||h)&&e.slidePrev()),i("keyPress",r)}}function p(){e.keyboard.enabled||(d(n).on("keydown",o),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&(d(n).off("keydown",o),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),s("init",(()=>{e.params.keyboard.enabled&&p()})),s("destroy",(()=>{e.keyboard.enabled&&c()})),Object.assign(e.keyboard,{enable:p,disable:c})},function({swiper:e,extendParams:t,on:s,emit:a}){const i=r();let n;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null}}),e.mousewheel={enabled:!1};let l,o=u();const p=[];function h(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function f(t){return!(e.params.mousewheel.thresholdDelta&&t.delta=6&&u()-o<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),a("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),a("scroll",t.raw)),o=(new i.Date).getTime(),!1)))}function g(t){let s=t,i=!0;if(!e.enabled)return;const r=e.params.mousewheel;e.params.cssMode&&s.preventDefault();let o=e.$el;if("container"!==e.params.mousewheel.eventsTarget&&(o=d(e.params.mousewheel.eventsTarget)),!e.mouseEntered&&!o[0].contains(s.target)&&!r.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let h=0;const m=e.rtlTranslate?-1:1,g=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(s);if(r.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;h=-g.pixelX*m}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;h=-g.pixelY}else h=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*m:-g.pixelY;if(0===h)return!0;r.invert&&(h=-h);let v=e.getTranslate()+h*r.sensitivity;if(v>=e.minTranslate()&&(v=e.minTranslate()),v<=e.maxTranslate()&&(v=e.maxTranslate()),i=!!e.params.loop||!(v===e.minTranslate()||v===e.maxTranslate()),i&&e.params.nested&&s.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:u(),delta:Math.abs(h),direction:Math.sign(h)},i=l&&t.time=e.minTranslate()&&(o=e.minTranslate()),o<=e.maxTranslate()&&(o=e.maxTranslate()),e.setTransition(0),e.setTranslate(o),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!d&&e.isBeginning||!u&&e.isEnd)&&e.updateSlidesClasses(),e.params.freeMode.sticky){clearTimeout(n),n=void 0,p.length>=15&&p.shift();const s=p.length?p[p.length-1]:void 0,a=p[0];if(p.push(t),s&&(t.delta>s.delta||t.direction!==s.direction))p.splice(0);else if(p.length>=15&&t.time-a.time<500&&a.delta-t.delta>=1&&t.delta<=6){const s=h>0?.8:.2;l=t,p.splice(0),n=c((()=>{e.slideToClosest(e.params.speed,!0,void 0,s)}),0)}n||(n=c((()=>{l=t,p.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)}),500))}if(i||a("scroll",s),e.params.autoplay&&e.params.autoplayDisableOnInteraction&&e.autoplay.stop(),o===e.minTranslate()||o===e.maxTranslate())return!0}}else{const s={time:u(),delta:Math.abs(h),direction:Math.sign(h),raw:t};p.length>=2&&p.shift();const a=p.length?p[p.length-1]:void 0;if(p.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&f(s):f(s),function(t){const s=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&s.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function v(t){let s=e.$el;"container"!==e.params.mousewheel.eventsTarget&&(s=d(e.params.mousewheel.eventsTarget)),s[t]("mouseenter",h),s[t]("mouseleave",m),s[t]("wheel",g)}function w(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",g),!0):!e.mousewheel.enabled&&(v("on"),e.mousewheel.enabled=!0,!0)}function b(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,g),!0):!!e.mousewheel.enabled&&(v("off"),e.mousewheel.enabled=!1,!0)}s("init",(()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&b(),e.params.mousewheel.enabled&&w()})),s("destroy",(()=>{e.params.cssMode&&w(),e.mousewheel.enabled&&b()})),Object.assign(e.mousewheel,{enable:w,disable:b})},function({swiper:e,extendParams:t,on:s,emit:a}){function i(t){let s;return t&&(s=d(t),e.params.uniqueNavElements&&"string"==typeof t&&s.length>1&&1===e.$el.find(t).length&&(s=e.$el.find(t))),s}function r(t,s){const a=e.params.navigation;t&&t.length>0&&(t[s?"addClass":"removeClass"](a.disabledClass),t[0]&&"BUTTON"===t[0].tagName&&(t[0].disabled=s),e.params.watchOverflow&&e.enabled&&t[e.isLocked?"addClass":"removeClass"](a.lockClass))}function n(){if(e.params.loop)return;const{$nextEl:t,$prevEl:s}=e.navigation;r(s,e.isBeginning&&!e.params.rewind),r(t,e.isEnd&&!e.params.rewind)}function l(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&e.slidePrev()}function o(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&e.slideNext()}function p(){const t=e.params.navigation;if(e.params.navigation=Y(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;const s=i(t.nextEl),a=i(t.prevEl);s&&s.length>0&&s.on("click",o),a&&a.length>0&&a.on("click",l),Object.assign(e.navigation,{$nextEl:s,nextEl:s&&s[0],$prevEl:a,prevEl:a&&a[0]}),e.enabled||(s&&s.addClass(t.lockClass),a&&a.addClass(t.lockClass))}function c(){const{$nextEl:t,$prevEl:s}=e.navigation;t&&t.length&&(t.off("click",o),t.removeClass(e.params.navigation.disabledClass)),s&&s.length&&(s.off("click",l),s.removeClass(e.params.navigation.disabledClass))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock"}}),e.navigation={nextEl:null,$nextEl:null,prevEl:null,$prevEl:null},s("init",(()=>{p(),n()})),s("toEdge fromEdge lock unlock",(()=>{n()})),s("destroy",(()=>{c()})),s("enable disable",(()=>{const{$nextEl:t,$prevEl:s}=e.navigation;t&&t[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass),s&&s[e.enabled?"removeClass":"addClass"](e.params.navigation.lockClass)})),s("click",((t,s)=>{const{$nextEl:i,$prevEl:r}=e.navigation,n=s.target;if(e.params.navigation.hideOnClick&&!d(n).is(r)&&!d(n).is(i)){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===n||e.pagination.el.contains(n)))return;let t;i?t=i.hasClass(e.params.navigation.hiddenClass):r&&(t=r.hasClass(e.params.navigation.hiddenClass)),a(!0===t?"navigationShow":"navigationHide"),i&&i.toggleClass(e.params.navigation.hiddenClass),r&&r.toggleClass(e.params.navigation.hiddenClass)}})),Object.assign(e.navigation,{update:n,init:p,destroy:c})},function({swiper:e,extendParams:t,on:s,emit:a}){const i="swiper-pagination";let r;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`}}),e.pagination={el:null,$el:null,bullets:[]};let n=0;function l(){return!e.params.pagination.el||!e.pagination.el||!e.pagination.$el||0===e.pagination.$el.length}function o(t,s){const{bulletActiveClass:a}=e.params.pagination;t[s]().addClass(`${a}-${s}`)[s]().addClass(`${a}-${s}-${s}`)}function p(){const t=e.rtl,s=e.params.pagination;if(l())return;const i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,p=e.pagination.$el;let c;const u=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(c=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup),c>i-1-2*e.loopedSlides&&(c-=i-2*e.loopedSlides),c>u-1&&(c-=u),c<0&&"bullets"!==e.params.paginationType&&(c=u+c)):c=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===s.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const a=e.pagination.bullets;let i,l,u;if(s.dynamicBullets&&(r=a.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),p.css(e.isHorizontal()?"width":"height",r*(s.dynamicMainBullets+4)+"px"),s.dynamicMainBullets>1&&void 0!==e.previousIndex&&(n+=c-(e.previousIndex-e.loopedSlides||0),n>s.dynamicMainBullets-1?n=s.dynamicMainBullets-1:n<0&&(n=0)),i=Math.max(c-n,0),l=i+(Math.min(a.length,s.dynamicMainBullets)-1),u=(l+i)/2),a.removeClass(["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${s.bulletActiveClass}${e}`)).join(" ")),p.length>1)a.each((e=>{const t=d(e),a=t.index();a===c&&t.addClass(s.bulletActiveClass),s.dynamicBullets&&(a>=i&&a<=l&&t.addClass(`${s.bulletActiveClass}-main`),a===i&&o(t,"prev"),a===l&&o(t,"next"))}));else{const t=a.eq(c),r=t.index();if(t.addClass(s.bulletActiveClass),s.dynamicBullets){const t=a.eq(i),n=a.eq(l);for(let e=i;e<=l;e+=1)a.eq(e).addClass(`${s.bulletActiveClass}-main`);if(e.params.loop)if(r>=a.length){for(let e=s.dynamicMainBullets;e>=0;e-=1)a.eq(a.length-e).addClass(`${s.bulletActiveClass}-main`);a.eq(a.length-s.dynamicMainBullets-1).addClass(`${s.bulletActiveClass}-prev`)}else o(t,"prev"),o(n,"next");else o(t,"prev"),o(n,"next")}}if(s.dynamicBullets){const i=Math.min(a.length,s.dynamicMainBullets+4),n=(r*i-r)/2-u*r,l=t?"right":"left";a.css(e.isHorizontal()?l:"top",`${n}px`)}}if("fraction"===s.type&&(p.find(W(s.currentClass)).text(s.formatFractionCurrent(c+1)),p.find(W(s.totalClass)).text(s.formatFractionTotal(u))),"progressbar"===s.type){let t;t=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const a=(c+1)/u;let i=1,r=1;"horizontal"===t?i=a:r=a,p.find(W(s.progressbarFillClass)).transform(`translate3d(0,0,0) scaleX(${i}) scaleY(${r})`).transition(e.params.speed)}"custom"===s.type&&s.renderCustom?(p.html(s.renderCustom(e,c+1,u)),a("paginationRender",p[0])):a("paginationUpdate",p[0]),e.params.watchOverflow&&e.enabled&&p[e.isLocked?"addClass":"removeClass"](s.lockClass)}function c(){const t=e.params.pagination;if(l())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,i=e.pagination.$el;let r="";if("bullets"===t.type){let a=e.params.loop?Math.ceil((s-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&!e.params.loop&&a>s&&(a=s);for(let s=0;s`;i.html(r),e.pagination.bullets=i.find(W(t.bulletClass))}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):` / `,i.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):``,i.html(r)),"custom"!==t.type&&a("paginationRender",e.pagination.$el[0])}function u(){e.params.pagination=Y(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let s=d(t.el);0!==s.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&s.length>1&&(s=e.$el.find(t.el),s.length>1&&(s=s.filter((t=>d(t).parents(".swiper")[0]===e.el)))),"bullets"===t.type&&t.clickable&&s.addClass(t.clickableClass),s.addClass(t.modifierClass+t.type),s.addClass(t.modifierClass+e.params.direction),"bullets"===t.type&&t.dynamicBullets&&(s.addClass(`${t.modifierClass}${t.type}-dynamic`),n=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&s.addClass(t.progressbarOppositeClass),t.clickable&&s.on("click",W(t.bulletClass),(function(t){t.preventDefault();let s=d(this).index()*e.params.slidesPerGroup;e.params.loop&&(s+=e.loopedSlides),e.slideTo(s)})),Object.assign(e.pagination,{$el:s,el:s[0]}),e.enabled||s.addClass(t.lockClass))}function h(){const t=e.params.pagination;if(l())return;const s=e.pagination.$el;s.removeClass(t.hiddenClass),s.removeClass(t.modifierClass+t.type),s.removeClass(t.modifierClass+e.params.direction),e.pagination.bullets&&e.pagination.bullets.removeClass&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&s.off("click",W(t.bulletClass))}s("init",(()=>{u(),c(),p()})),s("activeIndexChange",(()=>{(e.params.loop||void 0===e.snapIndex)&&p()})),s("snapIndexChange",(()=>{e.params.loop||p()})),s("slidesLengthChange",(()=>{e.params.loop&&(c(),p())})),s("snapGridLengthChange",(()=>{e.params.loop||(c(),p())})),s("destroy",(()=>{h()})),s("enable disable",(()=>{const{$el:t}=e.pagination;t&&t[e.enabled?"removeClass":"addClass"](e.params.pagination.lockClass)})),s("lock unlock",(()=>{p()})),s("click",((t,s)=>{const i=s.target,{$el:r}=e.pagination;if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r.length>0&&!d(i).hasClass(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=r.hasClass(e.params.pagination.hiddenClass);a(!0===t?"paginationShow":"paginationHide"),r.toggleClass(e.params.pagination.hiddenClass)}})),Object.assign(e.pagination,{render:c,update:p,init:u,destroy:h})},function({swiper:e,extendParams:t,on:s,emit:i}){const r=a();let n,l,o,p,u=!1,h=null,m=null;function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:s,progress:a}=e,{$dragEl:i,$el:r}=t,n=e.params.scrollbar;let d=l,p=(o-l)*a;s?(p=-p,p>0?(d=l-p,p=0):-p+l>o&&(d=o+p)):p<0?(d=l+p,p=0):p+l>o&&(d=o-p),e.isHorizontal()?(i.transform(`translate3d(${p}px, 0, 0)`),i[0].style.width=`${d}px`):(i.transform(`translate3d(0px, ${p}px, 0)`),i[0].style.height=`${d}px`),n.hide&&(clearTimeout(h),r[0].style.opacity=1,h=setTimeout((()=>{r[0].style.opacity=0,r.transition(400)}),1e3))}function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{$dragEl:s,$el:a}=t;s[0].style.width="",s[0].style.height="",o=e.isHorizontal()?a[0].offsetWidth:a[0].offsetHeight,p=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),l="auto"===e.params.scrollbar.dragSize?o*p:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?s[0].style.width=`${l}px`:s[0].style.height=`${l}px`,a[0].style.display=p>=1?"none":"",e.params.scrollbar.hide&&(a[0].style.opacity=0),e.params.watchOverflow&&e.enabled&&t.$el[e.isLocked?"addClass":"removeClass"](e.params.scrollbar.lockClass)}function v(t){return e.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientX:t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].clientY:t.clientY}function w(t){const{scrollbar:s,rtlTranslate:a}=e,{$el:i}=s;let r;r=(v(t)-i.offset()[e.isHorizontal()?"left":"top"]-(null!==n?n:l/2))/(o-l),r=Math.max(Math.min(r,1),0),a&&(r=1-r);const d=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*r;e.updateProgress(d),e.setTranslate(d),e.updateActiveIndex(),e.updateSlidesClasses()}function b(t){const s=e.params.scrollbar,{scrollbar:a,$wrapperEl:r}=e,{$el:l,$dragEl:o}=a;u=!0,n=t.target===o[0]||t.target===o?v(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),r.transition(100),o.transition(100),w(t),clearTimeout(m),l.transition(0),s.hide&&l.css("opacity",1),e.params.cssMode&&e.$wrapperEl.css("scroll-snap-type","none"),i("scrollbarDragStart",t)}function x(t){const{scrollbar:s,$wrapperEl:a}=e,{$el:r,$dragEl:n}=s;u&&(t.preventDefault?t.preventDefault():t.returnValue=!1,w(t),a.transition(0),r.transition(0),n.transition(0),i("scrollbarDragMove",t))}function y(t){const s=e.params.scrollbar,{scrollbar:a,$wrapperEl:r}=e,{$el:n}=a;u&&(u=!1,e.params.cssMode&&(e.$wrapperEl.css("scroll-snap-type",""),r.transition("")),s.hide&&(clearTimeout(m),m=c((()=>{n.css("opacity",0),n.transition(400)}),1e3)),i("scrollbarDragEnd",t),s.snapOnRelease&&e.slideToClosest())}function E(t){const{scrollbar:s,touchEventsTouch:a,touchEventsDesktop:i,params:n,support:l}=e,o=s.$el[0],d=!(!l.passiveListener||!n.passiveListeners)&&{passive:!1,capture:!1},p=!(!l.passiveListener||!n.passiveListeners)&&{passive:!0,capture:!1};if(!o)return;const c="on"===t?"addEventListener":"removeEventListener";l.touch?(o[c](a.start,b,d),o[c](a.move,x,d),o[c](a.end,y,p)):(o[c](i.start,b,d),r[c](i.move,x,d),r[c](i.end,y,p))}function T(){const{scrollbar:t,$el:s}=e;e.params.scrollbar=Y(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const a=e.params.scrollbar;if(!a.el)return;let i=d(a.el);e.params.uniqueNavElements&&"string"==typeof a.el&&i.length>1&&1===s.find(a.el).length&&(i=s.find(a.el));let r=i.find(`.${e.params.scrollbar.dragClass}`);0===r.length&&(r=d(`
`),i.append(r)),Object.assign(t,{$el:i,el:i[0],$dragEl:r,dragEl:r[0]}),a.draggable&&e.params.scrollbar.el&&E("on"),i&&i[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)}function C(){e.params.scrollbar.el&&E("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag"}}),e.scrollbar={el:null,dragEl:null,$el:null,$dragEl:null},s("init",(()=>{T(),g(),f()})),s("update resize observerUpdate lock unlock",(()=>{g()})),s("setTranslate",(()=>{f()})),s("setTransition",((t,s)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&e.scrollbar.$dragEl.transition(t)}(s)})),s("enable disable",(()=>{const{$el:t}=e.scrollbar;t&&t[e.enabled?"removeClass":"addClass"](e.params.scrollbar.lockClass)})),s("destroy",(()=>{C()})),Object.assign(e.scrollbar,{updateSize:g,setTranslate:f,init:T,destroy:C})},function({swiper:e,extendParams:t,on:s}){t({parallax:{enabled:!1}});const a=(t,s)=>{const{rtl:a}=e,i=d(t),r=a?-1:1,n=i.attr("data-swiper-parallax")||"0";let l=i.attr("data-swiper-parallax-x"),o=i.attr("data-swiper-parallax-y");const p=i.attr("data-swiper-parallax-scale"),c=i.attr("data-swiper-parallax-opacity");if(l||o?(l=l||"0",o=o||"0"):e.isHorizontal()?(l=n,o="0"):(o=n,l="0"),l=l.indexOf("%")>=0?parseInt(l,10)*s*r+"%":l*s*r+"px",o=o.indexOf("%")>=0?parseInt(o,10)*s+"%":o*s+"px",null!=c){const e=c-(c-1)*(1-Math.abs(s));i[0].style.opacity=e}if(null==p)i.transform(`translate3d(${l}, ${o}, 0px)`);else{const e=p-(p-1)*(1-Math.abs(s));i.transform(`translate3d(${l}, ${o}, 0px) scale(${e})`)}},i=()=>{const{$el:t,slides:s,progress:i,snapGrid:r}=e;t.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{a(e,i)})),s.each(((t,s)=>{let n=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(n+=Math.ceil(s/2)-i*(r.length-1)),n=Math.min(Math.max(n,-1),1),d(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{a(e,n)}))}))};s("beforeInit",(()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)})),s("init",(()=>{e.params.parallax.enabled&&i()})),s("setTranslate",(()=>{e.params.parallax.enabled&&i()})),s("setTransition",((t,s)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{$el:s}=e;s.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]").each((e=>{const s=d(e);let a=parseInt(s.attr("data-swiper-parallax-duration"),10)||t;0===t&&(a=0),s.transition(a)}))})(s)}))},function({swiper:e,extendParams:t,on:s,emit:a}){const i=r();t({zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let n,l,o,p=1,c=!1;const u={$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},m={isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},f={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let g=1;function v(e){if(e.targetTouches.length<2)return 1;const t=e.targetTouches[0].pageX,s=e.targetTouches[0].pageY,a=e.targetTouches[1].pageX,i=e.targetTouches[1].pageY;return Math.sqrt((a-t)**2+(i-s)**2)}function w(t){const s=e.support,a=e.params.zoom;if(l=!1,o=!1,!s.gestures){if("touchstart"!==t.type||"touchstart"===t.type&&t.targetTouches.length<2)return;l=!0,u.scaleStart=v(t)}u.$slideEl&&u.$slideEl.length||(u.$slideEl=d(t.target).closest(`.${e.params.slideClass}`),0===u.$slideEl.length&&(u.$slideEl=e.slides.eq(e.activeIndex)),u.$imageEl=u.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),u.$imageWrapEl=u.$imageEl.parent(`.${a.containerClass}`),u.maxRatio=u.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,0!==u.$imageWrapEl.length)?(u.$imageEl&&u.$imageEl.transition(0),c=!0):u.$imageEl=void 0}function b(t){const s=e.support,a=e.params.zoom,i=e.zoom;if(!s.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;o=!0,u.scaleMove=v(t)}u.$imageEl&&0!==u.$imageEl.length?(s.gestures?i.scale=t.scale*p:i.scale=u.scaleMove/u.scaleStart*p,i.scale>u.maxRatio&&(i.scale=u.maxRatio-1+(i.scale-u.maxRatio+1)**.5),i.scalem.touchesStart.x))return void(m.isTouched=!1);if(!e.isHorizontal()&&(Math.floor(m.minY)===Math.floor(m.startY)&&m.touchesCurrent.ym.touchesStart.y))return void(m.isTouched=!1)}t.cancelable&&t.preventDefault(),t.stopPropagation(),m.isMoved=!0,m.currentX=m.touchesCurrent.x-m.touchesStart.x+m.startX,m.currentY=m.touchesCurrent.y-m.touchesStart.y+m.startY,m.currentXm.maxX&&(m.currentX=m.maxX-1+(m.currentX-m.maxX+1)**.8),m.currentYm.maxY&&(m.currentY=m.maxY-1+(m.currentY-m.maxY+1)**.8),f.prevPositionX||(f.prevPositionX=m.touchesCurrent.x),f.prevPositionY||(f.prevPositionY=m.touchesCurrent.y),f.prevTime||(f.prevTime=Date.now()),f.x=(m.touchesCurrent.x-f.prevPositionX)/(Date.now()-f.prevTime)/2,f.y=(m.touchesCurrent.y-f.prevPositionY)/(Date.now()-f.prevTime)/2,Math.abs(m.touchesCurrent.x-f.prevPositionX)<2&&(f.x=0),Math.abs(m.touchesCurrent.y-f.prevPositionY)<2&&(f.y=0),f.prevPositionX=m.touchesCurrent.x,f.prevPositionY=m.touchesCurrent.y,f.prevTime=Date.now(),u.$imageWrapEl.transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}}function E(){const t=e.zoom;u.$slideEl&&e.previousIndex!==e.activeIndex&&(u.$imageEl&&u.$imageEl.transform("translate3d(0,0,0) scale(1)"),u.$imageWrapEl&&u.$imageWrapEl.transform("translate3d(0,0,0)"),t.scale=1,p=1,u.$slideEl=void 0,u.$imageEl=void 0,u.$imageWrapEl=void 0)}function T(t){const s=e.zoom,a=e.params.zoom;if(u.$slideEl||(t&&t.target&&(u.$slideEl=d(t.target).closest(`.${e.params.slideClass}`)),u.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):u.$slideEl=e.slides.eq(e.activeIndex)),u.$imageEl=u.$slideEl.find(`.${a.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),u.$imageWrapEl=u.$imageEl.parent(`.${a.containerClass}`)),!u.$imageEl||0===u.$imageEl.length||!u.$imageWrapEl||0===u.$imageWrapEl.length)return;let r,n,l,o,c,h,f,g,v,w,b,x,y,E,T,C,$,S;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),u.$slideEl.addClass(`${a.zoomedSlideClass}`),void 0===m.touchesStart.x&&t?(r="touchend"===t.type?t.changedTouches[0].pageX:t.pageX,n="touchend"===t.type?t.changedTouches[0].pageY:t.pageY):(r=m.touchesStart.x,n=m.touchesStart.y),s.scale=u.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,p=u.$imageWrapEl.attr("data-swiper-zoom")||a.maxRatio,t?($=u.$slideEl[0].offsetWidth,S=u.$slideEl[0].offsetHeight,l=u.$slideEl.offset().left+i.scrollX,o=u.$slideEl.offset().top+i.scrollY,c=l+$/2-r,h=o+S/2-n,v=u.$imageEl[0].offsetWidth,w=u.$imageEl[0].offsetHeight,b=v*s.scale,x=w*s.scale,y=Math.min($/2-b/2,0),E=Math.min(S/2-x/2,0),T=-y,C=-E,f=c*s.scale,g=h*s.scale,fT&&(f=T),gC&&(g=C)):(f=0,g=0),u.$imageWrapEl.transition(300).transform(`translate3d(${f}px, ${g}px,0)`),u.$imageEl.transition(300).transform(`translate3d(0,0,0) scale(${s.scale})`)}function C(){const t=e.zoom,s=e.params.zoom;u.$slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?u.$slideEl=e.$wrapperEl.children(`.${e.params.slideActiveClass}`):u.$slideEl=e.slides.eq(e.activeIndex),u.$imageEl=u.$slideEl.find(`.${s.containerClass}`).eq(0).find("picture, img, svg, canvas, .swiper-zoom-target").eq(0),u.$imageWrapEl=u.$imageEl.parent(`.${s.containerClass}`)),u.$imageEl&&0!==u.$imageEl.length&&u.$imageWrapEl&&0!==u.$imageWrapEl.length&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,p=1,u.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),u.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),u.$slideEl.removeClass(`${s.zoomedSlideClass}`),u.$slideEl=void 0)}function $(t){const s=e.zoom;s.scale&&1!==s.scale?C():T(t)}function S(){const t=e.support;return{passiveListener:!("touchstart"!==e.touchEvents.start||!t.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1},activeListenerWithCapture:!t.passiveListener||{passive:!1,capture:!0}}}function M(){return`.${e.params.slideClass}`}function P(t){const{passiveListener:s}=S(),a=M();e.$wrapperEl[t]("gesturestart",a,w,s),e.$wrapperEl[t]("gesturechange",a,b,s),e.$wrapperEl[t]("gestureend",a,x,s)}function k(){n||(n=!0,P("on"))}function z(){n&&(n=!1,P("off"))}function O(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const s=e.support,{passiveListener:a,activeListenerWithCapture:i}=S(),r=M();s.gestures?(e.$wrapperEl.on(e.touchEvents.start,k,a),e.$wrapperEl.on(e.touchEvents.end,z,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.on(e.touchEvents.start,r,w,a),e.$wrapperEl.on(e.touchEvents.move,r,b,i),e.$wrapperEl.on(e.touchEvents.end,r,x,a),e.touchEvents.cancel&&e.$wrapperEl.on(e.touchEvents.cancel,r,x,a)),e.$wrapperEl.on(e.touchEvents.move,`.${e.params.zoom.containerClass}`,y,i)}function I(){const t=e.zoom;if(!t.enabled)return;const s=e.support;t.enabled=!1;const{passiveListener:a,activeListenerWithCapture:i}=S(),r=M();s.gestures?(e.$wrapperEl.off(e.touchEvents.start,k,a),e.$wrapperEl.off(e.touchEvents.end,z,a)):"touchstart"===e.touchEvents.start&&(e.$wrapperEl.off(e.touchEvents.start,r,w,a),e.$wrapperEl.off(e.touchEvents.move,r,b,i),e.$wrapperEl.off(e.touchEvents.end,r,x,a),e.touchEvents.cancel&&e.$wrapperEl.off(e.touchEvents.cancel,r,x,a)),e.$wrapperEl.off(e.touchEvents.move,`.${e.params.zoom.containerClass}`,y,i)}Object.defineProperty(e.zoom,"scale",{get:()=>g,set(e){if(g!==e){const t=u.$imageEl?u.$imageEl[0]:void 0,s=u.$slideEl?u.$slideEl[0]:void 0;a("zoomChange",e,t,s)}g=e}}),s("init",(()=>{e.params.zoom.enabled&&O()})),s("destroy",(()=>{I()})),s("touchStart",((t,s)=>{e.zoom.enabled&&function(t){const s=e.device;u.$imageEl&&0!==u.$imageEl.length&&(m.isTouched||(s.android&&t.cancelable&&t.preventDefault(),m.isTouched=!0,m.touchesStart.x="touchstart"===t.type?t.targetTouches[0].pageX:t.pageX,m.touchesStart.y="touchstart"===t.type?t.targetTouches[0].pageY:t.pageY))}(s)})),s("touchEnd",((t,s)=>{e.zoom.enabled&&function(){const t=e.zoom;if(!u.$imageEl||0===u.$imageEl.length)return;if(!m.isTouched||!m.isMoved)return m.isTouched=!1,void(m.isMoved=!1);m.isTouched=!1,m.isMoved=!1;let s=300,a=300;const i=f.x*s,r=m.currentX+i,n=f.y*a,l=m.currentY+n;0!==f.x&&(s=Math.abs((r-m.currentX)/f.x)),0!==f.y&&(a=Math.abs((l-m.currentY)/f.y));const o=Math.max(s,a);m.currentX=r,m.currentY=l;const d=m.width*t.scale,p=m.height*t.scale;m.minX=Math.min(u.slideWidth/2-d/2,0),m.maxX=-m.minX,m.minY=Math.min(u.slideHeight/2-p/2,0),m.maxY=-m.minY,m.currentX=Math.max(Math.min(m.currentX,m.maxX),m.minX),m.currentY=Math.max(Math.min(m.currentY,m.maxY),m.minY),u.$imageWrapEl.transition(o).transform(`translate3d(${m.currentX}px, ${m.currentY}px,0)`)}()})),s("doubleTap",((t,s)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&$(s)})),s("transitionEnd",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&E()})),s("slideChange",(()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&E()})),Object.assign(e.zoom,{enable:O,disable:I,in:T,out:C,toggle:$})},function({swiper:e,extendParams:t,on:s,emit:a}){t({lazy:{checkInView:!1,enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,scrollingElement:"",elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}}),e.lazy={};let i=!1,n=!1;function l(t,s=!0){const i=e.params.lazy;if(void 0===t)return;if(0===e.slides.length)return;const r=e.virtual&&e.params.virtual.enabled?e.$wrapperEl.children(`.${e.params.slideClass}[data-swiper-slide-index="${t}"]`):e.slides.eq(t),n=r.find(`.${i.elementClass}:not(.${i.loadedClass}):not(.${i.loadingClass})`);!r.hasClass(i.elementClass)||r.hasClass(i.loadedClass)||r.hasClass(i.loadingClass)||n.push(r[0]),0!==n.length&&n.each((t=>{const n=d(t);n.addClass(i.loadingClass);const o=n.attr("data-background"),p=n.attr("data-src"),c=n.attr("data-srcset"),u=n.attr("data-sizes"),h=n.parent("picture");e.loadImage(n[0],p||o,c,u,!1,(()=>{if(null!=e&&e&&(!e||e.params)&&!e.destroyed){if(o?(n.css("background-image",`url("${o}")`),n.removeAttr("data-background")):(c&&(n.attr("srcset",c),n.removeAttr("data-srcset")),u&&(n.attr("sizes",u),n.removeAttr("data-sizes")),h.length&&h.children("source").each((e=>{const t=d(e);t.attr("data-srcset")&&(t.attr("srcset",t.attr("data-srcset")),t.removeAttr("data-srcset"))})),p&&(n.attr("src",p),n.removeAttr("data-src"))),n.addClass(i.loadedClass).removeClass(i.loadingClass),r.find(`.${i.preloaderClass}`).remove(),e.params.loop&&s){const t=r.attr("data-swiper-slide-index");if(r.hasClass(e.params.slideDuplicateClass)){l(e.$wrapperEl.children(`[data-swiper-slide-index="${t}"]:not(.${e.params.slideDuplicateClass})`).index(),!1)}else{l(e.$wrapperEl.children(`.${e.params.slideDuplicateClass}[data-swiper-slide-index="${t}"]`).index(),!1)}}a("lazyImageReady",r[0],n[0]),e.params.autoHeight&&e.updateAutoHeight()}})),a("lazyImageLoad",r[0],n[0])}))}function o(){const{$wrapperEl:t,params:s,slides:a,activeIndex:i}=e,r=e.virtual&&s.virtual.enabled,o=s.lazy;let p=s.slidesPerView;function c(e){if(r){if(t.children(`.${s.slideClass}[data-swiper-slide-index="${e}"]`).length)return!0}else if(a[e])return!0;return!1}function u(e){return r?d(e).attr("data-swiper-slide-index"):d(e).index()}if("auto"===p&&(p=0),n||(n=!0),e.params.watchSlidesProgress)t.children(`.${s.slideVisibleClass}`).each((e=>{l(r?d(e).attr("data-swiper-slide-index"):d(e).index())}));else if(p>1)for(let e=i;e1||o.loadPrevNextAmount&&o.loadPrevNextAmount>1){const e=o.loadPrevNextAmount,t=p,s=Math.min(i+t+Math.max(e,t),a.length),r=Math.max(i-Math.max(t,e),0);for(let e=i+p;e0&&l(u(e));const a=t.children(`.${s.slidePrevClass}`);a.length>0&&l(u(a))}}function p(){const t=r();if(!e||e.destroyed)return;const s=e.params.lazy.scrollingElement?d(e.params.lazy.scrollingElement):d(t),a=s[0]===t,n=a?t.innerWidth:s[0].offsetWidth,l=a?t.innerHeight:s[0].offsetHeight,c=e.$el.offset(),{rtlTranslate:u}=e;let h=!1;u&&(c.left-=e.$el[0].scrollLeft);const m=[[c.left,c.top],[c.left+e.width,c.top],[c.left,c.top+e.height],[c.left+e.width,c.top+e.height]];for(let e=0;e=0&&t[0]<=n&&t[1]>=0&&t[1]<=l){if(0===t[0]&&0===t[1])continue;h=!0}}const f=!("touchstart"!==e.touchEvents.start||!e.support.passiveListener||!e.params.passiveListeners)&&{passive:!0,capture:!1};h?(o(),s.off("scroll",p,f)):i||(i=!0,s.on("scroll",p,f))}s("beforeInit",(()=>{e.params.lazy.enabled&&e.params.preloadImages&&(e.params.preloadImages=!1)})),s("init",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?p():o())})),s("scroll",(()=>{e.params.freeMode&&e.params.freeMode.enabled&&!e.params.freeMode.sticky&&o()})),s("scrollbarDragMove resize _freeModeNoMomentumRelease",(()=>{e.params.lazy.enabled&&(e.params.lazy.checkInView?p():o())})),s("transitionStart",(()=>{e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!n)&&(e.params.lazy.checkInView?p():o())})),s("transitionEnd",(()=>{e.params.lazy.enabled&&!e.params.lazy.loadOnTransitionStart&&(e.params.lazy.checkInView?p():o())})),s("slideChange",(()=>{const{lazy:t,cssMode:s,watchSlidesProgress:a,touchReleaseOnEdges:i,resistanceRatio:r}=e.params;t.enabled&&(s||a&&(i||0===r))&&o()})),Object.assign(e.lazy,{load:o,loadInSlide:l})},function({swiper:e,extendParams:t,on:s}){function a(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function i(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},s("beforeInit",(()=>{e.controller.control=e.params.controller.control})),s("update",(()=>{i()})),s("resize",(()=>{i()})),s("observerUpdate",(()=>{i()})),s("setTranslate",((t,s,a)=>{e.controller.control&&e.controller.setTranslate(s,a)})),s("setTransition",((t,s,a)=>{e.controller.control&&e.controller.setTransition(s,a)})),Object.assign(e.controller,{setTranslate:function(t,s){const i=e.controller.control;let r,n;const l=e.constructor;function o(t){const s=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline||(e.controller.spline=e.params.loop?new a(e.slidesGrid,t.slidesGrid):new a(e.snapGrid,t.snapGrid))}(t),n=-e.controller.spline.interpolate(-s)),n&&"container"!==e.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),n=(s-e.minTranslate())*r+t.minTranslate()),e.params.controller.inverse&&(n=t.maxTranslate()-n),t.updateProgress(n),t.setTranslate(n,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(i))for(let e=0;e{s.updateAutoHeight()})),s.$wrapperEl.transitionEnd((()=>{i&&(s.params.loop&&"slide"===e.params.controller.by&&s.loopFix(),s.transitionEnd())})))}if(Array.isArray(i))for(r=0;r0&&(e.isBeginning?(c(s),n(s)):(u(s),r(s))),t&&t.length>0&&(e.isEnd?(c(t),n(t)):(u(t),r(t)))}function f(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function g(){return f()&&e.params.pagination.clickable}const v=(e,t,s)=>{r(e),"BUTTON"!==e[0].tagName&&(l(e,"button"),e.on("keydown",h)),p(e,s),function(e,t){e.attr("aria-controls",t)}(e,t)};function w(){const t=e.params.a11y;e.$el.append(a);const s=e.$el;t.containerRoleDescriptionMessage&&o(s,t.containerRoleDescriptionMessage),t.containerMessage&&p(s,t.containerMessage);const i=e.$wrapperEl,r=i.attr("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}(16)}`,n=e.params.autoplay&&e.params.autoplay.enabled?"off":"polite";var c;c=r,i.attr("id",c),function(e,t){e.attr("aria-live",t)}(i,n),t.itemRoleDescriptionMessage&&o(d(e.slides),t.itemRoleDescriptionMessage),l(d(e.slides),t.slideRole);const u=e.params.loop?e.slides.filter((t=>!t.classList.contains(e.params.slideDuplicateClass))).length:e.slides.length;let m,f;e.slides.each(((s,a)=>{const i=d(s),r=e.params.loop?parseInt(i.attr("data-swiper-slide-index"),10):a;p(i,t.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,u))})),e.navigation&&e.navigation.$nextEl&&(m=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(f=e.navigation.$prevEl),m&&m.length&&v(m,r,t.nextSlideMessage),f&&f.length&&v(f,r,t.prevSlideMessage),g()&&e.pagination.$el.on("keydown",W(e.params.pagination.bulletClass),h)}s("beforeInit",(()=>{a=d(``)})),s("afterInit",(()=>{e.params.a11y.enabled&&(w(),m())})),s("toEdge",(()=>{e.params.a11y.enabled&&m()})),s("fromEdge",(()=>{e.params.a11y.enabled&&m()})),s("paginationUpdate",(()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;f()&&e.pagination.bullets.each((s=>{const a=d(s);e.params.pagination.clickable&&(r(a),e.params.pagination.renderBullet||(l(a,"button"),p(a,t.paginationBulletMessage.replace(/\{\{index\}\}/,a.index()+1)))),a.is(`.${e.params.pagination.bulletActiveClass}`)?a.attr("aria-current","true"):a.removeAttr("aria-current")}))}()})),s("destroy",(()=>{e.params.a11y.enabled&&function(){let t,s;a&&a.length>0&&a.remove(),e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(s=e.navigation.$prevEl),t&&t.off("keydown",h),s&&s.off("keydown",h),g()&&e.pagination.$el.off("keydown",W(e.params.pagination.bulletClass),h)}()}))},function({swiper:e,extendParams:t,on:s}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides"}});let a=!1,i={};const n=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{const t=r();let s;s=e?new URL(e):t.location;const a=s.pathname.slice(1).split("/").filter((e=>""!==e)),i=a.length;return{key:a[i-2],value:a[i-1]}},o=(t,s)=>{const i=r();if(!a||!e.params.history.enabled)return;let l;l=e.params.url?new URL(e.params.url):i.location;const o=e.slides.eq(s);let d=n(o.attr("data-history"));if(e.params.history.root.length>0){let s=e.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${t}/${d}`}else l.pathname.includes(t)||(d=`${t}/${d}`);const p=i.history.state;p&&p.value===d||(e.params.history.replaceState?i.history.replaceState({value:d},null,d):i.history.pushState({value:d},null,d))},d=(t,s,a)=>{if(s)for(let i=0,r=e.slides.length;i{i=l(e.params.url),d(e.params.speed,e.paths.value,!1)};s("init",(()=>{e.params.history.enabled&&(()=>{const t=r();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);a=!0,i=l(e.params.url),(i.key||i.value)&&(d(0,i.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",p))}})()})),s("destroy",(()=>{e.params.history.enabled&&(()=>{const t=r();e.params.history.replaceState||t.removeEventListener("popstate",p)})()})),s("transitionEnd _freeModeNoMomentumRelease",(()=>{a&&o(e.params.history.key,e.activeIndex)})),s("slideChange",(()=>{a&&e.params.cssMode&&o(e.params.history.key,e.activeIndex)}))},function({swiper:e,extendParams:t,emit:s,on:i}){let n=!1;const l=a(),o=r();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}});const p=()=>{s("hashChange");const t=l.location.hash.replace("#","");if(t!==e.slides.eq(e.activeIndex).attr("data-hash")){const s=e.$wrapperEl.children(`.${e.params.slideClass}[data-hash="${t}"]`).index();if(void 0===s)return;e.slideTo(s)}},c=()=>{if(n&&e.params.hashNavigation.enabled)if(e.params.hashNavigation.replaceState&&o.history&&o.history.replaceState)o.history.replaceState(null,null,`#${e.slides.eq(e.activeIndex).attr("data-hash")}`||""),s("hashSet");else{const t=e.slides.eq(e.activeIndex),a=t.attr("data-hash")||t.attr("data-history");l.location.hash=a||"",s("hashSet")}};i("init",(()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;n=!0;const t=l.location.hash.replace("#","");if(t){const s=0;for(let a=0,i=e.slides.length;a{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&d(o).off("hashchange",p)})),i("transitionEnd _freeModeNoMomentumRelease",(()=>{n&&c()})),i("slideChange",(()=>{n&&e.params.cssMode&&c()}))},function({swiper:e,extendParams:t,on:s,emit:i}){let r;function n(){const t=e.slides.eq(e.activeIndex);let s=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(s=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),clearTimeout(r),r=c((()=>{let t;e.params.autoplay.reverseDirection?e.params.loop?(e.loopFix(),t=e.slidePrev(e.params.speed,!0,!0),i("autoplay")):e.isBeginning?e.params.autoplay.stopOnLastSlide?o():(t=e.slideTo(e.slides.length-1,e.params.speed,!0,!0),i("autoplay")):(t=e.slidePrev(e.params.speed,!0,!0),i("autoplay")):e.params.loop?(e.loopFix(),t=e.slideNext(e.params.speed,!0,!0),i("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?o():(t=e.slideTo(0,e.params.speed,!0,!0),i("autoplay")):(t=e.slideNext(e.params.speed,!0,!0),i("autoplay")),(e.params.cssMode&&e.autoplay.running||!1===t)&&n()}),s)}function l(){return void 0===r&&(!e.autoplay.running&&(e.autoplay.running=!0,i("autoplayStart"),n(),!0))}function o(){return!!e.autoplay.running&&(void 0!==r&&(r&&(clearTimeout(r),r=void 0),e.autoplay.running=!1,i("autoplayStop"),!0))}function d(t){e.autoplay.running&&(e.autoplay.paused||(r&&clearTimeout(r),e.autoplay.paused=!0,0!==t&&e.params.autoplay.waitForTransition?["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].addEventListener(t,u)})):(e.autoplay.paused=!1,n())))}function p(){const t=a();"hidden"===t.visibilityState&&e.autoplay.running&&d(),"visible"===t.visibilityState&&e.autoplay.paused&&(n(),e.autoplay.paused=!1)}function u(t){e&&!e.destroyed&&e.$wrapperEl&&t.target===e.$wrapperEl[0]&&(["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)})),e.autoplay.paused=!1,e.autoplay.running?n():o())}function h(){e.params.autoplay.disableOnInteraction?o():d(),["transitionend","webkitTransitionEnd"].forEach((t=>{e.$wrapperEl[0].removeEventListener(t,u)}))}function m(){e.params.autoplay.disableOnInteraction||(e.autoplay.paused=!1,n())}e.autoplay={running:!1,paused:!1},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!0,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}}),s("init",(()=>{if(e.params.autoplay.enabled){l();a().addEventListener("visibilitychange",p),e.params.autoplay.pauseOnMouseEnter&&(e.$el.on("mouseenter",h),e.$el.on("mouseleave",m))}})),s("beforeTransitionStart",((t,s,a)=>{e.autoplay.running&&(a||!e.params.autoplay.disableOnInteraction?e.autoplay.pause(s):o())})),s("sliderFirstMove",(()=>{e.autoplay.running&&(e.params.autoplay.disableOnInteraction?o():d())})),s("touchEnd",(()=>{e.params.cssMode&&e.autoplay.paused&&!e.params.autoplay.disableOnInteraction&&n()})),s("destroy",(()=>{e.$el.off("mouseenter",h),e.$el.off("mouseleave",m),e.autoplay.running&&o();a().removeEventListener("visibilitychange",p)})),Object.assign(e.autoplay,{pause:d,run:n,start:l,stop:o})},function({swiper:e,extendParams:t,on:s}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let a=!1,i=!1;function r(){const t=e.thumbs.swiper;if(!t)return;const s=t.clickedIndex,a=t.clickedSlide;if(a&&d(a).hasClass(e.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let i;if(i=t.params.loop?parseInt(d(t.clickedSlide).attr("data-swiper-slide-index"),10):s,e.params.loop){let t=e.activeIndex;e.slides.eq(t).hasClass(e.params.slideDuplicateClass)&&(e.loopFix(),e._clientLeft=e.$wrapperEl[0].clientLeft,t=e.activeIndex);const s=e.slides.eq(t).prevAll(`[data-swiper-slide-index="${i}"]`).eq(0).index(),a=e.slides.eq(t).nextAll(`[data-swiper-slide-index="${i}"]`).eq(0).index();i=void 0===s?a:void 0===a?s:a-t1?a:o:a-oe.previousIndex?"next":"prev"}else n=e.realIndex,l=n>e.previousIndex?"next":"prev";r&&(n+="next"===l?i:-1*i),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(n)<0&&(s.params.centeredSlides?n=n>o?n-Math.floor(a/2)+1:n+Math.floor(a/2)-1:n>o&&s.params.slidesPerGroup,s.slideTo(n,t?0:void 0))}let n=1;const l=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(n=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(n=1),n=Math.floor(n),s.slides.removeClass(l),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let t=0;t{const{thumbs:t}=e.params;t&&t.swiper&&(n(),l(!0))})),s("slideChange update resize observerUpdate",(()=>{e.thumbs.swiper&&l()})),s("setTransition",((t,s)=>{const a=e.thumbs.swiper;a&&a.setTransition(s)})),s("beforeDestroy",(()=>{const t=e.thumbs.swiper;t&&i&&t&&t.destroy()})),Object.assign(e.thumbs,{init:n,update:l})},function({swiper:e,extendParams:t,emit:s,once:a}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchMove:function(){const{touchEventsData:t,touches:s}=e;0===t.velocities.length&&t.velocities.push({position:s[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:s[e.isHorizontal()?"currentX":"currentY"],time:u()})},onTouchEnd:function({currentPos:t}){const{params:i,$wrapperEl:r,rtlTranslate:n,snapGrid:l,touchEventsData:o}=e,d=u()-o.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length1){const t=o.velocities.pop(),s=o.velocities.pop(),a=t.position-s.position,r=t.time-s.time;e.velocity=a/r,e.velocity/=2,Math.abs(e.velocity)150||u()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=i.freeMode.momentumVelocityRatio,o.velocities.length=0;let t=1e3*i.freeMode.momentumRatio;const d=e.velocity*t;let p=e.translate+d;n&&(p=-p);let c,h=!1;const m=20*Math.abs(e.velocity)*i.freeMode.momentumBounceRatio;let f;if(pe.minTranslate())i.freeMode.momentumBounce?(p-e.minTranslate()>m&&(p=e.minTranslate()+m),c=e.minTranslate(),h=!0,o.allowMomentumBounce=!0):p=e.minTranslate(),i.loop&&i.centeredSlides&&(f=!0);else if(i.freeMode.sticky){let t;for(let e=0;e-p){t=e;break}p=Math.abs(l[t]-p){e.loopFix()})),0!==e.velocity){if(t=n?Math.abs((-p-e.translate)/e.velocity):Math.abs((p-e.translate)/e.velocity),i.freeMode.sticky){const s=Math.abs((n?-p:p)-e.translate),a=e.slidesSizesGrid[e.activeIndex];t=s{e&&!e.destroyed&&o.allowMomentumBounce&&(s("momentumBounce"),e.setTransition(i.speed),setTimeout((()=>{e.setTranslate(c),r.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()}))}),0))}))):e.velocity?(s("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(t),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,r.transitionEnd((()=>{e&&!e.destroyed&&e.transitionEnd()})))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(i.freeMode.sticky)return void e.slideToClosest();i.freeMode&&s("_freeModeNoMomentumRelease")}(!i.freeMode.momentum||d>=i.longSwipesMs)&&(e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})},function({swiper:e,extendParams:t}){let s,a,i;t({grid:{rows:1,fill:"column"}}),e.grid={initSlides:t=>{const{slidesPerView:r}=e.params,{rows:n,fill:l}=e.params.grid;a=s/n,i=Math.floor(t/n),s=Math.floor(t/n)===t/n?t:Math.ceil(t/n)*n,"auto"!==r&&"row"===l&&(s=Math.max(s,r*n))},updateSlide:(t,r,n,l)=>{const{slidesPerGroup:o,spaceBetween:d}=e.params,{rows:p,fill:c}=e.params.grid;let u,h,m;if("row"===c&&o>1){const e=Math.floor(t/(o*p)),a=t-p*o*e,i=0===e?o:Math.min(Math.ceil((n-e*p*o)/p),o);m=Math.floor(a/i),h=a-m*i+e*o,u=h+m*s/p,r.css({"-webkit-order":u,order:u})}else"column"===c?(h=Math.floor(t/p),m=t-h*p,(h>i||h===i&&m===p-1)&&(m+=1,m>=p&&(m=0,h+=1))):(m=Math.floor(t/a),h=t-m*a);r.css(l("margin-top"),0!==m?d&&`${d}px`:"")},updateWrapperSize:(t,a,i)=>{const{spaceBetween:r,centeredSlides:n,roundLengths:l}=e.params,{rows:o}=e.params.grid;if(e.virtualSize=(t+r)*s,e.virtualSize=Math.ceil(e.virtualSize/o)-r,e.$wrapperEl.css({[i("width")]:`${e.virtualSize+r}px`}),n){a.splice(0,a.length);const t=[];for(let s=0;s{const{slides:t}=e,s=e.params.fadeEffect;for(let a=0;a{const{transformEl:s}=e.params.fadeEffect;(s?e.slides.find(s):e.slides).transition(t),K({swiper:e,duration:t,transformEl:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:s}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}}),F({effect:"cube",swiper:e,on:s,setTranslate:()=>{const{$el:t,$wrapperEl:s,slides:a,width:i,height:r,rtlTranslate:n,size:l,browser:o}=e,p=e.params.cubeEffect,c=e.isHorizontal(),u=e.virtual&&e.params.virtual.enabled;let h,m=0;p.shadow&&(c?(h=s.find(".swiper-cube-shadow"),0===h.length&&(h=d('
'),s.append(h)),h.css({height:`${i}px`})):(h=t.find(".swiper-cube-shadow"),0===h.length&&(h=d('
'),t.append(h))));for(let e=0;e-1&&(m=90*s+90*o,n&&(m=90*-s-90*o)),t.transform(v),p.slideShadows){let e=c?t.find(".swiper-slide-shadow-left"):t.find(".swiper-slide-shadow-top"),s=c?t.find(".swiper-slide-shadow-right"):t.find(".swiper-slide-shadow-bottom");0===e.length&&(e=d(`
`),t.append(e)),0===s.length&&(s=d(`
`),t.append(s)),e.length&&(e[0].style.opacity=Math.max(-o,0)),s.length&&(s[0].style.opacity=Math.max(o,0))}}if(s.css({"-webkit-transform-origin":`50% 50% -${l/2}px`,"transform-origin":`50% 50% -${l/2}px`}),p.shadow)if(c)h.transform(`translate3d(0px, ${i/2+p.shadowOffset}px, ${-i/2}px) rotateX(90deg) rotateZ(0deg) scale(${p.shadowScale})`);else{const e=Math.abs(m)-90*Math.floor(Math.abs(m)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,a=p.shadowScale/t,i=p.shadowOffset;h.transform(`scale3d(${s}, 1, ${a}) translate3d(0px, ${r/2+i}px, ${-r/2/a}px) rotateX(-90deg)`)}const f=o.isSafari||o.isWebView?-l/2:0;s.transform(`translate3d(0px,0,${f}px) rotateX(${e.isHorizontal()?0:m}deg) rotateY(${e.isHorizontal()?-m:0}deg)`)},setTransition:t=>{const{$el:s,slides:a}=e;a.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),e.params.cubeEffect.shadow&&!e.isHorizontal()&&s.find(".swiper-cube-shadow").transition(t)},perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function({swiper:e,extendParams:t,on:s}){t({flipEffect:{slideShadows:!0,limitRotation:!0,transformEl:null}}),F({effect:"flip",swiper:e,on:s,setTranslate:()=>{const{slides:t,rtlTranslate:s}=e,a=e.params.flipEffect;for(let i=0;i{const{transformEl:s}=e.params.flipEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),K({swiper:e,duration:t,transformEl:s})},perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:s}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0,transformEl:null}}),F({effect:"coverflow",swiper:e,on:s,setTranslate:()=>{const{width:t,height:s,slides:a,slidesSizesGrid:i}=e,r=e.params.coverflowEffect,n=e.isHorizontal(),l=e.translate,o=n?t/2-l:s/2-l,d=n?r.rotate:-r.rotate,p=r.depth;for(let e=0,t=a.length;e0?l:0),s.length&&(s[0].style.opacity=-l>0?-l:0)}}},setTransition:t=>{const{transformEl:s}=e.params.coverflowEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function({swiper:e,extendParams:t,on:s}){t({creativeEffect:{transformEl:null,limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const a=e=>"string"==typeof e?e:`${e}px`;F({effect:"creative",swiper:e,on:s,setTranslate:()=>{const{slides:t,$wrapperEl:s,slidesSizesGrid:i}=e,r=e.params.creativeEffect,{progressMultiplier:n}=r,l=e.params.centeredSlides;if(l){const t=i[0]/2-e.params.slidesOffsetBefore||0;s.transform(`translateX(calc(50% - ${t}px))`)}for(let s=0;s0&&(f=r.prev,m=!0),u.forEach(((e,t)=>{u[t]=`calc(${e}px + (${a(f.translate[t])} * ${Math.abs(d*n)}))`})),h.forEach(((e,t)=>{h[t]=f.rotate[t]*Math.abs(d*n)})),i[0].style.zIndex=-Math.abs(Math.round(o))+t.length;const g=u.join(", "),v=`rotateX(${h[0]}deg) rotateY(${h[1]}deg) rotateZ(${h[2]}deg)`,w=p<0?`scale(${1+(1-f.scale)*p*n})`:`scale(${1-(1-f.scale)*p*n})`,b=p<0?1+(1-f.opacity)*p*n:1-(1-f.opacity)*p*n,x=`translate3d(${g}) ${v} ${w}`;if(m&&f.shadow||!m){let e=i.children(".swiper-slide-shadow");if(0===e.length&&f.shadow&&(e=Z(r,i)),e.length){const t=r.shadowPerProgress?d*(1/r.limitProgress):d;e[0].style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const y=U(r,i);y.transform(x).css({opacity:b}),f.origin&&y.css("transform-origin",f.origin)}},setTransition:t=>{const{transformEl:s}=e.params.creativeEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),K({swiper:e,duration:t,transformEl:s,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:s}){t({cardsEffect:{slideShadows:!0,transformEl:null}}),F({effect:"cards",swiper:e,on:s,setTranslate:()=>{const{slides:t,activeIndex:s}=e,a=e.params.cardsEffect,{startTranslate:i,isTouched:r}=e.touchEventsData,n=e.translate;for(let l=0;l0&&p<1&&(r||e.params.cssMode)&&n-1&&(r||e.params.cssMode)&&n>i;if(w||b){const e=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;g+=-28*p*e,f+=-.5*e,v+=96*e,h=-25*e*Math.abs(p)+"%"}if(u=p<0?`calc(${u}px + (${v*Math.abs(p)}%))`:p>0?`calc(${u}px + (-${v*Math.abs(p)}%))`:`${u}px`,!e.isHorizontal()){const e=h;h=u,u=e}const x=`\n translate3d(${u}, ${h}, ${m}px)\n rotateZ(${g}deg)\n scale(${p<0?""+(1+(1-f)*p):""+(1-(1-f)*p)})\n `;if(a.slideShadows){let e=o.find(".swiper-slide-shadow");0===e.length&&(e=Z(a,o)),e.length&&(e[0].style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}o[0].style.zIndex=-Math.abs(Math.round(d))+t.length;U(a,o).transform(x)}},setTransition:t=>{const{transformEl:s}=e.params.cardsEffect;(s?e.slides.find(s):e.slides).transition(t).find(".swiper-slide-shadow").transition(t),K({swiper:e,duration:t,transformEl:s})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}];return H.use(J),H})); +//# sourceMappingURL=swiper-bundle.min.js.map \ No newline at end of file diff --git a/jQuery/img/1.jpg b/jQuery/img/1.jpg new file mode 100644 index 0000000000000000000000000000000000000000..07ec8eca8401b288736f5f25ff6c85a0c4e66811 Binary files /dev/null and b/jQuery/img/1.jpg differ diff --git a/jQuery/js/jquery-3.6.0.js b/jQuery/js/jquery-3.6.0.js new file mode 100644 index 0000000000000000000000000000000000000000..fc6c299b73e792ef288e785c22393a5df9dded4b --- /dev/null +++ b/jQuery/js/jquery-3.6.0.js @@ -0,0 +1,10881 @@ +/*! + * 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( global, factory ) { + + "use strict"; + + if ( typeof module === "object" && typeof module.exports === "object" ) { + + // For CommonJS and CommonJS-like environments where a proper `window` + // is present, execute the factory and get jQuery. + // For environments that do not have a `window` with a `document` + // (such as Node.js), expose a factory as module.exports. + // This accentuates the need for the creation of a real `window`. + // e.g. var jQuery = require("jquery")(window); + // See ticket #14549 for more info. + module.exports = global.document ? + factory( global, true ) : + function( w ) { + if ( !w.document ) { + throw new Error( "jQuery requires a window with a document" ); + } + return factory( w ); + }; + } else { + factory( global ); + } + +// Pass this if window is not defined yet +} )( typeof window !== "undefined" ? window : this, function( window, noGlobal ) { + +// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1 +// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode +// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common +// enough that all such attempts are guarded in a try block. +"use strict"; + +var arr = []; + +var getProto = Object.getPrototypeOf; + +var slice = arr.slice; + +var flat = arr.flat ? function( array ) { + return arr.flat.call( array ); +} : function( array ) { + return arr.concat.apply( [], array ); +}; + + +var push = arr.push; + +var indexOf = arr.indexOf; + +var class2type = {}; + +var toString = class2type.toString; + +var hasOwn = class2type.hasOwnProperty; + +var fnToString = hasOwn.toString; + +var ObjectFunctionString = fnToString.call( Object ); + +var support = {}; + +var isFunction = function isFunction( obj ) { + + // Support: Chrome <=57, Firefox <=52 + // In some browsers, typeof returns "function" for HTML elements + // (i.e., `typeof document.createElement( "object" ) === "function"`). + // We don't want to classify *any* DOM node as a function. + // Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5 + // Plus for old WebKit, typeof returns "function" for HTML collections + // (e.g., `typeof document.getElementsByTagName("div") === "function"`). (gh-4756) + return typeof obj === "function" && typeof obj.nodeType !== "number" && + typeof obj.item !== "function"; + }; + + +var isWindow = function isWindow( obj ) { + return obj != null && obj === obj.window; + }; + + +var document = window.document; + + + + var preservedScriptAttributes = { + type: true, + src: true, + nonce: true, + noModule: true + }; + + function DOMEval( code, node, doc ) { + doc = doc || document; + + var i, val, + script = doc.createElement( "script" ); + + script.text = code; + if ( node ) { + for ( i in preservedScriptAttributes ) { + + // Support: Firefox 64+, Edge 18+ + // Some browsers don't support the "nonce" property on scripts. + // On the other hand, just using `getAttribute` is not enough as + // the `nonce` attribute is reset to an empty string whenever it + // becomes browsing-context connected. + // See https://github.com/whatwg/html/issues/2369 + // See https://html.spec.whatwg.org/#nonce-attributes + // The `node.getAttribute` check was added for the sake of + // `jQuery.globalEval` so that it can fake a nonce-containing node + // via an object. + val = node[ i ] || node.getAttribute && node.getAttribute( i ); + if ( val ) { + script.setAttribute( i, val ); + } + } + } + doc.head.appendChild( script ).parentNode.removeChild( script ); + } + + +function toType( obj ) { + if ( obj == null ) { + return obj + ""; + } + + // Support: Android <=2.3 only (functionish RegExp) + return typeof obj === "object" || typeof obj === "function" ? + class2type[ toString.call( obj ) ] || "object" : + typeof obj; +} +/* global Symbol */ +// Defining this global in .eslintrc.json would create a danger of using the global +// unguarded in another place, it seems safer to define global only for this module + + + +var + version = "3.6.0", + + // Define a local copy of jQuery + jQuery = function( selector, context ) { + + // The jQuery object is actually just the init constructor 'enhanced' + // Need init if jQuery is called (just allow error to be thrown if not included) + return new jQuery.fn.init( selector, context ); + }; + +jQuery.fn = jQuery.prototype = { + + // The current version of jQuery being used + jquery: version, + + constructor: jQuery, + + // The default length of a jQuery object is 0 + length: 0, + + toArray: function() { + return slice.call( this ); + }, + + // Get the Nth element in the matched element set OR + // Get the whole matched element set as a clean array + get: function( num ) { + + // Return all the elements in a clean array + if ( num == null ) { + return slice.call( this ); + } + + // Return just the one element from the set + return num < 0 ? this[ num + this.length ] : this[ num ]; + }, + + // Take an array of elements and push it onto the stack + // (returning the new matched element set) + pushStack: function( elems ) { + + // Build a new jQuery matched element set + var ret = jQuery.merge( this.constructor(), elems ); + + // Add the old object onto the stack (as a reference) + ret.prevObject = this; + + // Return the newly-formed element set + return ret; + }, + + // Execute a callback for every element in the matched set. + each: function( callback ) { + return jQuery.each( this, callback ); + }, + + map: function( callback ) { + return this.pushStack( jQuery.map( this, function( elem, i ) { + return callback.call( elem, i, elem ); + } ) ); + }, + + slice: function() { + return this.pushStack( slice.apply( this, arguments ) ); + }, + + first: function() { + return this.eq( 0 ); + }, + + last: function() { + return this.eq( -1 ); + }, + + even: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return ( i + 1 ) % 2; + } ) ); + }, + + odd: function() { + return this.pushStack( jQuery.grep( this, function( _elem, i ) { + return i % 2; + } ) ); + }, + + eq: function( i ) { + var len = this.length, + j = +i + ( i < 0 ? len : 0 ); + return this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] ); + }, + + end: function() { + return this.prevObject || this.constructor(); + }, + + // For internal use only. + // Behaves like an Array's method, not like a jQuery method. + push: push, + sort: arr.sort, + splice: arr.splice +}; + +jQuery.extend = jQuery.fn.extend = function() { + var options, name, src, copy, copyIsArray, clone, + target = arguments[ 0 ] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if ( typeof target === "boolean" ) { + deep = target; + + // Skip the boolean and the target + target = arguments[ i ] || {}; + i++; + } + + // Handle case when target is a string or something (possible in deep copy) + if ( typeof target !== "object" && !isFunction( target ) ) { + target = {}; + } + + // Extend jQuery itself if only one argument is passed + if ( i === length ) { + target = this; + i--; + } + + for ( ; i < length; i++ ) { + + // Only deal with non-null/undefined values + if ( ( options = arguments[ i ] ) != null ) { + + // Extend the base object + for ( name in options ) { + copy = options[ name ]; + + // Prevent Object.prototype pollution + // Prevent never-ending loop + if ( name === "__proto__" || target === copy ) { + continue; + } + + // Recurse if we're merging plain objects or arrays + if ( deep && copy && ( jQuery.isPlainObject( copy ) || + ( copyIsArray = Array.isArray( copy ) ) ) ) { + src = target[ name ]; + + // Ensure proper type for the source value + if ( copyIsArray && !Array.isArray( src ) ) { + clone = []; + } else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) { + clone = {}; + } else { + clone = src; + } + copyIsArray = false; + + // Never move original objects, clone them + target[ name ] = jQuery.extend( deep, clone, copy ); + + // Don't bring in undefined values + } else if ( copy !== undefined ) { + target[ name ] = copy; + } + } + } + } + + // Return the modified object + return target; +}; + +jQuery.extend( { + + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( version + Math.random() ).replace( /\D/g, "" ), + + // Assume jQuery is ready without the ready module + isReady: true, + + error: function( msg ) { + throw new Error( msg ); + }, + + noop: function() {}, + + isPlainObject: function( obj ) { + var proto, Ctor; + + // Detect obvious negatives + // Use toString instead of jQuery.type to catch host objects + if ( !obj || toString.call( obj ) !== "[object Object]" ) { + return false; + } + + proto = getProto( obj ); + + // Objects with no prototype (e.g., `Object.create( null )`) are plain + if ( !proto ) { + return true; + } + + // Objects with prototype are plain iff they were constructed by a global Object function + Ctor = hasOwn.call( proto, "constructor" ) && proto.constructor; + return typeof Ctor === "function" && fnToString.call( Ctor ) === ObjectFunctionString; + }, + + isEmptyObject: function( obj ) { + var name; + + for ( name in obj ) { + return false; + } + return true; + }, + + // Evaluates a script in a provided context; falls back to the global one + // if not specified. + globalEval: function( code, options, doc ) { + DOMEval( code, { nonce: options && options.nonce }, doc ); + }, + + each: function( obj, callback ) { + var length, i = 0; + + if ( isArrayLike( obj ) ) { + length = obj.length; + for ( ; i < length; i++ ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } else { + for ( i in obj ) { + if ( callback.call( obj[ i ], i, obj[ i ] ) === false ) { + break; + } + } + } + + return obj; + }, + + // results is for internal usage only + makeArray: function( arr, results ) { + var ret = results || []; + + if ( arr != null ) { + if ( isArrayLike( Object( arr ) ) ) { + jQuery.merge( ret, + typeof arr === "string" ? + [ arr ] : arr + ); + } else { + push.call( ret, arr ); + } + } + + return ret; + }, + + inArray: function( elem, arr, i ) { + return arr == null ? -1 : indexOf.call( arr, elem, i ); + }, + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + merge: function( first, second ) { + var len = +second.length, + j = 0, + i = first.length; + + for ( ; j < len; j++ ) { + first[ i++ ] = second[ j ]; + } + + first.length = i; + + return first; + }, + + grep: function( elems, callback, invert ) { + var callbackInverse, + matches = [], + i = 0, + length = elems.length, + callbackExpect = !invert; + + // Go through the array, only saving the items + // that pass the validator function + for ( ; i < length; i++ ) { + callbackInverse = !callback( elems[ i ], i ); + if ( callbackInverse !== callbackExpect ) { + matches.push( elems[ i ] ); + } + } + + return matches; + }, + + // arg is for internal usage only + map: function( elems, callback, arg ) { + var length, value, + i = 0, + ret = []; + + // Go through the array, translating each of the items to their new values + if ( isArrayLike( elems ) ) { + length = elems.length; + for ( ; i < length; i++ ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + + // Go through every key on the object, + } else { + for ( i in elems ) { + value = callback( elems[ i ], i, arg ); + + if ( value != null ) { + ret.push( value ); + } + } + } + + // Flatten any nested arrays + return flat( ret ); + }, + + // A global GUID counter for objects + guid: 1, + + // jQuery.support is not used in Core but other projects attach their + // properties to it so it needs to exist. + support: support +} ); + +if ( typeof Symbol === "function" ) { + jQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ]; +} + +// Populate the class2type map +jQuery.each( "Boolean Number String Function Array Date RegExp Object Error Symbol".split( " " ), + function( _i, name ) { + class2type[ "[object " + name + "]" ] = name.toLowerCase(); + } ); + +function isArrayLike( obj ) { + + // Support: real iOS 8.2 only (not reproducible in simulator) + // `in` check used to prevent JIT error (gh-2145) + // hasOwn isn't used here due to false negatives + // regarding Nodelist length in IE + var length = !!obj && "length" in obj && obj.length, + type = toType( obj ); + + if ( isFunction( obj ) || isWindow( obj ) ) { + return false; + } + + return type === "array" || length === 0 || + typeof length === "number" && length > 0 && ( length - 1 ) in obj; +} +var Sizzle = +/*! + * 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( window ) { +var i, + support, + Expr, + getText, + isXML, + tokenize, + compile, + select, + outermostContext, + sortInput, + hasDuplicate, + + // Local document vars + setDocument, + document, + docElem, + documentIsHTML, + rbuggyQSA, + rbuggyMatches, + matches, + contains, + + // Instance-specific data + expando = "sizzle" + 1 * new Date(), + preferredDoc = window.document, + dirruns = 0, + done = 0, + classCache = createCache(), + tokenCache = createCache(), + compilerCache = createCache(), + nonnativeSelectorCache = createCache(), + sortOrder = function( a, b ) { + if ( a === b ) { + hasDuplicate = true; + } + return 0; + }, + + // Instance methods + hasOwn = ( {} ).hasOwnProperty, + arr = [], + pop = arr.pop, + pushNative = arr.push, + push = arr.push, + slice = arr.slice, + + // Use a stripped-down indexOf as it's faster than native + // https://jsperf.com/thor-indexof-vs-for/5 + indexOf = function( list, elem ) { + var i = 0, + len = list.length; + for ( ; i < len; i++ ) { + if ( list[ i ] === elem ) { + return i; + } + } + return -1; + }, + + booleans = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|" + + "ismap|loop|multiple|open|readonly|required|scoped", + + // Regular expressions + + // http://www.w3.org/TR/css3-selectors/#whitespace + whitespace = "[\\x20\\t\\r\\n\\f]", + + // https://www.w3.org/TR/css-syntax-3/#ident-token-diagram + identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace + + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", + + // Attribute selectors: http://www.w3.org/TR/selectors/#attribute-selectors + attributes = "\\[" + whitespace + "*(" + identifier + ")(?:" + whitespace + + + // Operator (capture 2) + "*([*^$|!~]?=)" + whitespace + + + // "Attribute values must be CSS identifiers [capture 5] + // or strings [capture 3 or capture 4]" + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + identifier + "))|)" + + whitespace + "*\\]", + + pseudos = ":(" + identifier + ")(?:\\((" + + + // To reduce the number of selectors needing tokenize in the preFilter, prefer arguments: + // 1. quoted (capture 3; capture 4 or capture 5) + "('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|" + + + // 2. simple (capture 6) + "((?:\\\\.|[^\\\\()[\\]]|" + attributes + ")*)|" + + + // 3. anything else (capture 2) + ".*" + + ")\\)|)", + + // Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter + rwhitespace = new RegExp( whitespace + "+", "g" ), + rtrim = new RegExp( "^" + whitespace + "+|((?:^|[^\\\\])(?:\\\\.)*)" + + whitespace + "+$", "g" ), + + rcomma = new RegExp( "^" + whitespace + "*," + whitespace + "*" ), + rcombinators = new RegExp( "^" + whitespace + "*([>+~]|" + whitespace + ")" + whitespace + + "*" ), + rdescend = new RegExp( whitespace + "|>" ), + + rpseudo = new RegExp( pseudos ), + ridentifier = new RegExp( "^" + identifier + "$" ), + + matchExpr = { + "ID": new RegExp( "^#(" + identifier + ")" ), + "CLASS": new RegExp( "^\\.(" + identifier + ")" ), + "TAG": new RegExp( "^(" + identifier + "|[*])" ), + "ATTR": new RegExp( "^" + attributes ), + "PSEUDO": new RegExp( "^" + pseudos ), + "CHILD": new RegExp( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + + whitespace + "*(even|odd|(([+-]|)(\\d*)n|)" + whitespace + "*(?:([+-]|)" + + whitespace + "*(\\d+)|))" + whitespace + "*\\)|)", "i" ), + "bool": new RegExp( "^(?:" + booleans + ")$", "i" ), + + // For use in libraries implementing .is() + // We use this for POS matching in `select` + "needsContext": new RegExp( "^" + whitespace + + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + whitespace + + "*((?:-\\d)?\\d*)" + whitespace + "*\\)|)(?=[^-]|$)", "i" ) + }, + + rhtml = /HTML$/i, + rinputs = /^(?:input|select|textarea|button)$/i, + rheader = /^h\d$/i, + + rnative = /^[^{]+\{\s*\[native \w/, + + // Easily-parseable/retrievable ID or TAG or CLASS selectors + rquickExpr = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, + + rsibling = /[+~]/, + + // CSS escapes + // http://www.w3.org/TR/CSS21/syndata.html#escaped-characters + runescape = new RegExp( "\\\\[\\da-fA-F]{1,6}" + whitespace + "?|\\\\([^\\r\\n\\f])", "g" ), + funescape = function( escape, nonHex ) { + var high = "0x" + escape.slice( 1 ) - 0x10000; + + return nonHex ? + + // Strip the backslash prefix from a non-hex escape sequence + nonHex : + + // Replace a hexadecimal escape sequence with the encoded Unicode code point + // Support: IE <=11+ + // For values outside the Basic Multilingual Plane (BMP), manually construct a + // surrogate pair + high < 0 ? + String.fromCharCode( high + 0x10000 ) : + String.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 ); + }, + + // CSS string/identifier serialization + // https://drafts.csswg.org/cssom/#common-serializing-idioms + rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g, + fcssescape = function( ch, asCodePoint ) { + if ( asCodePoint ) { + + // U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER + if ( ch === "\0" ) { + return "\uFFFD"; + } + + // Control characters and (dependent upon position) numbers get escaped as code points + return ch.slice( 0, -1 ) + "\\" + + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + " "; + } + + // Other potentially-special ASCII characters get backslash-escaped + return "\\" + ch; + }, + + // Used for iframes + // See setDocument() + // Removing the function wrapper causes a "Permission Denied" + // error in IE + unloadHandler = function() { + setDocument(); + }, + + inDisabledFieldset = addCombinator( + function( elem ) { + return elem.disabled === true && elem.nodeName.toLowerCase() === "fieldset"; + }, + { dir: "parentNode", next: "legend" } + ); + +// Optimize for push.apply( _, NodeList ) +try { + push.apply( + ( arr = slice.call( preferredDoc.childNodes ) ), + preferredDoc.childNodes + ); + + // Support: Android<4.0 + // Detect silently failing push.apply + // eslint-disable-next-line no-unused-expressions + arr[ preferredDoc.childNodes.length ].nodeType; +} catch ( e ) { + push = { apply: arr.length ? + + // Leverage slice if possible + function( target, els ) { + pushNative.apply( target, slice.call( els ) ); + } : + + // Support: IE<9 + // Otherwise append directly + function( target, els ) { + var j = target.length, + i = 0; + + // Can't trust NodeList.length + while ( ( target[ j++ ] = els[ i++ ] ) ) {} + target.length = j - 1; + } + }; +} + +function Sizzle( selector, context, results, seed ) { + var m, i, elem, nid, match, groups, newSelector, + newContext = context && context.ownerDocument, + + // nodeType defaults to 9, since context defaults to document + nodeType = context ? context.nodeType : 9; + + results = results || []; + + // Return early from calls with invalid selector or context + if ( typeof selector !== "string" || !selector || + nodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) { + + return results; + } + + // Try to shortcut find operations (as opposed to filters) in HTML documents + if ( !seed ) { + setDocument( context ); + context = context || document; + + if ( documentIsHTML ) { + + // If the selector is sufficiently simple, try using a "get*By*" DOM method + // (excepting DocumentFragment context, where the methods don't exist) + if ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) { + + // ID selector + if ( ( m = match[ 1 ] ) ) { + + // Document context + if ( nodeType === 9 ) { + if ( ( elem = context.getElementById( m ) ) ) { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( elem.id === m ) { + results.push( elem ); + return results; + } + } else { + return results; + } + + // Element context + } else { + + // Support: IE, Opera, Webkit + // TODO: identify versions + // getElementById can match elements by name instead of ID + if ( newContext && ( elem = newContext.getElementById( m ) ) && + contains( context, elem ) && + elem.id === m ) { + + results.push( elem ); + return results; + } + } + + // Type selector + } else if ( match[ 2 ] ) { + push.apply( results, context.getElementsByTagName( selector ) ); + return results; + + // Class selector + } else if ( ( m = match[ 3 ] ) && support.getElementsByClassName && + context.getElementsByClassName ) { + + push.apply( results, context.getElementsByClassName( m ) ); + return results; + } + } + + // Take advantage of querySelectorAll + if ( support.qsa && + !nonnativeSelectorCache[ selector + " " ] && + ( !rbuggyQSA || !rbuggyQSA.test( selector ) ) && + + // Support: IE 8 only + // Exclude object elements + ( nodeType !== 1 || context.nodeName.toLowerCase() !== "object" ) ) { + + newSelector = selector; + newContext = context; + + // qSA considers elements outside a scoping root when evaluating child or + // descendant combinators, which is not what we want. + // In such cases, we work around the behavior by prefixing every selector in the + // list with an ID selector referencing the scope context. + // The technique has to be used as well when a leading combinator is used + // as such selectors are not recognized by querySelectorAll. + // Thanks to Andrew Dupont for this technique. + if ( nodeType === 1 && + ( rdescend.test( selector ) || rcombinators.test( selector ) ) ) { + + // Expand context for sibling selectors + newContext = rsibling.test( selector ) && testContext( context.parentNode ) || + context; + + // We can use :scope instead of the ID hack if the browser + // supports it & if we're not changing the context. + if ( newContext !== context || !support.scope ) { + + // Capture the context ID, setting it first if necessary + if ( ( nid = context.getAttribute( "id" ) ) ) { + nid = nid.replace( rcssescape, fcssescape ); + } else { + context.setAttribute( "id", ( nid = expando ) ); + } + } + + // Prefix every selector in the list + groups = tokenize( selector ); + i = groups.length; + while ( i-- ) { + groups[ i ] = ( nid ? "#" + nid : ":scope" ) + " " + + toSelector( groups[ i ] ); + } + newSelector = groups.join( "," ); + } + + try { + push.apply( results, + newContext.querySelectorAll( newSelector ) + ); + return results; + } catch ( qsaError ) { + nonnativeSelectorCache( selector, true ); + } finally { + if ( nid === expando ) { + context.removeAttribute( "id" ); + } + } + } + } + } + + // All others + return select( selector.replace( rtrim, "$1" ), context, results, seed ); +} + +/** + * Create key-value caches of limited size + * @returns {function(string, object)} Returns the Object data after storing it on itself with + * property name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength) + * deleting the oldest entry + */ +function createCache() { + var keys = []; + + function cache( key, value ) { + + // Use (key + " ") to avoid collision with native prototype properties (see Issue #157) + if ( keys.push( key + " " ) > Expr.cacheLength ) { + + // Only keep the most recent entries + delete cache[ keys.shift() ]; + } + return ( cache[ key + " " ] = value ); + } + return cache; +} + +/** + * Mark a function for special use by Sizzle + * @param {Function} fn The function to mark + */ +function markFunction( fn ) { + fn[ expando ] = true; + return fn; +} + +/** + * Support testing using an element + * @param {Function} fn Passed the created element and returns a boolean result + */ +function assert( fn ) { + var el = document.createElement( "fieldset" ); + + try { + return !!fn( el ); + } catch ( e ) { + return false; + } finally { + + // Remove from its parent by default + if ( el.parentNode ) { + el.parentNode.removeChild( el ); + } + + // release memory in IE + el = null; + } +} + +/** + * Adds the same handler for all of the specified attrs + * @param {String} attrs Pipe-separated list of attributes + * @param {Function} handler The method that will be applied + */ +function addHandle( attrs, handler ) { + var arr = attrs.split( "|" ), + i = arr.length; + + while ( i-- ) { + Expr.attrHandle[ arr[ i ] ] = handler; + } +} + +/** + * Checks document order of two siblings + * @param {Element} a + * @param {Element} b + * @returns {Number} Returns less than 0 if a precedes b, greater than 0 if a follows b + */ +function siblingCheck( a, b ) { + var cur = b && a, + diff = cur && a.nodeType === 1 && b.nodeType === 1 && + a.sourceIndex - b.sourceIndex; + + // Use IE sourceIndex if available on both nodes + if ( diff ) { + return diff; + } + + // Check if b follows a + if ( cur ) { + while ( ( cur = cur.nextSibling ) ) { + if ( cur === b ) { + return -1; + } + } + } + + return a ? 1 : -1; +} + +/** + * Returns a function to use in pseudos for input types + * @param {String} type + */ +function createInputPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for buttons + * @param {String} type + */ +function createButtonPseudo( type ) { + return function( elem ) { + var name = elem.nodeName.toLowerCase(); + return ( name === "input" || name === "button" ) && elem.type === type; + }; +} + +/** + * Returns a function to use in pseudos for :enabled/:disabled + * @param {Boolean} disabled true for :disabled; false for :enabled + */ +function createDisabledPseudo( disabled ) { + + // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable + return function( elem ) { + + // Only certain elements can match :enabled or :disabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled + // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled + if ( "form" in elem ) { + + // Check for inherited disabledness on relevant non-disabled elements: + // * listed form-associated elements in a disabled fieldset + // https://html.spec.whatwg.org/multipage/forms.html#category-listed + // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled + // * option elements in a disabled optgroup + // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled + // All such elements have a "form" property. + if ( elem.parentNode && elem.disabled === false ) { + + // Option elements defer to a parent optgroup if present + if ( "label" in elem ) { + if ( "label" in elem.parentNode ) { + return elem.parentNode.disabled === disabled; + } else { + return elem.disabled === disabled; + } + } + + // Support: IE 6 - 11 + // Use the isDisabled shortcut property to check for disabled fieldset ancestors + return elem.isDisabled === disabled || + + // Where there is no isDisabled, check manually + /* jshint -W018 */ + elem.isDisabled !== !disabled && + inDisabledFieldset( elem ) === disabled; + } + + return elem.disabled === disabled; + + // Try to winnow out elements that can't be disabled before trusting the disabled property. + // Some victims get caught in our net (label, legend, menu, track), but it shouldn't + // even exist on them, let alone have a boolean value. + } else if ( "label" in elem ) { + return elem.disabled === disabled; + } + + // Remaining elements are neither :enabled nor :disabled + return false; + }; +} + +/** + * Returns a function to use in pseudos for positionals + * @param {Function} fn + */ +function createPositionalPseudo( fn ) { + return markFunction( function( argument ) { + argument = +argument; + return markFunction( function( seed, matches ) { + var j, + matchIndexes = fn( [], seed.length, argument ), + i = matchIndexes.length; + + // Match elements found at the specified indexes + while ( i-- ) { + if ( seed[ ( j = matchIndexes[ i ] ) ] ) { + seed[ j ] = !( matches[ j ] = seed[ j ] ); + } + } + } ); + } ); +} + +/** + * Checks a node for validity as a Sizzle context + * @param {Element|Object=} context + * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value + */ +function testContext( context ) { + return context && typeof context.getElementsByTagName !== "undefined" && context; +} + +// Expose support vars for convenience +support = Sizzle.support = {}; + +/** + * Detects XML nodes + * @param {Element|Object} elem An element or a document + * @returns {Boolean} True iff elem is a non-HTML XML node + */ +isXML = Sizzle.isXML = function( elem ) { + var namespace = elem && elem.namespaceURI, + docElem = elem && ( elem.ownerDocument || elem ).documentElement; + + // Support: IE <=8 + // Assume HTML when documentElement doesn't yet exist, such as inside loading iframes + // https://bugs.jquery.com/ticket/4833 + return !rhtml.test( namespace || docElem && docElem.nodeName || "HTML" ); +}; + +/** + * Sets document-related variables once based on the current document + * @param {Element|Object} [doc] An element or document object to use to set the document + * @returns {Object} Returns the current document + */ +setDocument = Sizzle.setDocument = function( node ) { + var hasCompare, subWindow, + doc = node ? node.ownerDocument || node : preferredDoc; + + // Return early if doc is invalid or already selected + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) { + return document; + } + + // Update global variables + document = doc; + docElem = document.documentElement; + documentIsHTML = !isXML( document ); + + // Support: IE 9 - 11+, Edge 12 - 18+ + // Accessing iframe documents after unload throws "permission denied" errors (jQuery #13936) + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( preferredDoc != document && + ( subWindow = document.defaultView ) && subWindow.top !== subWindow ) { + + // Support: IE 11, Edge + if ( subWindow.addEventListener ) { + subWindow.addEventListener( "unload", unloadHandler, false ); + + // Support: IE 9 - 10 only + } else if ( subWindow.attachEvent ) { + subWindow.attachEvent( "onunload", unloadHandler ); + } + } + + // Support: IE 8 - 11+, Edge 12 - 18+, Chrome <=16 - 25 only, Firefox <=3.6 - 31 only, + // Safari 4 - 5 only, Opera <=11.6 - 12.x only + // IE/Edge & older browsers don't support the :scope pseudo-class. + // Support: Safari 6.0 only + // Safari 6.0 supports :scope but it's an alias of :root there. + support.scope = assert( function( el ) { + docElem.appendChild( el ).appendChild( document.createElement( "div" ) ); + return typeof el.querySelectorAll !== "undefined" && + !el.querySelectorAll( ":scope fieldset div" ).length; + } ); + + /* Attributes + ---------------------------------------------------------------------- */ + + // Support: IE<8 + // Verify that getAttribute really returns attributes and not properties + // (excepting IE8 booleans) + support.attributes = assert( function( el ) { + el.className = "i"; + return !el.getAttribute( "className" ); + } ); + + /* getElement(s)By* + ---------------------------------------------------------------------- */ + + // Check if getElementsByTagName("*") returns only elements + support.getElementsByTagName = assert( function( el ) { + el.appendChild( document.createComment( "" ) ); + return !el.getElementsByTagName( "*" ).length; + } ); + + // Support: IE<9 + support.getElementsByClassName = rnative.test( document.getElementsByClassName ); + + // Support: IE<10 + // Check if getElementById returns elements by name + // The broken getElementById methods don't pick up programmatically-set names, + // so use a roundabout getElementsByName test + support.getById = assert( function( el ) { + docElem.appendChild( el ).id = expando; + return !document.getElementsByName || !document.getElementsByName( expando ).length; + } ); + + // ID filter and find + if ( support.getById ) { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + return elem.getAttribute( "id" ) === attrId; + }; + }; + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var elem = context.getElementById( id ); + return elem ? [ elem ] : []; + } + }; + } else { + Expr.filter[ "ID" ] = function( id ) { + var attrId = id.replace( runescape, funescape ); + return function( elem ) { + var node = typeof elem.getAttributeNode !== "undefined" && + elem.getAttributeNode( "id" ); + return node && node.value === attrId; + }; + }; + + // Support: IE 6 - 7 only + // getElementById is not reliable as a find shortcut + Expr.find[ "ID" ] = function( id, context ) { + if ( typeof context.getElementById !== "undefined" && documentIsHTML ) { + var node, i, elems, + elem = context.getElementById( id ); + + if ( elem ) { + + // Verify the id attribute + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + + // Fall back on getElementsByName + elems = context.getElementsByName( id ); + i = 0; + while ( ( elem = elems[ i++ ] ) ) { + node = elem.getAttributeNode( "id" ); + if ( node && node.value === id ) { + return [ elem ]; + } + } + } + + return []; + } + }; + } + + // Tag + Expr.find[ "TAG" ] = support.getElementsByTagName ? + function( tag, context ) { + if ( typeof context.getElementsByTagName !== "undefined" ) { + return context.getElementsByTagName( tag ); + + // DocumentFragment nodes don't have gEBTN + } else if ( support.qsa ) { + return context.querySelectorAll( tag ); + } + } : + + function( tag, context ) { + var elem, + tmp = [], + i = 0, + + // By happy coincidence, a (broken) gEBTN appears on DocumentFragment nodes too + results = context.getElementsByTagName( tag ); + + // Filter out possible comments + if ( tag === "*" ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem.nodeType === 1 ) { + tmp.push( elem ); + } + } + + return tmp; + } + return results; + }; + + // Class + Expr.find[ "CLASS" ] = support.getElementsByClassName && function( className, context ) { + if ( typeof context.getElementsByClassName !== "undefined" && documentIsHTML ) { + return context.getElementsByClassName( className ); + } + }; + + /* QSA/matchesSelector + ---------------------------------------------------------------------- */ + + // QSA and matchesSelector support + + // matchesSelector(:active) reports false when true (IE9/Opera 11.5) + rbuggyMatches = []; + + // qSa(:focus) reports false when true (Chrome 21) + // We allow this because of a bug in IE8/9 that throws an error + // whenever `document.activeElement` is accessed on an iframe + // So, we allow :focus to pass through QSA all the time to avoid the IE error + // See https://bugs.jquery.com/ticket/13378 + rbuggyQSA = []; + + if ( ( support.qsa = rnative.test( document.querySelectorAll ) ) ) { + + // Build QSA regex + // Regex strategy adopted from Diego Perini + assert( function( el ) { + + var input; + + // Select is set to empty string on purpose + // This is to test IE's treatment of not explicitly + // setting a boolean content attribute, + // since its presence should be enough + // https://bugs.jquery.com/ticket/12359 + docElem.appendChild( el ).innerHTML = "" + + ""; + + // Support: IE8, Opera 11-12.16 + // Nothing should be selected when empty strings follow ^= or $= or *= + // The test attribute must be unknown in Opera but "safe" for WinRT + // https://msdn.microsoft.com/en-us/library/ie/hh465388.aspx#attribute_section + if ( el.querySelectorAll( "[msallowcapture^='']" ).length ) { + rbuggyQSA.push( "[*^$]=" + whitespace + "*(?:''|\"\")" ); + } + + // Support: IE8 + // Boolean attributes and "value" are not treated correctly + if ( !el.querySelectorAll( "[selected]" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*(?:value|" + booleans + ")" ); + } + + // Support: Chrome<29, Android<4.4, Safari<7.0+, iOS<7.0+, PhantomJS<1.9.8+ + if ( !el.querySelectorAll( "[id~=" + expando + "-]" ).length ) { + rbuggyQSA.push( "~=" ); + } + + // Support: IE 11+, Edge 15 - 18+ + // IE 11/Edge don't find elements on a `[name='']` query in some cases. + // Adding a temporary attribute to the document before the selection works + // around the issue. + // Interestingly, IE 10 & older don't seem to have the issue. + input = document.createElement( "input" ); + input.setAttribute( "name", "" ); + el.appendChild( input ); + if ( !el.querySelectorAll( "[name='']" ).length ) { + rbuggyQSA.push( "\\[" + whitespace + "*name" + whitespace + "*=" + + whitespace + "*(?:''|\"\")" ); + } + + // Webkit/Opera - :checked should return selected option elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + // IE8 throws error here and will not see later tests + if ( !el.querySelectorAll( ":checked" ).length ) { + rbuggyQSA.push( ":checked" ); + } + + // Support: Safari 8+, iOS 8+ + // https://bugs.webkit.org/show_bug.cgi?id=136851 + // In-page `selector#id sibling-combinator selector` fails + if ( !el.querySelectorAll( "a#" + expando + "+*" ).length ) { + rbuggyQSA.push( ".#.+[+~]" ); + } + + // Support: Firefox <=3.6 - 5 only + // Old Firefox doesn't throw on a badly-escaped identifier. + el.querySelectorAll( "\\\f" ); + rbuggyQSA.push( "[\\r\\n\\f]" ); + } ); + + assert( function( el ) { + el.innerHTML = "" + + ""; + + // Support: Windows 8 Native Apps + // The type and name attributes are restricted during .innerHTML assignment + var input = document.createElement( "input" ); + input.setAttribute( "type", "hidden" ); + el.appendChild( input ).setAttribute( "name", "D" ); + + // Support: IE8 + // Enforce case-sensitivity of name attribute + if ( el.querySelectorAll( "[name=d]" ).length ) { + rbuggyQSA.push( "name" + whitespace + "*[*^$|!~]?=" ); + } + + // FF 3.5 - :enabled/:disabled and hidden elements (hidden elements are still enabled) + // IE8 throws error here and will not see later tests + if ( el.querySelectorAll( ":enabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: IE9-11+ + // IE's :disabled selector does not pick up the children of disabled fieldsets + docElem.appendChild( el ).disabled = true; + if ( el.querySelectorAll( ":disabled" ).length !== 2 ) { + rbuggyQSA.push( ":enabled", ":disabled" ); + } + + // Support: Opera 10 - 11 only + // Opera 10-11 does not throw on post-comma invalid pseudos + el.querySelectorAll( "*,:x" ); + rbuggyQSA.push( ",.*:" ); + } ); + } + + if ( ( support.matchesSelector = rnative.test( ( matches = docElem.matches || + docElem.webkitMatchesSelector || + docElem.mozMatchesSelector || + docElem.oMatchesSelector || + docElem.msMatchesSelector ) ) ) ) { + + assert( function( el ) { + + // Check to see if it's possible to do matchesSelector + // on a disconnected node (IE 9) + support.disconnectedMatch = matches.call( el, "*" ); + + // This should fail with an exception + // Gecko does not error, returns false instead + matches.call( el, "[s!='']:x" ); + rbuggyMatches.push( "!=", pseudos ); + } ); + } + + rbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( "|" ) ); + rbuggyMatches = rbuggyMatches.length && new RegExp( rbuggyMatches.join( "|" ) ); + + /* Contains + ---------------------------------------------------------------------- */ + hasCompare = rnative.test( docElem.compareDocumentPosition ); + + // Element contains another + // Purposefully self-exclusive + // As in, an element does not contain itself + contains = hasCompare || rnative.test( docElem.contains ) ? + function( a, b ) { + var adown = a.nodeType === 9 ? a.documentElement : a, + bup = b && b.parentNode; + return a === bup || !!( bup && bup.nodeType === 1 && ( + adown.contains ? + adown.contains( bup ) : + a.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16 + ) ); + } : + function( a, b ) { + if ( b ) { + while ( ( b = b.parentNode ) ) { + if ( b === a ) { + return true; + } + } + } + return false; + }; + + /* Sorting + ---------------------------------------------------------------------- */ + + // Document order sorting + sortOrder = hasCompare ? + function( a, b ) { + + // Flag for duplicate removal + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + // Sort on method existence if only one input has compareDocumentPosition + var compare = !a.compareDocumentPosition - !b.compareDocumentPosition; + if ( compare ) { + return compare; + } + + // Calculate position if both inputs belong to the same document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + compare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ? + a.compareDocumentPosition( b ) : + + // Otherwise we know they are disconnected + 1; + + // Disconnected nodes + if ( compare & 1 || + ( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) { + + // Choose the first element that is related to our preferred document + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( a == document || a.ownerDocument == preferredDoc && + contains( preferredDoc, a ) ) { + return -1; + } + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( b == document || b.ownerDocument == preferredDoc && + contains( preferredDoc, b ) ) { + return 1; + } + + // Maintain original order + return sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + } + + return compare & 4 ? -1 : 1; + } : + function( a, b ) { + + // Exit early if the nodes are identical + if ( a === b ) { + hasDuplicate = true; + return 0; + } + + var cur, + i = 0, + aup = a.parentNode, + bup = b.parentNode, + ap = [ a ], + bp = [ b ]; + + // Parentless nodes are either documents or disconnected + if ( !aup || !bup ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + return a == document ? -1 : + b == document ? 1 : + /* eslint-enable eqeqeq */ + aup ? -1 : + bup ? 1 : + sortInput ? + ( indexOf( sortInput, a ) - indexOf( sortInput, b ) ) : + 0; + + // If the nodes are siblings, we can do a quick check + } else if ( aup === bup ) { + return siblingCheck( a, b ); + } + + // Otherwise we need full lists of their ancestors for comparison + cur = a; + while ( ( cur = cur.parentNode ) ) { + ap.unshift( cur ); + } + cur = b; + while ( ( cur = cur.parentNode ) ) { + bp.unshift( cur ); + } + + // Walk down the tree looking for a discrepancy + while ( ap[ i ] === bp[ i ] ) { + i++; + } + + return i ? + + // Do a sibling check if the nodes have a common ancestor + siblingCheck( ap[ i ], bp[ i ] ) : + + // Otherwise nodes in our document sort first + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + /* eslint-disable eqeqeq */ + ap[ i ] == preferredDoc ? -1 : + bp[ i ] == preferredDoc ? 1 : + /* eslint-enable eqeqeq */ + 0; + }; + + return document; +}; + +Sizzle.matches = function( expr, elements ) { + return Sizzle( expr, null, null, elements ); +}; + +Sizzle.matchesSelector = function( elem, expr ) { + setDocument( elem ); + + if ( support.matchesSelector && documentIsHTML && + !nonnativeSelectorCache[ expr + " " ] && + ( !rbuggyMatches || !rbuggyMatches.test( expr ) ) && + ( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) { + + try { + var ret = matches.call( elem, expr ); + + // IE 9's matchesSelector returns false on disconnected nodes + if ( ret || support.disconnectedMatch || + + // As well, disconnected nodes are said to be in a document + // fragment in IE 9 + elem.document && elem.document.nodeType !== 11 ) { + return ret; + } + } catch ( e ) { + nonnativeSelectorCache( expr, true ); + } + } + + return Sizzle( expr, document, null, [ elem ] ).length > 0; +}; + +Sizzle.contains = function( context, elem ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( context.ownerDocument || context ) != document ) { + setDocument( context ); + } + return contains( context, elem ); +}; + +Sizzle.attr = function( elem, name ) { + + // Set document vars if needed + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( ( elem.ownerDocument || elem ) != document ) { + setDocument( elem ); + } + + var fn = Expr.attrHandle[ name.toLowerCase() ], + + // Don't get fooled by Object.prototype properties (jQuery #13807) + val = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ? + fn( elem, name, !documentIsHTML ) : + undefined; + + return val !== undefined ? + val : + support.attributes || !documentIsHTML ? + elem.getAttribute( name ) : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; +}; + +Sizzle.escape = function( sel ) { + return ( sel + "" ).replace( rcssescape, fcssescape ); +}; + +Sizzle.error = function( msg ) { + throw new Error( "Syntax error, unrecognized expression: " + msg ); +}; + +/** + * Document sorting and removing duplicates + * @param {ArrayLike} results + */ +Sizzle.uniqueSort = function( results ) { + var elem, + duplicates = [], + j = 0, + i = 0; + + // Unless we *know* we can detect duplicates, assume their presence + hasDuplicate = !support.detectDuplicates; + sortInput = !support.sortStable && results.slice( 0 ); + results.sort( sortOrder ); + + if ( hasDuplicate ) { + while ( ( elem = results[ i++ ] ) ) { + if ( elem === results[ i ] ) { + j = duplicates.push( i ); + } + } + while ( j-- ) { + results.splice( duplicates[ j ], 1 ); + } + } + + // Clear input after sorting to release objects + // See https://github.com/jquery/sizzle/pull/225 + sortInput = null; + + return results; +}; + +/** + * Utility function for retrieving the text value of an array of DOM nodes + * @param {Array|Element} elem + */ +getText = Sizzle.getText = function( elem ) { + var node, + ret = "", + i = 0, + nodeType = elem.nodeType; + + if ( !nodeType ) { + + // If no nodeType, this is expected to be an array + while ( ( node = elem[ i++ ] ) ) { + + // Do not traverse comment nodes + ret += getText( node ); + } + } else if ( nodeType === 1 || nodeType === 9 || nodeType === 11 ) { + + // Use textContent for elements + // innerText usage removed for consistency of new lines (jQuery #11153) + if ( typeof elem.textContent === "string" ) { + return elem.textContent; + } else { + + // Traverse its children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + ret += getText( elem ); + } + } + } else if ( nodeType === 3 || nodeType === 4 ) { + return elem.nodeValue; + } + + // Do not include comment or processing instruction nodes + + return ret; +}; + +Expr = Sizzle.selectors = { + + // Can be adjusted by the user + cacheLength: 50, + + createPseudo: markFunction, + + match: matchExpr, + + attrHandle: {}, + + find: {}, + + relative: { + ">": { dir: "parentNode", first: true }, + " ": { dir: "parentNode" }, + "+": { dir: "previousSibling", first: true }, + "~": { dir: "previousSibling" } + }, + + preFilter: { + "ATTR": function( match ) { + match[ 1 ] = match[ 1 ].replace( runescape, funescape ); + + // Move the given value to match[3] whether quoted or unquoted + match[ 3 ] = ( match[ 3 ] || match[ 4 ] || + match[ 5 ] || "" ).replace( runescape, funescape ); + + if ( match[ 2 ] === "~=" ) { + match[ 3 ] = " " + match[ 3 ] + " "; + } + + return match.slice( 0, 4 ); + }, + + "CHILD": function( match ) { + + /* matches from matchExpr["CHILD"] + 1 type (only|nth|...) + 2 what (child|of-type) + 3 argument (even|odd|\d*|\d*n([+-]\d+)?|...) + 4 xn-component of xn+y argument ([+-]?\d*n|) + 5 sign of xn-component + 6 x of xn-component + 7 sign of y-component + 8 y of y-component + */ + match[ 1 ] = match[ 1 ].toLowerCase(); + + if ( match[ 1 ].slice( 0, 3 ) === "nth" ) { + + // nth-* requires argument + if ( !match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + // numeric x and y parameters for Expr.filter.CHILD + // remember that false/true cast respectively to 0/1 + match[ 4 ] = +( match[ 4 ] ? + match[ 5 ] + ( match[ 6 ] || 1 ) : + 2 * ( match[ 3 ] === "even" || match[ 3 ] === "odd" ) ); + match[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === "odd" ); + + // other types prohibit arguments + } else if ( match[ 3 ] ) { + Sizzle.error( match[ 0 ] ); + } + + return match; + }, + + "PSEUDO": function( match ) { + var excess, + unquoted = !match[ 6 ] && match[ 2 ]; + + if ( matchExpr[ "CHILD" ].test( match[ 0 ] ) ) { + return null; + } + + // Accept quoted arguments as-is + if ( match[ 3 ] ) { + match[ 2 ] = match[ 4 ] || match[ 5 ] || ""; + + // Strip excess characters from unquoted arguments + } else if ( unquoted && rpseudo.test( unquoted ) && + + // Get excess from tokenize (recursively) + ( excess = tokenize( unquoted, true ) ) && + + // advance to the next closing parenthesis + ( excess = unquoted.indexOf( ")", unquoted.length - excess ) - unquoted.length ) ) { + + // excess is a negative index + match[ 0 ] = match[ 0 ].slice( 0, excess ); + match[ 2 ] = unquoted.slice( 0, excess ); + } + + // Return only captures needed by the pseudo filter method (type and argument) + return match.slice( 0, 3 ); + } + }, + + filter: { + + "TAG": function( nodeNameSelector ) { + var nodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase(); + return nodeNameSelector === "*" ? + function() { + return true; + } : + function( elem ) { + return elem.nodeName && elem.nodeName.toLowerCase() === nodeName; + }; + }, + + "CLASS": function( className ) { + var pattern = classCache[ className + " " ]; + + return pattern || + ( pattern = new RegExp( "(^|" + whitespace + + ")" + className + "(" + whitespace + "|$)" ) ) && classCache( + className, function( elem ) { + return pattern.test( + typeof elem.className === "string" && elem.className || + typeof elem.getAttribute !== "undefined" && + elem.getAttribute( "class" ) || + "" + ); + } ); + }, + + "ATTR": function( name, operator, check ) { + return function( elem ) { + var result = Sizzle.attr( elem, name ); + + if ( result == null ) { + return operator === "!="; + } + if ( !operator ) { + return true; + } + + result += ""; + + /* eslint-disable max-len */ + + return operator === "=" ? result === check : + operator === "!=" ? result !== check : + operator === "^=" ? check && result.indexOf( check ) === 0 : + operator === "*=" ? check && result.indexOf( check ) > -1 : + operator === "$=" ? check && result.slice( -check.length ) === check : + operator === "~=" ? ( " " + result.replace( rwhitespace, " " ) + " " ).indexOf( check ) > -1 : + operator === "|=" ? result === check || result.slice( 0, check.length + 1 ) === check + "-" : + false; + /* eslint-enable max-len */ + + }; + }, + + "CHILD": function( type, what, _argument, first, last ) { + var simple = type.slice( 0, 3 ) !== "nth", + forward = type.slice( -4 ) !== "last", + ofType = what === "of-type"; + + return first === 1 && last === 0 ? + + // Shortcut for :nth-*(n) + function( elem ) { + return !!elem.parentNode; + } : + + function( elem, _context, xml ) { + var cache, uniqueCache, outerCache, node, nodeIndex, start, + dir = simple !== forward ? "nextSibling" : "previousSibling", + parent = elem.parentNode, + name = ofType && elem.nodeName.toLowerCase(), + useCache = !xml && !ofType, + diff = false; + + if ( parent ) { + + // :(first|last|only)-(child|of-type) + if ( simple ) { + while ( dir ) { + node = elem; + while ( ( node = node[ dir ] ) ) { + if ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) { + + return false; + } + } + + // Reverse direction for :only-* (if we haven't yet done so) + start = dir = type === "only" && !start && "nextSibling"; + } + return true; + } + + start = [ forward ? parent.firstChild : parent.lastChild ]; + + // non-xml :nth-child(...) stores cache data on `parent` + if ( forward && useCache ) { + + // Seek `elem` from a previously-cached index + + // ...in a gzip-friendly way + node = parent; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex && cache[ 2 ]; + node = nodeIndex && parent.childNodes[ nodeIndex ]; + + while ( ( node = ++nodeIndex && node && node[ dir ] || + + // Fallback to seeking `elem` from the start + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + // When found, cache indexes on `parent` and break + if ( node.nodeType === 1 && ++diff && node === elem ) { + uniqueCache[ type ] = [ dirruns, nodeIndex, diff ]; + break; + } + } + + } else { + + // Use previously-cached element index if available + if ( useCache ) { + + // ...in a gzip-friendly way + node = elem; + outerCache = node[ expando ] || ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + cache = uniqueCache[ type ] || []; + nodeIndex = cache[ 0 ] === dirruns && cache[ 1 ]; + diff = nodeIndex; + } + + // xml :nth-child(...) + // or :nth-last-child(...) or :nth(-last)?-of-type(...) + if ( diff === false ) { + + // Use the same loop as above to seek `elem` from the start + while ( ( node = ++nodeIndex && node && node[ dir ] || + ( diff = nodeIndex = 0 ) || start.pop() ) ) { + + if ( ( ofType ? + node.nodeName.toLowerCase() === name : + node.nodeType === 1 ) && + ++diff ) { + + // Cache the index of each encountered element + if ( useCache ) { + outerCache = node[ expando ] || + ( node[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ node.uniqueID ] || + ( outerCache[ node.uniqueID ] = {} ); + + uniqueCache[ type ] = [ dirruns, diff ]; + } + + if ( node === elem ) { + break; + } + } + } + } + } + + // Incorporate the offset, then check against cycle size + diff -= last; + return diff === first || ( diff % first === 0 && diff / first >= 0 ); + } + }; + }, + + "PSEUDO": function( pseudo, argument ) { + + // pseudo-class names are case-insensitive + // http://www.w3.org/TR/selectors/#pseudo-classes + // Prioritize by case sensitivity in case custom pseudos are added with uppercase letters + // Remember that setFilters inherits from pseudos + var args, + fn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] || + Sizzle.error( "unsupported pseudo: " + pseudo ); + + // The user may use createPseudo to indicate that + // arguments are needed to create the filter function + // just as Sizzle does + if ( fn[ expando ] ) { + return fn( argument ); + } + + // But maintain support for old signatures + if ( fn.length > 1 ) { + args = [ pseudo, pseudo, "", argument ]; + return Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ? + markFunction( function( seed, matches ) { + var idx, + matched = fn( seed, argument ), + i = matched.length; + while ( i-- ) { + idx = indexOf( seed, matched[ i ] ); + seed[ idx ] = !( matches[ idx ] = matched[ i ] ); + } + } ) : + function( elem ) { + return fn( elem, 0, args ); + }; + } + + return fn; + } + }, + + pseudos: { + + // Potentially complex pseudos + "not": markFunction( function( selector ) { + + // Trim the selector passed to compile + // to avoid treating leading and trailing + // spaces as combinators + var input = [], + results = [], + matcher = compile( selector.replace( rtrim, "$1" ) ); + + return matcher[ expando ] ? + markFunction( function( seed, matches, _context, xml ) { + var elem, + unmatched = matcher( seed, null, xml, [] ), + i = seed.length; + + // Match elements unmatched by `matcher` + while ( i-- ) { + if ( ( elem = unmatched[ i ] ) ) { + seed[ i ] = !( matches[ i ] = elem ); + } + } + } ) : + function( elem, _context, xml ) { + input[ 0 ] = elem; + matcher( input, null, xml, results ); + + // Don't keep the element (issue #299) + input[ 0 ] = null; + return !results.pop(); + }; + } ), + + "has": markFunction( function( selector ) { + return function( elem ) { + return Sizzle( selector, elem ).length > 0; + }; + } ), + + "contains": markFunction( function( text ) { + text = text.replace( runescape, funescape ); + return function( elem ) { + return ( elem.textContent || getText( elem ) ).indexOf( text ) > -1; + }; + } ), + + // "Whether an element is represented by a :lang() selector + // is based solely on the element's language value + // being equal to the identifier C, + // or beginning with the identifier C immediately followed by "-". + // The matching of C against the element's language value is performed case-insensitively. + // The identifier C does not have to be a valid language name." + // http://www.w3.org/TR/selectors/#lang-pseudo + "lang": markFunction( function( lang ) { + + // lang value must be a valid identifier + if ( !ridentifier.test( lang || "" ) ) { + Sizzle.error( "unsupported lang: " + lang ); + } + lang = lang.replace( runescape, funescape ).toLowerCase(); + return function( elem ) { + var elemLang; + do { + if ( ( elemLang = documentIsHTML ? + elem.lang : + elem.getAttribute( "xml:lang" ) || elem.getAttribute( "lang" ) ) ) { + + elemLang = elemLang.toLowerCase(); + return elemLang === lang || elemLang.indexOf( lang + "-" ) === 0; + } + } while ( ( elem = elem.parentNode ) && elem.nodeType === 1 ); + return false; + }; + } ), + + // Miscellaneous + "target": function( elem ) { + var hash = window.location && window.location.hash; + return hash && hash.slice( 1 ) === elem.id; + }, + + "root": function( elem ) { + return elem === docElem; + }, + + "focus": function( elem ) { + return elem === document.activeElement && + ( !document.hasFocus || document.hasFocus() ) && + !!( elem.type || elem.href || ~elem.tabIndex ); + }, + + // Boolean properties + "enabled": createDisabledPseudo( false ), + "disabled": createDisabledPseudo( true ), + + "checked": function( elem ) { + + // In CSS3, :checked should return both checked and selected elements + // http://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked + var nodeName = elem.nodeName.toLowerCase(); + return ( nodeName === "input" && !!elem.checked ) || + ( nodeName === "option" && !!elem.selected ); + }, + + "selected": function( elem ) { + + // Accessing this property makes selected-by-default + // options in Safari work properly + if ( elem.parentNode ) { + // eslint-disable-next-line no-unused-expressions + elem.parentNode.selectedIndex; + } + + return elem.selected === true; + }, + + // Contents + "empty": function( elem ) { + + // http://www.w3.org/TR/selectors/#empty-pseudo + // :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5), + // but not by others (comment: 8; processing instruction: 7; etc.) + // nodeType < 6 works because attributes (2) do not appear as children + for ( elem = elem.firstChild; elem; elem = elem.nextSibling ) { + if ( elem.nodeType < 6 ) { + return false; + } + } + return true; + }, + + "parent": function( elem ) { + return !Expr.pseudos[ "empty" ]( elem ); + }, + + // Element/input types + "header": function( elem ) { + return rheader.test( elem.nodeName ); + }, + + "input": function( elem ) { + return rinputs.test( elem.nodeName ); + }, + + "button": function( elem ) { + var name = elem.nodeName.toLowerCase(); + return name === "input" && elem.type === "button" || name === "button"; + }, + + "text": function( elem ) { + var attr; + return elem.nodeName.toLowerCase() === "input" && + elem.type === "text" && + + // Support: IE<8 + // New HTML5 attribute values (e.g., "search") appear with elem.type === "text" + ( ( attr = elem.getAttribute( "type" ) ) == null || + attr.toLowerCase() === "text" ); + }, + + // Position-in-collection + "first": createPositionalPseudo( function() { + return [ 0 ]; + } ), + + "last": createPositionalPseudo( function( _matchIndexes, length ) { + return [ length - 1 ]; + } ), + + "eq": createPositionalPseudo( function( _matchIndexes, length, argument ) { + return [ argument < 0 ? argument + length : argument ]; + } ), + + "even": createPositionalPseudo( function( matchIndexes, length ) { + var i = 0; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "odd": createPositionalPseudo( function( matchIndexes, length ) { + var i = 1; + for ( ; i < length; i += 2 ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "lt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? + argument + length : + argument > length ? + length : + argument; + for ( ; --i >= 0; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ), + + "gt": createPositionalPseudo( function( matchIndexes, length, argument ) { + var i = argument < 0 ? argument + length : argument; + for ( ; ++i < length; ) { + matchIndexes.push( i ); + } + return matchIndexes; + } ) + } +}; + +Expr.pseudos[ "nth" ] = Expr.pseudos[ "eq" ]; + +// Add button/input type pseudos +for ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) { + Expr.pseudos[ i ] = createInputPseudo( i ); +} +for ( i in { submit: true, reset: true } ) { + Expr.pseudos[ i ] = createButtonPseudo( i ); +} + +// Easy API for creating new setFilters +function setFilters() {} +setFilters.prototype = Expr.filters = Expr.pseudos; +Expr.setFilters = new setFilters(); + +tokenize = Sizzle.tokenize = function( selector, parseOnly ) { + var matched, match, tokens, type, + soFar, groups, preFilters, + cached = tokenCache[ selector + " " ]; + + if ( cached ) { + return parseOnly ? 0 : cached.slice( 0 ); + } + + soFar = selector; + groups = []; + preFilters = Expr.preFilter; + + while ( soFar ) { + + // Comma and first run + if ( !matched || ( match = rcomma.exec( soFar ) ) ) { + if ( match ) { + + // Don't consume trailing commas as valid + soFar = soFar.slice( match[ 0 ].length ) || soFar; + } + groups.push( ( tokens = [] ) ); + } + + matched = false; + + // Combinators + if ( ( match = rcombinators.exec( soFar ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + + // Cast descendant combinators to space + type: match[ 0 ].replace( rtrim, " " ) + } ); + soFar = soFar.slice( matched.length ); + } + + // Filters + for ( type in Expr.filter ) { + if ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] || + ( match = preFilters[ type ]( match ) ) ) ) { + matched = match.shift(); + tokens.push( { + value: matched, + type: type, + matches: match + } ); + soFar = soFar.slice( matched.length ); + } + } + + if ( !matched ) { + break; + } + } + + // Return the length of the invalid excess + // if we're just parsing + // Otherwise, throw an error or return tokens + return parseOnly ? + soFar.length : + soFar ? + Sizzle.error( selector ) : + + // Cache the tokens + tokenCache( selector, groups ).slice( 0 ); +}; + +function toSelector( tokens ) { + var i = 0, + len = tokens.length, + selector = ""; + for ( ; i < len; i++ ) { + selector += tokens[ i ].value; + } + return selector; +} + +function addCombinator( matcher, combinator, base ) { + var dir = combinator.dir, + skip = combinator.next, + key = skip || dir, + checkNonElements = base && key === "parentNode", + doneName = done++; + + return combinator.first ? + + // Check against closest ancestor/preceding element + function( elem, context, xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + return matcher( elem, context, xml ); + } + } + return false; + } : + + // Check against all ancestor/preceding elements + function( elem, context, xml ) { + var oldCache, uniqueCache, outerCache, + newCache = [ dirruns, doneName ]; + + // We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching + if ( xml ) { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + if ( matcher( elem, context, xml ) ) { + return true; + } + } + } + } else { + while ( ( elem = elem[ dir ] ) ) { + if ( elem.nodeType === 1 || checkNonElements ) { + outerCache = elem[ expando ] || ( elem[ expando ] = {} ); + + // Support: IE <9 only + // Defend against cloned attroperties (jQuery gh-1709) + uniqueCache = outerCache[ elem.uniqueID ] || + ( outerCache[ elem.uniqueID ] = {} ); + + if ( skip && skip === elem.nodeName.toLowerCase() ) { + elem = elem[ dir ] || elem; + } else if ( ( oldCache = uniqueCache[ key ] ) && + oldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) { + + // Assign to newCache so results back-propagate to previous elements + return ( newCache[ 2 ] = oldCache[ 2 ] ); + } else { + + // Reuse newcache so results back-propagate to previous elements + uniqueCache[ key ] = newCache; + + // A match means we're done; a fail means we have to keep checking + if ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) { + return true; + } + } + } + } + } + return false; + }; +} + +function elementMatcher( matchers ) { + return matchers.length > 1 ? + function( elem, context, xml ) { + var i = matchers.length; + while ( i-- ) { + if ( !matchers[ i ]( elem, context, xml ) ) { + return false; + } + } + return true; + } : + matchers[ 0 ]; +} + +function multipleContexts( selector, contexts, results ) { + var i = 0, + len = contexts.length; + for ( ; i < len; i++ ) { + Sizzle( selector, contexts[ i ], results ); + } + return results; +} + +function condense( unmatched, map, filter, context, xml ) { + var elem, + newUnmatched = [], + i = 0, + len = unmatched.length, + mapped = map != null; + + for ( ; i < len; i++ ) { + if ( ( elem = unmatched[ i ] ) ) { + if ( !filter || filter( elem, context, xml ) ) { + newUnmatched.push( elem ); + if ( mapped ) { + map.push( i ); + } + } + } + } + + return newUnmatched; +} + +function setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) { + if ( postFilter && !postFilter[ expando ] ) { + postFilter = setMatcher( postFilter ); + } + if ( postFinder && !postFinder[ expando ] ) { + postFinder = setMatcher( postFinder, postSelector ); + } + return markFunction( function( seed, results, context, xml ) { + var temp, i, elem, + preMap = [], + postMap = [], + preexisting = results.length, + + // Get initial elements from seed or context + elems = seed || multipleContexts( + selector || "*", + context.nodeType ? [ context ] : context, + [] + ), + + // Prefilter to get matcher input, preserving a map for seed-results synchronization + matcherIn = preFilter && ( seed || !selector ) ? + condense( elems, preMap, preFilter, context, xml ) : + elems, + + matcherOut = matcher ? + + // If we have a postFinder, or filtered seed, or non-seed postFilter or preexisting results, + postFinder || ( seed ? preFilter : preexisting || postFilter ) ? + + // ...intermediate processing is necessary + [] : + + // ...otherwise use results directly + results : + matcherIn; + + // Find primary matches + if ( matcher ) { + matcher( matcherIn, matcherOut, context, xml ); + } + + // Apply postFilter + if ( postFilter ) { + temp = condense( matcherOut, postMap ); + postFilter( temp, [], context, xml ); + + // Un-match failing elements by moving them back to matcherIn + i = temp.length; + while ( i-- ) { + if ( ( elem = temp[ i ] ) ) { + matcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem ); + } + } + } + + if ( seed ) { + if ( postFinder || preFilter ) { + if ( postFinder ) { + + // Get the final matcherOut by condensing this intermediate into postFinder contexts + temp = []; + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) ) { + + // Restore matcherIn since elem is not yet a final match + temp.push( ( matcherIn[ i ] = elem ) ); + } + } + postFinder( null, ( matcherOut = [] ), temp, xml ); + } + + // Move matched elements from seed to results to keep them synchronized + i = matcherOut.length; + while ( i-- ) { + if ( ( elem = matcherOut[ i ] ) && + ( temp = postFinder ? indexOf( seed, elem ) : preMap[ i ] ) > -1 ) { + + seed[ temp ] = !( results[ temp ] = elem ); + } + } + } + + // Add elements to results, through postFinder if defined + } else { + matcherOut = condense( + matcherOut === results ? + matcherOut.splice( preexisting, matcherOut.length ) : + matcherOut + ); + if ( postFinder ) { + postFinder( null, results, matcherOut, xml ); + } else { + push.apply( results, matcherOut ); + } + } + } ); +} + +function matcherFromTokens( tokens ) { + var checkContext, matcher, j, + len = tokens.length, + leadingRelative = Expr.relative[ tokens[ 0 ].type ], + implicitRelative = leadingRelative || Expr.relative[ " " ], + i = leadingRelative ? 1 : 0, + + // The foundational matcher ensures that elements are reachable from top-level context(s) + matchContext = addCombinator( function( elem ) { + return elem === checkContext; + }, implicitRelative, true ), + matchAnyContext = addCombinator( function( elem ) { + return indexOf( checkContext, elem ) > -1; + }, implicitRelative, true ), + matchers = [ function( elem, context, xml ) { + var ret = ( !leadingRelative && ( xml || context !== outermostContext ) ) || ( + ( checkContext = context ).nodeType ? + matchContext( elem, context, xml ) : + matchAnyContext( elem, context, xml ) ); + + // Avoid hanging onto element (issue #299) + checkContext = null; + return ret; + } ]; + + for ( ; i < len; i++ ) { + if ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) { + matchers = [ addCombinator( elementMatcher( matchers ), matcher ) ]; + } else { + matcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches ); + + // Return special upon seeing a positional matcher + if ( matcher[ expando ] ) { + + // Find the next relative operator (if any) for proper handling + j = ++i; + for ( ; j < len; j++ ) { + if ( Expr.relative[ tokens[ j ].type ] ) { + break; + } + } + return setMatcher( + i > 1 && elementMatcher( matchers ), + i > 1 && toSelector( + + // If the preceding token was a descendant combinator, insert an implicit any-element `*` + tokens + .slice( 0, i - 1 ) + .concat( { value: tokens[ i - 2 ].type === " " ? "*" : "" } ) + ).replace( rtrim, "$1" ), + matcher, + i < j && matcherFromTokens( tokens.slice( i, j ) ), + j < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ), + j < len && toSelector( tokens ) + ); + } + matchers.push( matcher ); + } + } + + return elementMatcher( matchers ); +} + +function matcherFromGroupMatchers( elementMatchers, setMatchers ) { + var bySet = setMatchers.length > 0, + byElement = elementMatchers.length > 0, + superMatcher = function( seed, context, xml, results, outermost ) { + var elem, j, matcher, + matchedCount = 0, + i = "0", + unmatched = seed && [], + setMatched = [], + contextBackup = outermostContext, + + // We must always have either seed elements or outermost context + elems = seed || byElement && Expr.find[ "TAG" ]( "*", outermost ), + + // Use integer dirruns iff this is the outermost matcher + dirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ), + len = elems.length; + + if ( outermost ) { + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + outermostContext = context == document || context || outermost; + } + + // Add elements passing elementMatchers directly to results + // Support: IE<9, Safari + // Tolerate NodeList properties (IE: "length"; Safari: ) matching elements by id + for ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) { + if ( byElement && elem ) { + j = 0; + + // Support: IE 11+, Edge 17 - 18+ + // IE/Edge sometimes throw a "Permission denied" error when strict-comparing + // two documents; shallow comparisons work. + // eslint-disable-next-line eqeqeq + if ( !context && elem.ownerDocument != document ) { + setDocument( elem ); + xml = !documentIsHTML; + } + while ( ( matcher = elementMatchers[ j++ ] ) ) { + if ( matcher( elem, context || document, xml ) ) { + results.push( elem ); + break; + } + } + if ( outermost ) { + dirruns = dirrunsUnique; + } + } + + // Track unmatched elements for set filters + if ( bySet ) { + + // They will have gone through all possible matchers + if ( ( elem = !matcher && elem ) ) { + matchedCount--; + } + + // Lengthen the array for every element, matched or not + if ( seed ) { + unmatched.push( elem ); + } + } + } + + // `i` is now the count of elements visited above, and adding it to `matchedCount` + // makes the latter nonnegative. + matchedCount += i; + + // Apply set filters to unmatched elements + // NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount` + // equals `i`), unless we didn't visit _any_ elements in the above loop because we have + // no element matchers and no seed. + // Incrementing an initially-string "0" `i` allows `i` to remain a string only in that + // case, which will result in a "00" `matchedCount` that differs from `i` but is also + // numerically zero. + if ( bySet && i !== matchedCount ) { + j = 0; + while ( ( matcher = setMatchers[ j++ ] ) ) { + matcher( unmatched, setMatched, context, xml ); + } + + if ( seed ) { + + // Reintegrate element matches to eliminate the need for sorting + if ( matchedCount > 0 ) { + while ( i-- ) { + if ( !( unmatched[ i ] || setMatched[ i ] ) ) { + setMatched[ i ] = pop.call( results ); + } + } + } + + // Discard index placeholder values to get only actual matches + setMatched = condense( setMatched ); + } + + // Add matches to results + push.apply( results, setMatched ); + + // Seedless set matches succeeding multiple successful matchers stipulate sorting + if ( outermost && !seed && setMatched.length > 0 && + ( matchedCount + setMatchers.length ) > 1 ) { + + Sizzle.uniqueSort( results ); + } + } + + // Override manipulation of globals by nested matchers + if ( outermost ) { + dirruns = dirrunsUnique; + outermostContext = contextBackup; + } + + return unmatched; + }; + + return bySet ? + markFunction( superMatcher ) : + superMatcher; +} + +compile = Sizzle.compile = function( selector, match /* Internal Use Only */ ) { + var i, + setMatchers = [], + elementMatchers = [], + cached = compilerCache[ selector + " " ]; + + if ( !cached ) { + + // Generate a function of recursive functions that can be used to check each element + if ( !match ) { + match = tokenize( selector ); + } + i = match.length; + while ( i-- ) { + cached = matcherFromTokens( match[ i ] ); + if ( cached[ expando ] ) { + setMatchers.push( cached ); + } else { + elementMatchers.push( cached ); + } + } + + // Cache the compiled function + cached = compilerCache( + selector, + matcherFromGroupMatchers( elementMatchers, setMatchers ) + ); + + // Save selector and tokenization + cached.selector = selector; + } + return cached; +}; + +/** + * A low-level selection function that works with Sizzle's compiled + * selector functions + * @param {String|Function} selector A selector or a pre-compiled + * selector function built with Sizzle.compile + * @param {Element} context + * @param {Array} [results] + * @param {Array} [seed] A set of elements to match against + */ +select = Sizzle.select = function( selector, context, results, seed ) { + var i, tokens, token, type, find, + compiled = typeof selector === "function" && selector, + match = !seed && tokenize( ( selector = compiled.selector || selector ) ); + + results = results || []; + + // Try to minimize operations if there is only one selector in the list and no seed + // (the latter of which guarantees us context) + if ( match.length === 1 ) { + + // Reduce context if the leading compound selector is an ID + tokens = match[ 0 ] = match[ 0 ].slice( 0 ); + if ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === "ID" && + context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) { + + context = ( Expr.find[ "ID" ]( token.matches[ 0 ] + .replace( runescape, funescape ), context ) || [] )[ 0 ]; + if ( !context ) { + return results; + + // Precompiled matchers will still verify ancestry, so step up a level + } else if ( compiled ) { + context = context.parentNode; + } + + selector = selector.slice( tokens.shift().value.length ); + } + + // Fetch a seed set for right-to-left matching + i = matchExpr[ "needsContext" ].test( selector ) ? 0 : tokens.length; + while ( i-- ) { + token = tokens[ i ]; + + // Abort if we hit a combinator + if ( Expr.relative[ ( type = token.type ) ] ) { + break; + } + if ( ( find = Expr.find[ type ] ) ) { + + // Search, expanding context for leading sibling combinators + if ( ( seed = find( + token.matches[ 0 ].replace( runescape, funescape ), + rsibling.test( tokens[ 0 ].type ) && testContext( context.parentNode ) || + context + ) ) ) { + + // If seed is empty or no tokens remain, we can return early + tokens.splice( i, 1 ); + selector = seed.length && toSelector( tokens ); + if ( !selector ) { + push.apply( results, seed ); + return results; + } + + break; + } + } + } + } + + // Compile and execute a filtering function if one is not provided + // Provide `match` to avoid retokenization if we modified the selector above + ( compiled || compile( selector, match ) )( + seed, + context, + !documentIsHTML, + results, + !context || rsibling.test( selector ) && testContext( context.parentNode ) || context + ); + return results; +}; + +// One-time assignments + +// Sort stability +support.sortStable = expando.split( "" ).sort( sortOrder ).join( "" ) === expando; + +// Support: Chrome 14-35+ +// Always assume duplicates if they aren't passed to the comparison function +support.detectDuplicates = !!hasDuplicate; + +// Initialize against the default document +setDocument(); + +// Support: Webkit<537.32 - Safari 6.0.3/Chrome 25 (fixed in Chrome 27) +// Detached nodes confoundingly follow *each other* +support.sortDetached = assert( function( el ) { + + // Should return 1, but returns 4 (following) + return el.compareDocumentPosition( document.createElement( "fieldset" ) ) & 1; +} ); + +// Support: IE<8 +// Prevent attribute/property "interpolation" +// https://msdn.microsoft.com/en-us/library/ms536429%28VS.85%29.aspx +if ( !assert( function( el ) { + el.innerHTML = ""; + return el.firstChild.getAttribute( "href" ) === "#"; +} ) ) { + addHandle( "type|href|height|width", function( elem, name, isXML ) { + if ( !isXML ) { + return elem.getAttribute( name, name.toLowerCase() === "type" ? 1 : 2 ); + } + } ); +} + +// Support: IE<9 +// Use defaultValue in place of getAttribute("value") +if ( !support.attributes || !assert( function( el ) { + el.innerHTML = ""; + el.firstChild.setAttribute( "value", "" ); + return el.firstChild.getAttribute( "value" ) === ""; +} ) ) { + addHandle( "value", function( elem, _name, isXML ) { + if ( !isXML && elem.nodeName.toLowerCase() === "input" ) { + return elem.defaultValue; + } + } ); +} + +// Support: IE<9 +// Use getAttributeNode to fetch booleans when getAttribute lies +if ( !assert( function( el ) { + return el.getAttribute( "disabled" ) == null; +} ) ) { + addHandle( booleans, function( elem, name, isXML ) { + var val; + if ( !isXML ) { + return elem[ name ] === true ? name.toLowerCase() : + ( val = elem.getAttributeNode( name ) ) && val.specified ? + val.value : + null; + } + } ); +} + +return Sizzle; + +} )( window ); + + + +jQuery.find = Sizzle; +jQuery.expr = Sizzle.selectors; + +// Deprecated +jQuery.expr[ ":" ] = jQuery.expr.pseudos; +jQuery.uniqueSort = jQuery.unique = Sizzle.uniqueSort; +jQuery.text = Sizzle.getText; +jQuery.isXMLDoc = Sizzle.isXML; +jQuery.contains = Sizzle.contains; +jQuery.escapeSelector = Sizzle.escape; + + + + +var dir = function( elem, dir, until ) { + var matched = [], + truncate = until !== undefined; + + while ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) { + if ( elem.nodeType === 1 ) { + if ( truncate && jQuery( elem ).is( until ) ) { + break; + } + matched.push( elem ); + } + } + return matched; +}; + + +var siblings = function( n, elem ) { + var matched = []; + + for ( ; n; n = n.nextSibling ) { + if ( n.nodeType === 1 && n !== elem ) { + matched.push( n ); + } + } + + return matched; +}; + + +var rneedsContext = jQuery.expr.match.needsContext; + + + +function nodeName( elem, name ) { + + return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase(); + +} +var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i ); + + + +// Implement the identical functionality for filter and not +function winnow( elements, qualifier, not ) { + if ( isFunction( qualifier ) ) { + return jQuery.grep( elements, function( elem, i ) { + return !!qualifier.call( elem, i, elem ) !== not; + } ); + } + + // Single element + if ( qualifier.nodeType ) { + return jQuery.grep( elements, function( elem ) { + return ( elem === qualifier ) !== not; + } ); + } + + // Arraylike of elements (jQuery, arguments, Array) + if ( typeof qualifier !== "string" ) { + return jQuery.grep( elements, function( elem ) { + return ( indexOf.call( qualifier, elem ) > -1 ) !== not; + } ); + } + + // Filtered directly for both simple and complex selectors + return jQuery.filter( qualifier, elements, not ); +} + +jQuery.filter = function( expr, elems, not ) { + var elem = elems[ 0 ]; + + if ( not ) { + expr = ":not(" + expr + ")"; + } + + if ( elems.length === 1 && elem.nodeType === 1 ) { + return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : []; + } + + return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) { + return elem.nodeType === 1; + } ) ); +}; + +jQuery.fn.extend( { + find: function( selector ) { + var i, ret, + len = this.length, + self = this; + + if ( typeof selector !== "string" ) { + return this.pushStack( jQuery( selector ).filter( function() { + for ( i = 0; i < len; i++ ) { + if ( jQuery.contains( self[ i ], this ) ) { + return true; + } + } + } ) ); + } + + ret = this.pushStack( [] ); + + for ( i = 0; i < len; i++ ) { + jQuery.find( selector, self[ i ], ret ); + } + + return len > 1 ? jQuery.uniqueSort( ret ) : ret; + }, + filter: function( selector ) { + return this.pushStack( winnow( this, selector || [], false ) ); + }, + not: function( selector ) { + return this.pushStack( winnow( this, selector || [], true ) ); + }, + is: function( selector ) { + return !!winnow( + this, + + // If this is a positional/relative selector, check membership in the returned set + // so $("p:first").is("p:last") won't return true for a doc with two "p". + typeof selector === "string" && rneedsContext.test( selector ) ? + jQuery( selector ) : + selector || [], + false + ).length; + } +} ); + + +// Initialize a jQuery object + + +// A central reference to the root jQuery(document) +var rootjQuery, + + // A simple way to check for HTML strings + // Prioritize #id over to avoid XSS via location.hash (#9521) + // Strict HTML recognition (#11290: must start with <) + // Shortcut simple #id case for speed + rquickExpr = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, + + init = jQuery.fn.init = function( selector, context, root ) { + var match, elem; + + // HANDLE: $(""), $(null), $(undefined), $(false) + if ( !selector ) { + return this; + } + + // Method init() accepts an alternate rootjQuery + // so migrate can support jQuery.sub (gh-2101) + root = root || rootjQuery; + + // Handle HTML strings + if ( typeof selector === "string" ) { + if ( selector[ 0 ] === "<" && + selector[ selector.length - 1 ] === ">" && + selector.length >= 3 ) { + + // Assume that strings that start and end with <> are HTML and skip the regex check + match = [ null, selector, null ]; + + } else { + match = rquickExpr.exec( selector ); + } + + // Match html or make sure no context is specified for #id + if ( match && ( match[ 1 ] || !context ) ) { + + // HANDLE: $(html) -> $(array) + if ( match[ 1 ] ) { + context = context instanceof jQuery ? context[ 0 ] : context; + + // Option to run scripts is true for back-compat + // Intentionally let the error be thrown if parseHTML is not present + jQuery.merge( this, jQuery.parseHTML( + match[ 1 ], + context && context.nodeType ? context.ownerDocument || context : document, + true + ) ); + + // HANDLE: $(html, props) + if ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) { + for ( match in context ) { + + // Properties of context are called as methods if possible + if ( isFunction( this[ match ] ) ) { + this[ match ]( context[ match ] ); + + // ...and otherwise set as attributes + } else { + this.attr( match, context[ match ] ); + } + } + } + + return this; + + // HANDLE: $(#id) + } else { + elem = document.getElementById( match[ 2 ] ); + + if ( elem ) { + + // Inject the element directly into the jQuery object + this[ 0 ] = elem; + this.length = 1; + } + return this; + } + + // HANDLE: $(expr, $(...)) + } else if ( !context || context.jquery ) { + return ( context || root ).find( selector ); + + // HANDLE: $(expr, context) + // (which is just equivalent to: $(context).find(expr) + } else { + return this.constructor( context ).find( selector ); + } + + // HANDLE: $(DOMElement) + } else if ( selector.nodeType ) { + this[ 0 ] = selector; + this.length = 1; + return this; + + // HANDLE: $(function) + // Shortcut for document ready + } else if ( isFunction( selector ) ) { + return root.ready !== undefined ? + root.ready( selector ) : + + // Execute immediately if ready is not present + selector( jQuery ); + } + + return jQuery.makeArray( selector, this ); + }; + +// Give the init function the jQuery prototype for later instantiation +init.prototype = jQuery.fn; + +// Initialize central reference +rootjQuery = jQuery( document ); + + +var rparentsprev = /^(?:parents|prev(?:Until|All))/, + + // Methods guaranteed to produce a unique set when starting from a unique set + guaranteedUnique = { + children: true, + contents: true, + next: true, + prev: true + }; + +jQuery.fn.extend( { + has: function( target ) { + var targets = jQuery( target, this ), + l = targets.length; + + return this.filter( function() { + var i = 0; + for ( ; i < l; i++ ) { + if ( jQuery.contains( this, targets[ i ] ) ) { + return true; + } + } + } ); + }, + + closest: function( selectors, context ) { + var cur, + i = 0, + l = this.length, + matched = [], + targets = typeof selectors !== "string" && jQuery( selectors ); + + // Positional selectors never match, since there's no _selection_ context + if ( !rneedsContext.test( selectors ) ) { + for ( ; i < l; i++ ) { + for ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) { + + // Always skip document fragments + if ( cur.nodeType < 11 && ( targets ? + targets.index( cur ) > -1 : + + // Don't pass non-elements to Sizzle + cur.nodeType === 1 && + jQuery.find.matchesSelector( cur, selectors ) ) ) { + + matched.push( cur ); + break; + } + } + } + } + + return this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched ); + }, + + // Determine the position of an element within the set + index: function( elem ) { + + // No argument, return index in parent + if ( !elem ) { + return ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1; + } + + // Index in selector + if ( typeof elem === "string" ) { + return indexOf.call( jQuery( elem ), this[ 0 ] ); + } + + // Locate the position of the desired element + return indexOf.call( this, + + // If it receives a jQuery object, the first element is used + elem.jquery ? elem[ 0 ] : elem + ); + }, + + add: function( selector, context ) { + return this.pushStack( + jQuery.uniqueSort( + jQuery.merge( this.get(), jQuery( selector, context ) ) + ) + ); + }, + + addBack: function( selector ) { + return this.add( selector == null ? + this.prevObject : this.prevObject.filter( selector ) + ); + } +} ); + +function sibling( cur, dir ) { + while ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {} + return cur; +} + +jQuery.each( { + parent: function( elem ) { + var parent = elem.parentNode; + return parent && parent.nodeType !== 11 ? parent : null; + }, + parents: function( elem ) { + return dir( elem, "parentNode" ); + }, + parentsUntil: function( elem, _i, until ) { + return dir( elem, "parentNode", until ); + }, + next: function( elem ) { + return sibling( elem, "nextSibling" ); + }, + prev: function( elem ) { + return sibling( elem, "previousSibling" ); + }, + nextAll: function( elem ) { + return dir( elem, "nextSibling" ); + }, + prevAll: function( elem ) { + return dir( elem, "previousSibling" ); + }, + nextUntil: function( elem, _i, until ) { + return dir( elem, "nextSibling", until ); + }, + prevUntil: function( elem, _i, until ) { + return dir( elem, "previousSibling", until ); + }, + siblings: function( elem ) { + return siblings( ( elem.parentNode || {} ).firstChild, elem ); + }, + children: function( elem ) { + return siblings( elem.firstChild ); + }, + contents: function( elem ) { + if ( elem.contentDocument != null && + + // Support: IE 11+ + // elements with no `data` attribute has an object + // `contentDocument` with a `null` prototype. + getProto( elem.contentDocument ) ) { + + return elem.contentDocument; + } + + // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only + // Treat the template element as a regular one in browsers that + // don't support it. + if ( nodeName( elem, "template" ) ) { + elem = elem.content || elem; + } + + return jQuery.merge( [], elem.childNodes ); + } +}, function( name, fn ) { + jQuery.fn[ name ] = function( until, selector ) { + var matched = jQuery.map( this, fn, until ); + + if ( name.slice( -5 ) !== "Until" ) { + selector = until; + } + + if ( selector && typeof selector === "string" ) { + matched = jQuery.filter( selector, matched ); + } + + if ( this.length > 1 ) { + + // Remove duplicates + if ( !guaranteedUnique[ name ] ) { + jQuery.uniqueSort( matched ); + } + + // Reverse order for parents* and prev-derivatives + if ( rparentsprev.test( name ) ) { + matched.reverse(); + } + } + + return this.pushStack( matched ); + }; +} ); +var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g ); + + + +// Convert String-formatted options into Object-formatted ones +function createOptions( options ) { + var object = {}; + jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) { + object[ flag ] = true; + } ); + return object; +} + +/* + * Create a callback list using the following parameters: + * + * options: an optional list of space-separated options that will change how + * the callback list behaves or a more traditional option object + * + * By default a callback list will act like an event callback list and can be + * "fired" multiple times. + * + * Possible options: + * + * once: will ensure the callback list can only be fired once (like a Deferred) + * + * memory: will keep track of previous values and will call any callback added + * after the list has been fired right away with the latest "memorized" + * values (like a Deferred) + * + * unique: will ensure a callback can only be added once (no duplicate in the list) + * + * stopOnFalse: interrupt callings when a callback returns false + * + */ +jQuery.Callbacks = function( options ) { + + // Convert options from String-formatted to Object-formatted if needed + // (we check in cache first) + options = typeof options === "string" ? + createOptions( options ) : + jQuery.extend( {}, options ); + + var // Flag to know if list is currently firing + firing, + + // Last fire value for non-forgettable lists + memory, + + // Flag to know if list was already fired + fired, + + // Flag to prevent firing + locked, + + // Actual callback list + list = [], + + // Queue of execution data for repeatable lists + queue = [], + + // Index of currently firing callback (modified by add/remove as needed) + firingIndex = -1, + + // Fire callbacks + fire = function() { + + // Enforce single-firing + locked = locked || options.once; + + // Execute callbacks for all pending executions, + // respecting firingIndex overrides and runtime changes + fired = firing = true; + for ( ; queue.length; firingIndex = -1 ) { + memory = queue.shift(); + while ( ++firingIndex < list.length ) { + + // Run callback and check for early termination + if ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false && + options.stopOnFalse ) { + + // Jump to end and forget the data so .add doesn't re-fire + firingIndex = list.length; + memory = false; + } + } + } + + // Forget the data if we're done with it + if ( !options.memory ) { + memory = false; + } + + firing = false; + + // Clean up if we're done firing for good + if ( locked ) { + + // Keep an empty list if we have data for future add calls + if ( memory ) { + list = []; + + // Otherwise, this object is spent + } else { + list = ""; + } + } + }, + + // Actual Callbacks object + self = { + + // Add a callback or a collection of callbacks to the list + add: function() { + if ( list ) { + + // If we have memory from a past run, we should fire after adding + if ( memory && !firing ) { + firingIndex = list.length - 1; + queue.push( memory ); + } + + ( function add( args ) { + jQuery.each( args, function( _, arg ) { + if ( isFunction( arg ) ) { + if ( !options.unique || !self.has( arg ) ) { + list.push( arg ); + } + } else if ( arg && arg.length && toType( arg ) !== "string" ) { + + // Inspect recursively + add( arg ); + } + } ); + } )( arguments ); + + if ( memory && !firing ) { + fire(); + } + } + return this; + }, + + // Remove a callback from the list + remove: function() { + jQuery.each( arguments, function( _, arg ) { + var index; + while ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) { + list.splice( index, 1 ); + + // Handle firing indexes + if ( index <= firingIndex ) { + firingIndex--; + } + } + } ); + return this; + }, + + // Check if a given callback is in the list. + // If no argument is given, return whether or not list has callbacks attached. + has: function( fn ) { + return fn ? + jQuery.inArray( fn, list ) > -1 : + list.length > 0; + }, + + // Remove all callbacks from the list + empty: function() { + if ( list ) { + list = []; + } + return this; + }, + + // Disable .fire and .add + // Abort any current/pending executions + // Clear all callbacks and values + disable: function() { + locked = queue = []; + list = memory = ""; + return this; + }, + disabled: function() { + return !list; + }, + + // Disable .fire + // Also disable .add unless we have memory (since it would have no effect) + // Abort any pending executions + lock: function() { + locked = queue = []; + if ( !memory && !firing ) { + list = memory = ""; + } + return this; + }, + locked: function() { + return !!locked; + }, + + // Call all callbacks with the given context and arguments + fireWith: function( context, args ) { + if ( !locked ) { + args = args || []; + args = [ context, args.slice ? args.slice() : args ]; + queue.push( args ); + if ( !firing ) { + fire(); + } + } + return this; + }, + + // Call all the callbacks with the given arguments + fire: function() { + self.fireWith( this, arguments ); + return this; + }, + + // To know if the callbacks have already been called at least once + fired: function() { + return !!fired; + } + }; + + return self; +}; + + +function Identity( v ) { + return v; +} +function Thrower( ex ) { + throw ex; +} + +function adoptValue( value, resolve, reject, noValue ) { + var method; + + try { + + // Check for promise aspect first to privilege synchronous behavior + if ( value && isFunction( ( method = value.promise ) ) ) { + method.call( value ).done( resolve ).fail( reject ); + + // Other thenables + } else if ( value && isFunction( ( method = value.then ) ) ) { + method.call( value, resolve, reject ); + + // Other non-thenables + } else { + + // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer: + // * false: [ value ].slice( 0 ) => resolve( value ) + // * true: [ value ].slice( 1 ) => resolve() + resolve.apply( undefined, [ value ].slice( noValue ) ); + } + + // For Promises/A+, convert exceptions into rejections + // Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in + // Deferred#then to conditionally suppress rejection. + } catch ( value ) { + + // Support: Android 4.0 only + // Strict mode functions invoked without .call/.apply get global-object context + reject.apply( undefined, [ value ] ); + } +} + +jQuery.extend( { + + Deferred: function( func ) { + var tuples = [ + + // action, add listener, callbacks, + // ... .then handlers, argument index, [final state] + [ "notify", "progress", jQuery.Callbacks( "memory" ), + jQuery.Callbacks( "memory" ), 2 ], + [ "resolve", "done", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 0, "resolved" ], + [ "reject", "fail", jQuery.Callbacks( "once memory" ), + jQuery.Callbacks( "once memory" ), 1, "rejected" ] + ], + state = "pending", + promise = { + state: function() { + return state; + }, + always: function() { + deferred.done( arguments ).fail( arguments ); + return this; + }, + "catch": function( fn ) { + return promise.then( null, fn ); + }, + + // Keep pipe for back-compat + pipe: function( /* fnDone, fnFail, fnProgress */ ) { + var fns = arguments; + + return jQuery.Deferred( function( newDefer ) { + jQuery.each( tuples, function( _i, tuple ) { + + // Map tuples (progress, done, fail) to arguments (done, fail, progress) + var fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ]; + + // deferred.progress(function() { bind to newDefer or newDefer.notify }) + // deferred.done(function() { bind to newDefer or newDefer.resolve }) + // deferred.fail(function() { bind to newDefer or newDefer.reject }) + deferred[ tuple[ 1 ] ]( function() { + var returned = fn && fn.apply( this, arguments ); + if ( returned && isFunction( returned.promise ) ) { + returned.promise() + .progress( newDefer.notify ) + .done( newDefer.resolve ) + .fail( newDefer.reject ); + } else { + newDefer[ tuple[ 0 ] + "With" ]( + this, + fn ? [ returned ] : arguments + ); + } + } ); + } ); + fns = null; + } ).promise(); + }, + then: function( onFulfilled, onRejected, onProgress ) { + var maxDepth = 0; + function resolve( depth, deferred, handler, special ) { + return function() { + var that = this, + args = arguments, + mightThrow = function() { + var returned, then; + + // Support: Promises/A+ section 2.3.3.3.3 + // https://promisesaplus.com/#point-59 + // Ignore double-resolution attempts + if ( depth < maxDepth ) { + return; + } + + returned = handler.apply( that, args ); + + // Support: Promises/A+ section 2.3.1 + // https://promisesaplus.com/#point-48 + if ( returned === deferred.promise() ) { + throw new TypeError( "Thenable self-resolution" ); + } + + // Support: Promises/A+ sections 2.3.3.1, 3.5 + // https://promisesaplus.com/#point-54 + // https://promisesaplus.com/#point-75 + // Retrieve `then` only once + then = returned && + + // Support: Promises/A+ section 2.3.4 + // https://promisesaplus.com/#point-64 + // Only check objects and functions for thenability + ( typeof returned === "object" || + typeof returned === "function" ) && + returned.then; + + // Handle a returned thenable + if ( isFunction( then ) ) { + + // Special processors (notify) just wait for resolution + if ( special ) { + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ) + ); + + // Normal processors (resolve) also hook into progress + } else { + + // ...and disregard older resolution values + maxDepth++; + + then.call( + returned, + resolve( maxDepth, deferred, Identity, special ), + resolve( maxDepth, deferred, Thrower, special ), + resolve( maxDepth, deferred, Identity, + deferred.notifyWith ) + ); + } + + // Handle all other returned values + } else { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Identity ) { + that = undefined; + args = [ returned ]; + } + + // Process the value(s) + // Default process is resolve + ( special || deferred.resolveWith )( that, args ); + } + }, + + // Only normal processors (resolve) catch and reject exceptions + process = special ? + mightThrow : + function() { + try { + mightThrow(); + } catch ( e ) { + + if ( jQuery.Deferred.exceptionHook ) { + jQuery.Deferred.exceptionHook( e, + process.stackTrace ); + } + + // Support: Promises/A+ section 2.3.3.3.4.1 + // https://promisesaplus.com/#point-61 + // Ignore post-resolution exceptions + if ( depth + 1 >= maxDepth ) { + + // Only substitute handlers pass on context + // and multiple values (non-spec behavior) + if ( handler !== Thrower ) { + that = undefined; + args = [ e ]; + } + + deferred.rejectWith( that, args ); + } + } + }; + + // Support: Promises/A+ section 2.3.3.3.1 + // https://promisesaplus.com/#point-57 + // Re-resolve promises immediately to dodge false rejection from + // subsequent errors + if ( depth ) { + process(); + } else { + + // Call an optional hook to record the stack, in case of exception + // since it's otherwise lost when execution goes async + if ( jQuery.Deferred.getStackHook ) { + process.stackTrace = jQuery.Deferred.getStackHook(); + } + window.setTimeout( process ); + } + }; + } + + return jQuery.Deferred( function( newDefer ) { + + // progress_handlers.add( ... ) + tuples[ 0 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onProgress ) ? + onProgress : + Identity, + newDefer.notifyWith + ) + ); + + // fulfilled_handlers.add( ... ) + tuples[ 1 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onFulfilled ) ? + onFulfilled : + Identity + ) + ); + + // rejected_handlers.add( ... ) + tuples[ 2 ][ 3 ].add( + resolve( + 0, + newDefer, + isFunction( onRejected ) ? + onRejected : + Thrower + ) + ); + } ).promise(); + }, + + // Get a promise for this deferred + // If obj is provided, the promise aspect is added to the object + promise: function( obj ) { + return obj != null ? jQuery.extend( obj, promise ) : promise; + } + }, + deferred = {}; + + // Add list-specific methods + jQuery.each( tuples, function( i, tuple ) { + var list = tuple[ 2 ], + stateString = tuple[ 5 ]; + + // promise.progress = list.add + // promise.done = list.add + // promise.fail = list.add + promise[ tuple[ 1 ] ] = list.add; + + // Handle state + if ( stateString ) { + list.add( + function() { + + // state = "resolved" (i.e., fulfilled) + // state = "rejected" + state = stateString; + }, + + // rejected_callbacks.disable + // fulfilled_callbacks.disable + tuples[ 3 - i ][ 2 ].disable, + + // rejected_handlers.disable + // fulfilled_handlers.disable + tuples[ 3 - i ][ 3 ].disable, + + // progress_callbacks.lock + tuples[ 0 ][ 2 ].lock, + + // progress_handlers.lock + tuples[ 0 ][ 3 ].lock + ); + } + + // progress_handlers.fire + // fulfilled_handlers.fire + // rejected_handlers.fire + list.add( tuple[ 3 ].fire ); + + // deferred.notify = function() { deferred.notifyWith(...) } + // deferred.resolve = function() { deferred.resolveWith(...) } + // deferred.reject = function() { deferred.rejectWith(...) } + deferred[ tuple[ 0 ] ] = function() { + deferred[ tuple[ 0 ] + "With" ]( this === deferred ? undefined : this, arguments ); + return this; + }; + + // deferred.notifyWith = list.fireWith + // deferred.resolveWith = list.fireWith + // deferred.rejectWith = list.fireWith + deferred[ tuple[ 0 ] + "With" ] = list.fireWith; + } ); + + // Make the deferred a promise + promise.promise( deferred ); + + // Call given func if any + if ( func ) { + func.call( deferred, deferred ); + } + + // All done! + return deferred; + }, + + // Deferred helper + when: function( singleValue ) { + var + + // count of uncompleted subordinates + remaining = arguments.length, + + // count of unprocessed arguments + i = remaining, + + // subordinate fulfillment data + resolveContexts = Array( i ), + resolveValues = slice.call( arguments ), + + // the primary Deferred + primary = jQuery.Deferred(), + + // subordinate callback factory + updateFunc = function( i ) { + return function( value ) { + resolveContexts[ i ] = this; + resolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value; + if ( !( --remaining ) ) { + primary.resolveWith( resolveContexts, resolveValues ); + } + }; + }; + + // Single- and empty arguments are adopted like Promise.resolve + if ( remaining <= 1 ) { + adoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject, + !remaining ); + + // Use .then() to unwrap secondary thenables (cf. gh-3000) + if ( primary.state() === "pending" || + isFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) { + + return primary.then(); + } + } + + // Multiple arguments are aggregated like Promise.all array elements + while ( i-- ) { + adoptValue( resolveValues[ i ], updateFunc( i ), primary.reject ); + } + + return primary.promise(); + } +} ); + + +// These usually indicate a programmer mistake during development, +// warn about them ASAP rather than swallowing them by default. +var rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/; + +jQuery.Deferred.exceptionHook = function( error, stack ) { + + // Support: IE 8 - 9 only + // Console exists when dev tools are open, which can happen at any time + if ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) { + window.console.warn( "jQuery.Deferred exception: " + error.message, error.stack, stack ); + } +}; + + + + +jQuery.readyException = function( error ) { + window.setTimeout( function() { + throw error; + } ); +}; + + + + +// The deferred used on DOM ready +var readyList = jQuery.Deferred(); + +jQuery.fn.ready = function( fn ) { + + readyList + .then( fn ) + + // Wrap jQuery.readyException in a function so that the lookup + // happens at the time of error handling instead of callback + // registration. + .catch( function( error ) { + jQuery.readyException( error ); + } ); + + return this; +}; + +jQuery.extend( { + + // Is the DOM ready to be used? Set to true once it occurs. + isReady: false, + + // A counter to track how many items to wait for before + // the ready event fires. See #6781 + readyWait: 1, + + // Handle when the DOM is ready + ready: function( wait ) { + + // Abort if there are pending holds or we're already ready + if ( wait === true ? --jQuery.readyWait : jQuery.isReady ) { + return; + } + + // Remember that the DOM is ready + jQuery.isReady = true; + + // If a normal DOM Ready event fired, decrement, and wait if need be + if ( wait !== true && --jQuery.readyWait > 0 ) { + return; + } + + // If there are functions bound, to execute + readyList.resolveWith( document, [ jQuery ] ); + } +} ); + +jQuery.ready.then = readyList.then; + +// The ready event handler and self cleanup method +function completed() { + document.removeEventListener( "DOMContentLoaded", completed ); + window.removeEventListener( "load", completed ); + jQuery.ready(); +} + +// Catch cases where $(document).ready() is called +// after the browser event has already occurred. +// Support: IE <=9 - 10 only +// Older IE sometimes signals "interactive" too soon +if ( document.readyState === "complete" || + ( document.readyState !== "loading" && !document.documentElement.doScroll ) ) { + + // Handle it asynchronously to allow scripts the opportunity to delay ready + window.setTimeout( jQuery.ready ); + +} else { + + // Use the handy event callback + document.addEventListener( "DOMContentLoaded", completed ); + + // A fallback to window.onload, that will always work + window.addEventListener( "load", completed ); +} + + + + +// Multifunctional method to get and set values of a collection +// The value/s can optionally be executed if it's a function +var access = function( elems, fn, key, value, chainable, emptyGet, raw ) { + var i = 0, + len = elems.length, + bulk = key == null; + + // Sets many values + if ( toType( key ) === "object" ) { + chainable = true; + for ( i in key ) { + access( elems, fn, i, key[ i ], true, emptyGet, raw ); + } + + // Sets one value + } else if ( value !== undefined ) { + chainable = true; + + if ( !isFunction( value ) ) { + raw = true; + } + + if ( bulk ) { + + // Bulk operations run against the entire set + if ( raw ) { + fn.call( elems, value ); + fn = null; + + // ...except when executing function values + } else { + bulk = fn; + fn = function( elem, _key, value ) { + return bulk.call( jQuery( elem ), value ); + }; + } + } + + if ( fn ) { + for ( ; i < len; i++ ) { + fn( + elems[ i ], key, raw ? + value : + value.call( elems[ i ], i, fn( elems[ i ], key ) ) + ); + } + } + } + + if ( chainable ) { + return elems; + } + + // Gets + if ( bulk ) { + return fn.call( elems ); + } + + return len ? fn( elems[ 0 ], key ) : emptyGet; +}; + + +// Matches dashed string for camelizing +var rmsPrefix = /^-ms-/, + rdashAlpha = /-([a-z])/g; + +// Used by camelCase as callback to replace() +function fcamelCase( _all, letter ) { + return letter.toUpperCase(); +} + +// Convert dashed to camelCase; used by the css and data modules +// Support: IE <=9 - 11, Edge 12 - 15 +// Microsoft forgot to hump their vendor prefix (#9572) +function camelCase( string ) { + return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase ); +} +var acceptData = function( owner ) { + + // Accepts only: + // - Node + // - Node.ELEMENT_NODE + // - Node.DOCUMENT_NODE + // - Object + // - Any + return owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType ); +}; + + + + +function Data() { + this.expando = jQuery.expando + Data.uid++; +} + +Data.uid = 1; + +Data.prototype = { + + cache: function( owner ) { + + // Check if the owner object already has a cache + var value = owner[ this.expando ]; + + // If not, create one + if ( !value ) { + value = {}; + + // We can accept data for non-element nodes in modern browsers, + // but we should not, see #8335. + // Always return an empty object. + if ( acceptData( owner ) ) { + + // If it is a node unlikely to be stringify-ed or looped over + // use plain assignment + if ( owner.nodeType ) { + owner[ this.expando ] = value; + + // Otherwise secure it in a non-enumerable property + // configurable must be true to allow the property to be + // deleted when data is removed + } else { + Object.defineProperty( owner, this.expando, { + value: value, + configurable: true + } ); + } + } + } + + return value; + }, + set: function( owner, data, value ) { + var prop, + cache = this.cache( owner ); + + // Handle: [ owner, key, value ] args + // Always use camelCase key (gh-2257) + if ( typeof data === "string" ) { + cache[ camelCase( data ) ] = value; + + // Handle: [ owner, { properties } ] args + } else { + + // Copy the properties one-by-one to the cache object + for ( prop in data ) { + cache[ camelCase( prop ) ] = data[ prop ]; + } + } + return cache; + }, + get: function( owner, key ) { + return key === undefined ? + this.cache( owner ) : + + // Always use camelCase key (gh-2257) + owner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ]; + }, + access: function( owner, key, value ) { + + // In cases where either: + // + // 1. No key was specified + // 2. A string key was specified, but no value provided + // + // Take the "read" path and allow the get method to determine + // which value to return, respectively either: + // + // 1. The entire cache object + // 2. The data stored at the key + // + if ( key === undefined || + ( ( key && typeof key === "string" ) && value === undefined ) ) { + + return this.get( owner, key ); + } + + // When the key is not a string, or both a key and value + // are specified, set or extend (existing objects) with either: + // + // 1. An object of properties + // 2. A key and value + // + this.set( owner, key, value ); + + // Since the "set" path can have two possible entry points + // return the expected data based on which path was taken[*] + return value !== undefined ? value : key; + }, + remove: function( owner, key ) { + var i, + cache = owner[ this.expando ]; + + if ( cache === undefined ) { + return; + } + + if ( key !== undefined ) { + + // Support array or space separated string of keys + if ( Array.isArray( key ) ) { + + // If key is an array of keys... + // We always set camelCase keys, so remove that. + key = key.map( camelCase ); + } else { + key = camelCase( key ); + + // If a key with the spaces exists, use it. + // Otherwise, create an array by matching non-whitespace + key = key in cache ? + [ key ] : + ( key.match( rnothtmlwhite ) || [] ); + } + + i = key.length; + + while ( i-- ) { + delete cache[ key[ i ] ]; + } + } + + // Remove the expando if there's no more data + if ( key === undefined || jQuery.isEmptyObject( cache ) ) { + + // Support: Chrome <=35 - 45 + // Webkit & Blink performance suffers when deleting properties + // from DOM nodes, so set to undefined instead + // https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted) + if ( owner.nodeType ) { + owner[ this.expando ] = undefined; + } else { + delete owner[ this.expando ]; + } + } + }, + hasData: function( owner ) { + var cache = owner[ this.expando ]; + return cache !== undefined && !jQuery.isEmptyObject( cache ); + } +}; +var dataPriv = new Data(); + +var dataUser = new Data(); + + + +// Implementation Summary +// +// 1. Enforce API surface and semantic compatibility with 1.9.x branch +// 2. Improve the module's maintainability by reducing the storage +// paths to a single mechanism. +// 3. Use the same single mechanism to support "private" and "user" data. +// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData) +// 5. Avoid exposing implementation details on user objects (eg. expando properties) +// 6. Provide a clear path for implementation upgrade to WeakMap in 2014 + +var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/, + rmultiDash = /[A-Z]/g; + +function getData( data ) { + if ( data === "true" ) { + return true; + } + + if ( data === "false" ) { + return false; + } + + if ( data === "null" ) { + return null; + } + + // Only convert to a number if it doesn't change the string + if ( data === +data + "" ) { + return +data; + } + + if ( rbrace.test( data ) ) { + return JSON.parse( data ); + } + + return data; +} + +function dataAttr( elem, key, data ) { + var name; + + // If nothing was found internally, try to fetch any + // data from the HTML5 data-* attribute + if ( data === undefined && elem.nodeType === 1 ) { + name = "data-" + key.replace( rmultiDash, "-$&" ).toLowerCase(); + data = elem.getAttribute( name ); + + if ( typeof data === "string" ) { + try { + data = getData( data ); + } catch ( e ) {} + + // Make sure we set the data so it isn't changed later + dataUser.set( elem, key, data ); + } else { + data = undefined; + } + } + return data; +} + +jQuery.extend( { + hasData: function( elem ) { + return dataUser.hasData( elem ) || dataPriv.hasData( elem ); + }, + + data: function( elem, name, data ) { + return dataUser.access( elem, name, data ); + }, + + removeData: function( elem, name ) { + dataUser.remove( elem, name ); + }, + + // TODO: Now that all calls to _data and _removeData have been replaced + // with direct calls to dataPriv methods, these can be deprecated. + _data: function( elem, name, data ) { + return dataPriv.access( elem, name, data ); + }, + + _removeData: function( elem, name ) { + dataPriv.remove( elem, name ); + } +} ); + +jQuery.fn.extend( { + data: function( key, value ) { + var i, name, data, + elem = this[ 0 ], + attrs = elem && elem.attributes; + + // Gets all values + if ( key === undefined ) { + if ( this.length ) { + data = dataUser.get( elem ); + + if ( elem.nodeType === 1 && !dataPriv.get( elem, "hasDataAttrs" ) ) { + i = attrs.length; + while ( i-- ) { + + // Support: IE 11 only + // The attrs elements can be null (#14894) + if ( attrs[ i ] ) { + name = attrs[ i ].name; + if ( name.indexOf( "data-" ) === 0 ) { + name = camelCase( name.slice( 5 ) ); + dataAttr( elem, name, data[ name ] ); + } + } + } + dataPriv.set( elem, "hasDataAttrs", true ); + } + } + + return data; + } + + // Sets multiple values + if ( typeof key === "object" ) { + return this.each( function() { + dataUser.set( this, key ); + } ); + } + + return access( this, function( value ) { + var data; + + // The calling jQuery object (element matches) is not empty + // (and therefore has an element appears at this[ 0 ]) and the + // `value` parameter was not undefined. An empty jQuery object + // will result in `undefined` for elem = this[ 0 ] which will + // throw an exception if an attempt to read a data cache is made. + if ( elem && value === undefined ) { + + // Attempt to get data from the cache + // The key will always be camelCased in Data + data = dataUser.get( elem, key ); + if ( data !== undefined ) { + return data; + } + + // Attempt to "discover" the data in + // HTML5 custom data-* attrs + data = dataAttr( elem, key ); + if ( data !== undefined ) { + return data; + } + + // We tried really hard, but the data doesn't exist. + return; + } + + // Set the data... + this.each( function() { + + // We always store the camelCased key + dataUser.set( this, key, value ); + } ); + }, null, value, arguments.length > 1, null, true ); + }, + + removeData: function( key ) { + return this.each( function() { + dataUser.remove( this, key ); + } ); + } +} ); + + +jQuery.extend( { + queue: function( elem, type, data ) { + var queue; + + if ( elem ) { + type = ( type || "fx" ) + "queue"; + queue = dataPriv.get( elem, type ); + + // Speed up dequeue by getting out quickly if this is just a lookup + if ( data ) { + if ( !queue || Array.isArray( data ) ) { + queue = dataPriv.access( elem, type, jQuery.makeArray( data ) ); + } else { + queue.push( data ); + } + } + return queue || []; + } + }, + + dequeue: function( elem, type ) { + type = type || "fx"; + + var queue = jQuery.queue( elem, type ), + startLength = queue.length, + fn = queue.shift(), + hooks = jQuery._queueHooks( elem, type ), + next = function() { + jQuery.dequeue( elem, type ); + }; + + // If the fx queue is dequeued, always remove the progress sentinel + if ( fn === "inprogress" ) { + fn = queue.shift(); + startLength--; + } + + if ( fn ) { + + // Add a progress sentinel to prevent the fx queue from being + // automatically dequeued + if ( type === "fx" ) { + queue.unshift( "inprogress" ); + } + + // Clear up the last queue stop function + delete hooks.stop; + fn.call( elem, next, hooks ); + } + + if ( !startLength && hooks ) { + hooks.empty.fire(); + } + }, + + // Not public - generate a queueHooks object, or return the current one + _queueHooks: function( elem, type ) { + var key = type + "queueHooks"; + return dataPriv.get( elem, key ) || dataPriv.access( elem, key, { + empty: jQuery.Callbacks( "once memory" ).add( function() { + dataPriv.remove( elem, [ type + "queue", key ] ); + } ) + } ); + } +} ); + +jQuery.fn.extend( { + queue: function( type, data ) { + var setter = 2; + + if ( typeof type !== "string" ) { + data = type; + type = "fx"; + setter--; + } + + if ( arguments.length < setter ) { + return jQuery.queue( this[ 0 ], type ); + } + + return data === undefined ? + this : + this.each( function() { + var queue = jQuery.queue( this, type, data ); + + // Ensure a hooks for this queue + jQuery._queueHooks( this, type ); + + if ( type === "fx" && queue[ 0 ] !== "inprogress" ) { + jQuery.dequeue( this, type ); + } + } ); + }, + dequeue: function( type ) { + return this.each( function() { + jQuery.dequeue( this, type ); + } ); + }, + clearQueue: function( type ) { + return this.queue( type || "fx", [] ); + }, + + // Get a promise resolved when queues of a certain type + // are emptied (fx is the type by default) + promise: function( type, obj ) { + var tmp, + count = 1, + defer = jQuery.Deferred(), + elements = this, + i = this.length, + resolve = function() { + if ( !( --count ) ) { + defer.resolveWith( elements, [ elements ] ); + } + }; + + if ( typeof type !== "string" ) { + obj = type; + type = undefined; + } + type = type || "fx"; + + while ( i-- ) { + tmp = dataPriv.get( elements[ i ], type + "queueHooks" ); + if ( tmp && tmp.empty ) { + count++; + tmp.empty.add( resolve ); + } + } + resolve(); + return defer.promise( obj ); + } +} ); +var pnum = ( /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/ ).source; + +var rcssNum = new RegExp( "^(?:([+-])=|)(" + pnum + ")([a-z%]*)$", "i" ); + + +var cssExpand = [ "Top", "Right", "Bottom", "Left" ]; + +var documentElement = document.documentElement; + + + + var isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ); + }, + composed = { composed: true }; + + // Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only + // Check attachment across shadow DOM boundaries when possible (gh-3504) + // Support: iOS 10.0-10.2 only + // Early iOS 10 versions support `attachShadow` but not `getRootNode`, + // leading to errors. We need to check for `getRootNode`. + if ( documentElement.getRootNode ) { + isAttached = function( elem ) { + return jQuery.contains( elem.ownerDocument, elem ) || + elem.getRootNode( composed ) === elem.ownerDocument; + }; + } +var isHiddenWithinTree = function( elem, el ) { + + // isHiddenWithinTree might be called from jQuery#filter function; + // in that case, element will be second argument + elem = el || elem; + + // Inline style trumps all + return elem.style.display === "none" || + elem.style.display === "" && + + // Otherwise, check computed style + // Support: Firefox <=43 - 45 + // Disconnected elements can have computed display: none, so first confirm that elem is + // in the document. + isAttached( elem ) && + + jQuery.css( elem, "display" ) === "none"; + }; + + + +function adjustCSS( elem, prop, valueParts, tween ) { + var adjusted, scale, + maxIterations = 20, + currentValue = tween ? + function() { + return tween.cur(); + } : + function() { + return jQuery.css( elem, prop, "" ); + }, + initial = currentValue(), + unit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? "" : "px" ), + + // Starting value computation is required for potential unit mismatches + initialInUnit = elem.nodeType && + ( jQuery.cssNumber[ prop ] || unit !== "px" && +initial ) && + rcssNum.exec( jQuery.css( elem, prop ) ); + + if ( initialInUnit && initialInUnit[ 3 ] !== unit ) { + + // Support: Firefox <=54 + // Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144) + initial = initial / 2; + + // Trust units reported by jQuery.css + unit = unit || initialInUnit[ 3 ]; + + // Iteratively approximate from a nonzero starting point + initialInUnit = +initial || 1; + + while ( maxIterations-- ) { + + // Evaluate and update our best guess (doubling guesses that zero out). + // Finish if the scale equals or crosses 1 (making the old*new product non-positive). + jQuery.style( elem, prop, initialInUnit + unit ); + if ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) { + maxIterations = 0; + } + initialInUnit = initialInUnit / scale; + + } + + initialInUnit = initialInUnit * 2; + jQuery.style( elem, prop, initialInUnit + unit ); + + // Make sure we update the tween properties later on + valueParts = valueParts || []; + } + + if ( valueParts ) { + initialInUnit = +initialInUnit || +initial || 0; + + // Apply relative offset (+=/-=) if specified + adjusted = valueParts[ 1 ] ? + initialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] : + +valueParts[ 2 ]; + if ( tween ) { + tween.unit = unit; + tween.start = initialInUnit; + tween.end = adjusted; + } + } + return adjusted; +} + + +var defaultDisplayMap = {}; + +function getDefaultDisplay( elem ) { + var temp, + doc = elem.ownerDocument, + nodeName = elem.nodeName, + display = defaultDisplayMap[ nodeName ]; + + if ( display ) { + return display; + } + + temp = doc.body.appendChild( doc.createElement( nodeName ) ); + display = jQuery.css( temp, "display" ); + + temp.parentNode.removeChild( temp ); + + if ( display === "none" ) { + display = "block"; + } + defaultDisplayMap[ nodeName ] = display; + + return display; +} + +function showHide( elements, show ) { + var display, elem, + values = [], + index = 0, + length = elements.length; + + // Determine new display value for elements that need to change + for ( ; index < length; index++ ) { + elem = elements[ index ]; + if ( !elem.style ) { + continue; + } + + display = elem.style.display; + if ( show ) { + + // Since we force visibility upon cascade-hidden elements, an immediate (and slow) + // check is required in this first loop unless we have a nonempty display value (either + // inline or about-to-be-restored) + if ( display === "none" ) { + values[ index ] = dataPriv.get( elem, "display" ) || null; + if ( !values[ index ] ) { + elem.style.display = ""; + } + } + if ( elem.style.display === "" && isHiddenWithinTree( elem ) ) { + values[ index ] = getDefaultDisplay( elem ); + } + } else { + if ( display !== "none" ) { + values[ index ] = "none"; + + // Remember what we're overwriting + dataPriv.set( elem, "display", display ); + } + } + } + + // Set the display of the elements in a second loop to avoid constant reflow + for ( index = 0; index < length; index++ ) { + if ( values[ index ] != null ) { + elements[ index ].style.display = values[ index ]; + } + } + + return elements; +} + +jQuery.fn.extend( { + show: function() { + return showHide( this, true ); + }, + hide: function() { + return showHide( this ); + }, + toggle: function( state ) { + if ( typeof state === "boolean" ) { + return state ? this.show() : this.hide(); + } + + return this.each( function() { + if ( isHiddenWithinTree( this ) ) { + jQuery( this ).show(); + } else { + jQuery( this ).hide(); + } + } ); + } +} ); +var rcheckableType = ( /^(?:checkbox|radio)$/i ); + +var rtagName = ( /<([a-z][^\/\0>\x20\t\r\n\f]*)/i ); + +var rscriptType = ( /^$|^module$|\/(?:java|ecma)script/i ); + + + +( function() { + var fragment = document.createDocumentFragment(), + div = fragment.appendChild( document.createElement( "div" ) ), + input = document.createElement( "input" ); + + // Support: Android 4.0 - 4.3 only + // Check state lost if the name is set (#11217) + // Support: Windows Web Apps (WWA) + // `name` and `type` must use .setAttribute for WWA (#14901) + input.setAttribute( "type", "radio" ); + input.setAttribute( "checked", "checked" ); + input.setAttribute( "name", "t" ); + + div.appendChild( input ); + + // Support: Android <=4.1 only + // Older WebKit doesn't clone checked state correctly in fragments + support.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked; + + // Support: IE <=11 only + // Make sure textarea (and checkbox) defaultValue is properly cloned + div.innerHTML = ""; + support.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue; + + // Support: IE <=9 only + // IE <=9 replaces "; + support.option = !!div.lastChild; +} )(); + + +// We have to close these tags to support XHTML (#13200) +var wrapMap = { + + // XHTML parsers do not magically insert elements in the + // same way that tag soup parsers do. So we cannot shorten + // this by omitting or other required elements. + thead: [ 1, "", "
" ], + col: [ 2, "", "
" ], + tr: [ 2, "", "
" ], + td: [ 3, "", "
" ], + + _default: [ 0, "", "" ] +}; + +wrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead; +wrapMap.th = wrapMap.td; + +// Support: IE <=9 only +if ( !support.option ) { + wrapMap.optgroup = wrapMap.option = [ 1, "" ]; +} + + +function getAll( context, tag ) { + + // Support: IE <=9 - 11 only + // Use typeof to avoid zero-argument method invocation on host objects (#15151) + var ret; + + if ( typeof context.getElementsByTagName !== "undefined" ) { + ret = context.getElementsByTagName( tag || "*" ); + + } else if ( typeof context.querySelectorAll !== "undefined" ) { + ret = context.querySelectorAll( tag || "*" ); + + } else { + ret = []; + } + + if ( tag === undefined || tag && nodeName( context, tag ) ) { + return jQuery.merge( [ context ], ret ); + } + + return ret; +} + + +// Mark scripts as having already been evaluated +function setGlobalEval( elems, refElements ) { + var i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + dataPriv.set( + elems[ i ], + "globalEval", + !refElements || dataPriv.get( refElements[ i ], "globalEval" ) + ); + } +} + + +var rhtml = /<|&#?\w+;/; + +function buildFragment( elems, context, scripts, selection, ignored ) { + var elem, tmp, tag, wrap, attached, j, + fragment = context.createDocumentFragment(), + nodes = [], + i = 0, + l = elems.length; + + for ( ; i < l; i++ ) { + elem = elems[ i ]; + + if ( elem || elem === 0 ) { + + // Add nodes directly + if ( toType( elem ) === "object" ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, elem.nodeType ? [ elem ] : elem ); + + // Convert non-html into a text node + } else if ( !rhtml.test( elem ) ) { + nodes.push( context.createTextNode( elem ) ); + + // Convert html into DOM nodes + } else { + tmp = tmp || fragment.appendChild( context.createElement( "div" ) ); + + // Deserialize a standard representation + tag = ( rtagName.exec( elem ) || [ "", "" ] )[ 1 ].toLowerCase(); + wrap = wrapMap[ tag ] || wrapMap._default; + tmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ]; + + // Descend through wrappers to the right content + j = wrap[ 0 ]; + while ( j-- ) { + tmp = tmp.lastChild; + } + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( nodes, tmp.childNodes ); + + // Remember the top-level container + tmp = fragment.firstChild; + + // Ensure the created nodes are orphaned (#12392) + tmp.textContent = ""; + } + } + } + + // Remove wrapper from fragment + fragment.textContent = ""; + + i = 0; + while ( ( elem = nodes[ i++ ] ) ) { + + // Skip elements already in the context collection (trac-4087) + if ( selection && jQuery.inArray( elem, selection ) > -1 ) { + if ( ignored ) { + ignored.push( elem ); + } + continue; + } + + attached = isAttached( elem ); + + // Append to fragment + tmp = getAll( fragment.appendChild( elem ), "script" ); + + // Preserve script evaluation history + if ( attached ) { + setGlobalEval( tmp ); + } + + // Capture executables + if ( scripts ) { + j = 0; + while ( ( elem = tmp[ j++ ] ) ) { + if ( rscriptType.test( elem.type || "" ) ) { + scripts.push( elem ); + } + } + } + } + + return fragment; +} + + +var rtypenamespace = /^([^.]*)(?:\.(.+)|)/; + +function returnTrue() { + return true; +} + +function returnFalse() { + return false; +} + +// Support: IE <=9 - 11+ +// focus() and blur() are asynchronous, except when they are no-op. +// So expect focus to be synchronous when the element is already active, +// and blur to be synchronous when the element is not already active. +// (focus and blur are always synchronous in other supported browsers, +// this just defines when we can count on it). +function expectSync( elem, type ) { + return ( elem === safeActiveElement() ) === ( type === "focus" ); +} + +// Support: IE <=9 only +// Accessing document.activeElement can throw unexpectedly +// https://bugs.jquery.com/ticket/13393 +function safeActiveElement() { + try { + return document.activeElement; + } catch ( err ) { } +} + +function on( elem, types, selector, data, fn, one ) { + var origFn, type; + + // Types can be a map of types/handlers + if ( typeof types === "object" ) { + + // ( types-Object, selector, data ) + if ( typeof selector !== "string" ) { + + // ( types-Object, data ) + data = data || selector; + selector = undefined; + } + for ( type in types ) { + on( elem, type, selector, data, types[ type ], one ); + } + return elem; + } + + if ( data == null && fn == null ) { + + // ( types, fn ) + fn = selector; + data = selector = undefined; + } else if ( fn == null ) { + if ( typeof selector === "string" ) { + + // ( types, selector, fn ) + fn = data; + data = undefined; + } else { + + // ( types, data, fn ) + fn = data; + data = selector; + selector = undefined; + } + } + if ( fn === false ) { + fn = returnFalse; + } else if ( !fn ) { + return elem; + } + + if ( one === 1 ) { + origFn = fn; + fn = function( event ) { + + // Can use an empty set, since event contains the info + jQuery().off( event ); + return origFn.apply( this, arguments ); + }; + + // Use same guid so caller can remove using origFn + fn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ ); + } + return elem.each( function() { + jQuery.event.add( this, types, fn, data, selector ); + } ); +} + +/* + * Helper functions for managing events -- not part of the public interface. + * Props to Dean Edwards' addEvent library for many of the ideas. + */ +jQuery.event = { + + global: {}, + + add: function( elem, types, handler, data, selector ) { + + var handleObjIn, eventHandle, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.get( elem ); + + // Only attach events to objects that accept data + if ( !acceptData( elem ) ) { + return; + } + + // Caller can pass in an object of custom data in lieu of the handler + if ( handler.handler ) { + handleObjIn = handler; + handler = handleObjIn.handler; + selector = handleObjIn.selector; + } + + // Ensure that invalid selectors throw exceptions at attach time + // Evaluate against documentElement in case elem is a non-element node (e.g., document) + if ( selector ) { + jQuery.find.matchesSelector( documentElement, selector ); + } + + // Make sure that the handler has a unique ID, used to find/remove it later + if ( !handler.guid ) { + handler.guid = jQuery.guid++; + } + + // Init the element's event structure and main handler, if this is the first + if ( !( events = elemData.events ) ) { + events = elemData.events = Object.create( null ); + } + if ( !( eventHandle = elemData.handle ) ) { + eventHandle = elemData.handle = function( e ) { + + // Discard the second event of a jQuery.event.trigger() and + // when an event is called after a page has unloaded + return typeof jQuery !== "undefined" && jQuery.event.triggered !== e.type ? + jQuery.event.dispatch.apply( elem, arguments ) : undefined; + }; + } + + // Handle multiple events separated by a space + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // There *must* be a type, no attaching namespace-only handlers + if ( !type ) { + continue; + } + + // If event changes its type, use the special event handlers for the changed type + special = jQuery.event.special[ type ] || {}; + + // If selector defined, determine special event api type, otherwise given type + type = ( selector ? special.delegateType : special.bindType ) || type; + + // Update special based on newly reset type + special = jQuery.event.special[ type ] || {}; + + // handleObj is passed to all event handlers + handleObj = jQuery.extend( { + type: type, + origType: origType, + data: data, + handler: handler, + guid: handler.guid, + selector: selector, + needsContext: selector && jQuery.expr.match.needsContext.test( selector ), + namespace: namespaces.join( "." ) + }, handleObjIn ); + + // Init the event handler queue if we're the first + if ( !( handlers = events[ type ] ) ) { + handlers = events[ type ] = []; + handlers.delegateCount = 0; + + // Only use addEventListener if the special events handler returns false + if ( !special.setup || + special.setup.call( elem, data, namespaces, eventHandle ) === false ) { + + if ( elem.addEventListener ) { + elem.addEventListener( type, eventHandle ); + } + } + } + + if ( special.add ) { + special.add.call( elem, handleObj ); + + if ( !handleObj.handler.guid ) { + handleObj.handler.guid = handler.guid; + } + } + + // Add to the element's handler list, delegates in front + if ( selector ) { + handlers.splice( handlers.delegateCount++, 0, handleObj ); + } else { + handlers.push( handleObj ); + } + + // Keep track of which events have ever been used, for event optimization + jQuery.event.global[ type ] = true; + } + + }, + + // Detach an event or set of events from an element + remove: function( elem, types, handler, selector, mappedTypes ) { + + var j, origCount, tmp, + events, t, handleObj, + special, handlers, type, namespaces, origType, + elemData = dataPriv.hasData( elem ) && dataPriv.get( elem ); + + if ( !elemData || !( events = elemData.events ) ) { + return; + } + + // Once for each type.namespace in types; type may be omitted + types = ( types || "" ).match( rnothtmlwhite ) || [ "" ]; + t = types.length; + while ( t-- ) { + tmp = rtypenamespace.exec( types[ t ] ) || []; + type = origType = tmp[ 1 ]; + namespaces = ( tmp[ 2 ] || "" ).split( "." ).sort(); + + // Unbind all events (on this namespace, if provided) for the element + if ( !type ) { + for ( type in events ) { + jQuery.event.remove( elem, type + types[ t ], handler, selector, true ); + } + continue; + } + + special = jQuery.event.special[ type ] || {}; + type = ( selector ? special.delegateType : special.bindType ) || type; + handlers = events[ type ] || []; + tmp = tmp[ 2 ] && + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ); + + // Remove matching events + origCount = j = handlers.length; + while ( j-- ) { + handleObj = handlers[ j ]; + + if ( ( mappedTypes || origType === handleObj.origType ) && + ( !handler || handler.guid === handleObj.guid ) && + ( !tmp || tmp.test( handleObj.namespace ) ) && + ( !selector || selector === handleObj.selector || + selector === "**" && handleObj.selector ) ) { + handlers.splice( j, 1 ); + + if ( handleObj.selector ) { + handlers.delegateCount--; + } + if ( special.remove ) { + special.remove.call( elem, handleObj ); + } + } + } + + // Remove generic event handler if we removed something and no more handlers exist + // (avoids potential for endless recursion during removal of special event handlers) + if ( origCount && !handlers.length ) { + if ( !special.teardown || + special.teardown.call( elem, namespaces, elemData.handle ) === false ) { + + jQuery.removeEvent( elem, type, elemData.handle ); + } + + delete events[ type ]; + } + } + + // Remove data and the expando if it's no longer used + if ( jQuery.isEmptyObject( events ) ) { + dataPriv.remove( elem, "handle events" ); + } + }, + + dispatch: function( nativeEvent ) { + + var i, j, ret, matched, handleObj, handlerQueue, + args = new Array( arguments.length ), + + // Make a writable jQuery.Event from the native event object + event = jQuery.event.fix( nativeEvent ), + + handlers = ( + dataPriv.get( this, "events" ) || Object.create( null ) + )[ event.type ] || [], + special = jQuery.event.special[ event.type ] || {}; + + // Use the fix-ed jQuery.Event rather than the (read-only) native event + args[ 0 ] = event; + + for ( i = 1; i < arguments.length; i++ ) { + args[ i ] = arguments[ i ]; + } + + event.delegateTarget = this; + + // Call the preDispatch hook for the mapped type, and let it bail if desired + if ( special.preDispatch && special.preDispatch.call( this, event ) === false ) { + return; + } + + // Determine handlers + handlerQueue = jQuery.event.handlers.call( this, event, handlers ); + + // Run delegates first; they may want to stop propagation beneath us + i = 0; + while ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) { + event.currentTarget = matched.elem; + + j = 0; + while ( ( handleObj = matched.handlers[ j++ ] ) && + !event.isImmediatePropagationStopped() ) { + + // If the event is namespaced, then each handler is only invoked if it is + // specially universal or its namespaces are a superset of the event's. + if ( !event.rnamespace || handleObj.namespace === false || + event.rnamespace.test( handleObj.namespace ) ) { + + event.handleObj = handleObj; + event.data = handleObj.data; + + ret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle || + handleObj.handler ).apply( matched.elem, args ); + + if ( ret !== undefined ) { + if ( ( event.result = ret ) === false ) { + event.preventDefault(); + event.stopPropagation(); + } + } + } + } + } + + // Call the postDispatch hook for the mapped type + if ( special.postDispatch ) { + special.postDispatch.call( this, event ); + } + + return event.result; + }, + + handlers: function( event, handlers ) { + var i, handleObj, sel, matchedHandlers, matchedSelectors, + handlerQueue = [], + delegateCount = handlers.delegateCount, + cur = event.target; + + // Find delegate handlers + if ( delegateCount && + + // Support: IE <=9 + // Black-hole SVG instance trees (trac-13180) + cur.nodeType && + + // Support: Firefox <=42 + // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861) + // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click + // Support: IE 11 only + // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343) + !( event.type === "click" && event.button >= 1 ) ) { + + for ( ; cur !== this; cur = cur.parentNode || this ) { + + // Don't check non-elements (#13208) + // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764) + if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) { + matchedHandlers = []; + matchedSelectors = {}; + for ( i = 0; i < delegateCount; i++ ) { + handleObj = handlers[ i ]; + + // Don't conflict with Object.prototype properties (#13203) + sel = handleObj.selector + " "; + + if ( matchedSelectors[ sel ] === undefined ) { + matchedSelectors[ sel ] = handleObj.needsContext ? + jQuery( sel, this ).index( cur ) > -1 : + jQuery.find( sel, this, null, [ cur ] ).length; + } + if ( matchedSelectors[ sel ] ) { + matchedHandlers.push( handleObj ); + } + } + if ( matchedHandlers.length ) { + handlerQueue.push( { elem: cur, handlers: matchedHandlers } ); + } + } + } + } + + // Add the remaining (directly-bound) handlers + cur = this; + if ( delegateCount < handlers.length ) { + handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } ); + } + + return handlerQueue; + }, + + addProp: function( name, hook ) { + Object.defineProperty( jQuery.Event.prototype, name, { + enumerable: true, + configurable: true, + + get: isFunction( hook ) ? + function() { + if ( this.originalEvent ) { + return hook( this.originalEvent ); + } + } : + function() { + if ( this.originalEvent ) { + return this.originalEvent[ name ]; + } + }, + + set: function( value ) { + Object.defineProperty( this, name, { + enumerable: true, + configurable: true, + writable: true, + value: value + } ); + } + } ); + }, + + fix: function( originalEvent ) { + return originalEvent[ jQuery.expando ] ? + originalEvent : + new jQuery.Event( originalEvent ); + }, + + special: { + load: { + + // Prevent triggered image.load events from bubbling to window.load + noBubble: true + }, + click: { + + // Utilize native event to ensure correct state for checkable inputs + setup: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Claim the first handler + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + // dataPriv.set( el, "click", ... ) + leverageNative( el, "click", returnTrue ); + } + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function( data ) { + + // For mutual compressibility with _default, replace `this` access with a local var. + // `|| data` is dead code meant only to preserve the variable through minification. + var el = this || data; + + // Force setup before triggering a click + if ( rcheckableType.test( el.type ) && + el.click && nodeName( el, "input" ) ) { + + leverageNative( el, "click" ); + } + + // Return non-false to allow normal event-path propagation + return true; + }, + + // For cross-browser consistency, suppress native .click() on links + // Also prevent it if we're currently inside a leveraged native-event stack + _default: function( event ) { + var target = event.target; + return rcheckableType.test( target.type ) && + target.click && nodeName( target, "input" ) && + dataPriv.get( target, "click" ) || + nodeName( target, "a" ); + } + }, + + beforeunload: { + postDispatch: function( event ) { + + // Support: Firefox 20+ + // Firefox doesn't alert if the returnValue field is not set. + if ( event.result !== undefined && event.originalEvent ) { + event.originalEvent.returnValue = event.result; + } + } + } + } +}; + +// Ensure the presence of an event listener that handles manually-triggered +// synthetic events by interrupting progress until reinvoked in response to +// *native* events that it fires directly, ensuring that state changes have +// already occurred before other listeners are invoked. +function leverageNative( el, type, expectSync ) { + + // Missing expectSync indicates a trigger call, which must force setup through jQuery.event.add + if ( !expectSync ) { + if ( dataPriv.get( el, type ) === undefined ) { + jQuery.event.add( el, type, returnTrue ); + } + return; + } + + // Register the controller as a special universal handler for all event namespaces + dataPriv.set( el, type, false ); + jQuery.event.add( el, type, { + namespace: false, + handler: function( event ) { + var notAsync, result, + saved = dataPriv.get( this, type ); + + if ( ( event.isTrigger & 1 ) && this[ type ] ) { + + // Interrupt processing of the outer synthetic .trigger()ed event + // Saved data should be false in such cases, but might be a leftover capture object + // from an async native handler (gh-4350) + if ( !saved.length ) { + + // Store arguments for use when handling the inner native event + // There will always be at least one argument (an event object), so this array + // will not be confused with a leftover capture object. + saved = slice.call( arguments ); + dataPriv.set( this, type, saved ); + + // Trigger the native event and capture its result + // Support: IE <=9 - 11+ + // focus() and blur() are asynchronous + notAsync = expectSync( this, type ); + this[ type ](); + result = dataPriv.get( this, type ); + if ( saved !== result || notAsync ) { + dataPriv.set( this, type, false ); + } else { + result = {}; + } + if ( saved !== result ) { + + // Cancel the outer synthetic event + event.stopImmediatePropagation(); + event.preventDefault(); + + // Support: Chrome 86+ + // In Chrome, if an element having a focusout handler is blurred by + // clicking outside of it, it invokes the handler synchronously. If + // that handler calls `.remove()` on the element, the data is cleared, + // leaving `result` undefined. We need to guard against this. + return result && result.value; + } + + // If this is an inner synthetic event for an event with a bubbling surrogate + // (focus or blur), assume that the surrogate already propagated from triggering the + // native event and prevent that from happening again here. + // This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the + // bubbling surrogate propagates *after* the non-bubbling base), but that seems + // less bad than duplication. + } else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) { + event.stopPropagation(); + } + + // If this is a native event triggered above, everything is now in order + // Fire an inner synthetic event with the original arguments + } else if ( saved.length ) { + + // ...and capture the result + dataPriv.set( this, type, { + value: jQuery.event.trigger( + + // Support: IE <=9 - 11+ + // Extend with the prototype to reset the above stopImmediatePropagation() + jQuery.extend( saved[ 0 ], jQuery.Event.prototype ), + saved.slice( 1 ), + this + ) + } ); + + // Abort handling of the native event + event.stopImmediatePropagation(); + } + } + } ); +} + +jQuery.removeEvent = function( elem, type, handle ) { + + // This "if" is needed for plain objects + if ( elem.removeEventListener ) { + elem.removeEventListener( type, handle ); + } +}; + +jQuery.Event = function( src, props ) { + + // Allow instantiation without the 'new' keyword + if ( !( this instanceof jQuery.Event ) ) { + return new jQuery.Event( src, props ); + } + + // Event object + if ( src && src.type ) { + this.originalEvent = src; + this.type = src.type; + + // Events bubbling up the document may have been marked as prevented + // by a handler lower down the tree; reflect the correct value. + this.isDefaultPrevented = src.defaultPrevented || + src.defaultPrevented === undefined && + + // Support: Android <=2.3 only + src.returnValue === false ? + returnTrue : + returnFalse; + + // Create target properties + // Support: Safari <=6 - 7 only + // Target should not be a text node (#504, #13143) + this.target = ( src.target && src.target.nodeType === 3 ) ? + src.target.parentNode : + src.target; + + this.currentTarget = src.currentTarget; + this.relatedTarget = src.relatedTarget; + + // Event type + } else { + this.type = src; + } + + // Put explicitly provided properties onto the event object + if ( props ) { + jQuery.extend( this, props ); + } + + // Create a timestamp if incoming event doesn't have one + this.timeStamp = src && src.timeStamp || Date.now(); + + // Mark it as fixed + this[ jQuery.expando ] = true; +}; + +// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding +// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html +jQuery.Event.prototype = { + constructor: jQuery.Event, + isDefaultPrevented: returnFalse, + isPropagationStopped: returnFalse, + isImmediatePropagationStopped: returnFalse, + isSimulated: false, + + preventDefault: function() { + var e = this.originalEvent; + + this.isDefaultPrevented = returnTrue; + + if ( e && !this.isSimulated ) { + e.preventDefault(); + } + }, + stopPropagation: function() { + var e = this.originalEvent; + + this.isPropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopPropagation(); + } + }, + stopImmediatePropagation: function() { + var e = this.originalEvent; + + this.isImmediatePropagationStopped = returnTrue; + + if ( e && !this.isSimulated ) { + e.stopImmediatePropagation(); + } + + this.stopPropagation(); + } +}; + +// Includes all common event props including KeyEvent and MouseEvent specific props +jQuery.each( { + altKey: true, + bubbles: true, + cancelable: true, + changedTouches: true, + ctrlKey: true, + detail: true, + eventPhase: true, + metaKey: true, + pageX: true, + pageY: true, + shiftKey: true, + view: true, + "char": true, + code: true, + charCode: true, + key: true, + keyCode: true, + button: true, + buttons: true, + clientX: true, + clientY: true, + offsetX: true, + offsetY: true, + pointerId: true, + pointerType: true, + screenX: true, + screenY: true, + targetTouches: true, + toElement: true, + touches: true, + which: true +}, jQuery.event.addProp ); + +jQuery.each( { focus: "focusin", blur: "focusout" }, function( type, delegateType ) { + jQuery.event.special[ type ] = { + + // Utilize native event if possible so blur/focus sequence is correct + setup: function() { + + // Claim the first handler + // dataPriv.set( this, "focus", ... ) + // dataPriv.set( this, "blur", ... ) + leverageNative( this, type, expectSync ); + + // Return false to allow normal processing in the caller + return false; + }, + trigger: function() { + + // Force setup before trigger + leverageNative( this, type ); + + // Return non-false to allow normal event-path propagation + return true; + }, + + // Suppress native focus or blur as it's already being fired + // in leverageNative. + _default: function() { + return true; + }, + + delegateType: delegateType + }; +} ); + +// Create mouseenter/leave events using mouseover/out and event-time checks +// so that event delegation works in jQuery. +// Do the same for pointerenter/pointerleave and pointerover/pointerout +// +// Support: Safari 7 only +// Safari sends mouseenter too often; see: +// https://bugs.chromium.org/p/chromium/issues/detail?id=470258 +// for the description of the bug (it existed in older Chrome versions as well). +jQuery.each( { + mouseenter: "mouseover", + mouseleave: "mouseout", + pointerenter: "pointerover", + pointerleave: "pointerout" +}, function( orig, fix ) { + jQuery.event.special[ orig ] = { + delegateType: fix, + bindType: fix, + + handle: function( event ) { + var ret, + target = this, + related = event.relatedTarget, + handleObj = event.handleObj; + + // For mouseenter/leave call the handler if related is outside the target. + // NB: No relatedTarget if the mouse left/entered the browser window + if ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) { + event.type = handleObj.origType; + ret = handleObj.handler.apply( this, arguments ); + event.type = fix; + } + return ret; + } + }; +} ); + +jQuery.fn.extend( { + + on: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn ); + }, + one: function( types, selector, data, fn ) { + return on( this, types, selector, data, fn, 1 ); + }, + off: function( types, selector, fn ) { + var handleObj, type; + if ( types && types.preventDefault && types.handleObj ) { + + // ( event ) dispatched jQuery.Event + handleObj = types.handleObj; + jQuery( types.delegateTarget ).off( + handleObj.namespace ? + handleObj.origType + "." + handleObj.namespace : + handleObj.origType, + handleObj.selector, + handleObj.handler + ); + return this; + } + if ( typeof types === "object" ) { + + // ( types-object [, selector] ) + for ( type in types ) { + this.off( type, selector, types[ type ] ); + } + return this; + } + if ( selector === false || typeof selector === "function" ) { + + // ( types [, fn] ) + fn = selector; + selector = undefined; + } + if ( fn === false ) { + fn = returnFalse; + } + return this.each( function() { + jQuery.event.remove( this, types, fn, selector ); + } ); + } +} ); + + +var + + // Support: IE <=10 - 11, Edge 12 - 13 only + // In IE/Edge using regex groups here causes severe slowdowns. + // See https://connect.microsoft.com/IE/feedback/details/1736512/ + rnoInnerhtml = /\s*$/g; + +// Prefer a tbody over its parent table for containing new rows +function manipulationTarget( elem, content ) { + if ( nodeName( elem, "table" ) && + nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) { + + return jQuery( elem ).children( "tbody" )[ 0 ] || elem; + } + + return elem; +} + +// Replace/restore the type attribute of script elements for safe DOM manipulation +function disableScript( elem ) { + elem.type = ( elem.getAttribute( "type" ) !== null ) + "/" + elem.type; + return elem; +} +function restoreScript( elem ) { + if ( ( elem.type || "" ).slice( 0, 5 ) === "true/" ) { + elem.type = elem.type.slice( 5 ); + } else { + elem.removeAttribute( "type" ); + } + + return elem; +} + +function cloneCopyEvent( src, dest ) { + var i, l, type, pdataOld, udataOld, udataCur, events; + + if ( dest.nodeType !== 1 ) { + return; + } + + // 1. Copy private data: events, handlers, etc. + if ( dataPriv.hasData( src ) ) { + pdataOld = dataPriv.get( src ); + events = pdataOld.events; + + if ( events ) { + dataPriv.remove( dest, "handle events" ); + + for ( type in events ) { + for ( i = 0, l = events[ type ].length; i < l; i++ ) { + jQuery.event.add( dest, type, events[ type ][ i ] ); + } + } + } + } + + // 2. Copy user data + if ( dataUser.hasData( src ) ) { + udataOld = dataUser.access( src ); + udataCur = jQuery.extend( {}, udataOld ); + + dataUser.set( dest, udataCur ); + } +} + +// Fix IE bugs, see support tests +function fixInput( src, dest ) { + var nodeName = dest.nodeName.toLowerCase(); + + // Fails to persist the checked state of a cloned checkbox or radio button. + if ( nodeName === "input" && rcheckableType.test( src.type ) ) { + dest.checked = src.checked; + + // Fails to return the selected option to the default selected state when cloning options + } else if ( nodeName === "input" || nodeName === "textarea" ) { + dest.defaultValue = src.defaultValue; + } +} + +function domManip( collection, args, callback, ignored ) { + + // Flatten any nested arrays + args = flat( args ); + + var fragment, first, scripts, hasScripts, node, doc, + i = 0, + l = collection.length, + iNoClone = l - 1, + value = args[ 0 ], + valueIsFunction = isFunction( value ); + + // We can't cloneNode fragments that contain checked, in WebKit + if ( valueIsFunction || + ( l > 1 && typeof value === "string" && + !support.checkClone && rchecked.test( value ) ) ) { + return collection.each( function( index ) { + var self = collection.eq( index ); + if ( valueIsFunction ) { + args[ 0 ] = value.call( this, index, self.html() ); + } + domManip( self, args, callback, ignored ); + } ); + } + + if ( l ) { + fragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored ); + first = fragment.firstChild; + + if ( fragment.childNodes.length === 1 ) { + fragment = first; + } + + // Require either new content or an interest in ignored elements to invoke the callback + if ( first || ignored ) { + scripts = jQuery.map( getAll( fragment, "script" ), disableScript ); + hasScripts = scripts.length; + + // Use the original fragment for the last item + // instead of the first because it can end up + // being emptied incorrectly in certain situations (#8070). + for ( ; i < l; i++ ) { + node = fragment; + + if ( i !== iNoClone ) { + node = jQuery.clone( node, true, true ); + + // Keep references to cloned scripts for later restoration + if ( hasScripts ) { + + // Support: Android <=4.0 only, PhantomJS 1 only + // push.apply(_, arraylike) throws on ancient WebKit + jQuery.merge( scripts, getAll( node, "script" ) ); + } + } + + callback.call( collection[ i ], node, i ); + } + + if ( hasScripts ) { + doc = scripts[ scripts.length - 1 ].ownerDocument; + + // Reenable scripts + jQuery.map( scripts, restoreScript ); + + // Evaluate executable scripts on first document insertion + for ( i = 0; i < hasScripts; i++ ) { + node = scripts[ i ]; + if ( rscriptType.test( node.type || "" ) && + !dataPriv.access( node, "globalEval" ) && + jQuery.contains( doc, node ) ) { + + if ( node.src && ( node.type || "" ).toLowerCase() !== "module" ) { + + // Optional AJAX dependency, but won't run scripts if not present + if ( jQuery._evalUrl && !node.noModule ) { + jQuery._evalUrl( node.src, { + nonce: node.nonce || node.getAttribute( "nonce" ) + }, doc ); + } + } else { + DOMEval( node.textContent.replace( rcleanScript, "" ), node, doc ); + } + } + } + } + } + } + + return collection; +} + +function remove( elem, selector, keepData ) { + var node, + nodes = selector ? jQuery.filter( selector, elem ) : elem, + i = 0; + + for ( ; ( node = nodes[ i ] ) != null; i++ ) { + if ( !keepData && node.nodeType === 1 ) { + jQuery.cleanData( getAll( node ) ); + } + + if ( node.parentNode ) { + if ( keepData && isAttached( node ) ) { + setGlobalEval( getAll( node, "script" ) ); + } + node.parentNode.removeChild( node ); + } + } + + return elem; +} + +jQuery.extend( { + htmlPrefilter: function( html ) { + return html; + }, + + clone: function( elem, dataAndEvents, deepDataAndEvents ) { + var i, l, srcElements, destElements, + clone = elem.cloneNode( true ), + inPage = isAttached( elem ); + + // Fix IE cloning issues + if ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) && + !jQuery.isXMLDoc( elem ) ) { + + // We eschew Sizzle here for performance reasons: https://jsperf.com/getall-vs-sizzle/2 + destElements = getAll( clone ); + srcElements = getAll( elem ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + fixInput( srcElements[ i ], destElements[ i ] ); + } + } + + // Copy the events from the original to the clone + if ( dataAndEvents ) { + if ( deepDataAndEvents ) { + srcElements = srcElements || getAll( elem ); + destElements = destElements || getAll( clone ); + + for ( i = 0, l = srcElements.length; i < l; i++ ) { + cloneCopyEvent( srcElements[ i ], destElements[ i ] ); + } + } else { + cloneCopyEvent( elem, clone ); + } + } + + // Preserve script evaluation history + destElements = getAll( clone, "script" ); + if ( destElements.length > 0 ) { + setGlobalEval( destElements, !inPage && getAll( elem, "script" ) ); + } + + // Return the cloned set + return clone; + }, + + cleanData: function( elems ) { + var data, elem, type, + special = jQuery.event.special, + i = 0; + + for ( ; ( elem = elems[ i ] ) !== undefined; i++ ) { + if ( acceptData( elem ) ) { + if ( ( data = elem[ dataPriv.expando ] ) ) { + if ( data.events ) { + for ( type in data.events ) { + if ( special[ type ] ) { + jQuery.event.remove( elem, type ); + + // This is a shortcut to avoid jQuery.event.remove's overhead + } else { + jQuery.removeEvent( elem, type, data.handle ); + } + } + } + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataPriv.expando ] = undefined; + } + if ( elem[ dataUser.expando ] ) { + + // Support: Chrome <=35 - 45+ + // Assign undefined instead of using delete, see Data#remove + elem[ dataUser.expando ] = undefined; + } + } + } + } +} ); + +jQuery.fn.extend( { + detach: function( selector ) { + return remove( this, selector, true ); + }, + + remove: function( selector ) { + return remove( this, selector ); + }, + + text: function( value ) { + return access( this, function( value ) { + return value === undefined ? + jQuery.text( this ) : + this.empty().each( function() { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + this.textContent = value; + } + } ); + }, null, value, arguments.length ); + }, + + append: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.appendChild( elem ); + } + } ); + }, + + prepend: function() { + return domManip( this, arguments, function( elem ) { + if ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) { + var target = manipulationTarget( this, elem ); + target.insertBefore( elem, target.firstChild ); + } + } ); + }, + + before: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this ); + } + } ); + }, + + after: function() { + return domManip( this, arguments, function( elem ) { + if ( this.parentNode ) { + this.parentNode.insertBefore( elem, this.nextSibling ); + } + } ); + }, + + empty: function() { + var elem, + i = 0; + + for ( ; ( elem = this[ i ] ) != null; i++ ) { + if ( elem.nodeType === 1 ) { + + // Prevent memory leaks + jQuery.cleanData( getAll( elem, false ) ); + + // Remove any remaining nodes + elem.textContent = ""; + } + } + + return this; + }, + + clone: function( dataAndEvents, deepDataAndEvents ) { + dataAndEvents = dataAndEvents == null ? false : dataAndEvents; + deepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents; + + return this.map( function() { + return jQuery.clone( this, dataAndEvents, deepDataAndEvents ); + } ); + }, + + html: function( value ) { + return access( this, function( value ) { + var elem = this[ 0 ] || {}, + i = 0, + l = this.length; + + if ( value === undefined && elem.nodeType === 1 ) { + return elem.innerHTML; + } + + // See if we can take a shortcut and just use innerHTML + if ( typeof value === "string" && !rnoInnerhtml.test( value ) && + !wrapMap[ ( rtagName.exec( value ) || [ "", "" ] )[ 1 ].toLowerCase() ] ) { + + value = jQuery.htmlPrefilter( value ); + + try { + for ( ; i < l; i++ ) { + elem = this[ i ] || {}; + + // Remove element nodes and prevent memory leaks + if ( elem.nodeType === 1 ) { + jQuery.cleanData( getAll( elem, false ) ); + elem.innerHTML = value; + } + } + + elem = 0; + + // If using innerHTML throws an exception, use the fallback method + } catch ( e ) {} + } + + if ( elem ) { + this.empty().append( value ); + } + }, null, value, arguments.length ); + }, + + replaceWith: function() { + var ignored = []; + + // Make the changes, replacing each non-ignored context element with the new content + return domManip( this, arguments, function( elem ) { + var parent = this.parentNode; + + if ( jQuery.inArray( this, ignored ) < 0 ) { + jQuery.cleanData( getAll( this ) ); + if ( parent ) { + parent.replaceChild( elem, this ); + } + } + + // Force callback invocation + }, ignored ); + } +} ); + +jQuery.each( { + appendTo: "append", + prependTo: "prepend", + insertBefore: "before", + insertAfter: "after", + replaceAll: "replaceWith" +}, function( name, original ) { + jQuery.fn[ name ] = function( selector ) { + var elems, + ret = [], + insert = jQuery( selector ), + last = insert.length - 1, + i = 0; + + for ( ; i <= last; i++ ) { + elems = i === last ? this : this.clone( true ); + jQuery( insert[ i ] )[ original ]( elems ); + + // Support: Android <=4.0 only, PhantomJS 1 only + // .get() because push.apply(_, arraylike) throws on ancient WebKit + push.apply( ret, elems.get() ); + } + + return this.pushStack( ret ); + }; +} ); +var rnumnonpx = new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); + +var getStyles = function( elem ) { + + // Support: IE <=11 only, Firefox <=30 (#15098, #14150) + // IE throws on elements created in popups + // FF meanwhile throws on frame elements through "defaultView.getComputedStyle" + var view = elem.ownerDocument.defaultView; + + if ( !view || !view.opener ) { + view = window; + } + + return view.getComputedStyle( elem ); + }; + +var swap = function( elem, options, callback ) { + var ret, name, + old = {}; + + // Remember the old values, and insert the new ones + for ( name in options ) { + old[ name ] = elem.style[ name ]; + elem.style[ name ] = options[ name ]; + } + + ret = callback.call( elem ); + + // Revert the old values + for ( name in options ) { + elem.style[ name ] = old[ name ]; + } + + return ret; +}; + + +var rboxStyle = new RegExp( cssExpand.join( "|" ), "i" ); + + + +( function() { + + // Executing both pixelPosition & boxSizingReliable tests require only one layout + // so they're executed at the same time to save the second computation. + function computeStyleTests() { + + // This is a singleton, we need to execute it only once + if ( !div ) { + return; + } + + container.style.cssText = "position:absolute;left:-11111px;width:60px;" + + "margin-top:1px;padding:0;border:0"; + div.style.cssText = + "position:relative;display:block;box-sizing:border-box;overflow:scroll;" + + "margin:auto;border:1px;padding:1px;" + + "width:60%;top:1%"; + documentElement.appendChild( container ).appendChild( div ); + + var divStyle = window.getComputedStyle( div ); + pixelPositionVal = divStyle.top !== "1%"; + + // Support: Android 4.0 - 4.3 only, Firefox <=3 - 44 + reliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12; + + // Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3 + // Some styles come back with percentage values, even though they shouldn't + div.style.right = "60%"; + pixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36; + + // Support: IE 9 - 11 only + // Detect misreporting of content dimensions for box-sizing:border-box elements + boxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36; + + // Support: IE 9 only + // Detect overflow:scroll screwiness (gh-3699) + // Support: Chrome <=64 + // Don't get tricked when zoom affects offsetWidth (gh-4029) + div.style.position = "absolute"; + scrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12; + + documentElement.removeChild( container ); + + // Nullify the div so it wouldn't be stored in the memory and + // it will also be a sign that checks already performed + div = null; + } + + function roundPixelMeasures( measure ) { + return Math.round( parseFloat( measure ) ); + } + + var pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal, + reliableTrDimensionsVal, reliableMarginLeftVal, + container = document.createElement( "div" ), + div = document.createElement( "div" ); + + // Finish early in limited (non-browser) environments + if ( !div.style ) { + return; + } + + // Support: IE <=9 - 11 only + // Style of cloned element affects source element cloned (#8908) + div.style.backgroundClip = "content-box"; + div.cloneNode( true ).style.backgroundClip = ""; + support.clearCloneStyle = div.style.backgroundClip === "content-box"; + + jQuery.extend( support, { + boxSizingReliable: function() { + computeStyleTests(); + return boxSizingReliableVal; + }, + pixelBoxStyles: function() { + computeStyleTests(); + return pixelBoxStylesVal; + }, + pixelPosition: function() { + computeStyleTests(); + return pixelPositionVal; + }, + reliableMarginLeft: function() { + computeStyleTests(); + return reliableMarginLeftVal; + }, + scrollboxSize: function() { + computeStyleTests(); + return scrollboxSizeVal; + }, + + // Support: IE 9 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Behavior in IE 9 is more subtle than in newer versions & it passes + // some versions of this test; make sure not to make it pass there! + // + // Support: Firefox 70+ + // Only Firefox includes border widths + // in computed dimensions. (gh-4529) + reliableTrDimensions: function() { + var table, tr, trChild, trStyle; + if ( reliableTrDimensionsVal == null ) { + table = document.createElement( "table" ); + tr = document.createElement( "tr" ); + trChild = document.createElement( "div" ); + + table.style.cssText = "position:absolute;left:-11111px;border-collapse:separate"; + tr.style.cssText = "border:1px solid"; + + // Support: Chrome 86+ + // Height set through cssText does not get applied. + // Computed height then comes back as 0. + tr.style.height = "1px"; + trChild.style.height = "9px"; + + // Support: Android 8 Chrome 86+ + // In our bodyBackground.html iframe, + // display for all div elements is set to "inline", + // which causes a problem only in Android 8 Chrome 86. + // Ensuring the div is display: block + // gets around this issue. + trChild.style.display = "block"; + + documentElement + .appendChild( table ) + .appendChild( tr ) + .appendChild( trChild ); + + trStyle = window.getComputedStyle( tr ); + reliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) + + parseInt( trStyle.borderTopWidth, 10 ) + + parseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight; + + documentElement.removeChild( table ); + } + return reliableTrDimensionsVal; + } + } ); +} )(); + + +function curCSS( elem, name, computed ) { + var width, minWidth, maxWidth, ret, + + // Support: Firefox 51+ + // Retrieving style before computed somehow + // fixes an issue with getting wrong values + // on detached elements + style = elem.style; + + computed = computed || getStyles( elem ); + + // getPropertyValue is needed for: + // .css('filter') (IE 9 only, #12537) + // .css('--customProperty) (#3144) + if ( computed ) { + ret = computed.getPropertyValue( name ) || computed[ name ]; + + if ( ret === "" && !isAttached( elem ) ) { + ret = jQuery.style( elem, name ); + } + + // A tribute to the "awesome hack by Dean Edwards" + // Android Browser returns percentage for some values, + // but width seems to be reliably pixels. + // This is against the CSSOM draft spec: + // https://drafts.csswg.org/cssom/#resolved-values + if ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) { + + // Remember the original values + width = style.width; + minWidth = style.minWidth; + maxWidth = style.maxWidth; + + // Put in the new values to get a computed value out + style.minWidth = style.maxWidth = style.width = ret; + ret = computed.width; + + // Revert the changed values + style.width = width; + style.minWidth = minWidth; + style.maxWidth = maxWidth; + } + } + + return ret !== undefined ? + + // Support: IE <=9 - 11 only + // IE returns zIndex value as an integer. + ret + "" : + ret; +} + + +function addGetHookIf( conditionFn, hookFn ) { + + // Define the hook, we'll check on the first run if it's really needed. + return { + get: function() { + if ( conditionFn() ) { + + // Hook not needed (or it's not possible to use it due + // to missing dependency), remove it. + delete this.get; + return; + } + + // Hook needed; redefine it so that the support test is not executed again. + return ( this.get = hookFn ).apply( this, arguments ); + } + }; +} + + +var cssPrefixes = [ "Webkit", "Moz", "ms" ], + emptyStyle = document.createElement( "div" ).style, + vendorProps = {}; + +// Return a vendor-prefixed property or undefined +function vendorPropName( name ) { + + // Check for vendor prefixed names + var capName = name[ 0 ].toUpperCase() + name.slice( 1 ), + i = cssPrefixes.length; + + while ( i-- ) { + name = cssPrefixes[ i ] + capName; + if ( name in emptyStyle ) { + return name; + } + } +} + +// Return a potentially-mapped jQuery.cssProps or vendor prefixed property +function finalPropName( name ) { + var final = jQuery.cssProps[ name ] || vendorProps[ name ]; + + if ( final ) { + return final; + } + if ( name in emptyStyle ) { + return name; + } + return vendorProps[ name ] = vendorPropName( name ) || name; +} + + +var + + // Swappable if display is none or starts with table + // except "table", "table-cell", or "table-caption" + // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display + rdisplayswap = /^(none|table(?!-c[ea]).+)/, + rcustomProp = /^--/, + cssShow = { position: "absolute", visibility: "hidden", display: "block" }, + cssNormalTransform = { + letterSpacing: "0", + fontWeight: "400" + }; + +function setPositiveNumber( _elem, value, subtract ) { + + // Any relative (+/-) values have already been + // normalized at this point + var matches = rcssNum.exec( value ); + return matches ? + + // Guard against undefined "subtract", e.g., when used as in cssHooks + Math.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || "px" ) : + value; +} + +function boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) { + var i = dimension === "width" ? 1 : 0, + extra = 0, + delta = 0; + + // Adjustment may not be necessary + if ( box === ( isBorderBox ? "border" : "content" ) ) { + return 0; + } + + for ( ; i < 4; i += 2 ) { + + // Both box models exclude margin + if ( box === "margin" ) { + delta += jQuery.css( elem, box + cssExpand[ i ], true, styles ); + } + + // If we get here with a content-box, we're seeking "padding" or "border" or "margin" + if ( !isBorderBox ) { + + // Add padding + delta += jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + + // For "border" or "margin", add border + if ( box !== "padding" ) { + delta += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + + // But still keep track of it otherwise + } else { + extra += jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + + // If we get here with a border-box (content + padding + border), we're seeking "content" or + // "padding" or "margin" + } else { + + // For "content", subtract padding + if ( box === "content" ) { + delta -= jQuery.css( elem, "padding" + cssExpand[ i ], true, styles ); + } + + // For "content" or "padding", subtract border + if ( box !== "margin" ) { + delta -= jQuery.css( elem, "border" + cssExpand[ i ] + "Width", true, styles ); + } + } + } + + // Account for positive content-box scroll gutter when requested by providing computedVal + if ( !isBorderBox && computedVal >= 0 ) { + + // offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border + // Assuming integer scroll gutter, subtract the rest and round down + delta += Math.max( 0, Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + computedVal - + delta - + extra - + 0.5 + + // If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter + // Use an explicit zero to avoid NaN (gh-3964) + ) ) || 0; + } + + return delta; +} + +function getWidthOrHeight( elem, dimension, extra ) { + + // Start with computed style + var styles = getStyles( elem ), + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322). + // Fake content-box until we know it's needed to know the true value. + boxSizingNeeded = !support.boxSizingReliable() || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + valueIsBorderBox = isBorderBox, + + val = curCSS( elem, dimension, styles ), + offsetProp = "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ); + + // Support: Firefox <=54 + // Return a confounding non-pixel value or feign ignorance, as appropriate. + if ( rnumnonpx.test( val ) ) { + if ( !extra ) { + return val; + } + val = "auto"; + } + + + // Support: IE 9 - 11 only + // Use offsetWidth/offsetHeight for when box sizing is unreliable. + // In those cases, the computed value can be trusted to be border-box. + if ( ( !support.boxSizingReliable() && isBorderBox || + + // Support: IE 10 - 11+, Edge 15 - 18+ + // IE/Edge misreport `getComputedStyle` of table rows with width/height + // set in CSS while `offset*` properties report correct values. + // Interestingly, in some cases IE 9 doesn't suffer from this issue. + !support.reliableTrDimensions() && nodeName( elem, "tr" ) || + + // Fall back to offsetWidth/offsetHeight when value is "auto" + // This happens for inline elements with no explicit setting (gh-3571) + val === "auto" || + + // Support: Android <=4.1 - 4.3 only + // Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602) + !parseFloat( val ) && jQuery.css( elem, "display", false, styles ) === "inline" ) && + + // Make sure the element is visible & connected + elem.getClientRects().length ) { + + isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box"; + + // Where available, offsetWidth/offsetHeight approximate border box dimensions. + // Where not available (e.g., SVG), assume unreliable box-sizing and interpret the + // retrieved value as a content box dimension. + valueIsBorderBox = offsetProp in elem; + if ( valueIsBorderBox ) { + val = elem[ offsetProp ]; + } + } + + // Normalize "" and auto + val = parseFloat( val ) || 0; + + // Adjust for the element's box model + return ( val + + boxModelAdjustment( + elem, + dimension, + extra || ( isBorderBox ? "border" : "content" ), + valueIsBorderBox, + styles, + + // Provide the current computed size to request scroll gutter calculation (gh-3589) + val + ) + ) + "px"; +} + +jQuery.extend( { + + // Add in style property hooks for overriding the default + // behavior of getting and setting a style property + cssHooks: { + opacity: { + get: function( elem, computed ) { + if ( computed ) { + + // We should always get a number back from opacity + var ret = curCSS( elem, "opacity" ); + return ret === "" ? "1" : ret; + } + } + } + }, + + // Don't automatically add "px" to these possibly-unitless properties + cssNumber: { + "animationIterationCount": true, + "columnCount": true, + "fillOpacity": true, + "flexGrow": true, + "flexShrink": true, + "fontWeight": true, + "gridArea": true, + "gridColumn": true, + "gridColumnEnd": true, + "gridColumnStart": true, + "gridRow": true, + "gridRowEnd": true, + "gridRowStart": true, + "lineHeight": true, + "opacity": true, + "order": true, + "orphans": true, + "widows": true, + "zIndex": true, + "zoom": true + }, + + // Add in properties whose names you wish to fix before + // setting or getting the value + cssProps: {}, + + // Get and set the style property on a DOM Node + style: function( elem, name, value, extra ) { + + // Don't set styles on text and comment nodes + if ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) { + return; + } + + // Make sure that we're working with the right name + var ret, type, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ), + style = elem.style; + + // Make sure that we're working with the right name. We don't + // want to query the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Gets hook for the prefixed version, then unprefixed version + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // Check if we're setting a value + if ( value !== undefined ) { + type = typeof value; + + // Convert "+=" or "-=" to relative numbers (#7345) + if ( type === "string" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) { + value = adjustCSS( elem, name, ret ); + + // Fixes bug #9237 + type = "number"; + } + + // Make sure that null and NaN values aren't set (#7116) + if ( value == null || value !== value ) { + return; + } + + // If a number was passed in, add the unit (except for certain CSS properties) + // The isCustomProp check can be removed in jQuery 4.0 when we only auto-append + // "px" to a few hardcoded values. + if ( type === "number" && !isCustomProp ) { + value += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? "" : "px" ); + } + + // background-* props affect original clone's values + if ( !support.clearCloneStyle && value === "" && name.indexOf( "background" ) === 0 ) { + style[ name ] = "inherit"; + } + + // If a hook was provided, use that value, otherwise just set the specified value + if ( !hooks || !( "set" in hooks ) || + ( value = hooks.set( elem, value, extra ) ) !== undefined ) { + + if ( isCustomProp ) { + style.setProperty( name, value ); + } else { + style[ name ] = value; + } + } + + } else { + + // If a hook was provided get the non-computed value from there + if ( hooks && "get" in hooks && + ( ret = hooks.get( elem, false, extra ) ) !== undefined ) { + + return ret; + } + + // Otherwise just get the value from the style object + return style[ name ]; + } + }, + + css: function( elem, name, extra, styles ) { + var val, num, hooks, + origName = camelCase( name ), + isCustomProp = rcustomProp.test( name ); + + // Make sure that we're working with the right name. We don't + // want to modify the value if it is a CSS custom property + // since they are user-defined. + if ( !isCustomProp ) { + name = finalPropName( origName ); + } + + // Try prefixed name followed by the unprefixed name + hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ]; + + // If a hook was provided get the computed value from there + if ( hooks && "get" in hooks ) { + val = hooks.get( elem, true, extra ); + } + + // Otherwise, if a way to get the computed value exists, use that + if ( val === undefined ) { + val = curCSS( elem, name, styles ); + } + + // Convert "normal" to computed value + if ( val === "normal" && name in cssNormalTransform ) { + val = cssNormalTransform[ name ]; + } + + // Make numeric if forced or a qualifier was provided and val looks numeric + if ( extra === "" || extra ) { + num = parseFloat( val ); + return extra === true || isFinite( num ) ? num || 0 : val; + } + + return val; + } +} ); + +jQuery.each( [ "height", "width" ], function( _i, dimension ) { + jQuery.cssHooks[ dimension ] = { + get: function( elem, computed, extra ) { + if ( computed ) { + + // Certain elements can have dimension info if we invisibly show them + // but it must have a current display style that would benefit + return rdisplayswap.test( jQuery.css( elem, "display" ) ) && + + // Support: Safari 8+ + // Table columns in Safari have non-zero offsetWidth & zero + // getBoundingClientRect().width unless display is changed. + // Support: IE <=11 only + // Running getBoundingClientRect on a disconnected node + // in IE throws an error. + ( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ? + swap( elem, cssShow, function() { + return getWidthOrHeight( elem, dimension, extra ); + } ) : + getWidthOrHeight( elem, dimension, extra ); + } + }, + + set: function( elem, value, extra ) { + var matches, + styles = getStyles( elem ), + + // Only read styles.position if the test has a chance to fail + // to avoid forcing a reflow. + scrollboxSizeBuggy = !support.scrollboxSize() && + styles.position === "absolute", + + // To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991) + boxSizingNeeded = scrollboxSizeBuggy || extra, + isBorderBox = boxSizingNeeded && + jQuery.css( elem, "boxSizing", false, styles ) === "border-box", + subtract = extra ? + boxModelAdjustment( + elem, + dimension, + extra, + isBorderBox, + styles + ) : + 0; + + // Account for unreliable border-box dimensions by comparing offset* to computed and + // faking a content-box to get border and padding (gh-3699) + if ( isBorderBox && scrollboxSizeBuggy ) { + subtract -= Math.ceil( + elem[ "offset" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] - + parseFloat( styles[ dimension ] ) - + boxModelAdjustment( elem, dimension, "border", false, styles ) - + 0.5 + ); + } + + // Convert to pixels if value adjustment is needed + if ( subtract && ( matches = rcssNum.exec( value ) ) && + ( matches[ 3 ] || "px" ) !== "px" ) { + + elem.style[ dimension ] = value; + value = jQuery.css( elem, dimension ); + } + + return setPositiveNumber( elem, value, subtract ); + } + }; +} ); + +jQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft, + function( elem, computed ) { + if ( computed ) { + return ( parseFloat( curCSS( elem, "marginLeft" ) ) || + elem.getBoundingClientRect().left - + swap( elem, { marginLeft: 0 }, function() { + return elem.getBoundingClientRect().left; + } ) + ) + "px"; + } + } +); + +// These hooks are used by animate to expand properties +jQuery.each( { + margin: "", + padding: "", + border: "Width" +}, function( prefix, suffix ) { + jQuery.cssHooks[ prefix + suffix ] = { + expand: function( value ) { + var i = 0, + expanded = {}, + + // Assumes a single number if not a string + parts = typeof value === "string" ? value.split( " " ) : [ value ]; + + for ( ; i < 4; i++ ) { + expanded[ prefix + cssExpand[ i ] + suffix ] = + parts[ i ] || parts[ i - 2 ] || parts[ 0 ]; + } + + return expanded; + } + }; + + if ( prefix !== "margin" ) { + jQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber; + } +} ); + +jQuery.fn.extend( { + css: function( name, value ) { + return access( this, function( elem, name, value ) { + var styles, len, + map = {}, + i = 0; + + if ( Array.isArray( name ) ) { + styles = getStyles( elem ); + len = name.length; + + for ( ; i < len; i++ ) { + map[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles ); + } + + return map; + } + + return value !== undefined ? + jQuery.style( elem, name, value ) : + jQuery.css( elem, name ); + }, name, value, arguments.length > 1 ); + } +} ); + + +function Tween( elem, options, prop, end, easing ) { + return new Tween.prototype.init( elem, options, prop, end, easing ); +} +jQuery.Tween = Tween; + +Tween.prototype = { + constructor: Tween, + init: function( elem, options, prop, end, easing, unit ) { + this.elem = elem; + this.prop = prop; + this.easing = easing || jQuery.easing._default; + this.options = options; + this.start = this.now = this.cur(); + this.end = end; + this.unit = unit || ( jQuery.cssNumber[ prop ] ? "" : "px" ); + }, + cur: function() { + var hooks = Tween.propHooks[ this.prop ]; + + return hooks && hooks.get ? + hooks.get( this ) : + Tween.propHooks._default.get( this ); + }, + run: function( percent ) { + var eased, + hooks = Tween.propHooks[ this.prop ]; + + if ( this.options.duration ) { + this.pos = eased = jQuery.easing[ this.easing ]( + percent, this.options.duration * percent, 0, 1, this.options.duration + ); + } else { + this.pos = eased = percent; + } + this.now = ( this.end - this.start ) * eased + this.start; + + if ( this.options.step ) { + this.options.step.call( this.elem, this.now, this ); + } + + if ( hooks && hooks.set ) { + hooks.set( this ); + } else { + Tween.propHooks._default.set( this ); + } + return this; + } +}; + +Tween.prototype.init.prototype = Tween.prototype; + +Tween.propHooks = { + _default: { + get: function( tween ) { + var result; + + // Use a property on the element directly when it is not a DOM element, + // or when there is no matching style property that exists. + if ( tween.elem.nodeType !== 1 || + tween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) { + return tween.elem[ tween.prop ]; + } + + // Passing an empty string as a 3rd parameter to .css will automatically + // attempt a parseFloat and fallback to a string if the parse fails. + // Simple values such as "10px" are parsed to Float; + // complex values such as "rotate(1rad)" are returned as-is. + result = jQuery.css( tween.elem, tween.prop, "" ); + + // Empty strings, null, undefined and "auto" are converted to 0. + return !result || result === "auto" ? 0 : result; + }, + set: function( tween ) { + + // Use step hook for back compat. + // Use cssHook if its there. + // Use .style if available and use plain properties where available. + if ( jQuery.fx.step[ tween.prop ] ) { + jQuery.fx.step[ tween.prop ]( tween ); + } else if ( tween.elem.nodeType === 1 && ( + jQuery.cssHooks[ tween.prop ] || + tween.elem.style[ finalPropName( tween.prop ) ] != null ) ) { + jQuery.style( tween.elem, tween.prop, tween.now + tween.unit ); + } else { + tween.elem[ tween.prop ] = tween.now; + } + } + } +}; + +// Support: IE <=9 only +// Panic based approach to setting things on disconnected nodes +Tween.propHooks.scrollTop = Tween.propHooks.scrollLeft = { + set: function( tween ) { + if ( tween.elem.nodeType && tween.elem.parentNode ) { + tween.elem[ tween.prop ] = tween.now; + } + } +}; + +jQuery.easing = { + linear: function( p ) { + return p; + }, + swing: function( p ) { + return 0.5 - Math.cos( p * Math.PI ) / 2; + }, + _default: "swing" +}; + +jQuery.fx = Tween.prototype.init; + +// Back compat <1.8 extension point +jQuery.fx.step = {}; + + + + +var + fxNow, inProgress, + rfxtypes = /^(?:toggle|show|hide)$/, + rrun = /queueHooks$/; + +function schedule() { + if ( inProgress ) { + if ( document.hidden === false && window.requestAnimationFrame ) { + window.requestAnimationFrame( schedule ); + } else { + window.setTimeout( schedule, jQuery.fx.interval ); + } + + jQuery.fx.tick(); + } +} + +// Animations created synchronously will run synchronously +function createFxNow() { + window.setTimeout( function() { + fxNow = undefined; + } ); + return ( fxNow = Date.now() ); +} + +// Generate parameters to create a standard animation +function genFx( type, includeWidth ) { + var which, + i = 0, + attrs = { height: type }; + + // If we include width, step value is 1 to do all cssExpand values, + // otherwise step value is 2 to skip over Left and Right + includeWidth = includeWidth ? 1 : 0; + for ( ; i < 4; i += 2 - includeWidth ) { + which = cssExpand[ i ]; + attrs[ "margin" + which ] = attrs[ "padding" + which ] = type; + } + + if ( includeWidth ) { + attrs.opacity = attrs.width = type; + } + + return attrs; +} + +function createTween( value, prop, animation ) { + var tween, + collection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ "*" ] ), + index = 0, + length = collection.length; + for ( ; index < length; index++ ) { + if ( ( tween = collection[ index ].call( animation, prop, value ) ) ) { + + // We're done with this property + return tween; + } + } +} + +function defaultPrefilter( elem, props, opts ) { + var prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display, + isBox = "width" in props || "height" in props, + anim = this, + orig = {}, + style = elem.style, + hidden = elem.nodeType && isHiddenWithinTree( elem ), + dataShow = dataPriv.get( elem, "fxshow" ); + + // Queue-skipping animations hijack the fx hooks + if ( !opts.queue ) { + hooks = jQuery._queueHooks( elem, "fx" ); + if ( hooks.unqueued == null ) { + hooks.unqueued = 0; + oldfire = hooks.empty.fire; + hooks.empty.fire = function() { + if ( !hooks.unqueued ) { + oldfire(); + } + }; + } + hooks.unqueued++; + + anim.always( function() { + + // Ensure the complete handler is called before this completes + anim.always( function() { + hooks.unqueued--; + if ( !jQuery.queue( elem, "fx" ).length ) { + hooks.empty.fire(); + } + } ); + } ); + } + + // Detect show/hide animations + for ( prop in props ) { + value = props[ prop ]; + if ( rfxtypes.test( value ) ) { + delete props[ prop ]; + toggle = toggle || value === "toggle"; + if ( value === ( hidden ? "hide" : "show" ) ) { + + // Pretend to be hidden if this is a "show" and + // there is still data from a stopped show/hide + if ( value === "show" && dataShow && dataShow[ prop ] !== undefined ) { + hidden = true; + + // Ignore all other no-op show/hide data + } else { + continue; + } + } + orig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop ); + } + } + + // Bail out if this is a no-op like .hide().hide() + propTween = !jQuery.isEmptyObject( props ); + if ( !propTween && jQuery.isEmptyObject( orig ) ) { + return; + } + + // Restrict "overflow" and "display" styles during box animations + if ( isBox && elem.nodeType === 1 ) { + + // Support: IE <=9 - 11, Edge 12 - 15 + // Record all 3 overflow attributes because IE does not infer the shorthand + // from identically-valued overflowX and overflowY and Edge just mirrors + // the overflowX value there. + opts.overflow = [ style.overflow, style.overflowX, style.overflowY ]; + + // Identify a display type, preferring old show/hide data over the CSS cascade + restoreDisplay = dataShow && dataShow.display; + if ( restoreDisplay == null ) { + restoreDisplay = dataPriv.get( elem, "display" ); + } + display = jQuery.css( elem, "display" ); + if ( display === "none" ) { + if ( restoreDisplay ) { + display = restoreDisplay; + } else { + + // Get nonempty value(s) by temporarily forcing visibility + showHide( [ elem ], true ); + restoreDisplay = elem.style.display || restoreDisplay; + display = jQuery.css( elem, "display" ); + showHide( [ elem ] ); + } + } + + // Animate inline elements as inline-block + if ( display === "inline" || display === "inline-block" && restoreDisplay != null ) { + if ( jQuery.css( elem, "float" ) === "none" ) { + + // Restore the original display value at the end of pure show/hide animations + if ( !propTween ) { + anim.done( function() { + style.display = restoreDisplay; + } ); + if ( restoreDisplay == null ) { + display = style.display; + restoreDisplay = display === "none" ? "" : display; + } + } + style.display = "inline-block"; + } + } + } + + if ( opts.overflow ) { + style.overflow = "hidden"; + anim.always( function() { + style.overflow = opts.overflow[ 0 ]; + style.overflowX = opts.overflow[ 1 ]; + style.overflowY = opts.overflow[ 2 ]; + } ); + } + + // Implement show/hide animations + propTween = false; + for ( prop in orig ) { + + // General show/hide setup for this element animation + if ( !propTween ) { + if ( dataShow ) { + if ( "hidden" in dataShow ) { + hidden = dataShow.hidden; + } + } else { + dataShow = dataPriv.access( elem, "fxshow", { display: restoreDisplay } ); + } + + // Store hidden/visible for toggle so `.stop().toggle()` "reverses" + if ( toggle ) { + dataShow.hidden = !hidden; + } + + // Show elements before animating them + if ( hidden ) { + showHide( [ elem ], true ); + } + + /* eslint-disable no-loop-func */ + + anim.done( function() { + + /* eslint-enable no-loop-func */ + + // The final step of a "hide" animation is actually hiding the element + if ( !hidden ) { + showHide( [ elem ] ); + } + dataPriv.remove( elem, "fxshow" ); + for ( prop in orig ) { + jQuery.style( elem, prop, orig[ prop ] ); + } + } ); + } + + // Per-property setup + propTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim ); + if ( !( prop in dataShow ) ) { + dataShow[ prop ] = propTween.start; + if ( hidden ) { + propTween.end = propTween.start; + propTween.start = 0; + } + } + } +} + +function propFilter( props, specialEasing ) { + var index, name, easing, value, hooks; + + // camelCase, specialEasing and expand cssHook pass + for ( index in props ) { + name = camelCase( index ); + easing = specialEasing[ name ]; + value = props[ index ]; + if ( Array.isArray( value ) ) { + easing = value[ 1 ]; + value = props[ index ] = value[ 0 ]; + } + + if ( index !== name ) { + props[ name ] = value; + delete props[ index ]; + } + + hooks = jQuery.cssHooks[ name ]; + if ( hooks && "expand" in hooks ) { + value = hooks.expand( value ); + delete props[ name ]; + + // Not quite $.extend, this won't overwrite existing keys. + // Reusing 'index' because we have the correct "name" + for ( index in value ) { + if ( !( index in props ) ) { + props[ index ] = value[ index ]; + specialEasing[ index ] = easing; + } + } + } else { + specialEasing[ name ] = easing; + } + } +} + +function Animation( elem, properties, options ) { + var result, + stopped, + index = 0, + length = Animation.prefilters.length, + deferred = jQuery.Deferred().always( function() { + + // Don't match elem in the :animated selector + delete tick.elem; + } ), + tick = function() { + if ( stopped ) { + return false; + } + var currentTime = fxNow || createFxNow(), + remaining = Math.max( 0, animation.startTime + animation.duration - currentTime ), + + // Support: Android 2.3 only + // Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (#12497) + temp = remaining / animation.duration || 0, + percent = 1 - temp, + index = 0, + length = animation.tweens.length; + + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( percent ); + } + + deferred.notifyWith( elem, [ animation, percent, remaining ] ); + + // If there's more to do, yield + if ( percent < 1 && length ) { + return remaining; + } + + // If this was an empty animation, synthesize a final progress notification + if ( !length ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + } + + // Resolve the animation and report its conclusion + deferred.resolveWith( elem, [ animation ] ); + return false; + }, + animation = deferred.promise( { + elem: elem, + props: jQuery.extend( {}, properties ), + opts: jQuery.extend( true, { + specialEasing: {}, + easing: jQuery.easing._default + }, options ), + originalProperties: properties, + originalOptions: options, + startTime: fxNow || createFxNow(), + duration: options.duration, + tweens: [], + createTween: function( prop, end ) { + var tween = jQuery.Tween( elem, animation.opts, prop, end, + animation.opts.specialEasing[ prop ] || animation.opts.easing ); + animation.tweens.push( tween ); + return tween; + }, + stop: function( gotoEnd ) { + var index = 0, + + // If we are going to the end, we want to run all the tweens + // otherwise we skip this part + length = gotoEnd ? animation.tweens.length : 0; + if ( stopped ) { + return this; + } + stopped = true; + for ( ; index < length; index++ ) { + animation.tweens[ index ].run( 1 ); + } + + // Resolve when we played the last frame; otherwise, reject + if ( gotoEnd ) { + deferred.notifyWith( elem, [ animation, 1, 0 ] ); + deferred.resolveWith( elem, [ animation, gotoEnd ] ); + } else { + deferred.rejectWith( elem, [ animation, gotoEnd ] ); + } + return this; + } + } ), + props = animation.props; + + propFilter( props, animation.opts.specialEasing ); + + for ( ; index < length; index++ ) { + result = Animation.prefilters[ index ].call( animation, elem, props, animation.opts ); + if ( result ) { + if ( isFunction( result.stop ) ) { + jQuery._queueHooks( animation.elem, animation.opts.queue ).stop = + result.stop.bind( result ); + } + return result; + } + } + + jQuery.map( props, createTween, animation ); + + if ( isFunction( animation.opts.start ) ) { + animation.opts.start.call( elem, animation ); + } + + // Attach callbacks from options + animation + .progress( animation.opts.progress ) + .done( animation.opts.done, animation.opts.complete ) + .fail( animation.opts.fail ) + .always( animation.opts.always ); + + jQuery.fx.timer( + jQuery.extend( tick, { + elem: elem, + anim: animation, + queue: animation.opts.queue + } ) + ); + + return animation; +} + +jQuery.Animation = jQuery.extend( Animation, { + + tweeners: { + "*": [ function( prop, value ) { + var tween = this.createTween( prop, value ); + adjustCSS( tween.elem, prop, rcssNum.exec( value ), tween ); + return tween; + } ] + }, + + tweener: function( props, callback ) { + if ( isFunction( props ) ) { + callback = props; + props = [ "*" ]; + } else { + props = props.match( rnothtmlwhite ); + } + + var prop, + index = 0, + length = props.length; + + for ( ; index < length; index++ ) { + prop = props[ index ]; + Animation.tweeners[ prop ] = Animation.tweeners[ prop ] || []; + Animation.tweeners[ prop ].unshift( callback ); + } + }, + + prefilters: [ defaultPrefilter ], + + prefilter: function( callback, prepend ) { + if ( prepend ) { + Animation.prefilters.unshift( callback ); + } else { + Animation.prefilters.push( callback ); + } + } +} ); + +jQuery.speed = function( speed, easing, fn ) { + var opt = speed && typeof speed === "object" ? jQuery.extend( {}, speed ) : { + complete: fn || !fn && easing || + isFunction( speed ) && speed, + duration: speed, + easing: fn && easing || easing && !isFunction( easing ) && easing + }; + + // Go to the end state if fx are off + if ( jQuery.fx.off ) { + opt.duration = 0; + + } else { + if ( typeof opt.duration !== "number" ) { + if ( opt.duration in jQuery.fx.speeds ) { + opt.duration = jQuery.fx.speeds[ opt.duration ]; + + } else { + opt.duration = jQuery.fx.speeds._default; + } + } + } + + // Normalize opt.queue - true/undefined/null -> "fx" + if ( opt.queue == null || opt.queue === true ) { + opt.queue = "fx"; + } + + // Queueing + opt.old = opt.complete; + + opt.complete = function() { + if ( isFunction( opt.old ) ) { + opt.old.call( this ); + } + + if ( opt.queue ) { + jQuery.dequeue( this, opt.queue ); + } + }; + + return opt; +}; + +jQuery.fn.extend( { + fadeTo: function( speed, to, easing, callback ) { + + // Show any hidden elements after setting opacity to 0 + return this.filter( isHiddenWithinTree ).css( "opacity", 0 ).show() + + // Animate to the value specified + .end().animate( { opacity: to }, speed, easing, callback ); + }, + animate: function( prop, speed, easing, callback ) { + var empty = jQuery.isEmptyObject( prop ), + optall = jQuery.speed( speed, easing, callback ), + doAnimation = function() { + + // Operate on a copy of prop so per-property easing won't be lost + var anim = Animation( this, jQuery.extend( {}, prop ), optall ); + + // Empty animations, or finishing resolves immediately + if ( empty || dataPriv.get( this, "finish" ) ) { + anim.stop( true ); + } + }; + + doAnimation.finish = doAnimation; + + return empty || optall.queue === false ? + this.each( doAnimation ) : + this.queue( optall.queue, doAnimation ); + }, + stop: function( type, clearQueue, gotoEnd ) { + var stopQueue = function( hooks ) { + var stop = hooks.stop; + delete hooks.stop; + stop( gotoEnd ); + }; + + if ( typeof type !== "string" ) { + gotoEnd = clearQueue; + clearQueue = type; + type = undefined; + } + if ( clearQueue ) { + this.queue( type || "fx", [] ); + } + + return this.each( function() { + var dequeue = true, + index = type != null && type + "queueHooks", + timers = jQuery.timers, + data = dataPriv.get( this ); + + if ( index ) { + if ( data[ index ] && data[ index ].stop ) { + stopQueue( data[ index ] ); + } + } else { + for ( index in data ) { + if ( data[ index ] && data[ index ].stop && rrun.test( index ) ) { + stopQueue( data[ index ] ); + } + } + } + + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && + ( type == null || timers[ index ].queue === type ) ) { + + timers[ index ].anim.stop( gotoEnd ); + dequeue = false; + timers.splice( index, 1 ); + } + } + + // Start the next in the queue if the last step wasn't forced. + // Timers currently will call their complete callbacks, which + // will dequeue but only if they were gotoEnd. + if ( dequeue || !gotoEnd ) { + jQuery.dequeue( this, type ); + } + } ); + }, + finish: function( type ) { + if ( type !== false ) { + type = type || "fx"; + } + return this.each( function() { + var index, + data = dataPriv.get( this ), + queue = data[ type + "queue" ], + hooks = data[ type + "queueHooks" ], + timers = jQuery.timers, + length = queue ? queue.length : 0; + + // Enable finishing flag on private data + data.finish = true; + + // Empty the queue first + jQuery.queue( this, type, [] ); + + if ( hooks && hooks.stop ) { + hooks.stop.call( this, true ); + } + + // Look for any active animations, and finish them + for ( index = timers.length; index--; ) { + if ( timers[ index ].elem === this && timers[ index ].queue === type ) { + timers[ index ].anim.stop( true ); + timers.splice( index, 1 ); + } + } + + // Look for any animations in the old queue and finish them + for ( index = 0; index < length; index++ ) { + if ( queue[ index ] && queue[ index ].finish ) { + queue[ index ].finish.call( this ); + } + } + + // Turn off finishing flag + delete data.finish; + } ); + } +} ); + +jQuery.each( [ "toggle", "show", "hide" ], function( _i, name ) { + var cssFn = jQuery.fn[ name ]; + jQuery.fn[ name ] = function( speed, easing, callback ) { + return speed == null || typeof speed === "boolean" ? + cssFn.apply( this, arguments ) : + this.animate( genFx( name, true ), speed, easing, callback ); + }; +} ); + +// Generate shortcuts for custom animations +jQuery.each( { + slideDown: genFx( "show" ), + slideUp: genFx( "hide" ), + slideToggle: genFx( "toggle" ), + fadeIn: { opacity: "show" }, + fadeOut: { opacity: "hide" }, + fadeToggle: { opacity: "toggle" } +}, function( name, props ) { + jQuery.fn[ name ] = function( speed, easing, callback ) { + return this.animate( props, speed, easing, callback ); + }; +} ); + +jQuery.timers = []; +jQuery.fx.tick = function() { + var timer, + i = 0, + timers = jQuery.timers; + + fxNow = Date.now(); + + for ( ; i < timers.length; i++ ) { + timer = timers[ i ]; + + // Run the timer and safely remove it when done (allowing for external removal) + if ( !timer() && timers[ i ] === timer ) { + timers.splice( i--, 1 ); + } + } + + if ( !timers.length ) { + jQuery.fx.stop(); + } + fxNow = undefined; +}; + +jQuery.fx.timer = function( timer ) { + jQuery.timers.push( timer ); + jQuery.fx.start(); +}; + +jQuery.fx.interval = 13; +jQuery.fx.start = function() { + if ( inProgress ) { + return; + } + + inProgress = true; + schedule(); +}; + +jQuery.fx.stop = function() { + inProgress = null; +}; + +jQuery.fx.speeds = { + slow: 600, + fast: 200, + + // Default speed + _default: 400 +}; + + +// Based off of the plugin by Clint Helfers, with permission. +// https://web.archive.org/web/20100324014747/http://blindsignals.com/index.php/2009/07/jquery-delay/ +jQuery.fn.delay = function( time, type ) { + time = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time; + type = type || "fx"; + + return this.queue( type, function( next, hooks ) { + var timeout = window.setTimeout( next, time ); + hooks.stop = function() { + window.clearTimeout( timeout ); + }; + } ); +}; + + +( function() { + var input = document.createElement( "input" ), + select = document.createElement( "select" ), + opt = select.appendChild( document.createElement( "option" ) ); + + input.type = "checkbox"; + + // Support: Android <=4.3 only + // Default value for a checkbox should be "on" + support.checkOn = input.value !== ""; + + // Support: IE <=11 only + // Must access selectedIndex to make default options select + support.optSelected = opt.selected; + + // Support: IE <=11 only + // An input loses its value after becoming a radio + input = document.createElement( "input" ); + input.value = "t"; + input.type = "radio"; + support.radioValue = input.value === "t"; +} )(); + + +var boolHook, + attrHandle = jQuery.expr.attrHandle; + +jQuery.fn.extend( { + attr: function( name, value ) { + return access( this, jQuery.attr, name, value, arguments.length > 1 ); + }, + + removeAttr: function( name ) { + return this.each( function() { + jQuery.removeAttr( this, name ); + } ); + } +} ); + +jQuery.extend( { + attr: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set attributes on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + // Fallback to prop when attributes are not supported + if ( typeof elem.getAttribute === "undefined" ) { + return jQuery.prop( elem, name, value ); + } + + // Attribute hooks are determined by the lowercase version + // Grab necessary hook if one is defined + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + hooks = jQuery.attrHooks[ name.toLowerCase() ] || + ( jQuery.expr.match.bool.test( name ) ? boolHook : undefined ); + } + + if ( value !== undefined ) { + if ( value === null ) { + jQuery.removeAttr( elem, name ); + return; + } + + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + elem.setAttribute( name, value + "" ); + return value; + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + ret = jQuery.find.attr( elem, name ); + + // Non-existent attributes return null, we normalize to undefined + return ret == null ? undefined : ret; + }, + + attrHooks: { + type: { + set: function( elem, value ) { + if ( !support.radioValue && value === "radio" && + nodeName( elem, "input" ) ) { + var val = elem.value; + elem.setAttribute( "type", value ); + if ( val ) { + elem.value = val; + } + return value; + } + } + } + }, + + removeAttr: function( elem, value ) { + var name, + i = 0, + + // Attribute names can contain non-HTML whitespace characters + // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2 + attrNames = value && value.match( rnothtmlwhite ); + + if ( attrNames && elem.nodeType === 1 ) { + while ( ( name = attrNames[ i++ ] ) ) { + elem.removeAttribute( name ); + } + } + } +} ); + +// Hooks for boolean attributes +boolHook = { + set: function( elem, value, name ) { + if ( value === false ) { + + // Remove boolean attributes when set to false + jQuery.removeAttr( elem, name ); + } else { + elem.setAttribute( name, name ); + } + return name; + } +}; + +jQuery.each( jQuery.expr.match.bool.source.match( /\w+/g ), function( _i, name ) { + var getter = attrHandle[ name ] || jQuery.find.attr; + + attrHandle[ name ] = function( elem, name, isXML ) { + var ret, handle, + lowercaseName = name.toLowerCase(); + + if ( !isXML ) { + + // Avoid an infinite loop by temporarily removing this function from the getter + handle = attrHandle[ lowercaseName ]; + attrHandle[ lowercaseName ] = ret; + ret = getter( elem, name, isXML ) != null ? + lowercaseName : + null; + attrHandle[ lowercaseName ] = handle; + } + return ret; + }; +} ); + + + + +var rfocusable = /^(?:input|select|textarea|button)$/i, + rclickable = /^(?:a|area)$/i; + +jQuery.fn.extend( { + prop: function( name, value ) { + return access( this, jQuery.prop, name, value, arguments.length > 1 ); + }, + + removeProp: function( name ) { + return this.each( function() { + delete this[ jQuery.propFix[ name ] || name ]; + } ); + } +} ); + +jQuery.extend( { + prop: function( elem, name, value ) { + var ret, hooks, + nType = elem.nodeType; + + // Don't get/set properties on text, comment and attribute nodes + if ( nType === 3 || nType === 8 || nType === 2 ) { + return; + } + + if ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) { + + // Fix name and attach hooks + name = jQuery.propFix[ name ] || name; + hooks = jQuery.propHooks[ name ]; + } + + if ( value !== undefined ) { + if ( hooks && "set" in hooks && + ( ret = hooks.set( elem, value, name ) ) !== undefined ) { + return ret; + } + + return ( elem[ name ] = value ); + } + + if ( hooks && "get" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) { + return ret; + } + + return elem[ name ]; + }, + + propHooks: { + tabIndex: { + get: function( elem ) { + + // Support: IE <=9 - 11 only + // elem.tabIndex doesn't always return the + // correct value when it hasn't been explicitly set + // https://web.archive.org/web/20141116233347/http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/ + // Use proper attribute retrieval(#12072) + var tabindex = jQuery.find.attr( elem, "tabindex" ); + + if ( tabindex ) { + return parseInt( tabindex, 10 ); + } + + if ( + rfocusable.test( elem.nodeName ) || + rclickable.test( elem.nodeName ) && + elem.href + ) { + return 0; + } + + return -1; + } + } + }, + + propFix: { + "for": "htmlFor", + "class": "className" + } +} ); + +// Support: IE <=11 only +// Accessing the selectedIndex property +// forces the browser to respect setting selected +// on the option +// The getter ensures a default option is selected +// when in an optgroup +// eslint rule "no-unused-expressions" is disabled for this code +// since it considers such accessions noop +if ( !support.optSelected ) { + jQuery.propHooks.selected = { + get: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent && parent.parentNode ) { + parent.parentNode.selectedIndex; + } + return null; + }, + set: function( elem ) { + + /* eslint no-unused-expressions: "off" */ + + var parent = elem.parentNode; + if ( parent ) { + parent.selectedIndex; + + if ( parent.parentNode ) { + parent.parentNode.selectedIndex; + } + } + } + }; +} + +jQuery.each( [ + "tabIndex", + "readOnly", + "maxLength", + "cellSpacing", + "cellPadding", + "rowSpan", + "colSpan", + "useMap", + "frameBorder", + "contentEditable" +], function() { + jQuery.propFix[ this.toLowerCase() ] = this; +} ); + + + + + // Strip and collapse whitespace according to HTML spec + // https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace + function stripAndCollapse( value ) { + var tokens = value.match( rnothtmlwhite ) || []; + return tokens.join( " " ); + } + + +function getClass( elem ) { + return elem.getAttribute && elem.getAttribute( "class" ) || ""; +} + +function classesToArray( value ) { + if ( Array.isArray( value ) ) { + return value; + } + if ( typeof value === "string" ) { + return value.match( rnothtmlwhite ) || []; + } + return []; +} + +jQuery.fn.extend( { + addClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).addClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + if ( cur.indexOf( " " + clazz + " " ) < 0 ) { + cur += clazz + " "; + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + removeClass: function( value ) { + var classes, elem, cur, curValue, clazz, j, finalValue, + i = 0; + + if ( isFunction( value ) ) { + return this.each( function( j ) { + jQuery( this ).removeClass( value.call( this, j, getClass( this ) ) ); + } ); + } + + if ( !arguments.length ) { + return this.attr( "class", "" ); + } + + classes = classesToArray( value ); + + if ( classes.length ) { + while ( ( elem = this[ i++ ] ) ) { + curValue = getClass( elem ); + + // This expression is here for better compressibility (see addClass) + cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " ); + + if ( cur ) { + j = 0; + while ( ( clazz = classes[ j++ ] ) ) { + + // Remove *all* instances + while ( cur.indexOf( " " + clazz + " " ) > -1 ) { + cur = cur.replace( " " + clazz + " ", " " ); + } + } + + // Only assign if different to avoid unneeded rendering. + finalValue = stripAndCollapse( cur ); + if ( curValue !== finalValue ) { + elem.setAttribute( "class", finalValue ); + } + } + } + } + + return this; + }, + + toggleClass: function( value, stateVal ) { + var type = typeof value, + isValidValue = type === "string" || Array.isArray( value ); + + if ( typeof stateVal === "boolean" && isValidValue ) { + return stateVal ? this.addClass( value ) : this.removeClass( value ); + } + + if ( isFunction( value ) ) { + return this.each( function( i ) { + jQuery( this ).toggleClass( + value.call( this, i, getClass( this ), stateVal ), + stateVal + ); + } ); + } + + return this.each( function() { + var className, i, self, classNames; + + if ( isValidValue ) { + + // Toggle individual class names + i = 0; + self = jQuery( this ); + classNames = classesToArray( value ); + + while ( ( className = classNames[ i++ ] ) ) { + + // Check each className given, space separated list + if ( self.hasClass( className ) ) { + self.removeClass( className ); + } else { + self.addClass( className ); + } + } + + // Toggle whole class name + } else if ( value === undefined || type === "boolean" ) { + className = getClass( this ); + if ( className ) { + + // Store className if set + dataPriv.set( this, "__className__", className ); + } + + // If the element has a class name or if we're passed `false`, + // then remove the whole classname (if there was one, the above saved it). + // Otherwise bring back whatever was previously saved (if anything), + // falling back to the empty string if nothing was stored. + if ( this.setAttribute ) { + this.setAttribute( "class", + className || value === false ? + "" : + dataPriv.get( this, "__className__" ) || "" + ); + } + } + } ); + }, + + hasClass: function( selector ) { + var className, elem, + i = 0; + + className = " " + selector + " "; + while ( ( elem = this[ i++ ] ) ) { + if ( elem.nodeType === 1 && + ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) { + return true; + } + } + + return false; + } +} ); + + + + +var rreturn = /\r/g; + +jQuery.fn.extend( { + val: function( value ) { + var hooks, ret, valueIsFunction, + elem = this[ 0 ]; + + if ( !arguments.length ) { + if ( elem ) { + hooks = jQuery.valHooks[ elem.type ] || + jQuery.valHooks[ elem.nodeName.toLowerCase() ]; + + if ( hooks && + "get" in hooks && + ( ret = hooks.get( elem, "value" ) ) !== undefined + ) { + return ret; + } + + ret = elem.value; + + // Handle most common string cases + if ( typeof ret === "string" ) { + return ret.replace( rreturn, "" ); + } + + // Handle cases where value is null/undef or number + return ret == null ? "" : ret; + } + + return; + } + + valueIsFunction = isFunction( value ); + + return this.each( function( i ) { + var val; + + if ( this.nodeType !== 1 ) { + return; + } + + if ( valueIsFunction ) { + val = value.call( this, i, jQuery( this ).val() ); + } else { + val = value; + } + + // Treat null/undefined as ""; convert numbers to string + if ( val == null ) { + val = ""; + + } else if ( typeof val === "number" ) { + val += ""; + + } else if ( Array.isArray( val ) ) { + val = jQuery.map( val, function( value ) { + return value == null ? "" : value + ""; + } ); + } + + hooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ]; + + // If set returns undefined, fall back to normal setting + if ( !hooks || !( "set" in hooks ) || hooks.set( this, val, "value" ) === undefined ) { + this.value = val; + } + } ); + } +} ); + +jQuery.extend( { + valHooks: { + option: { + get: function( elem ) { + + var val = jQuery.find.attr( elem, "value" ); + return val != null ? + val : + + // Support: IE <=10 - 11 only + // option.text throws exceptions (#14686, #14858) + // Strip and collapse whitespace + // https://html.spec.whatwg.org/#strip-and-collapse-whitespace + stripAndCollapse( jQuery.text( elem ) ); + } + }, + select: { + get: function( elem ) { + var value, option, i, + options = elem.options, + index = elem.selectedIndex, + one = elem.type === "select-one", + values = one ? null : [], + max = one ? index + 1 : options.length; + + if ( index < 0 ) { + i = max; + + } else { + i = one ? index : 0; + } + + // Loop through all the selected options + for ( ; i < max; i++ ) { + option = options[ i ]; + + // Support: IE <=9 only + // IE8-9 doesn't update selected after form reset (#2551) + if ( ( option.selected || i === index ) && + + // Don't return options that are disabled or in a disabled optgroup + !option.disabled && + ( !option.parentNode.disabled || + !nodeName( option.parentNode, "optgroup" ) ) ) { + + // Get the specific value for the option + value = jQuery( option ).val(); + + // We don't need an array for one selects + if ( one ) { + return value; + } + + // Multi-Selects return an array + values.push( value ); + } + } + + return values; + }, + + set: function( elem, value ) { + var optionSet, option, + options = elem.options, + values = jQuery.makeArray( value ), + i = options.length; + + while ( i-- ) { + option = options[ i ]; + + /* eslint-disable no-cond-assign */ + + if ( option.selected = + jQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1 + ) { + optionSet = true; + } + + /* eslint-enable no-cond-assign */ + } + + // Force browsers to behave consistently when non-matching value is set + if ( !optionSet ) { + elem.selectedIndex = -1; + } + return values; + } + } + } +} ); + +// Radios and checkboxes getter/setter +jQuery.each( [ "radio", "checkbox" ], function() { + jQuery.valHooks[ this ] = { + set: function( elem, value ) { + if ( Array.isArray( value ) ) { + return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 ); + } + } + }; + if ( !support.checkOn ) { + jQuery.valHooks[ this ].get = function( elem ) { + return elem.getAttribute( "value" ) === null ? "on" : elem.value; + }; + } +} ); + + + + +// Return jQuery for attributes-only inclusion + + +support.focusin = "onfocusin" in window; + + +var rfocusMorph = /^(?:focusinfocus|focusoutblur)$/, + stopPropagationCallback = function( e ) { + e.stopPropagation(); + }; + +jQuery.extend( jQuery.event, { + + trigger: function( event, data, elem, onlyHandlers ) { + + var i, cur, tmp, bubbleType, ontype, handle, special, lastElement, + eventPath = [ elem || document ], + type = hasOwn.call( event, "type" ) ? event.type : event, + namespaces = hasOwn.call( event, "namespace" ) ? event.namespace.split( "." ) : []; + + cur = lastElement = tmp = elem = elem || document; + + // Don't do events on text and comment nodes + if ( elem.nodeType === 3 || elem.nodeType === 8 ) { + return; + } + + // focus/blur morphs to focusin/out; ensure we're not firing them right now + if ( rfocusMorph.test( type + jQuery.event.triggered ) ) { + return; + } + + if ( type.indexOf( "." ) > -1 ) { + + // Namespaced trigger; create a regexp to match event type in handle() + namespaces = type.split( "." ); + type = namespaces.shift(); + namespaces.sort(); + } + ontype = type.indexOf( ":" ) < 0 && "on" + type; + + // Caller can pass in a jQuery.Event object, Object, or just an event type string + event = event[ jQuery.expando ] ? + event : + new jQuery.Event( type, typeof event === "object" && event ); + + // Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true) + event.isTrigger = onlyHandlers ? 2 : 3; + event.namespace = namespaces.join( "." ); + event.rnamespace = event.namespace ? + new RegExp( "(^|\\.)" + namespaces.join( "\\.(?:.*\\.|)" ) + "(\\.|$)" ) : + null; + + // Clean up the event in case it is being reused + event.result = undefined; + if ( !event.target ) { + event.target = elem; + } + + // Clone any incoming data and prepend the event, creating the handler arg list + data = data == null ? + [ event ] : + jQuery.makeArray( data, [ event ] ); + + // Allow special events to draw outside the lines + special = jQuery.event.special[ type ] || {}; + if ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) { + return; + } + + // Determine event propagation path in advance, per W3C events spec (#9951) + // Bubble up to document, then to window; watch for a global ownerDocument var (#9724) + if ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) { + + bubbleType = special.delegateType || type; + if ( !rfocusMorph.test( bubbleType + type ) ) { + cur = cur.parentNode; + } + for ( ; cur; cur = cur.parentNode ) { + eventPath.push( cur ); + tmp = cur; + } + + // Only add window if we got to document (e.g., not plain obj or detached DOM) + if ( tmp === ( elem.ownerDocument || document ) ) { + eventPath.push( tmp.defaultView || tmp.parentWindow || window ); + } + } + + // Fire handlers on the event path + i = 0; + while ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) { + lastElement = cur; + event.type = i > 1 ? + bubbleType : + special.bindType || type; + + // jQuery handler + handle = ( dataPriv.get( cur, "events" ) || Object.create( null ) )[ event.type ] && + dataPriv.get( cur, "handle" ); + if ( handle ) { + handle.apply( cur, data ); + } + + // Native handler + handle = ontype && cur[ ontype ]; + if ( handle && handle.apply && acceptData( cur ) ) { + event.result = handle.apply( cur, data ); + if ( event.result === false ) { + event.preventDefault(); + } + } + } + event.type = type; + + // If nobody prevented the default action, do it now + if ( !onlyHandlers && !event.isDefaultPrevented() ) { + + if ( ( !special._default || + special._default.apply( eventPath.pop(), data ) === false ) && + acceptData( elem ) ) { + + // Call a native DOM method on the target with the same name as the event. + // Don't do default actions on window, that's where global variables be (#6170) + if ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) { + + // Don't re-trigger an onFOO event when we call its FOO() method + tmp = elem[ ontype ]; + + if ( tmp ) { + elem[ ontype ] = null; + } + + // Prevent re-triggering of the same event, since we already bubbled it above + jQuery.event.triggered = type; + + if ( event.isPropagationStopped() ) { + lastElement.addEventListener( type, stopPropagationCallback ); + } + + elem[ type ](); + + if ( event.isPropagationStopped() ) { + lastElement.removeEventListener( type, stopPropagationCallback ); + } + + jQuery.event.triggered = undefined; + + if ( tmp ) { + elem[ ontype ] = tmp; + } + } + } + } + + return event.result; + }, + + // Piggyback on a donor event to simulate a different one + // Used only for `focus(in | out)` events + simulate: function( type, elem, event ) { + var e = jQuery.extend( + new jQuery.Event(), + event, + { + type: type, + isSimulated: true + } + ); + + jQuery.event.trigger( e, null, elem ); + } + +} ); + +jQuery.fn.extend( { + + trigger: function( type, data ) { + return this.each( function() { + jQuery.event.trigger( type, data, this ); + } ); + }, + triggerHandler: function( type, data ) { + var elem = this[ 0 ]; + if ( elem ) { + return jQuery.event.trigger( type, data, elem, true ); + } + } +} ); + + +// Support: Firefox <=44 +// Firefox doesn't have focus(in | out) events +// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787 +// +// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1 +// focus(in | out) events fire after focus & blur events, +// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order +// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857 +if ( !support.focusin ) { + jQuery.each( { focus: "focusin", blur: "focusout" }, function( orig, fix ) { + + // Attach a single capturing handler on the document while someone wants focusin/focusout + var handler = function( event ) { + jQuery.event.simulate( fix, event.target, jQuery.event.fix( event ) ); + }; + + jQuery.event.special[ fix ] = { + setup: function() { + + // Handle: regular nodes (via `this.ownerDocument`), window + // (via `this.document`) & document (via `this`). + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ); + + if ( !attaches ) { + doc.addEventListener( orig, handler, true ); + } + dataPriv.access( doc, fix, ( attaches || 0 ) + 1 ); + }, + teardown: function() { + var doc = this.ownerDocument || this.document || this, + attaches = dataPriv.access( doc, fix ) - 1; + + if ( !attaches ) { + doc.removeEventListener( orig, handler, true ); + dataPriv.remove( doc, fix ); + + } else { + dataPriv.access( doc, fix, attaches ); + } + } + }; + } ); +} +var location = window.location; + +var nonce = { guid: Date.now() }; + +var rquery = ( /\?/ ); + + + +// Cross-browser xml parsing +jQuery.parseXML = function( data ) { + var xml, parserErrorElem; + if ( !data || typeof data !== "string" ) { + return null; + } + + // Support: IE 9 - 11 only + // IE throws on parseFromString with invalid input. + try { + xml = ( new window.DOMParser() ).parseFromString( data, "text/xml" ); + } catch ( e ) {} + + parserErrorElem = xml && xml.getElementsByTagName( "parsererror" )[ 0 ]; + if ( !xml || parserErrorElem ) { + jQuery.error( "Invalid XML: " + ( + parserErrorElem ? + jQuery.map( parserErrorElem.childNodes, function( el ) { + return el.textContent; + } ).join( "\n" ) : + data + ) ); + } + return xml; +}; + + +var + rbracket = /\[\]$/, + rCRLF = /\r?\n/g, + rsubmitterTypes = /^(?:submit|button|image|reset|file)$/i, + rsubmittable = /^(?:input|select|textarea|keygen)/i; + +function buildParams( prefix, obj, traditional, add ) { + var name; + + if ( Array.isArray( obj ) ) { + + // Serialize array item. + jQuery.each( obj, function( i, v ) { + if ( traditional || rbracket.test( prefix ) ) { + + // Treat each array item as a scalar. + add( prefix, v ); + + } else { + + // Item is non-scalar (array or object), encode its numeric index. + buildParams( + prefix + "[" + ( typeof v === "object" && v != null ? i : "" ) + "]", + v, + traditional, + add + ); + } + } ); + + } else if ( !traditional && toType( obj ) === "object" ) { + + // Serialize object item. + for ( name in obj ) { + buildParams( prefix + "[" + name + "]", obj[ name ], traditional, add ); + } + + } else { + + // Serialize scalar item. + add( prefix, obj ); + } +} + +// Serialize an array of form elements or a set of +// key/values into a query string +jQuery.param = function( a, traditional ) { + var prefix, + s = [], + add = function( key, valueOrFunction ) { + + // If value is a function, invoke it and use its return value + var value = isFunction( valueOrFunction ) ? + valueOrFunction() : + valueOrFunction; + + s[ s.length ] = encodeURIComponent( key ) + "=" + + encodeURIComponent( value == null ? "" : value ); + }; + + if ( a == null ) { + return ""; + } + + // If an array was passed in, assume that it is an array of form elements. + if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) { + + // Serialize the form elements + jQuery.each( a, function() { + add( this.name, this.value ); + } ); + + } else { + + // If traditional, encode the "old" way (the way 1.3.2 or older + // did it), otherwise encode params recursively. + for ( prefix in a ) { + buildParams( prefix, a[ prefix ], traditional, add ); + } + } + + // Return the resulting serialization + return s.join( "&" ); +}; + +jQuery.fn.extend( { + serialize: function() { + return jQuery.param( this.serializeArray() ); + }, + serializeArray: function() { + return this.map( function() { + + // Can add propHook for "elements" to filter or add form elements + var elements = jQuery.prop( this, "elements" ); + return elements ? jQuery.makeArray( elements ) : this; + } ).filter( function() { + var type = this.type; + + // Use .is( ":disabled" ) so that fieldset[disabled] works + return this.name && !jQuery( this ).is( ":disabled" ) && + rsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) && + ( this.checked || !rcheckableType.test( type ) ); + } ).map( function( _i, elem ) { + var val = jQuery( this ).val(); + + if ( val == null ) { + return null; + } + + if ( Array.isArray( val ) ) { + return jQuery.map( val, function( val ) { + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ); + } + + return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) }; + } ).get(); + } +} ); + + +var + r20 = /%20/g, + rhash = /#.*$/, + rantiCache = /([?&])_=[^&]*/, + rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg, + + // #7653, #8125, #8152: local protocol detection + rlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/, + rnoContent = /^(?:GET|HEAD)$/, + rprotocol = /^\/\//, + + /* Prefilters + * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example) + * 2) These are called: + * - BEFORE asking for a transport + * - AFTER param serialization (s.data is a string if s.processData is true) + * 3) key is the dataType + * 4) the catchall symbol "*" can be used + * 5) execution will start with transport dataType and THEN continue down to "*" if needed + */ + prefilters = {}, + + /* Transports bindings + * 1) key is the dataType + * 2) the catchall symbol "*" can be used + * 3) selection will start with transport dataType and THEN go to "*" if needed + */ + transports = {}, + + // Avoid comment-prolog char sequence (#10098); must appease lint and evade compression + allTypes = "*/".concat( "*" ), + + // Anchor tag for parsing the document origin + originAnchor = document.createElement( "a" ); + +originAnchor.href = location.href; + +// Base "constructor" for jQuery.ajaxPrefilter and jQuery.ajaxTransport +function addToPrefiltersOrTransports( structure ) { + + // dataTypeExpression is optional and defaults to "*" + return function( dataTypeExpression, func ) { + + if ( typeof dataTypeExpression !== "string" ) { + func = dataTypeExpression; + dataTypeExpression = "*"; + } + + var dataType, + i = 0, + dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || []; + + if ( isFunction( func ) ) { + + // For each dataType in the dataTypeExpression + while ( ( dataType = dataTypes[ i++ ] ) ) { + + // Prepend if requested + if ( dataType[ 0 ] === "+" ) { + dataType = dataType.slice( 1 ) || "*"; + ( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func ); + + // Otherwise append + } else { + ( structure[ dataType ] = structure[ dataType ] || [] ).push( func ); + } + } + } + }; +} + +// Base inspection function for prefilters and transports +function inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) { + + var inspected = {}, + seekingTransport = ( structure === transports ); + + function inspect( dataType ) { + var selected; + inspected[ dataType ] = true; + jQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) { + var dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR ); + if ( typeof dataTypeOrTransport === "string" && + !seekingTransport && !inspected[ dataTypeOrTransport ] ) { + + options.dataTypes.unshift( dataTypeOrTransport ); + inspect( dataTypeOrTransport ); + return false; + } else if ( seekingTransport ) { + return !( selected = dataTypeOrTransport ); + } + } ); + return selected; + } + + return inspect( options.dataTypes[ 0 ] ) || !inspected[ "*" ] && inspect( "*" ); +} + +// A special extend for ajax options +// that takes "flat" options (not to be deep extended) +// Fixes #9887 +function ajaxExtend( target, src ) { + var key, deep, + flatOptions = jQuery.ajaxSettings.flatOptions || {}; + + for ( key in src ) { + if ( src[ key ] !== undefined ) { + ( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ]; + } + } + if ( deep ) { + jQuery.extend( true, target, deep ); + } + + return target; +} + +/* Handles responses to an ajax request: + * - finds the right dataType (mediates between content-type and expected dataType) + * - returns the corresponding response + */ +function ajaxHandleResponses( s, jqXHR, responses ) { + + var ct, type, finalDataType, firstDataType, + contents = s.contents, + dataTypes = s.dataTypes; + + // Remove auto dataType and get content-type in the process + while ( dataTypes[ 0 ] === "*" ) { + dataTypes.shift(); + if ( ct === undefined ) { + ct = s.mimeType || jqXHR.getResponseHeader( "Content-Type" ); + } + } + + // Check if we're dealing with a known content-type + if ( ct ) { + for ( type in contents ) { + if ( contents[ type ] && contents[ type ].test( ct ) ) { + dataTypes.unshift( type ); + break; + } + } + } + + // Check to see if we have a response for the expected dataType + if ( dataTypes[ 0 ] in responses ) { + finalDataType = dataTypes[ 0 ]; + } else { + + // Try convertible dataTypes + for ( type in responses ) { + if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[ 0 ] ] ) { + finalDataType = type; + break; + } + if ( !firstDataType ) { + firstDataType = type; + } + } + + // Or just use first one + finalDataType = finalDataType || firstDataType; + } + + // If we found a dataType + // We add the dataType to the list if needed + // and return the corresponding response + if ( finalDataType ) { + if ( finalDataType !== dataTypes[ 0 ] ) { + dataTypes.unshift( finalDataType ); + } + return responses[ finalDataType ]; + } +} + +/* Chain conversions given the request and the original response + * Also sets the responseXXX fields on the jqXHR instance + */ +function ajaxConvert( s, response, jqXHR, isSuccess ) { + var conv2, current, conv, tmp, prev, + converters = {}, + + // Work with a copy of dataTypes in case we need to modify it for conversion + dataTypes = s.dataTypes.slice(); + + // Create converters map with lowercased keys + if ( dataTypes[ 1 ] ) { + for ( conv in s.converters ) { + converters[ conv.toLowerCase() ] = s.converters[ conv ]; + } + } + + current = dataTypes.shift(); + + // Convert to each sequential dataType + while ( current ) { + + if ( s.responseFields[ current ] ) { + jqXHR[ s.responseFields[ current ] ] = response; + } + + // Apply the dataFilter if provided + if ( !prev && isSuccess && s.dataFilter ) { + response = s.dataFilter( response, s.dataType ); + } + + prev = current; + current = dataTypes.shift(); + + if ( current ) { + + // There's only work to do if current dataType is non-auto + if ( current === "*" ) { + + current = prev; + + // Convert response if prev dataType is non-auto and differs from current + } else if ( prev !== "*" && prev !== current ) { + + // Seek a direct converter + conv = converters[ prev + " " + current ] || converters[ "* " + current ]; + + // If none found, seek a pair + if ( !conv ) { + for ( conv2 in converters ) { + + // If conv2 outputs current + tmp = conv2.split( " " ); + if ( tmp[ 1 ] === current ) { + + // If prev can be converted to accepted input + conv = converters[ prev + " " + tmp[ 0 ] ] || + converters[ "* " + tmp[ 0 ] ]; + if ( conv ) { + + // Condense equivalence converters + if ( conv === true ) { + conv = converters[ conv2 ]; + + // Otherwise, insert the intermediate dataType + } else if ( converters[ conv2 ] !== true ) { + current = tmp[ 0 ]; + dataTypes.unshift( tmp[ 1 ] ); + } + break; + } + } + } + } + + // Apply converter (if not an equivalence) + if ( conv !== true ) { + + // Unless errors are allowed to bubble, catch and return them + if ( conv && s.throws ) { + response = conv( response ); + } else { + try { + response = conv( response ); + } catch ( e ) { + return { + state: "parsererror", + error: conv ? e : "No conversion from " + prev + " to " + current + }; + } + } + } + } + } + } + + return { state: "success", data: response }; +} + +jQuery.extend( { + + // Counter for holding the number of active queries + active: 0, + + // Last-Modified header cache for next request + lastModified: {}, + etag: {}, + + ajaxSettings: { + url: location.href, + type: "GET", + isLocal: rlocalProtocol.test( location.protocol ), + global: true, + processData: true, + async: true, + contentType: "application/x-www-form-urlencoded; charset=UTF-8", + + /* + timeout: 0, + data: null, + dataType: null, + username: null, + password: null, + cache: null, + throws: false, + traditional: false, + headers: {}, + */ + + accepts: { + "*": allTypes, + text: "text/plain", + html: "text/html", + xml: "application/xml, text/xml", + json: "application/json, text/javascript" + }, + + contents: { + xml: /\bxml\b/, + html: /\bhtml/, + json: /\bjson\b/ + }, + + responseFields: { + xml: "responseXML", + text: "responseText", + json: "responseJSON" + }, + + // Data converters + // Keys separate source (or catchall "*") and destination types with a single space + converters: { + + // Convert anything to text + "* text": String, + + // Text to html (true = no transformation) + "text html": true, + + // Evaluate text as a json expression + "text json": JSON.parse, + + // Parse text as xml + "text xml": jQuery.parseXML + }, + + // For options that shouldn't be deep extended: + // you can add your own custom options here if + // and when you create one that shouldn't be + // deep extended (see ajaxExtend) + flatOptions: { + url: true, + context: true + } + }, + + // Creates a full fledged settings object into target + // with both ajaxSettings and settings fields. + // If target is omitted, writes into ajaxSettings. + ajaxSetup: function( target, settings ) { + return settings ? + + // Building a settings object + ajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) : + + // Extending ajaxSettings + ajaxExtend( jQuery.ajaxSettings, target ); + }, + + ajaxPrefilter: addToPrefiltersOrTransports( prefilters ), + ajaxTransport: addToPrefiltersOrTransports( transports ), + + // Main method + ajax: function( url, options ) { + + // If url is an object, simulate pre-1.5 signature + if ( typeof url === "object" ) { + options = url; + url = undefined; + } + + // Force options to be an object + options = options || {}; + + var transport, + + // URL without anti-cache param + cacheURL, + + // Response headers + responseHeadersString, + responseHeaders, + + // timeout handle + timeoutTimer, + + // Url cleanup var + urlAnchor, + + // Request state (becomes false upon send and true upon completion) + completed, + + // To know if global events are to be dispatched + fireGlobals, + + // Loop variable + i, + + // uncached part of the url + uncached, + + // Create the final options object + s = jQuery.ajaxSetup( {}, options ), + + // Callbacks context + callbackContext = s.context || s, + + // Context for global events is callbackContext if it is a DOM node or jQuery collection + globalEventContext = s.context && + ( callbackContext.nodeType || callbackContext.jquery ) ? + jQuery( callbackContext ) : + jQuery.event, + + // Deferreds + deferred = jQuery.Deferred(), + completeDeferred = jQuery.Callbacks( "once memory" ), + + // Status-dependent callbacks + statusCode = s.statusCode || {}, + + // Headers (they are sent all at once) + requestHeaders = {}, + requestHeadersNames = {}, + + // Default abort message + strAbort = "canceled", + + // Fake xhr + jqXHR = { + readyState: 0, + + // Builds headers hashtable if needed + getResponseHeader: function( key ) { + var match; + if ( completed ) { + if ( !responseHeaders ) { + responseHeaders = {}; + while ( ( match = rheaders.exec( responseHeadersString ) ) ) { + responseHeaders[ match[ 1 ].toLowerCase() + " " ] = + ( responseHeaders[ match[ 1 ].toLowerCase() + " " ] || [] ) + .concat( match[ 2 ] ); + } + } + match = responseHeaders[ key.toLowerCase() + " " ]; + } + return match == null ? null : match.join( ", " ); + }, + + // Raw string + getAllResponseHeaders: function() { + return completed ? responseHeadersString : null; + }, + + // Caches the header + setRequestHeader: function( name, value ) { + if ( completed == null ) { + name = requestHeadersNames[ name.toLowerCase() ] = + requestHeadersNames[ name.toLowerCase() ] || name; + requestHeaders[ name ] = value; + } + return this; + }, + + // Overrides response content-type header + overrideMimeType: function( type ) { + if ( completed == null ) { + s.mimeType = type; + } + return this; + }, + + // Status-dependent callbacks + statusCode: function( map ) { + var code; + if ( map ) { + if ( completed ) { + + // Execute the appropriate callbacks + jqXHR.always( map[ jqXHR.status ] ); + } else { + + // Lazy-add the new callbacks in a way that preserves old ones + for ( code in map ) { + statusCode[ code ] = [ statusCode[ code ], map[ code ] ]; + } + } + } + return this; + }, + + // Cancel the request + abort: function( statusText ) { + var finalText = statusText || strAbort; + if ( transport ) { + transport.abort( finalText ); + } + done( 0, finalText ); + return this; + } + }; + + // Attach deferreds + deferred.promise( jqXHR ); + + // Add protocol if not provided (prefilters might expect it) + // Handle falsy url in the settings object (#10093: consistency with old signature) + // We also use the url parameter if available + s.url = ( ( url || s.url || location.href ) + "" ) + .replace( rprotocol, location.protocol + "//" ); + + // Alias method option to type as per ticket #12004 + s.type = options.method || options.type || s.method || s.type; + + // Extract dataTypes list + s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ]; + + // A cross-domain request is in order when the origin doesn't match the current origin. + if ( s.crossDomain == null ) { + urlAnchor = document.createElement( "a" ); + + // Support: IE <=8 - 11, Edge 12 - 15 + // IE throws exception on accessing the href property if url is malformed, + // e.g. http://example.com:80x/ + try { + urlAnchor.href = s.url; + + // Support: IE <=8 - 11 only + // Anchor's host property isn't correctly set when s.url is relative + urlAnchor.href = urlAnchor.href; + s.crossDomain = originAnchor.protocol + "//" + originAnchor.host !== + urlAnchor.protocol + "//" + urlAnchor.host; + } catch ( e ) { + + // If there is an error parsing the URL, assume it is crossDomain, + // it can be rejected by the transport if it is invalid + s.crossDomain = true; + } + } + + // Convert data if not already a string + if ( s.data && s.processData && typeof s.data !== "string" ) { + s.data = jQuery.param( s.data, s.traditional ); + } + + // Apply prefilters + inspectPrefiltersOrTransports( prefilters, s, options, jqXHR ); + + // If request was aborted inside a prefilter, stop there + if ( completed ) { + return jqXHR; + } + + // We can fire global events as of now if asked to + // Don't fire events if jQuery.event is undefined in an AMD-usage scenario (#15118) + fireGlobals = jQuery.event && s.global; + + // Watch for a new set of requests + if ( fireGlobals && jQuery.active++ === 0 ) { + jQuery.event.trigger( "ajaxStart" ); + } + + // Uppercase the type + s.type = s.type.toUpperCase(); + + // Determine if request has content + s.hasContent = !rnoContent.test( s.type ); + + // Save the URL in case we're toying with the If-Modified-Since + // and/or If-None-Match header later on + // Remove hash to simplify url manipulation + cacheURL = s.url.replace( rhash, "" ); + + // More options handling for requests with no content + if ( !s.hasContent ) { + + // Remember the hash so we can put it back + uncached = s.url.slice( cacheURL.length ); + + // If data is available and should be processed, append data to url + if ( s.data && ( s.processData || typeof s.data === "string" ) ) { + cacheURL += ( rquery.test( cacheURL ) ? "&" : "?" ) + s.data; + + // #9682: remove data so that it's not used in an eventual retry + delete s.data; + } + + // Add or update anti-cache param if needed + if ( s.cache === false ) { + cacheURL = cacheURL.replace( rantiCache, "$1" ); + uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce.guid++ ) + + uncached; + } + + // Put hash and anti-cache on the URL that will be requested (gh-1732) + s.url = cacheURL + uncached; + + // Change '%20' to '+' if this is encoded form body content (gh-2658) + } else if ( s.data && s.processData && + ( s.contentType || "" ).indexOf( "application/x-www-form-urlencoded" ) === 0 ) { + s.data = s.data.replace( r20, "+" ); + } + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + if ( jQuery.lastModified[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-Modified-Since", jQuery.lastModified[ cacheURL ] ); + } + if ( jQuery.etag[ cacheURL ] ) { + jqXHR.setRequestHeader( "If-None-Match", jQuery.etag[ cacheURL ] ); + } + } + + // Set the correct header, if data is being sent + if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) { + jqXHR.setRequestHeader( "Content-Type", s.contentType ); + } + + // Set the Accepts header for the server, depending on the dataType + jqXHR.setRequestHeader( + "Accept", + s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ? + s.accepts[ s.dataTypes[ 0 ] ] + + ( s.dataTypes[ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) : + s.accepts[ "*" ] + ); + + // Check for headers option + for ( i in s.headers ) { + jqXHR.setRequestHeader( i, s.headers[ i ] ); + } + + // Allow custom headers/mimetypes and early abort + if ( s.beforeSend && + ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) { + + // Abort if not done already and return + return jqXHR.abort(); + } + + // Aborting is no longer a cancellation + strAbort = "abort"; + + // Install callbacks on deferreds + completeDeferred.add( s.complete ); + jqXHR.done( s.success ); + jqXHR.fail( s.error ); + + // Get transport + transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR ); + + // If no transport, we auto-abort + if ( !transport ) { + done( -1, "No Transport" ); + } else { + jqXHR.readyState = 1; + + // Send global event + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] ); + } + + // If request was aborted inside ajaxSend, stop there + if ( completed ) { + return jqXHR; + } + + // Timeout + if ( s.async && s.timeout > 0 ) { + timeoutTimer = window.setTimeout( function() { + jqXHR.abort( "timeout" ); + }, s.timeout ); + } + + try { + completed = false; + transport.send( requestHeaders, done ); + } catch ( e ) { + + // Rethrow post-completion exceptions + if ( completed ) { + throw e; + } + + // Propagate others as results + done( -1, e ); + } + } + + // Callback for when everything is done + function done( status, nativeStatusText, responses, headers ) { + var isSuccess, success, error, response, modified, + statusText = nativeStatusText; + + // Ignore repeat invocations + if ( completed ) { + return; + } + + completed = true; + + // Clear timeout if it exists + if ( timeoutTimer ) { + window.clearTimeout( timeoutTimer ); + } + + // Dereference transport for early garbage collection + // (no matter how long the jqXHR object will be used) + transport = undefined; + + // Cache response headers + responseHeadersString = headers || ""; + + // Set readyState + jqXHR.readyState = status > 0 ? 4 : 0; + + // Determine if successful + isSuccess = status >= 200 && status < 300 || status === 304; + + // Get response data + if ( responses ) { + response = ajaxHandleResponses( s, jqXHR, responses ); + } + + // Use a noop converter for missing script but not if jsonp + if ( !isSuccess && + jQuery.inArray( "script", s.dataTypes ) > -1 && + jQuery.inArray( "json", s.dataTypes ) < 0 ) { + s.converters[ "text script" ] = function() {}; + } + + // Convert no matter what (that way responseXXX fields are always set) + response = ajaxConvert( s, response, jqXHR, isSuccess ); + + // If successful, handle type chaining + if ( isSuccess ) { + + // Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode. + if ( s.ifModified ) { + modified = jqXHR.getResponseHeader( "Last-Modified" ); + if ( modified ) { + jQuery.lastModified[ cacheURL ] = modified; + } + modified = jqXHR.getResponseHeader( "etag" ); + if ( modified ) { + jQuery.etag[ cacheURL ] = modified; + } + } + + // if no content + if ( status === 204 || s.type === "HEAD" ) { + statusText = "nocontent"; + + // if not modified + } else if ( status === 304 ) { + statusText = "notmodified"; + + // If we have data, let's convert it + } else { + statusText = response.state; + success = response.data; + error = response.error; + isSuccess = !error; + } + } else { + + // Extract error from statusText and normalize for non-aborts + error = statusText; + if ( status || !statusText ) { + statusText = "error"; + if ( status < 0 ) { + status = 0; + } + } + } + + // Set data for the fake xhr object + jqXHR.status = status; + jqXHR.statusText = ( nativeStatusText || statusText ) + ""; + + // Success/Error + if ( isSuccess ) { + deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] ); + } else { + deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] ); + } + + // Status-dependent callbacks + jqXHR.statusCode( statusCode ); + statusCode = undefined; + + if ( fireGlobals ) { + globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError", + [ jqXHR, s, isSuccess ? success : error ] ); + } + + // Complete + completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] ); + + if ( fireGlobals ) { + globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] ); + + // Handle the global AJAX counter + if ( !( --jQuery.active ) ) { + jQuery.event.trigger( "ajaxStop" ); + } + } + } + + return jqXHR; + }, + + getJSON: function( url, data, callback ) { + return jQuery.get( url, data, callback, "json" ); + }, + + getScript: function( url, callback ) { + return jQuery.get( url, undefined, callback, "script" ); + } +} ); + +jQuery.each( [ "get", "post" ], function( _i, method ) { + jQuery[ method ] = function( url, data, callback, type ) { + + // Shift arguments if data argument was omitted + if ( isFunction( data ) ) { + type = type || callback; + callback = data; + data = undefined; + } + + // The url can be an options object (which then must have .url) + return jQuery.ajax( jQuery.extend( { + url: url, + type: method, + dataType: type, + data: data, + success: callback + }, jQuery.isPlainObject( url ) && url ) ); + }; +} ); + +jQuery.ajaxPrefilter( function( s ) { + var i; + for ( i in s.headers ) { + if ( i.toLowerCase() === "content-type" ) { + s.contentType = s.headers[ i ] || ""; + } + } +} ); + + +jQuery._evalUrl = function( url, options, doc ) { + return jQuery.ajax( { + url: url, + + // Make this explicit, since user can override this through ajaxSetup (#11264) + type: "GET", + dataType: "script", + cache: true, + async: false, + global: false, + + // Only evaluate the response if it is successful (gh-4126) + // dataFilter is not invoked for failure responses, so using it instead + // of the default converter is kludgy but it works. + converters: { + "text script": function() {} + }, + dataFilter: function( response ) { + jQuery.globalEval( response, options, doc ); + } + } ); +}; + + +jQuery.fn.extend( { + wrapAll: function( html ) { + var wrap; + + if ( this[ 0 ] ) { + if ( isFunction( html ) ) { + html = html.call( this[ 0 ] ); + } + + // The elements to wrap the target around + wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true ); + + if ( this[ 0 ].parentNode ) { + wrap.insertBefore( this[ 0 ] ); + } + + wrap.map( function() { + var elem = this; + + while ( elem.firstElementChild ) { + elem = elem.firstElementChild; + } + + return elem; + } ).append( this ); + } + + return this; + }, + + wrapInner: function( html ) { + if ( isFunction( html ) ) { + return this.each( function( i ) { + jQuery( this ).wrapInner( html.call( this, i ) ); + } ); + } + + return this.each( function() { + var self = jQuery( this ), + contents = self.contents(); + + if ( contents.length ) { + contents.wrapAll( html ); + + } else { + self.append( html ); + } + } ); + }, + + wrap: function( html ) { + var htmlIsFunction = isFunction( html ); + + return this.each( function( i ) { + jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html ); + } ); + }, + + unwrap: function( selector ) { + this.parent( selector ).not( "body" ).each( function() { + jQuery( this ).replaceWith( this.childNodes ); + } ); + return this; + } +} ); + + +jQuery.expr.pseudos.hidden = function( elem ) { + return !jQuery.expr.pseudos.visible( elem ); +}; +jQuery.expr.pseudos.visible = function( elem ) { + return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length ); +}; + + + + +jQuery.ajaxSettings.xhr = function() { + try { + return new window.XMLHttpRequest(); + } catch ( e ) {} +}; + +var xhrSuccessStatus = { + + // File protocol always yields status code 0, assume 200 + 0: 200, + + // Support: IE <=9 only + // #1450: sometimes IE returns 1223 when it should be 204 + 1223: 204 + }, + xhrSupported = jQuery.ajaxSettings.xhr(); + +support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported ); +support.ajax = xhrSupported = !!xhrSupported; + +jQuery.ajaxTransport( function( options ) { + var callback, errorCallback; + + // Cross domain only allowed if supported through XMLHttpRequest + if ( support.cors || xhrSupported && !options.crossDomain ) { + return { + send: function( headers, complete ) { + var i, + xhr = options.xhr(); + + xhr.open( + options.type, + options.url, + options.async, + options.username, + options.password + ); + + // Apply custom fields if provided + if ( options.xhrFields ) { + for ( i in options.xhrFields ) { + xhr[ i ] = options.xhrFields[ i ]; + } + } + + // Override mime type if needed + if ( options.mimeType && xhr.overrideMimeType ) { + xhr.overrideMimeType( options.mimeType ); + } + + // X-Requested-With header + // For cross-domain requests, seeing as conditions for a preflight are + // akin to a jigsaw puzzle, we simply never set it to be sure. + // (it can always be set on a per-request basis or even using ajaxSetup) + // For same-domain requests, won't change header if already provided. + if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) { + headers[ "X-Requested-With" ] = "XMLHttpRequest"; + } + + // Set headers + for ( i in headers ) { + xhr.setRequestHeader( i, headers[ i ] ); + } + + // Callback + callback = function( type ) { + return function() { + if ( callback ) { + callback = errorCallback = xhr.onload = + xhr.onerror = xhr.onabort = xhr.ontimeout = + xhr.onreadystatechange = null; + + if ( type === "abort" ) { + xhr.abort(); + } else if ( type === "error" ) { + + // Support: IE <=9 only + // On a manual native abort, IE9 throws + // errors on any property access that is not readyState + if ( typeof xhr.status !== "number" ) { + complete( 0, "error" ); + } else { + complete( + + // File: protocol always yields status 0; see #8605, #14207 + xhr.status, + xhr.statusText + ); + } + } else { + complete( + xhrSuccessStatus[ xhr.status ] || xhr.status, + xhr.statusText, + + // Support: IE <=9 only + // IE9 has no XHR2 but throws on binary (trac-11426) + // For XHR2 non-text, let the caller handle it (gh-2498) + ( xhr.responseType || "text" ) !== "text" || + typeof xhr.responseText !== "string" ? + { binary: xhr.response } : + { text: xhr.responseText }, + xhr.getAllResponseHeaders() + ); + } + } + }; + }; + + // Listen to events + xhr.onload = callback(); + errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" ); + + // Support: IE 9 only + // Use onreadystatechange to replace onabort + // to handle uncaught aborts + if ( xhr.onabort !== undefined ) { + xhr.onabort = errorCallback; + } else { + xhr.onreadystatechange = function() { + + // Check readyState before timeout as it changes + if ( xhr.readyState === 4 ) { + + // Allow onerror to be called first, + // but that will not handle a native abort + // Also, save errorCallback to a variable + // as xhr.onerror cannot be accessed + window.setTimeout( function() { + if ( callback ) { + errorCallback(); + } + } ); + } + }; + } + + // Create the abort callback + callback = callback( "abort" ); + + try { + + // Do send the request (this may raise an exception) + xhr.send( options.hasContent && options.data || null ); + } catch ( e ) { + + // #14683: Only rethrow if this hasn't been notified as an error yet + if ( callback ) { + throw e; + } + } + }, + + abort: function() { + if ( callback ) { + callback(); + } + } + }; + } +} ); + + + + +// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432) +jQuery.ajaxPrefilter( function( s ) { + if ( s.crossDomain ) { + s.contents.script = false; + } +} ); + +// Install script dataType +jQuery.ajaxSetup( { + accepts: { + script: "text/javascript, application/javascript, " + + "application/ecmascript, application/x-ecmascript" + }, + contents: { + script: /\b(?:java|ecma)script\b/ + }, + converters: { + "text script": function( text ) { + jQuery.globalEval( text ); + return text; + } + } +} ); + +// Handle cache's special case and crossDomain +jQuery.ajaxPrefilter( "script", function( s ) { + if ( s.cache === undefined ) { + s.cache = false; + } + if ( s.crossDomain ) { + s.type = "GET"; + } +} ); + +// Bind script tag hack transport +jQuery.ajaxTransport( "script", function( s ) { + + // This transport only deals with cross domain or forced-by-attrs requests + if ( s.crossDomain || s.scriptAttrs ) { + var script, callback; + return { + send: function( _, complete ) { + script = jQuery( " + + + \ No newline at end of file diff --git "a/js/02_\345\217\230\351\207\217\344\270\216\345\270\270\351\207\217.html" "b/js/02_\345\217\230\351\207\217\344\270\216\345\270\270\351\207\217.html" new file mode 100644 index 0000000000000000000000000000000000000000..c9350e4314474419ed1c22e3cceb9f577fbc050e --- /dev/null +++ "b/js/02_\345\217\230\351\207\217\344\270\216\345\270\270\351\207\217.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/03_js\345\274\225\345\205\245\345\210\260HTML\344\270\255.html" "b/js/03_js\345\274\225\345\205\245\345\210\260HTML\344\270\255.html" new file mode 100644 index 0000000000000000000000000000000000000000..98fd0978dd356ca39e5a823a26331fc47a6c8baf --- /dev/null +++ "b/js/03_js\345\274\225\345\205\245\345\210\260HTML\344\270\255.html" @@ -0,0 +1,18 @@ + + + + + + + Document + + + + +
+

这是JS的引入方式:引入本地文件

+
+ + + + \ No newline at end of file diff --git "a/js/04_js\347\232\204\350\276\223\345\207\272\346\226\271\345\274\217.html" "b/js/04_js\347\232\204\350\276\223\345\207\272\346\226\271\345\274\217.html" new file mode 100644 index 0000000000000000000000000000000000000000..62484d7cfc4b9d33bab8bdc7aefa657b0234ad40 --- /dev/null +++ "b/js/04_js\347\232\204\350\276\223\345\207\272\346\226\271\345\274\217.html" @@ -0,0 +1,32 @@ + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/js/05_\346\225\260\346\215\256\347\261\273\345\236\213.html" "b/js/05_\346\225\260\346\215\256\347\261\273\345\236\213.html" new file mode 100644 index 0000000000000000000000000000000000000000..4b90af57bb755bb0f309971970760c3d7f3bfd07 --- /dev/null +++ "b/js/05_\346\225\260\346\215\256\347\261\273\345\236\213.html" @@ -0,0 +1,45 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/06_typeof\350\277\220\347\256\227\347\254\246.html" "b/js/06_typeof\350\277\220\347\256\227\347\254\246.html" new file mode 100644 index 0000000000000000000000000000000000000000..ed721dc9336e8365efb337c282bdbd9ff0d18e90 --- /dev/null +++ "b/js/06_typeof\350\277\220\347\256\227\347\254\246.html" @@ -0,0 +1,38 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/07_\347\256\227\346\234\257\350\277\220\347\256\227\347\254\2461_\345\212\240\346\263\225\350\277\220\347\256\227\347\254\246.html" "b/js/07_\347\256\227\346\234\257\350\277\220\347\256\227\347\254\2461_\345\212\240\346\263\225\350\277\220\347\256\227\347\254\246.html" new file mode 100644 index 0000000000000000000000000000000000000000..44d93dc4c2d447ca59fb84dc66fdac87217bee98 --- /dev/null +++ "b/js/07_\347\256\227\346\234\257\350\277\220\347\256\227\347\254\2461_\345\212\240\346\263\225\350\277\220\347\256\227\347\254\246.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/08_\347\256\227\346\234\257\350\277\220\347\256\227\347\254\2462_\345\205\266\344\275\231\350\277\220\347\256\227\347\254\246.html" "b/js/08_\347\256\227\346\234\257\350\277\220\347\256\227\347\254\2462_\345\205\266\344\275\231\350\277\220\347\256\227\347\254\246.html" new file mode 100644 index 0000000000000000000000000000000000000000..48d9574fca88389883dff22b86fa32a3b063c8b4 --- /dev/null +++ "b/js/08_\347\256\227\346\234\257\350\277\220\347\256\227\347\254\2462_\345\205\266\344\275\231\350\277\220\347\256\227\347\254\246.html" @@ -0,0 +1,56 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/09_\350\265\213\345\200\274\350\277\220\347\256\227\347\254\246.html" "b/js/09_\350\265\213\345\200\274\350\277\220\347\256\227\347\254\246.html" new file mode 100644 index 0000000000000000000000000000000000000000..11cd994d7cd43f60f576bbcf536ba50485b29df4 --- /dev/null +++ "b/js/09_\350\265\213\345\200\274\350\277\220\347\256\227\347\254\246.html" @@ -0,0 +1,38 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/10_\346\257\224\350\276\203\350\277\220\347\256\227\347\254\246.html" "b/js/10_\346\257\224\350\276\203\350\277\220\347\256\227\347\254\246.html" new file mode 100644 index 0000000000000000000000000000000000000000..316cd7d7a7c3f2afcd3a356d69caaabd11d0aa6a --- /dev/null +++ "b/js/10_\346\257\224\350\276\203\350\277\220\347\256\227\347\254\246.html" @@ -0,0 +1,28 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/11_\345\270\203\345\260\224\350\277\220\347\256\227\347\254\246.html" "b/js/11_\345\270\203\345\260\224\350\277\220\347\256\227\347\254\246.html" new file mode 100644 index 0000000000000000000000000000000000000000..7d5cb6f0204c9183e5c5ceb4bfb7a7545edf8c94 --- /dev/null +++ "b/js/11_\345\270\203\345\260\224\350\277\220\347\256\227\347\254\246.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/js/12_\344\275\215\350\277\220\347\256\227\347\254\246.html" "b/js/12_\344\275\215\350\277\220\347\256\227\347\254\246.html" new file mode 100644 index 0000000000000000000000000000000000000000..4845b84c3a620b3718a6922a282b6da4507aeeb7 --- /dev/null +++ "b/js/12_\344\275\215\350\277\220\347\256\227\347\254\246.html" @@ -0,0 +1,36 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/13_\350\277\220\347\256\227\347\254\246\347\232\204\344\274\230\345\205\210\347\272\247.html" "b/js/13_\350\277\220\347\256\227\347\254\246\347\232\204\344\274\230\345\205\210\347\272\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..cb9de51c4afc9e7b2e971ae6eed2473a2cfff4bc --- /dev/null +++ "b/js/13_\350\277\220\347\256\227\347\254\246\347\232\204\344\274\230\345\205\210\347\272\247.html" @@ -0,0 +1,23 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/14_\347\261\273\345\236\213\350\275\254\346\215\242.html" "b/js/14_\347\261\273\345\236\213\350\275\254\346\215\242.html" new file mode 100644 index 0000000000000000000000000000000000000000..10380700a32da6cd6debd6105010a89d8eebba0b --- /dev/null +++ "b/js/14_\347\261\273\345\236\213\350\275\254\346\215\242.html" @@ -0,0 +1,45 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/15_\346\235\241\344\273\266\350\257\255\345\217\2451_if\350\257\255\345\217\245.html" "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2451_if\350\257\255\345\217\245.html" new file mode 100644 index 0000000000000000000000000000000000000000..a1bb8d0595b5a6166af1ff408abcf7192e108960 --- /dev/null +++ "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2451_if\350\257\255\345\217\245.html" @@ -0,0 +1,42 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/js/15_\346\235\241\344\273\266\350\257\255\345\217\2452_if_else\350\257\255\345\217\245.html" "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2452_if_else\350\257\255\345\217\245.html" new file mode 100644 index 0000000000000000000000000000000000000000..e6251cbca2ba9f4eb9284c43966174e8cb3bb24e --- /dev/null +++ "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2452_if_else\350\257\255\345\217\245.html" @@ -0,0 +1,53 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/15_\346\235\241\344\273\266\350\257\255\345\217\2453_if_else\345\256\236\346\223\2151.html" "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2453_if_else\345\256\236\346\223\2151.html" new file mode 100644 index 0000000000000000000000000000000000000000..9d261b2e3fc3a6274fe1db2efe8a4f83519975f9 --- /dev/null +++ "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2453_if_else\345\256\236\346\223\2151.html" @@ -0,0 +1,38 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/15_\346\235\241\344\273\266\350\257\255\345\217\2454_if_else\345\256\236\346\223\2152.html" "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2454_if_else\345\256\236\346\223\2152.html" new file mode 100644 index 0000000000000000000000000000000000000000..a64e6f42611e8ad3396268073b646da80fbe4a29 --- /dev/null +++ "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2454_if_else\345\256\236\346\223\2152.html" @@ -0,0 +1,44 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/15_\346\235\241\344\273\266\350\257\255\345\217\2455_switch\350\257\255\345\217\245.html" "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2455_switch\350\257\255\345\217\245.html" new file mode 100644 index 0000000000000000000000000000000000000000..e7c6a90e234b46c35d4a20322151c58dc6f06e72 --- /dev/null +++ "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2455_switch\350\257\255\345\217\245.html" @@ -0,0 +1,71 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/15_\346\235\241\344\273\266\350\257\255\345\217\2456_switch\345\256\236\346\223\215.html" "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2456_switch\345\256\236\346\223\215.html" new file mode 100644 index 0000000000000000000000000000000000000000..24997cb82118e697f0ff40bf837f2c354439ea9f --- /dev/null +++ "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2456_switch\345\256\236\346\223\215.html" @@ -0,0 +1,69 @@ + + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/js/15_\346\235\241\344\273\266\350\257\255\345\217\2457_\344\270\211\345\205\203\350\277\220\347\256\227\347\254\246.html" "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2457_\344\270\211\345\205\203\350\277\220\347\256\227\347\254\246.html" new file mode 100644 index 0000000000000000000000000000000000000000..c65f4e75f32c1bf2eb6d16ab1f9972d882e78dfe --- /dev/null +++ "b/js/15_\346\235\241\344\273\266\350\257\255\345\217\2457_\344\270\211\345\205\203\350\277\220\347\256\227\347\254\246.html" @@ -0,0 +1,43 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/16_\345\276\252\347\216\257\350\257\255\345\217\2451_for\350\257\255\345\217\245.html" "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2451_for\350\257\255\345\217\245.html" new file mode 100644 index 0000000000000000000000000000000000000000..b61f865ef3877d3951c60c96f231a4d79f04beef --- /dev/null +++ "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2451_for\350\257\255\345\217\245.html" @@ -0,0 +1,39 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/16_\345\276\252\347\216\257\350\257\255\345\217\2452_for\345\256\236\346\223\2151.html" "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2452_for\345\256\236\346\223\2151.html" new file mode 100644 index 0000000000000000000000000000000000000000..2a61c099633a429d06f4e8123c25d9ea3da3ee56 --- /dev/null +++ "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2452_for\345\256\236\346\223\2151.html" @@ -0,0 +1,29 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/16_\345\276\252\347\216\257\350\257\255\345\217\2453_for\345\256\236\346\223\2152.html" "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2453_for\345\256\236\346\223\2152.html" new file mode 100644 index 0000000000000000000000000000000000000000..643cd8bac4192dd7e9d6b2fa1a76bbe800fc05ef --- /dev/null +++ "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2453_for\345\256\236\346\223\2152.html" @@ -0,0 +1,48 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/16_\345\276\252\347\216\257\350\257\255\345\217\2454_while\350\257\255\345\217\245.html" "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2454_while\350\257\255\345\217\245.html" new file mode 100644 index 0000000000000000000000000000000000000000..0b09e589c59561cfd4c375bbb14ed04452dca621 --- /dev/null +++ "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2454_while\350\257\255\345\217\245.html" @@ -0,0 +1,51 @@ + + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/js/16_\345\276\252\347\216\257\350\257\255\345\217\2455_do_while\350\257\255\345\217\245.html" "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2455_do_while\350\257\255\345\217\245.html" new file mode 100644 index 0000000000000000000000000000000000000000..885bb0995c67e69e833f694514bbd2e6357ec7f9 --- /dev/null +++ "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2455_do_while\350\257\255\345\217\245.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/16_\345\276\252\347\216\257\350\257\255\345\217\2456_break\344\270\216continue.html" "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2456_break\344\270\216continue.html" new file mode 100644 index 0000000000000000000000000000000000000000..83211f18843711466ac47200484ac88a2a7b4eb5 --- /dev/null +++ "b/js/16_\345\276\252\347\216\257\350\257\255\345\217\2456_break\344\270\216continue.html" @@ -0,0 +1,49 @@ + + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/js/17_\345\255\227\347\254\246\344\270\262.html" "b/js/17_\345\255\227\347\254\246\344\270\262.html" new file mode 100644 index 0000000000000000000000000000000000000000..7274dcb377c4cf8d38de2e07ca3fd4147ca315e1 --- /dev/null +++ "b/js/17_\345\255\227\347\254\246\344\270\262.html" @@ -0,0 +1,42 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/18_\345\255\227\347\254\246\344\270\262\350\275\254\347\240\201.html" "b/js/18_\345\255\227\347\254\246\344\270\262\350\275\254\347\240\201.html" new file mode 100644 index 0000000000000000000000000000000000000000..3cf62feb261b154b5bc2ebcd3fdb5c1f6a99504a --- /dev/null +++ "b/js/18_\345\255\227\347\254\246\344\270\262\350\275\254\347\240\201.html" @@ -0,0 +1,25 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\22510_split.html" "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\22510_split.html" new file mode 100644 index 0000000000000000000000000000000000000000..fe5cbdcb39fc6774baf3134b6cbe6feacf256cf1 --- /dev/null +++ "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\22510_split.html" @@ -0,0 +1,22 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2251_charAt.html" "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2251_charAt.html" new file mode 100644 index 0000000000000000000000000000000000000000..b534ea2fc618a5af7fcb05874e119c0b78b7d6c1 --- /dev/null +++ "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2251_charAt.html" @@ -0,0 +1,27 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2252_concat.html" "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2252_concat.html" new file mode 100644 index 0000000000000000000000000000000000000000..3a4a183573aabfe8766e191747d2a62edf81dca7 --- /dev/null +++ "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2252_concat.html" @@ -0,0 +1,37 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2253_slice.html" "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2253_slice.html" new file mode 100644 index 0000000000000000000000000000000000000000..12b48efa73694459ef8a79a60ac5fd671909bb95 --- /dev/null +++ "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2253_slice.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2254_substring.html" "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2254_substring.html" new file mode 100644 index 0000000000000000000000000000000000000000..edf9df4ac5f994ba565146ff12f5bbf71de9fca5 --- /dev/null +++ "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2254_substring.html" @@ -0,0 +1,31 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2255_substr.html" "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2255_substr.html" new file mode 100644 index 0000000000000000000000000000000000000000..302841e8258d4868cb2ef8934a3c841352e23059 --- /dev/null +++ "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2255_substr.html" @@ -0,0 +1,23 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2256_indexOf_lastIndexOf.html" "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2256_indexOf_lastIndexOf.html" new file mode 100644 index 0000000000000000000000000000000000000000..4f624f4ed971922b491c297f3e210c31c083185b --- /dev/null +++ "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2256_indexOf_lastIndexOf.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2257_trim.html" "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2257_trim.html" new file mode 100644 index 0000000000000000000000000000000000000000..833f16e0ad2d038d6bbc6d0452f3fb1d8d4a698c --- /dev/null +++ "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2257_trim.html" @@ -0,0 +1,24 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2258_toLowerCase_toUpperCase.html" "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2258_toLowerCase_toUpperCase.html" new file mode 100644 index 0000000000000000000000000000000000000000..a7ad217f4e3c4ca039ce49b0a299145c697187fb --- /dev/null +++ "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2258_toLowerCase_toUpperCase.html" @@ -0,0 +1,27 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2259_search_replace.html" "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2259_search_replace.html" new file mode 100644 index 0000000000000000000000000000000000000000..2d2cd6774b2bd3fd0a7776fb96bf6ecfa47f702f --- /dev/null +++ "b/js/19_\345\255\227\347\254\246\344\270\262\346\226\271\346\263\2259_search_replace.html" @@ -0,0 +1,31 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/20_\346\225\260\347\273\204.html" "b/js/20_\346\225\260\347\273\204.html" new file mode 100644 index 0000000000000000000000000000000000000000..ad3fec94529b567ed90ef19fb39a2cb3bdcd8a98 --- /dev/null +++ "b/js/20_\346\225\260\347\273\204.html" @@ -0,0 +1,44 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/21_\346\225\260\347\273\204\347\232\204\351\201\215\345\216\206.html" "b/js/21_\346\225\260\347\273\204\347\232\204\351\201\215\345\216\206.html" new file mode 100644 index 0000000000000000000000000000000000000000..b2fd5e4161dc10d188f9439d3a8ced4e0d36ba9a --- /dev/null +++ "b/js/21_\346\225\260\347\273\204\347\232\204\351\201\215\345\216\206.html" @@ -0,0 +1,41 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/22_\346\225\260\347\273\204\346\236\204\351\200\240\345\207\275\346\225\260.html" "b/js/22_\346\225\260\347\273\204\346\236\204\351\200\240\345\207\275\346\225\260.html" new file mode 100644 index 0000000000000000000000000000000000000000..7ffd8ed25f9dd7846c8d5e3e55b6de52de504175 --- /dev/null +++ "b/js/22_\346\225\260\347\273\204\346\236\204\351\200\240\345\207\275\346\225\260.html" @@ -0,0 +1,36 @@ + + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/js/23_\346\225\260\347\273\204\351\235\231\346\200\201\346\226\271\346\263\225_Array.isArray.html" "b/js/23_\346\225\260\347\273\204\351\235\231\346\200\201\346\226\271\346\263\225_Array.isArray.html" new file mode 100644 index 0000000000000000000000000000000000000000..a15045174c7dd311b8336b3105182210958e4c93 --- /dev/null +++ "b/js/23_\346\225\260\347\273\204\351\235\231\346\200\201\346\226\271\346\263\225_Array.isArray.html" @@ -0,0 +1,27 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/24_\346\225\260\347\273\204\346\226\271\346\263\2251_push_pop.html" "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2251_push_pop.html" new file mode 100644 index 0000000000000000000000000000000000000000..bfce73f083a0d50c278840927c5f2cf273b7290f --- /dev/null +++ "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2251_push_pop.html" @@ -0,0 +1,52 @@ + + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/js/24_\346\225\260\347\273\204\346\226\271\346\263\2252_shift_unshift.html" "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2252_shift_unshift.html" new file mode 100644 index 0000000000000000000000000000000000000000..6e6dc792238a10418d6efe0c1222c0a37b52760a --- /dev/null +++ "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2252_shift_unshift.html" @@ -0,0 +1,37 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/24_\346\225\260\347\273\204\346\226\271\346\263\2253_join.html" "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2253_join.html" new file mode 100644 index 0000000000000000000000000000000000000000..562802907f625022573da39c699b7c5c3e6d784c --- /dev/null +++ "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2253_join.html" @@ -0,0 +1,35 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/24_\346\225\260\347\273\204\346\226\271\346\263\2254_concat.html" "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2254_concat.html" new file mode 100644 index 0000000000000000000000000000000000000000..0834fcfb7347cb0b1f25bed41fd353ea84fe8dea --- /dev/null +++ "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2254_concat.html" @@ -0,0 +1,29 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/24_\346\225\260\347\273\204\346\226\271\346\263\2255_reverse.html" "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2255_reverse.html" new file mode 100644 index 0000000000000000000000000000000000000000..ce4b5662ca7c820760147c6724d538bdb4e9c99a --- /dev/null +++ "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2255_reverse.html" @@ -0,0 +1,28 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/24_\346\225\260\347\273\204\346\226\271\346\263\2256_slice.html" "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2256_slice.html" new file mode 100644 index 0000000000000000000000000000000000000000..abf8388637ef15f9d927880dfbe283aefb60a5f9 --- /dev/null +++ "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2256_slice.html" @@ -0,0 +1,28 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/24_\346\225\260\347\273\204\346\226\271\346\263\2257_splice.html" "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2257_splice.html" new file mode 100644 index 0000000000000000000000000000000000000000..e983f92f8e889fa7c04939185917a67cd95bd11e --- /dev/null +++ "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2257_splice.html" @@ -0,0 +1,39 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/24_\346\225\260\347\273\204\346\226\271\346\263\2258_sort.html" "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2258_sort.html" new file mode 100644 index 0000000000000000000000000000000000000000..bbb2980c24523bdc7c844ac461a0e77711b7e03e --- /dev/null +++ "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2258_sort.html" @@ -0,0 +1,26 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/24_\346\225\260\347\273\204\346\226\271\346\263\2259_indexOf_lastIndexOf.html" "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2259_indexOf_lastIndexOf.html" new file mode 100644 index 0000000000000000000000000000000000000000..38f1d2b70aa14e7fca250c2f303eee81e164e6e0 --- /dev/null +++ "b/js/24_\346\225\260\347\273\204\346\226\271\346\263\2259_indexOf_lastIndexOf.html" @@ -0,0 +1,28 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/25_\345\255\227\347\254\246\344\270\262\346\225\260\347\273\204\345\256\236\346\223\2151.html" "b/js/25_\345\255\227\347\254\246\344\270\262\346\225\260\347\273\204\345\256\236\346\223\2151.html" new file mode 100644 index 0000000000000000000000000000000000000000..29356bf08ce268f44a2f0a6e4f1162a1c8a4bc3d --- /dev/null +++ "b/js/25_\345\255\227\347\254\246\344\270\262\346\225\260\347\273\204\345\256\236\346\223\2151.html" @@ -0,0 +1,30 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/25_\345\255\227\347\254\246\344\270\262\346\225\260\347\273\204\345\256\236\346\223\2152.html" "b/js/25_\345\255\227\347\254\246\344\270\262\346\225\260\347\273\204\345\256\236\346\223\2152.html" new file mode 100644 index 0000000000000000000000000000000000000000..2b31006cbda9dda2ed69d6aeaeb292e24e1986dd --- /dev/null +++ "b/js/25_\345\255\227\347\254\246\344\270\262\346\225\260\347\273\204\345\256\236\346\223\2152.html" @@ -0,0 +1,31 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/26_\346\225\260\347\273\204\345\216\273\351\207\215.html" "b/js/26_\346\225\260\347\273\204\345\216\273\351\207\215.html" new file mode 100644 index 0000000000000000000000000000000000000000..dcacc94934ca0bb18c4dc43fbbd10b16dd64f3c0 --- /dev/null +++ "b/js/26_\346\225\260\347\273\204\345\216\273\351\207\215.html" @@ -0,0 +1,40 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/27_\346\225\260\347\273\204\346\216\222\345\272\217.html" "b/js/27_\346\225\260\347\273\204\346\216\222\345\272\217.html" new file mode 100644 index 0000000000000000000000000000000000000000..725221e69c0d851af64e89e778fb76ffa26e74a6 --- /dev/null +++ "b/js/27_\346\225\260\347\273\204\346\216\222\345\272\217.html" @@ -0,0 +1,41 @@ + + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/js/28_\345\207\275\346\225\260\347\232\204\345\243\260\346\230\216.html" "b/js/28_\345\207\275\346\225\260\347\232\204\345\243\260\346\230\216.html" new file mode 100644 index 0000000000000000000000000000000000000000..3089c421750cb3ada1ba4e83af8fc96a3e9add99 --- /dev/null +++ "b/js/28_\345\207\275\346\225\260\347\232\204\345\243\260\346\230\216.html" @@ -0,0 +1,31 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/29_\345\207\275\346\225\260\347\232\204\351\207\215\345\244\215\345\243\260\346\230\216.html" "b/js/29_\345\207\275\346\225\260\347\232\204\351\207\215\345\244\215\345\243\260\346\230\216.html" new file mode 100644 index 0000000000000000000000000000000000000000..d78f84e72510c382abbda1feaf50d458297b90ca --- /dev/null +++ "b/js/29_\345\207\275\346\225\260\347\232\204\351\207\215\345\244\215\345\243\260\346\230\216.html" @@ -0,0 +1,32 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/30_\345\207\275\346\225\260\345\220\215\347\232\204\346\217\220\345\215\207.html" "b/js/30_\345\207\275\346\225\260\345\220\215\347\232\204\346\217\220\345\215\207.html" new file mode 100644 index 0000000000000000000000000000000000000000..bd2822eae40f4aad730b7f8ab1ec6d9d9040b761 --- /dev/null +++ "b/js/30_\345\207\275\346\225\260\345\220\215\347\232\204\346\217\220\345\215\207.html" @@ -0,0 +1,49 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/31_\345\207\275\346\225\260\347\232\204\345\261\236\346\200\247\345\222\214\346\226\271\346\263\225.html" "b/js/31_\345\207\275\346\225\260\347\232\204\345\261\236\346\200\247\345\222\214\346\226\271\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..45026f18df5b312bb8759ede41d8247be557098f --- /dev/null +++ "b/js/31_\345\207\275\346\225\260\347\232\204\345\261\236\346\200\247\345\222\214\346\226\271\346\263\225.html" @@ -0,0 +1,50 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/32_\345\207\275\346\225\260\344\275\234\347\224\250\345\237\237.html" "b/js/32_\345\207\275\346\225\260\344\275\234\347\224\250\345\237\237.html" new file mode 100644 index 0000000000000000000000000000000000000000..7ced7c8fd0566dc9fd8a160568b337e611edd1bd --- /dev/null +++ "b/js/32_\345\207\275\346\225\260\344\275\234\347\224\250\345\237\237.html" @@ -0,0 +1,79 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/33_\345\207\275\346\225\260\345\217\202\346\225\260.html" "b/js/33_\345\207\275\346\225\260\345\217\202\346\225\260.html" new file mode 100644 index 0000000000000000000000000000000000000000..7c94262c96fe15f4172007fe9814592ea7026267 --- /dev/null +++ "b/js/33_\345\207\275\346\225\260\345\217\202\346\225\260.html" @@ -0,0 +1,91 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/34_\345\207\275\346\225\260\350\277\224\345\233\236\345\200\274.html" "b/js/34_\345\207\275\346\225\260\350\277\224\345\233\236\345\200\274.html" new file mode 100644 index 0000000000000000000000000000000000000000..a723facb36fb75cae98034ee73c6185c23fd43e9 --- /dev/null +++ "b/js/34_\345\207\275\346\225\260\350\277\224\345\233\236\345\200\274.html" @@ -0,0 +1,54 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/35_\347\253\213\345\215\263\350\260\203\347\224\250\347\232\204\345\207\275\346\225\260IIFE.html" "b/js/35_\347\253\213\345\215\263\350\260\203\347\224\250\347\232\204\345\207\275\346\225\260IIFE.html" new file mode 100644 index 0000000000000000000000000000000000000000..22483e2736016a282a471221e9374492db855e87 --- /dev/null +++ "b/js/35_\347\253\213\345\215\263\350\260\203\347\224\250\347\232\204\345\207\275\346\225\260IIFE.html" @@ -0,0 +1,44 @@ + + + + + + + + Document + + + + + + + + + + \ No newline at end of file diff --git "a/js/36_\345\207\275\346\225\260\347\232\204\345\272\224\347\224\250.html" "b/js/36_\345\207\275\346\225\260\347\232\204\345\272\224\347\224\250.html" new file mode 100644 index 0000000000000000000000000000000000000000..2c9488e2bd1513e6977243ccfa1c855fcc381f3d --- /dev/null +++ "b/js/36_\345\207\275\346\225\260\347\232\204\345\272\224\347\224\250.html" @@ -0,0 +1,53 @@ + + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/js/37_\345\257\271\350\261\241\346\246\202\350\277\260.html" "b/js/37_\345\257\271\350\261\241\346\246\202\350\277\260.html" new file mode 100644 index 0000000000000000000000000000000000000000..f6d8e48e58f86046b50ac9c772511a632c949a8f --- /dev/null +++ "b/js/37_\345\257\271\350\261\241\346\246\202\350\277\260.html" @@ -0,0 +1,33 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/38_\345\257\271\350\261\241\345\261\236\346\200\247.html" "b/js/38_\345\257\271\350\261\241\345\261\236\346\200\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..719894be30e683b17ba57ad4dd19d3c83bd53369 --- /dev/null +++ "b/js/38_\345\257\271\350\261\241\345\261\236\346\200\247.html" @@ -0,0 +1,63 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/39_\345\257\271\350\261\241\346\226\271\346\263\225.html" "b/js/39_\345\257\271\350\261\241\346\226\271\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..52f2aad2b4b486992977fc0236fb07a973c0e69e --- /dev/null +++ "b/js/39_\345\257\271\350\261\241\346\226\271\346\263\225.html" @@ -0,0 +1,40 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/40_\345\207\275\346\225\260\345\272\224\347\224\250\346\263\250\346\204\217\344\272\213\351\241\271.html" "b/js/40_\345\207\275\346\225\260\345\272\224\347\224\250\346\263\250\346\204\217\344\272\213\351\241\271.html" new file mode 100644 index 0000000000000000000000000000000000000000..589a5648623b50f61a5bb75525a347a08c4a183f --- /dev/null +++ "b/js/40_\345\207\275\346\225\260\345\272\224\347\224\250\346\263\250\346\204\217\344\272\213\351\241\271.html" @@ -0,0 +1,37 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/41_Math\345\257\271\350\261\241_\351\235\231\346\200\201\345\261\236\346\200\247.html" "b/js/41_Math\345\257\271\350\261\241_\351\235\231\346\200\201\345\261\236\346\200\247.html" new file mode 100644 index 0000000000000000000000000000000000000000..59714de7a6df52f2871395705a9a94f94fd83d4c --- /dev/null +++ "b/js/41_Math\345\257\271\350\261\241_\351\235\231\346\200\201\345\261\236\346\200\247.html" @@ -0,0 +1,39 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/42_Math\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\2251.html" "b/js/42_Math\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\2251.html" new file mode 100644 index 0000000000000000000000000000000000000000..d4b3f4ebac07ef625aedd9f5c87e5b468aa25733 --- /dev/null +++ "b/js/42_Math\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\2251.html" @@ -0,0 +1,44 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git "a/js/43_Math\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\2252.html" "b/js/43_Math\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\2252.html" new file mode 100644 index 0000000000000000000000000000000000000000..611483f7c71b814e45931c2bfc9c4f2a31812bd6 --- /dev/null +++ "b/js/43_Math\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\2252.html" @@ -0,0 +1,35 @@ + + + + + + + + Document + + + + + + + + + \ No newline at end of file diff --git "a/js/43_Math\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\2253.html" "b/js/43_Math\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\2253.html" new file mode 100644 index 0000000000000000000000000000000000000000..d35f0443f114c72ac86bf5f246e6a6150f2d1d31 --- /dev/null +++ "b/js/43_Math\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\2253.html" @@ -0,0 +1,37 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/44_Date\345\257\271\350\261\241.html" "b/js/44_Date\345\257\271\350\261\241.html" new file mode 100644 index 0000000000000000000000000000000000000000..fb6bc5ee4798217909b5d771b07943b2a4aca3d4 --- /dev/null +++ "b/js/44_Date\345\257\271\350\261\241.html" @@ -0,0 +1,34 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/45_Date\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\225.html" "b/js/45_Date\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\225.html" new file mode 100644 index 0000000000000000000000000000000000000000..8a4638dd0726aeb84ea0e24b0a1d56f19226c272 --- /dev/null +++ "b/js/45_Date\345\257\271\350\261\241_\351\235\231\346\200\201\346\226\271\346\263\225.html" @@ -0,0 +1,39 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/46_Date\345\257\271\350\261\241_\345\256\236\344\276\213\346\226\271\346\263\225_to\347\261\273.html" "b/js/46_Date\345\257\271\350\261\241_\345\256\236\344\276\213\346\226\271\346\263\225_to\347\261\273.html" new file mode 100644 index 0000000000000000000000000000000000000000..e70beb270e9a673c02a6d448a706b6d5a9056cb4 --- /dev/null +++ "b/js/46_Date\345\257\271\350\261\241_\345\256\236\344\276\213\346\226\271\346\263\225_to\347\261\273.html" @@ -0,0 +1,30 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/47_Date\345\257\271\350\261\241_\345\256\236\344\276\213\346\226\271\346\263\225_get\347\261\273.html" "b/js/47_Date\345\257\271\350\261\241_\345\256\236\344\276\213\346\226\271\346\263\225_get\347\261\273.html" new file mode 100644 index 0000000000000000000000000000000000000000..93f8f47fd3588dab040df657f9faa3b47139fc96 --- /dev/null +++ "b/js/47_Date\345\257\271\350\261\241_\345\256\236\344\276\213\346\226\271\346\263\225_get\347\261\273.html" @@ -0,0 +1,37 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/48_Date\345\257\271\350\261\241_\345\256\236\344\276\213\346\226\271\346\263\225_set\347\261\273.html" "b/js/48_Date\345\257\271\350\261\241_\345\256\236\344\276\213\346\226\271\346\263\225_set\347\261\273.html" new file mode 100644 index 0000000000000000000000000000000000000000..ac42a0ccfe0672ce897973ec8d1ef9fc69242c14 --- /dev/null +++ "b/js/48_Date\345\257\271\350\261\241_\345\256\236\344\276\213\346\226\271\346\263\225_set\347\261\273.html" @@ -0,0 +1,30 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/49_Math\344\270\216Date\345\256\236\346\223\2151.html" "b/js/49_Math\344\270\216Date\345\256\236\346\223\2151.html" new file mode 100644 index 0000000000000000000000000000000000000000..55f43703f400fdfd3389b8531457a5cd6437080f --- /dev/null +++ "b/js/49_Math\344\270\216Date\345\256\236\346\223\2151.html" @@ -0,0 +1,36 @@ + + + + + + + Document + + + + + + + \ No newline at end of file diff --git "a/js/50_Math\344\270\216Date\345\256\236\346\223\2152.html" "b/js/50_Math\344\270\216Date\345\256\236\346\223\2152.html" new file mode 100644 index 0000000000000000000000000000000000000000..01de49143985274ce27350a4949e9ae68adbbbad --- /dev/null +++ "b/js/50_Math\344\270\216Date\345\256\236\346\223\2152.html" @@ -0,0 +1,49 @@ + + + + + + + Document + + + + + + + + \ No newline at end of file diff --git a/js/hello.js b/js/hello.js new file mode 100644 index 0000000000000000000000000000000000000000..291016decea6c2a338444dbd5bba5491f83a99a0 --- /dev/null +++ b/js/hello.js @@ -0,0 +1,2 @@ +var hello = "Hello,尚学堂"; +console.log(hello); \ No newline at end of file