Catalunya Medieval
@@ -179,6 +180,11 @@ v7.1
v7.2
- Fix styles
+v7.3
+- Grunt
+- nodejs
+- refactor
+- sonar fixes
## Webs using this map:
- [blog cimasdestacables](http://cimasdestacables.blogspot.com/p/mapa-comarcal-de-catalunya.html)
diff --git a/css/bootstrap-theme.min.css b/assets/css/catalunya-map/bootstrap-theme.min.css
similarity index 100%
rename from css/bootstrap-theme.min.css
rename to assets/css/catalunya-map/bootstrap-theme.min.css
diff --git a/css/bootstrap.min.css b/assets/css/catalunya-map/bootstrap.min.css
similarity index 100%
rename from css/bootstrap.min.css
rename to assets/css/catalunya-map/bootstrap.min.css
diff --git a/assets/css/catalunya-map/catalunya-map.min.css b/assets/css/catalunya-map/catalunya-map.min.css
new file mode 100644
index 0000000..269150c
--- /dev/null
+++ b/assets/css/catalunya-map/catalunya-map.min.css
@@ -0,0 +1 @@
+.map-wrapper{margin:0 auto;position:relative}#map{float:right;margin-left:300px}#debugInfo{position:fixed;top:10px;right:50px}#text{margin-top:0;float:left;clear:both;width:250px;padding:0;background:#fff;cursor:pointer;outline:0}#comarcaName h1{text-align:left;font-family:'Droid Sans',sans-serif;font-style:normal;font-size:15pt;letter-spacing:-1px;padding:0 0 10px 0}.llistat-edificis{width:100%;padding:0;background:#fff;font-family:'Droid Sans',sans-serif;font-size:9pt;font-weight:400;list-style:none;pointer-events:none}.llistat-edificis li{margin:0;height:30px}.llistat-edificis li:nth-child(odd){background:#fff6eb}.llistat-edificis li a{margin:0;padding:10px 0 0 0;float:right;width:80%;text-decoration:none;text-align:left;vertical-align:bottom;color:#a07a49}.llistat-edificis li img{float:left;padding:0 10px 5px 10px;height:30px;vertical-align:bottom;z-index:100}.llistat-edificis li i{float:right;padding:0 20px 0 20px}#infoEdifici{width:250px}#veure-contingut{position:inherit;display:none;float:right;clear:both;width:200px;margin-top:30px;padding:8px;text-align:center}.button{border-radius:100px;padding:20px 60px;color:#dcd9d9;text-decoration:none;font-size:1em;margin:0 15px}.button:hover{-webkit-animation:hover 1.2s linear 2 alternate;animation:hover 1.2s linear 2 alternate;background:#625f5f}.button:active{-webkit-animation:active 1.2s ease 1 alternate;animation:active 1.2s ease 1 alternate;background:#5f9be0}.background{background:#939090}.background:active{background:#000}.greyBackground{background-color:#e4c090;font-size:9pt;font-weight:700}@-webkit-keyframes active{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}90%{-webkit-transform:scale(.9,.88);transform:scale(.9,.88)}100%{-webkit-transform:scale(.92,.9);transform:scale(.92,.9)}}@keyframes active{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}90%{-webkit-transform:scale(.9,.88);transform:scale(.9,.88)}100%{-webkit-transform:scale(.92,.9);transform:scale(.92,.9)}}@-webkit-keyframes hover{0%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}1.8%{-webkit-transform:matrix3d(1.016,0,0,0,0,1.037,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.016,0,0,0,0,1.037,0,0,0,0,1,0,0,0,0,1)}3.5%{-webkit-transform:matrix3d(1.033,0,0,0,0,1.094,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.033,0,0,0,0,1.094,0,0,0,0,1,0,0,0,0,1)}4.7%{-webkit-transform:matrix3d(1.045,0,0,0,0,1.129,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.045,0,0,0,0,1.129,0,0,0,0,1,0,0,0,0,1)}5.31%{-webkit-transform:matrix3d(1.051,0,0,0,0,1.142,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.051,0,0,0,0,1.142,0,0,0,0,1,0,0,0,0,1)}7.01%{-webkit-transform:matrix3d(1.068,0,0,0,0,1.158,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.068,0,0,0,0,1.158,0,0,0,0,1,0,0,0,0,1)}8.91%{-webkit-transform:matrix3d(1.084,0,0,0,0,1.141,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.084,0,0,0,0,1.141,0,0,0,0,1,0,0,0,0,1)}9.41%{-webkit-transform:matrix3d(1.088,0,0,0,0,1.132,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.088,0,0,0,0,1.132,0,0,0,0,1,0,0,0,0,1)}10.71%{-webkit-transform:matrix3d(1.097,0,0,0,0,1.107,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.097,0,0,0,0,1.107,0,0,0,0,1,0,0,0,0,1)}12.61%{-webkit-transform:matrix3d(1.108,0,0,0,0,1.077,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.108,0,0,0,0,1.077,0,0,0,0,1,0,0,0,0,1)}14.11%{-webkit-transform:matrix3d(1.114,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.114,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1)}14.41%{-webkit-transform:matrix3d(1.115,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.115,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1)}16.32%{-webkit-transform:matrix3d(1.119,0,0,0,0,1.077,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.119,0,0,0,0,1.077,0,0,0,0,1,0,0,0,0,1)}18.12%{-webkit-transform:matrix3d(1.121,0,0,0,0,1.096,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.121,0,0,0,0,1.096,0,0,0,0,1,0,0,0,0,1)}18.72%{-webkit-transform:matrix3d(1.121,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.121,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1)}20.02%{-webkit-transform:matrix3d(1.121,0,0,0,0,1.113,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.121,0,0,0,0,1.113,0,0,0,0,1,0,0,0,0,1)}21.82%{-webkit-transform:matrix3d(1.119,0,0,0,0,1.119,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.119,0,0,0,0,1.119,0,0,0,0,1,0,0,0,0,1)}24.32%{-webkit-transform:matrix3d(1.115,0,0,0,0,1.11,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.115,0,0,0,0,1.11,0,0,0,0,1,0,0,0,0,1)}25.53%{-webkit-transform:matrix3d(1.113,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.113,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1)}29.23%{-webkit-transform:matrix3d(1.106,0,0,0,0,1.089,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.106,0,0,0,0,1.089,0,0,0,0,1,0,0,0,0,1)}29.93%{-webkit-transform:matrix3d(1.105,0,0,0,0,1.09,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.105,0,0,0,0,1.09,0,0,0,0,1,0,0,0,0,1)}35.54%{-webkit-transform:matrix3d(1.098,0,0,0,0,1.105,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.098,0,0,0,0,1.105,0,0,0,0,1,0,0,0,0,1)}36.64%{-webkit-transform:matrix3d(1.097,0,0,0,0,1.106,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.097,0,0,0,0,1.106,0,0,0,0,1,0,0,0,0,1)}41.04%{-webkit-transform:matrix3d(1.096,0,0,0,0,1.099,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.096,0,0,0,0,1.099,0,0,0,0,1,0,0,0,0,1)}44.04%{-webkit-transform:matrix3d(1.096,0,0,0,0,1.097,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.096,0,0,0,0,1.097,0,0,0,0,1,0,0,0,0,1)}51.45%{-webkit-transform:matrix3d(1.099,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.099,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1)}52.15%{-webkit-transform:matrix3d(1.099,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.099,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1)}58.86%{-webkit-transform:matrix3d(1.101,0,0,0,0,1.099,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.101,0,0,0,0,1.099,0,0,0,0,1,0,0,0,0,1)}63.26%{-webkit-transform:matrix3d(1.101,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.101,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}66.27%{-webkit-transform:matrix3d(1.101,0,0,0,0,1.101,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.101,0,0,0,0,1.101,0,0,0,0,1,0,0,0,0,1)}73.77%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}81.18%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}85.49%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}88.59%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}96%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}100%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}}@keyframes hover{0%{-webkit-transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)}1.8%{-webkit-transform:matrix3d(1.016,0,0,0,0,1.037,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.016,0,0,0,0,1.037,0,0,0,0,1,0,0,0,0,1)}3.5%{-webkit-transform:matrix3d(1.033,0,0,0,0,1.094,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.033,0,0,0,0,1.094,0,0,0,0,1,0,0,0,0,1)}4.7%{-webkit-transform:matrix3d(1.045,0,0,0,0,1.129,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.045,0,0,0,0,1.129,0,0,0,0,1,0,0,0,0,1)}5.31%{-webkit-transform:matrix3d(1.051,0,0,0,0,1.142,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.051,0,0,0,0,1.142,0,0,0,0,1,0,0,0,0,1)}7.01%{-webkit-transform:matrix3d(1.068,0,0,0,0,1.158,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.068,0,0,0,0,1.158,0,0,0,0,1,0,0,0,0,1)}8.91%{-webkit-transform:matrix3d(1.084,0,0,0,0,1.141,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.084,0,0,0,0,1.141,0,0,0,0,1,0,0,0,0,1)}9.41%{-webkit-transform:matrix3d(1.088,0,0,0,0,1.132,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.088,0,0,0,0,1.132,0,0,0,0,1,0,0,0,0,1)}10.71%{-webkit-transform:matrix3d(1.097,0,0,0,0,1.107,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.097,0,0,0,0,1.107,0,0,0,0,1,0,0,0,0,1)}12.61%{-webkit-transform:matrix3d(1.108,0,0,0,0,1.077,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.108,0,0,0,0,1.077,0,0,0,0,1,0,0,0,0,1)}14.11%{-webkit-transform:matrix3d(1.114,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.114,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1)}14.41%{-webkit-transform:matrix3d(1.115,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.115,0,0,0,0,1.067,0,0,0,0,1,0,0,0,0,1)}16.32%{-webkit-transform:matrix3d(1.119,0,0,0,0,1.077,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.119,0,0,0,0,1.077,0,0,0,0,1,0,0,0,0,1)}18.12%{-webkit-transform:matrix3d(1.121,0,0,0,0,1.096,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.121,0,0,0,0,1.096,0,0,0,0,1,0,0,0,0,1)}18.72%{-webkit-transform:matrix3d(1.121,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.121,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1)}20.02%{-webkit-transform:matrix3d(1.121,0,0,0,0,1.113,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.121,0,0,0,0,1.113,0,0,0,0,1,0,0,0,0,1)}21.82%{-webkit-transform:matrix3d(1.119,0,0,0,0,1.119,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.119,0,0,0,0,1.119,0,0,0,0,1,0,0,0,0,1)}24.32%{-webkit-transform:matrix3d(1.115,0,0,0,0,1.11,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.115,0,0,0,0,1.11,0,0,0,0,1,0,0,0,0,1)}25.53%{-webkit-transform:matrix3d(1.113,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.113,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1)}29.23%{-webkit-transform:matrix3d(1.106,0,0,0,0,1.089,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.106,0,0,0,0,1.089,0,0,0,0,1,0,0,0,0,1)}29.93%{-webkit-transform:matrix3d(1.105,0,0,0,0,1.09,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.105,0,0,0,0,1.09,0,0,0,0,1,0,0,0,0,1)}35.54%{-webkit-transform:matrix3d(1.098,0,0,0,0,1.105,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.098,0,0,0,0,1.105,0,0,0,0,1,0,0,0,0,1)}36.64%{-webkit-transform:matrix3d(1.097,0,0,0,0,1.106,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.097,0,0,0,0,1.106,0,0,0,0,1,0,0,0,0,1)}41.04%{-webkit-transform:matrix3d(1.096,0,0,0,0,1.099,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.096,0,0,0,0,1.099,0,0,0,0,1,0,0,0,0,1)}44.04%{-webkit-transform:matrix3d(1.096,0,0,0,0,1.097,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.096,0,0,0,0,1.097,0,0,0,0,1,0,0,0,0,1)}51.45%{-webkit-transform:matrix3d(1.099,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.099,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1)}52.15%{-webkit-transform:matrix3d(1.099,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.099,0,0,0,0,1.102,0,0,0,0,1,0,0,0,0,1)}58.86%{-webkit-transform:matrix3d(1.101,0,0,0,0,1.099,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.101,0,0,0,0,1.099,0,0,0,0,1,0,0,0,0,1)}63.26%{-webkit-transform:matrix3d(1.101,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.101,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}66.27%{-webkit-transform:matrix3d(1.101,0,0,0,0,1.101,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.101,0,0,0,0,1.101,0,0,0,0,1,0,0,0,0,1)}73.77%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}81.18%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}85.49%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}88.59%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}96%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}100%{-webkit-transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1);transform:matrix3d(1.1,0,0,0,0,1.1,0,0,0,0,1,0,0,0,0,1)}}@media only screen and (min-width:480px){.map-wrapper{visibility:hidden}.llistaComarques{visibility:visible}}@media only screen and (min-width:960px){.map-wrapper{visibility:visible}.llistaComarques{visibility:hidden}}
\ No newline at end of file
diff --git a/assets/css/catalunya-map/main.min.css b/assets/css/catalunya-map/main.min.css
new file mode 100644
index 0000000..1c0c6ad
--- /dev/null
+++ b/assets/css/catalunya-map/main.min.css
@@ -0,0 +1,37 @@
+/* ------ genaral css file --------*/
+
+body {
+ background: #fff;
+ font-family: Helvetica, Arial, sans-serif;
+ text-align: center;
+}
+h1 {
+ font-size: 25px;
+ padding: 30px 0 10px;
+}
+p {
+ padding-bottom: 30px;
+}
+
+a {
+ color: #66bbdd;
+ text-decoration: none;
+}
+a:hover {
+ text-decoration: underline;
+}
+
+#container {
+ margin:20px auto;
+
+}
+
+.description {
+ margin-left: auto;
+ margin-right: auto;
+ width: 99%;
+}
+
+.description strong {
+ padding: 10px;
+}
diff --git a/assets/images/CM.png b/assets/images/CM.png
new file mode 100644
index 0000000..03a86d3
Binary files /dev/null and b/assets/images/CM.png differ
diff --git a/assets/js/catalunya-map/bootstrap.min.js b/assets/js/catalunya-map/bootstrap.min.js
new file mode 100644
index 0000000..7c65abf
--- /dev/null
+++ b/assets/js/catalunya-map/bootstrap.min.js
@@ -0,0 +1,3 @@
+/*! Generated 01-09-2017 */
+
+if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(t){"use strict";function e(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(void 0!==t.style[i])return{end:e[i]};return!1}t.fn.emulateTransitionEnd=function(e){var i=!1,o=this;t(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||t(o).trigger(t.support.transition.end)},e),this},t(function(){t.support.transition=e(),t.support.transition&&(t.event.special.bsTransitionEnd={bindType:t.support.transition.end,delegateType:t.support.transition.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(t){"use strict";var e='[data-dismiss="alert"]',i=function(i){t(i).on("click",e,this.close)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.prototype.close=function(e){function o(){a.detach().trigger("closed.bs.alert").remove()}var n=t(this),s=n.attr("data-target");s||(s=n.attr("href"),s=s&&s.replace(/.*(?=#[^\s]*$)/,""));var a=t("#"===s?[]:s);e&&e.preventDefault(),a.length||(a=n.closest(".alert")),a.trigger(e=t.Event("close.bs.alert")),e.isDefaultPrevented()||(a.removeClass("in"),t.support.transition&&a.hasClass("fade")?a.one("bsTransitionEnd",o).emulateTransitionEnd(i.TRANSITION_DURATION):o())};var o=t.fn.alert;t.fn.alert=function(e){return this.each(function(){var o=t(this),n=o.data("bs.alert");n||o.data("bs.alert",n=new i(this)),"string"==typeof e&&n[e].call(o)})},t.fn.alert.Constructor=i,t.fn.alert.noConflict=function(){return t.fn.alert=o,this},t(document).on("click.bs.alert.data-api",e,i.prototype.close)}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.button"),s="object"==typeof e&&e;n||o.data("bs.button",n=new i(this,s)),"toggle"==e?n.toggle():e&&n.setState(e)})}var i=function(e,o){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,o),this.isLoading=!1};i.VERSION="3.3.7",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",o=this.$element,n=o.is("input")?"val":"html",s=o.data();e+="Text",null==s.resetText&&o.data("resetText",o[n]()),setTimeout(t.proxy(function(){o[n](null==s[e]?this.options[e]:s[e]),"loadingText"==e?(this.isLoading=!0,o.addClass(i).attr(i,i).prop(i,!0)):this.isLoading&&(this.isLoading=!1,o.removeClass(i).removeAttr(i).prop(i,!1))},this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var o=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=o,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var o=t(i.target).closest(".btn");e.call(o,"toggle"),t(i.target).is('input[type="radio"], input[type="checkbox"]')||(i.preventDefault(),o.is("input,button")?o.trigger("focus"):o.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.carousel"),s=t.extend({},i.DEFAULTS,o.data(),"object"==typeof e&&e),a="string"==typeof e?e:s.slide;n||o.data("bs.carousel",n=new i(this,s)),"number"==typeof e?n.to(e):a?n[a]():s.interval&&n.pause().cycle()})}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.VERSION="3.3.7",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var o=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(o)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){if(!this.sliding)return this.slide("next")},i.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},i.prototype.slide=function(e,o){var n=this.$element.find(".item.active"),s=o||this.getItemForDirection(e,n),a=this.interval,r="next"==e?"left":"right",l=this;if(s.hasClass("active"))return this.sliding=!1;var h=s[0],d=t.Event("slide.bs.carousel",{relatedTarget:h,direction:r});if(this.$element.trigger(d),!d.isDefaultPrevented()){if(this.sliding=!0,a&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var p=t(this.$indicators.children()[this.getItemIndex(s)]);p&&p.addClass("active")}var c=t.Event("slid.bs.carousel",{relatedTarget:h,direction:r});return t.support.transition&&this.$element.hasClass("slide")?(s.addClass(e),s[0].offsetWidth,n.addClass(r),s.addClass(r),n.one("bsTransitionEnd",function(){s.removeClass([e,r].join(" ")).addClass("active"),n.removeClass(["active",r].join(" ")),l.sliding=!1,setTimeout(function(){l.$element.trigger(c)},0)}).emulateTransitionEnd(i.TRANSITION_DURATION)):(n.removeClass("active"),s.addClass("active"),this.sliding=!1,this.$element.trigger(c)),a&&this.cycle(),this}};var o=t.fn.carousel;t.fn.carousel=e,t.fn.carousel.Constructor=i,t.fn.carousel.noConflict=function(){return t.fn.carousel=o,this};var n=function(i){var o,n=t(this),s=t(n.attr("data-target")||(o=n.attr("href"))&&o.replace(/.*(?=#[^\s]+$)/,""));if(s.hasClass("carousel")){var a=t.extend({},s.data(),n.data()),r=n.attr("data-slide-to");r&&(a.interval=!1),e.call(s,a),r&&s.data("bs.carousel").to(r),i.preventDefault()}};t(document).on("click.bs.carousel.data-api","[data-slide]",n).on("click.bs.carousel.data-api","[data-slide-to]",n),t(window).on("load",function(){t('[data-ride="carousel"]').each(function(){var i=t(this);e.call(i,i.data())})})}(jQuery),function(t){"use strict";function e(e){var i,o=e.attr("data-target")||(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]+$)/,"");return t(o)}function i(e){return this.each(function(){var i=t(this),n=i.data("bs.collapse"),s=t.extend({},o.DEFAULTS,i.data(),"object"==typeof e&&e);!n&&s.toggle&&/show|hide/.test(e)&&(s.toggle=!1),n||i.data("bs.collapse",n=new o(this,s)),"string"==typeof e&&n[e]()})}var o=function(e,i){this.$element=t(e),this.options=t.extend({},o.DEFAULTS,i),this.$trigger=t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};o.VERSION="3.3.7",o.TRANSITION_DURATION=350,o.DEFAULTS={toggle:!0},o.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},o.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var e,n=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(n&&n.length&&(e=n.data("bs.collapse"))&&e.transitioning)){var s=t.Event("show.bs.collapse");if(this.$element.trigger(s),!s.isDefaultPrevented()){n&&n.length&&(i.call(n,"hide"),e||n.data("bs.collapse",null));var a=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[a](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var r=function(){this.$element.removeClass("collapsing").addClass("collapse in")[a](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return r.call(this);var l=t.camelCase(["scroll",a].join("-"));this.$element.one("bsTransitionEnd",t.proxy(r,this)).emulateTransitionEnd(o.TRANSITION_DURATION)[a](this.$element[0][l])}}}},o.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var e=t.Event("hide.bs.collapse");if(this.$element.trigger(e),!e.isDefaultPrevented()){var i=this.dimension();this.$element[i](this.$element[i]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var n=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};return t.support.transition?void this.$element[i](0).one("bsTransitionEnd",t.proxy(n,this)).emulateTransitionEnd(o.TRANSITION_DURATION):n.call(this)}}},o.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},o.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(i,o){var n=t(o);this.addAriaAndCollapsedClass(e(n),n)},this)).end()},o.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var n=t.fn.collapse;t.fn.collapse=i,t.fn.collapse.Constructor=o,t.fn.collapse.noConflict=function(){return t.fn.collapse=n,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(o){var n=t(this);n.attr("data-target")||o.preventDefault();var s=e(n),a=s.data("bs.collapse")?"toggle":n.data();i.call(s,a)})}(jQuery),function(t){"use strict";function e(e){var i=e.attr("data-target");i||(i=e.attr("href"),i=i&&/#[A-Za-z]/.test(i)&&i.replace(/.*(?=#[^\s]*$)/,""));var o=i&&t(i);return o&&o.length?o:e.parent()}function i(i){i&&3===i.which||(t(o).remove(),t(n).each(function(){var o=t(this),n=e(o),s={relatedTarget:this};n.hasClass("open")&&(i&&"click"==i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(n[0],i.target)||(n.trigger(i=t.Event("hide.bs.dropdown",s)),i.isDefaultPrevented()||(o.attr("aria-expanded","false"),n.removeClass("open").trigger(t.Event("hidden.bs.dropdown",s)))))}))}var o=".dropdown-backdrop",n='[data-toggle="dropdown"]',s=function(e){t(e).on("click.bs.dropdown",this.toggle)};s.VERSION="3.3.7",s.prototype.toggle=function(o){var n=t(this);if(!n.is(".disabled, :disabled")){var s=e(n),a=s.hasClass("open");if(i(),!a){"ontouchstart"in document.documentElement&&!s.closest(".navbar-nav").length&&t(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(t(this)).on("click",i);var r={relatedTarget:this};if(s.trigger(o=t.Event("show.bs.dropdown",r)),o.isDefaultPrevented())return;n.trigger("focus").attr("aria-expanded","true"),s.toggleClass("open").trigger(t.Event("shown.bs.dropdown",r))}return!1}},s.prototype.keydown=function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)){var o=t(this);if(i.preventDefault(),i.stopPropagation(),!o.is(".disabled, :disabled")){var s=e(o),a=s.hasClass("open");if(!a&&27!=i.which||a&&27==i.which)return 27==i.which&&s.find(n).trigger("focus"),o.trigger("click");var r=s.find(".dropdown-menu li:not(.disabled):visible a");if(r.length){var l=r.index(i.target);38==i.which&&l>0&&l--,40==i.which&&l
document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},i.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},i.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth ',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},e.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var a=n[s];if("click"==a)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=a){var r="hover"==a?"mouseenter":"focusin",l="hover"==a?"mouseleave":"focusout";this.$element.on(r+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},e.prototype.getDefaults=function(){return e.DEFAULTS},e.prototype.getOptions=function(e){return(e=t.extend({},this.getDefaults(),this.$element.data(),e)).delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},e.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e},e.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},e.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},e.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue())return clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide()},e.prototype.show=function(){var i=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(i);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(i.isDefaultPrevented()||!o)return;var n=this,s=this.tip(),a=this.getUID(this.type);this.setContent(),s.attr("id",a),this.$element.attr("aria-describedby",a),this.options.animation&&s.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,h=l.test(r);h&&(r=r.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var d=this.getPosition(),p=s[0].offsetWidth,c=s[0].offsetHeight;if(h){var f=r,u=this.getPosition(this.$viewport);r="bottom"==r&&d.bottom+c>u.bottom?"top":"top"==r&&d.top-c