@finqu/cool 1.1.5 → 1.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * Cool UI dropdown.js v1.1.3 (https://finqu.fi)
2
+ * Cool UI dropdown.js v1.1.6 (https://finqu.fi)
3
3
  * Copyright 2011-2019 Finqu Oy
4
4
  * Licensed under the ISC license - (http://opensource.org/licenses/ISC)
5
5
  */
@@ -15,16 +15,16 @@
15
15
  subClass.__proto__ = superClass;
16
16
  }
17
17
 
18
- var cov_1ytczr8q8v = function () {
19
- var path = "/Users/miikka/Finqu/virtualmachine/finqu-lib/finqu-ui/js/src/util/perfect-scrollbar.js";
20
- var hash = "58a2bc1f7c1b4dcb0116080cbef8554c29b92b5e";
18
+ var cov_zxsozhk5a = function () {
19
+ var path = "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/util/perfect-scrollbar.js";
20
+ var hash = "33c0d71873da1f5268633efc2dc06227b762fcff";
21
21
 
22
22
  var Function = function () {}.constructor;
23
23
 
24
24
  var global = new Function("return this")();
25
25
  var gcv = "__coverage__";
26
26
  var coverageData = {
27
- path: "/Users/miikka/Finqu/virtualmachine/finqu-lib/finqu-ui/js/src/util/perfect-scrollbar.js",
27
+ path: "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/util/perfect-scrollbar.js",
28
28
  statementMap: {
29
29
  "0": {
30
30
  start: {
@@ -15872,105 +15872,105 @@
15872
15872
  * @license MIT
15873
15873
  */
15874
15874
  function get(element) {
15875
- cov_1ytczr8q8v.f[0]++;
15876
- cov_1ytczr8q8v.s[0]++;
15875
+ cov_zxsozhk5a.f[0]++;
15876
+ cov_zxsozhk5a.s[0]++;
15877
15877
  return getComputedStyle(element);
15878
15878
  }
15879
15879
 
15880
15880
  function set(element, obj) {
15881
- cov_1ytczr8q8v.f[1]++;
15882
- cov_1ytczr8q8v.s[1]++;
15881
+ cov_zxsozhk5a.f[1]++;
15882
+ cov_zxsozhk5a.s[1]++;
15883
15883
 
15884
15884
  for (var key in obj) {
15885
- var val = (cov_1ytczr8q8v.s[2]++, obj[key]);
15886
- cov_1ytczr8q8v.s[3]++;
15885
+ var val = (cov_zxsozhk5a.s[2]++, obj[key]);
15886
+ cov_zxsozhk5a.s[3]++;
15887
15887
 
15888
15888
  if (typeof val === 'number') {
15889
- cov_1ytczr8q8v.b[0][0]++;
15890
- cov_1ytczr8q8v.s[4]++;
15889
+ cov_zxsozhk5a.b[0][0]++;
15890
+ cov_zxsozhk5a.s[4]++;
15891
15891
  val = val + "px";
15892
15892
  } else {
15893
- cov_1ytczr8q8v.b[0][1]++;
15893
+ cov_zxsozhk5a.b[0][1]++;
15894
15894
  }
15895
15895
 
15896
- cov_1ytczr8q8v.s[5]++;
15896
+ cov_zxsozhk5a.s[5]++;
15897
15897
  element.style[key] = val;
15898
15898
  }
15899
15899
 
15900
- cov_1ytczr8q8v.s[6]++;
15900
+ cov_zxsozhk5a.s[6]++;
15901
15901
  return element;
15902
15902
  }
15903
15903
 
15904
15904
  function div(className) {
15905
- cov_1ytczr8q8v.f[2]++;
15906
- var div = (cov_1ytczr8q8v.s[7]++, document.createElement('div'));
15907
- cov_1ytczr8q8v.s[8]++;
15905
+ cov_zxsozhk5a.f[2]++;
15906
+ var div = (cov_zxsozhk5a.s[7]++, document.createElement('div'));
15907
+ cov_zxsozhk5a.s[8]++;
15908
15908
  div.className = className;
15909
- cov_1ytczr8q8v.s[9]++;
15909
+ cov_zxsozhk5a.s[9]++;
15910
15910
  return div;
15911
15911
  }
15912
15912
 
15913
- var elMatches = (cov_1ytczr8q8v.s[10]++, (cov_1ytczr8q8v.b[1][0]++, typeof Element !== 'undefined') && ((cov_1ytczr8q8v.b[1][1]++, Element.prototype.matches) || (cov_1ytczr8q8v.b[1][2]++, Element.prototype.webkitMatchesSelector) || (cov_1ytczr8q8v.b[1][3]++, Element.prototype.mozMatchesSelector) || (cov_1ytczr8q8v.b[1][4]++, Element.prototype.msMatchesSelector)));
15913
+ var elMatches = (cov_zxsozhk5a.s[10]++, (cov_zxsozhk5a.b[1][0]++, typeof Element !== 'undefined') && ((cov_zxsozhk5a.b[1][1]++, Element.prototype.matches) || (cov_zxsozhk5a.b[1][2]++, Element.prototype.webkitMatchesSelector) || (cov_zxsozhk5a.b[1][3]++, Element.prototype.mozMatchesSelector) || (cov_zxsozhk5a.b[1][4]++, Element.prototype.msMatchesSelector)));
15914
15914
 
15915
15915
  function matches(element, query) {
15916
- cov_1ytczr8q8v.f[3]++;
15917
- cov_1ytczr8q8v.s[11]++;
15916
+ cov_zxsozhk5a.f[3]++;
15917
+ cov_zxsozhk5a.s[11]++;
15918
15918
 
15919
15919
  if (!elMatches) {
15920
- cov_1ytczr8q8v.b[2][0]++;
15921
- cov_1ytczr8q8v.s[12]++;
15920
+ cov_zxsozhk5a.b[2][0]++;
15921
+ cov_zxsozhk5a.s[12]++;
15922
15922
  throw new Error('No element matching method supported');
15923
15923
  } else {
15924
- cov_1ytczr8q8v.b[2][1]++;
15924
+ cov_zxsozhk5a.b[2][1]++;
15925
15925
  }
15926
15926
 
15927
- cov_1ytczr8q8v.s[13]++;
15927
+ cov_zxsozhk5a.s[13]++;
15928
15928
  return elMatches.call(element, query);
15929
15929
  }
15930
15930
 
15931
15931
  function remove(element) {
15932
- cov_1ytczr8q8v.f[4]++;
15933
- cov_1ytczr8q8v.s[14]++;
15932
+ cov_zxsozhk5a.f[4]++;
15933
+ cov_zxsozhk5a.s[14]++;
15934
15934
 
15935
15935
  if (element.remove) {
15936
- cov_1ytczr8q8v.b[3][0]++;
15937
- cov_1ytczr8q8v.s[15]++;
15936
+ cov_zxsozhk5a.b[3][0]++;
15937
+ cov_zxsozhk5a.s[15]++;
15938
15938
  element.remove();
15939
15939
  } else {
15940
- cov_1ytczr8q8v.b[3][1]++;
15941
- cov_1ytczr8q8v.s[16]++;
15940
+ cov_zxsozhk5a.b[3][1]++;
15941
+ cov_zxsozhk5a.s[16]++;
15942
15942
 
15943
15943
  if (element.parentNode) {
15944
- cov_1ytczr8q8v.b[4][0]++;
15945
- cov_1ytczr8q8v.s[17]++;
15944
+ cov_zxsozhk5a.b[4][0]++;
15945
+ cov_zxsozhk5a.s[17]++;
15946
15946
  element.parentNode.removeChild(element);
15947
15947
  } else {
15948
- cov_1ytczr8q8v.b[4][1]++;
15948
+ cov_zxsozhk5a.b[4][1]++;
15949
15949
  }
15950
15950
  }
15951
15951
  }
15952
15952
 
15953
15953
  function queryChildren(element, selector) {
15954
- cov_1ytczr8q8v.f[5]++;
15955
- cov_1ytczr8q8v.s[18]++;
15954
+ cov_zxsozhk5a.f[5]++;
15955
+ cov_zxsozhk5a.s[18]++;
15956
15956
  return Array.prototype.filter.call(element.children, function (child) {
15957
- cov_1ytczr8q8v.f[6]++;
15958
- cov_1ytczr8q8v.s[19]++;
15957
+ cov_zxsozhk5a.f[6]++;
15958
+ cov_zxsozhk5a.s[19]++;
15959
15959
  return matches(child, selector);
15960
15960
  });
15961
15961
  }
15962
15962
 
15963
- var cls = (cov_1ytczr8q8v.s[20]++, {
15963
+ var cls = (cov_zxsozhk5a.s[20]++, {
15964
15964
  main: 'ps',
15965
15965
  element: {
15966
15966
  thumb: function thumb(x) {
15967
- cov_1ytczr8q8v.f[7]++;
15968
- cov_1ytczr8q8v.s[21]++;
15967
+ cov_zxsozhk5a.f[7]++;
15968
+ cov_zxsozhk5a.s[21]++;
15969
15969
  return "ps__thumb-" + x;
15970
15970
  },
15971
15971
  rail: function rail(x) {
15972
- cov_1ytczr8q8v.f[8]++;
15973
- cov_1ytczr8q8v.s[22]++;
15972
+ cov_zxsozhk5a.f[8]++;
15973
+ cov_zxsozhk5a.s[22]++;
15974
15974
  return "ps__rail-" + x;
15975
15975
  },
15976
15976
  consuming: 'ps__child--consume'
@@ -15979,13 +15979,13 @@
15979
15979
  focus: 'ps--focus',
15980
15980
  clicking: 'ps--clicking',
15981
15981
  active: function active(x) {
15982
- cov_1ytczr8q8v.f[9]++;
15983
- cov_1ytczr8q8v.s[23]++;
15982
+ cov_zxsozhk5a.f[9]++;
15983
+ cov_zxsozhk5a.s[23]++;
15984
15984
  return "ps--active-" + x;
15985
15985
  },
15986
15986
  scrolling: function scrolling(x) {
15987
- cov_1ytczr8q8v.f[10]++;
15988
- cov_1ytczr8q8v.s[24]++;
15987
+ cov_zxsozhk5a.f[10]++;
15988
+ cov_zxsozhk5a.s[24]++;
15989
15989
  return "ps--scrolling-" + x;
15990
15990
  }
15991
15991
  }
@@ -15994,1841 +15994,1841 @@
15994
15994
  * Helper methods
15995
15995
  */
15996
15996
 
15997
- var scrollingClassTimeout = (cov_1ytczr8q8v.s[25]++, {
15997
+ var scrollingClassTimeout = (cov_zxsozhk5a.s[25]++, {
15998
15998
  x: null,
15999
15999
  y: null
16000
16000
  });
16001
16001
 
16002
16002
  function addScrollingClass(i, x) {
16003
- cov_1ytczr8q8v.f[11]++;
16004
- var classList = (cov_1ytczr8q8v.s[26]++, i.element.classList);
16005
- var className = (cov_1ytczr8q8v.s[27]++, cls.state.scrolling(x));
16006
- cov_1ytczr8q8v.s[28]++;
16003
+ cov_zxsozhk5a.f[11]++;
16004
+ var classList = (cov_zxsozhk5a.s[26]++, i.element.classList);
16005
+ var className = (cov_zxsozhk5a.s[27]++, cls.state.scrolling(x));
16006
+ cov_zxsozhk5a.s[28]++;
16007
16007
 
16008
16008
  if (classList.contains(className)) {
16009
- cov_1ytczr8q8v.b[5][0]++;
16010
- cov_1ytczr8q8v.s[29]++;
16009
+ cov_zxsozhk5a.b[5][0]++;
16010
+ cov_zxsozhk5a.s[29]++;
16011
16011
  clearTimeout(scrollingClassTimeout[x]);
16012
16012
  } else {
16013
- cov_1ytczr8q8v.b[5][1]++;
16014
- cov_1ytczr8q8v.s[30]++;
16013
+ cov_zxsozhk5a.b[5][1]++;
16014
+ cov_zxsozhk5a.s[30]++;
16015
16015
  classList.add(className);
16016
16016
  }
16017
16017
  }
16018
16018
 
16019
16019
  function removeScrollingClass(i, x) {
16020
- cov_1ytczr8q8v.f[12]++;
16021
- cov_1ytczr8q8v.s[31]++;
16020
+ cov_zxsozhk5a.f[12]++;
16021
+ cov_zxsozhk5a.s[31]++;
16022
16022
  scrollingClassTimeout[x] = setTimeout(function () {
16023
- cov_1ytczr8q8v.f[13]++;
16024
- cov_1ytczr8q8v.s[32]++;
16025
- return (cov_1ytczr8q8v.b[6][0]++, i.isAlive) && (cov_1ytczr8q8v.b[6][1]++, i.element.classList.remove(cls.state.scrolling(x)));
16023
+ cov_zxsozhk5a.f[13]++;
16024
+ cov_zxsozhk5a.s[32]++;
16025
+ return (cov_zxsozhk5a.b[6][0]++, i.isAlive) && (cov_zxsozhk5a.b[6][1]++, i.element.classList.remove(cls.state.scrolling(x)));
16026
16026
  }, i.settings.scrollingThreshold);
16027
16027
  }
16028
16028
 
16029
16029
  function setScrollingClassInstantly(i, x) {
16030
- cov_1ytczr8q8v.f[14]++;
16031
- cov_1ytczr8q8v.s[33]++;
16030
+ cov_zxsozhk5a.f[14]++;
16031
+ cov_zxsozhk5a.s[33]++;
16032
16032
  addScrollingClass(i, x);
16033
- cov_1ytczr8q8v.s[34]++;
16033
+ cov_zxsozhk5a.s[34]++;
16034
16034
  removeScrollingClass(i, x);
16035
16035
  }
16036
16036
 
16037
- cov_1ytczr8q8v.s[35]++;
16037
+ cov_zxsozhk5a.s[35]++;
16038
16038
 
16039
16039
  var EventElement = function EventElement(element) {
16040
- cov_1ytczr8q8v.f[15]++;
16041
- cov_1ytczr8q8v.s[36]++;
16040
+ cov_zxsozhk5a.f[15]++;
16041
+ cov_zxsozhk5a.s[36]++;
16042
16042
  this.element = element;
16043
- cov_1ytczr8q8v.s[37]++;
16043
+ cov_zxsozhk5a.s[37]++;
16044
16044
  this.handlers = {};
16045
16045
  };
16046
16046
 
16047
- var prototypeAccessors = (cov_1ytczr8q8v.s[38]++, {
16047
+ var prototypeAccessors = (cov_zxsozhk5a.s[38]++, {
16048
16048
  isEmpty: {
16049
16049
  configurable: true
16050
16050
  }
16051
16051
  });
16052
- cov_1ytczr8q8v.s[39]++;
16052
+ cov_zxsozhk5a.s[39]++;
16053
16053
 
16054
16054
  EventElement.prototype.bind = function bind(eventName, handler) {
16055
- cov_1ytczr8q8v.f[16]++;
16056
- cov_1ytczr8q8v.s[40]++;
16055
+ cov_zxsozhk5a.f[16]++;
16056
+ cov_zxsozhk5a.s[40]++;
16057
16057
 
16058
16058
  if (typeof this.handlers[eventName] === 'undefined') {
16059
- cov_1ytczr8q8v.b[7][0]++;
16060
- cov_1ytczr8q8v.s[41]++;
16059
+ cov_zxsozhk5a.b[7][0]++;
16060
+ cov_zxsozhk5a.s[41]++;
16061
16061
  this.handlers[eventName] = [];
16062
16062
  } else {
16063
- cov_1ytczr8q8v.b[7][1]++;
16063
+ cov_zxsozhk5a.b[7][1]++;
16064
16064
  }
16065
16065
 
16066
- cov_1ytczr8q8v.s[42]++;
16066
+ cov_zxsozhk5a.s[42]++;
16067
16067
  this.handlers[eventName].push(handler);
16068
- cov_1ytczr8q8v.s[43]++;
16068
+ cov_zxsozhk5a.s[43]++;
16069
16069
  this.element.addEventListener(eventName, handler, false);
16070
16070
  };
16071
16071
 
16072
- cov_1ytczr8q8v.s[44]++;
16072
+ cov_zxsozhk5a.s[44]++;
16073
16073
 
16074
16074
  EventElement.prototype.unbind = function unbind(eventName, target) {
16075
- cov_1ytczr8q8v.f[17]++;
16076
- var this$1 = (cov_1ytczr8q8v.s[45]++, this);
16077
- cov_1ytczr8q8v.s[46]++;
16075
+ cov_zxsozhk5a.f[17]++;
16076
+ var this$1 = (cov_zxsozhk5a.s[45]++, this);
16077
+ cov_zxsozhk5a.s[46]++;
16078
16078
  this.handlers[eventName] = this.handlers[eventName].filter(function (handler) {
16079
- cov_1ytczr8q8v.f[18]++;
16080
- cov_1ytczr8q8v.s[47]++;
16079
+ cov_zxsozhk5a.f[18]++;
16080
+ cov_zxsozhk5a.s[47]++;
16081
16081
 
16082
- if ((cov_1ytczr8q8v.b[9][0]++, target) && (cov_1ytczr8q8v.b[9][1]++, handler !== target)) {
16083
- cov_1ytczr8q8v.b[8][0]++;
16084
- cov_1ytczr8q8v.s[48]++;
16082
+ if ((cov_zxsozhk5a.b[9][0]++, target) && (cov_zxsozhk5a.b[9][1]++, handler !== target)) {
16083
+ cov_zxsozhk5a.b[8][0]++;
16084
+ cov_zxsozhk5a.s[48]++;
16085
16085
  return true;
16086
16086
  } else {
16087
- cov_1ytczr8q8v.b[8][1]++;
16087
+ cov_zxsozhk5a.b[8][1]++;
16088
16088
  }
16089
16089
 
16090
- cov_1ytczr8q8v.s[49]++;
16090
+ cov_zxsozhk5a.s[49]++;
16091
16091
  this$1.element.removeEventListener(eventName, handler, false);
16092
- cov_1ytczr8q8v.s[50]++;
16092
+ cov_zxsozhk5a.s[50]++;
16093
16093
  return false;
16094
16094
  });
16095
16095
  };
16096
16096
 
16097
- cov_1ytczr8q8v.s[51]++;
16097
+ cov_zxsozhk5a.s[51]++;
16098
16098
 
16099
16099
  EventElement.prototype.unbindAll = function unbindAll() {
16100
- cov_1ytczr8q8v.f[19]++;
16101
- var this$1 = (cov_1ytczr8q8v.s[52]++, this);
16102
- cov_1ytczr8q8v.s[53]++;
16100
+ cov_zxsozhk5a.f[19]++;
16101
+ var this$1 = (cov_zxsozhk5a.s[52]++, this);
16102
+ cov_zxsozhk5a.s[53]++;
16103
16103
 
16104
16104
  for (var name in this$1.handlers) {
16105
- cov_1ytczr8q8v.s[54]++;
16105
+ cov_zxsozhk5a.s[54]++;
16106
16106
  this$1.unbind(name);
16107
16107
  }
16108
16108
  };
16109
16109
 
16110
- cov_1ytczr8q8v.s[55]++;
16110
+ cov_zxsozhk5a.s[55]++;
16111
16111
 
16112
16112
  prototypeAccessors.isEmpty.get = function () {
16113
- cov_1ytczr8q8v.f[20]++;
16114
- var this$1 = (cov_1ytczr8q8v.s[56]++, this);
16115
- cov_1ytczr8q8v.s[57]++;
16113
+ cov_zxsozhk5a.f[20]++;
16114
+ var this$1 = (cov_zxsozhk5a.s[56]++, this);
16115
+ cov_zxsozhk5a.s[57]++;
16116
16116
  return Object.keys(this.handlers).every(function (key) {
16117
- cov_1ytczr8q8v.f[21]++;
16118
- cov_1ytczr8q8v.s[58]++;
16117
+ cov_zxsozhk5a.f[21]++;
16118
+ cov_zxsozhk5a.s[58]++;
16119
16119
  return this$1.handlers[key].length === 0;
16120
16120
  });
16121
16121
  };
16122
16122
 
16123
- cov_1ytczr8q8v.s[59]++;
16123
+ cov_zxsozhk5a.s[59]++;
16124
16124
  Object.defineProperties(EventElement.prototype, prototypeAccessors);
16125
- cov_1ytczr8q8v.s[60]++;
16125
+ cov_zxsozhk5a.s[60]++;
16126
16126
 
16127
16127
  var EventManager = function EventManager() {
16128
- cov_1ytczr8q8v.f[22]++;
16129
- cov_1ytczr8q8v.s[61]++;
16128
+ cov_zxsozhk5a.f[22]++;
16129
+ cov_zxsozhk5a.s[61]++;
16130
16130
  this.eventElements = [];
16131
16131
  };
16132
16132
 
16133
- cov_1ytczr8q8v.s[62]++;
16133
+ cov_zxsozhk5a.s[62]++;
16134
16134
 
16135
16135
  EventManager.prototype.eventElement = function eventElement(element) {
16136
- cov_1ytczr8q8v.f[23]++;
16137
- var ee = (cov_1ytczr8q8v.s[63]++, this.eventElements.filter(function (ee) {
16138
- cov_1ytczr8q8v.f[24]++;
16139
- cov_1ytczr8q8v.s[64]++;
16136
+ cov_zxsozhk5a.f[23]++;
16137
+ var ee = (cov_zxsozhk5a.s[63]++, this.eventElements.filter(function (ee) {
16138
+ cov_zxsozhk5a.f[24]++;
16139
+ cov_zxsozhk5a.s[64]++;
16140
16140
  return ee.element === element;
16141
16141
  })[0]);
16142
- cov_1ytczr8q8v.s[65]++;
16142
+ cov_zxsozhk5a.s[65]++;
16143
16143
 
16144
16144
  if (!ee) {
16145
- cov_1ytczr8q8v.b[10][0]++;
16146
- cov_1ytczr8q8v.s[66]++;
16145
+ cov_zxsozhk5a.b[10][0]++;
16146
+ cov_zxsozhk5a.s[66]++;
16147
16147
  ee = new EventElement(element);
16148
- cov_1ytczr8q8v.s[67]++;
16148
+ cov_zxsozhk5a.s[67]++;
16149
16149
  this.eventElements.push(ee);
16150
16150
  } else {
16151
- cov_1ytczr8q8v.b[10][1]++;
16151
+ cov_zxsozhk5a.b[10][1]++;
16152
16152
  }
16153
16153
 
16154
- cov_1ytczr8q8v.s[68]++;
16154
+ cov_zxsozhk5a.s[68]++;
16155
16155
  return ee;
16156
16156
  };
16157
16157
 
16158
- cov_1ytczr8q8v.s[69]++;
16158
+ cov_zxsozhk5a.s[69]++;
16159
16159
 
16160
16160
  EventManager.prototype.bind = function bind(element, eventName, handler) {
16161
- cov_1ytczr8q8v.f[25]++;
16162
- cov_1ytczr8q8v.s[70]++;
16161
+ cov_zxsozhk5a.f[25]++;
16162
+ cov_zxsozhk5a.s[70]++;
16163
16163
  this.eventElement(element).bind(eventName, handler);
16164
16164
  };
16165
16165
 
16166
- cov_1ytczr8q8v.s[71]++;
16166
+ cov_zxsozhk5a.s[71]++;
16167
16167
 
16168
16168
  EventManager.prototype.unbind = function unbind(element, eventName, handler) {
16169
- cov_1ytczr8q8v.f[26]++;
16170
- var ee = (cov_1ytczr8q8v.s[72]++, this.eventElement(element));
16171
- cov_1ytczr8q8v.s[73]++;
16169
+ cov_zxsozhk5a.f[26]++;
16170
+ var ee = (cov_zxsozhk5a.s[72]++, this.eventElement(element));
16171
+ cov_zxsozhk5a.s[73]++;
16172
16172
  ee.unbind(eventName, handler);
16173
- cov_1ytczr8q8v.s[74]++;
16173
+ cov_zxsozhk5a.s[74]++;
16174
16174
 
16175
16175
  if (ee.isEmpty) {
16176
- cov_1ytczr8q8v.b[11][0]++;
16177
- cov_1ytczr8q8v.s[75]++;
16176
+ cov_zxsozhk5a.b[11][0]++;
16177
+ cov_zxsozhk5a.s[75]++;
16178
16178
  // remove
16179
16179
  this.eventElements.splice(this.eventElements.indexOf(ee), 1);
16180
16180
  } else {
16181
- cov_1ytczr8q8v.b[11][1]++;
16181
+ cov_zxsozhk5a.b[11][1]++;
16182
16182
  }
16183
16183
  };
16184
16184
 
16185
- cov_1ytczr8q8v.s[76]++;
16185
+ cov_zxsozhk5a.s[76]++;
16186
16186
 
16187
16187
  EventManager.prototype.unbindAll = function unbindAll() {
16188
- cov_1ytczr8q8v.f[27]++;
16189
- cov_1ytczr8q8v.s[77]++;
16188
+ cov_zxsozhk5a.f[27]++;
16189
+ cov_zxsozhk5a.s[77]++;
16190
16190
  this.eventElements.forEach(function (e) {
16191
- cov_1ytczr8q8v.f[28]++;
16192
- cov_1ytczr8q8v.s[78]++;
16191
+ cov_zxsozhk5a.f[28]++;
16192
+ cov_zxsozhk5a.s[78]++;
16193
16193
  return e.unbindAll();
16194
16194
  });
16195
- cov_1ytczr8q8v.s[79]++;
16195
+ cov_zxsozhk5a.s[79]++;
16196
16196
  this.eventElements = [];
16197
16197
  };
16198
16198
 
16199
- cov_1ytczr8q8v.s[80]++;
16199
+ cov_zxsozhk5a.s[80]++;
16200
16200
 
16201
16201
  EventManager.prototype.once = function once(element, eventName, handler) {
16202
- cov_1ytczr8q8v.f[29]++;
16203
- var ee = (cov_1ytczr8q8v.s[81]++, this.eventElement(element));
16204
- cov_1ytczr8q8v.s[82]++;
16202
+ cov_zxsozhk5a.f[29]++;
16203
+ var ee = (cov_zxsozhk5a.s[81]++, this.eventElement(element));
16204
+ cov_zxsozhk5a.s[82]++;
16205
16205
 
16206
16206
  var onceHandler = function onceHandler(evt) {
16207
- cov_1ytczr8q8v.f[30]++;
16208
- cov_1ytczr8q8v.s[83]++;
16207
+ cov_zxsozhk5a.f[30]++;
16208
+ cov_zxsozhk5a.s[83]++;
16209
16209
  ee.unbind(eventName, onceHandler);
16210
- cov_1ytczr8q8v.s[84]++;
16210
+ cov_zxsozhk5a.s[84]++;
16211
16211
  handler(evt);
16212
16212
  };
16213
16213
 
16214
- cov_1ytczr8q8v.s[85]++;
16214
+ cov_zxsozhk5a.s[85]++;
16215
16215
  ee.bind(eventName, onceHandler);
16216
16216
  };
16217
16217
 
16218
16218
  function createEvent(name) {
16219
- cov_1ytczr8q8v.f[31]++;
16220
- cov_1ytczr8q8v.s[86]++;
16219
+ cov_zxsozhk5a.f[31]++;
16220
+ cov_zxsozhk5a.s[86]++;
16221
16221
 
16222
16222
  if (typeof window.CustomEvent === 'function') {
16223
- cov_1ytczr8q8v.b[12][0]++;
16224
- cov_1ytczr8q8v.s[87]++;
16223
+ cov_zxsozhk5a.b[12][0]++;
16224
+ cov_zxsozhk5a.s[87]++;
16225
16225
  return new CustomEvent(name);
16226
16226
  } else {
16227
- cov_1ytczr8q8v.b[12][1]++;
16228
- var evt = (cov_1ytczr8q8v.s[88]++, document.createEvent('CustomEvent'));
16229
- cov_1ytczr8q8v.s[89]++;
16227
+ cov_zxsozhk5a.b[12][1]++;
16228
+ var evt = (cov_zxsozhk5a.s[88]++, document.createEvent('CustomEvent'));
16229
+ cov_zxsozhk5a.s[89]++;
16230
16230
  evt.initCustomEvent(name, false, false, undefined);
16231
- cov_1ytczr8q8v.s[90]++;
16231
+ cov_zxsozhk5a.s[90]++;
16232
16232
  return evt;
16233
16233
  }
16234
16234
  }
16235
16235
 
16236
- cov_1ytczr8q8v.s[91]++;
16236
+ cov_zxsozhk5a.s[91]++;
16237
16237
 
16238
16238
  var processScrollDiff = function processScrollDiff(i, axis, diff, useScrollingClass, forceFireReachEvent) {
16239
- cov_1ytczr8q8v.f[32]++;
16240
- cov_1ytczr8q8v.s[92]++;
16239
+ cov_zxsozhk5a.f[32]++;
16240
+ cov_zxsozhk5a.s[92]++;
16241
16241
 
16242
16242
  if (useScrollingClass === void 0) {
16243
- cov_1ytczr8q8v.b[13][0]++;
16244
- cov_1ytczr8q8v.s[93]++;
16243
+ cov_zxsozhk5a.b[13][0]++;
16244
+ cov_zxsozhk5a.s[93]++;
16245
16245
  useScrollingClass = true;
16246
16246
  } else {
16247
- cov_1ytczr8q8v.b[13][1]++;
16247
+ cov_zxsozhk5a.b[13][1]++;
16248
16248
  }
16249
16249
 
16250
- cov_1ytczr8q8v.s[94]++;
16250
+ cov_zxsozhk5a.s[94]++;
16251
16251
 
16252
16252
  if (forceFireReachEvent === void 0) {
16253
- cov_1ytczr8q8v.b[14][0]++;
16254
- cov_1ytczr8q8v.s[95]++;
16253
+ cov_zxsozhk5a.b[14][0]++;
16254
+ cov_zxsozhk5a.s[95]++;
16255
16255
  forceFireReachEvent = false;
16256
16256
  } else {
16257
- cov_1ytczr8q8v.b[14][1]++;
16257
+ cov_zxsozhk5a.b[14][1]++;
16258
16258
  }
16259
16259
 
16260
16260
  var fields;
16261
- cov_1ytczr8q8v.s[96]++;
16261
+ cov_zxsozhk5a.s[96]++;
16262
16262
 
16263
16263
  if (axis === 'top') {
16264
- cov_1ytczr8q8v.b[15][0]++;
16265
- cov_1ytczr8q8v.s[97]++;
16264
+ cov_zxsozhk5a.b[15][0]++;
16265
+ cov_zxsozhk5a.s[97]++;
16266
16266
  fields = ['contentHeight', 'containerHeight', 'scrollTop', 'y', 'up', 'down'];
16267
16267
  } else {
16268
- cov_1ytczr8q8v.b[15][1]++;
16269
- cov_1ytczr8q8v.s[98]++;
16268
+ cov_zxsozhk5a.b[15][1]++;
16269
+ cov_zxsozhk5a.s[98]++;
16270
16270
 
16271
16271
  if (axis === 'left') {
16272
- cov_1ytczr8q8v.b[16][0]++;
16273
- cov_1ytczr8q8v.s[99]++;
16272
+ cov_zxsozhk5a.b[16][0]++;
16273
+ cov_zxsozhk5a.s[99]++;
16274
16274
  fields = ['contentWidth', 'containerWidth', 'scrollLeft', 'x', 'left', 'right'];
16275
16275
  } else {
16276
- cov_1ytczr8q8v.b[16][1]++;
16277
- cov_1ytczr8q8v.s[100]++;
16276
+ cov_zxsozhk5a.b[16][1]++;
16277
+ cov_zxsozhk5a.s[100]++;
16278
16278
  throw new Error('A proper axis should be provided');
16279
16279
  }
16280
16280
  }
16281
16281
 
16282
- cov_1ytczr8q8v.s[101]++;
16282
+ cov_zxsozhk5a.s[101]++;
16283
16283
  processScrollDiff$1(i, diff, fields, useScrollingClass, forceFireReachEvent);
16284
16284
  };
16285
16285
 
16286
16286
  function processScrollDiff$1(i, diff, ref, useScrollingClass, forceFireReachEvent) {
16287
- cov_1ytczr8q8v.f[33]++;
16288
- var contentHeight = (cov_1ytczr8q8v.s[102]++, ref[0]);
16289
- var containerHeight = (cov_1ytczr8q8v.s[103]++, ref[1]);
16290
- var scrollTop = (cov_1ytczr8q8v.s[104]++, ref[2]);
16291
- var y = (cov_1ytczr8q8v.s[105]++, ref[3]);
16292
- var up = (cov_1ytczr8q8v.s[106]++, ref[4]);
16293
- var down = (cov_1ytczr8q8v.s[107]++, ref[5]);
16294
- cov_1ytczr8q8v.s[108]++;
16287
+ cov_zxsozhk5a.f[33]++;
16288
+ var contentHeight = (cov_zxsozhk5a.s[102]++, ref[0]);
16289
+ var containerHeight = (cov_zxsozhk5a.s[103]++, ref[1]);
16290
+ var scrollTop = (cov_zxsozhk5a.s[104]++, ref[2]);
16291
+ var y = (cov_zxsozhk5a.s[105]++, ref[3]);
16292
+ var up = (cov_zxsozhk5a.s[106]++, ref[4]);
16293
+ var down = (cov_zxsozhk5a.s[107]++, ref[5]);
16294
+ cov_zxsozhk5a.s[108]++;
16295
16295
 
16296
16296
  if (useScrollingClass === void 0) {
16297
- cov_1ytczr8q8v.b[17][0]++;
16298
- cov_1ytczr8q8v.s[109]++;
16297
+ cov_zxsozhk5a.b[17][0]++;
16298
+ cov_zxsozhk5a.s[109]++;
16299
16299
  useScrollingClass = true;
16300
16300
  } else {
16301
- cov_1ytczr8q8v.b[17][1]++;
16301
+ cov_zxsozhk5a.b[17][1]++;
16302
16302
  }
16303
16303
 
16304
- cov_1ytczr8q8v.s[110]++;
16304
+ cov_zxsozhk5a.s[110]++;
16305
16305
 
16306
16306
  if (forceFireReachEvent === void 0) {
16307
- cov_1ytczr8q8v.b[18][0]++;
16308
- cov_1ytczr8q8v.s[111]++;
16307
+ cov_zxsozhk5a.b[18][0]++;
16308
+ cov_zxsozhk5a.s[111]++;
16309
16309
  forceFireReachEvent = false;
16310
16310
  } else {
16311
- cov_1ytczr8q8v.b[18][1]++;
16311
+ cov_zxsozhk5a.b[18][1]++;
16312
16312
  }
16313
16313
 
16314
- var element = (cov_1ytczr8q8v.s[112]++, i.element); // reset reach
16314
+ var element = (cov_zxsozhk5a.s[112]++, i.element); // reset reach
16315
16315
 
16316
- cov_1ytczr8q8v.s[113]++;
16316
+ cov_zxsozhk5a.s[113]++;
16317
16317
  i.reach[y] = null; // 1 for subpixel rounding
16318
16318
 
16319
- cov_1ytczr8q8v.s[114]++;
16319
+ cov_zxsozhk5a.s[114]++;
16320
16320
 
16321
16321
  if (element[scrollTop] < 1) {
16322
- cov_1ytczr8q8v.b[19][0]++;
16323
- cov_1ytczr8q8v.s[115]++;
16322
+ cov_zxsozhk5a.b[19][0]++;
16323
+ cov_zxsozhk5a.s[115]++;
16324
16324
  i.reach[y] = 'start';
16325
16325
  } else {
16326
- cov_1ytczr8q8v.b[19][1]++;
16326
+ cov_zxsozhk5a.b[19][1]++;
16327
16327
  } // 1 for subpixel rounding
16328
16328
 
16329
16329
 
16330
- cov_1ytczr8q8v.s[116]++;
16330
+ cov_zxsozhk5a.s[116]++;
16331
16331
 
16332
16332
  if (element[scrollTop] > i[contentHeight] - i[containerHeight] - 1) {
16333
- cov_1ytczr8q8v.b[20][0]++;
16334
- cov_1ytczr8q8v.s[117]++;
16333
+ cov_zxsozhk5a.b[20][0]++;
16334
+ cov_zxsozhk5a.s[117]++;
16335
16335
  i.reach[y] = 'end';
16336
16336
  } else {
16337
- cov_1ytczr8q8v.b[20][1]++;
16337
+ cov_zxsozhk5a.b[20][1]++;
16338
16338
  }
16339
16339
 
16340
- cov_1ytczr8q8v.s[118]++;
16340
+ cov_zxsozhk5a.s[118]++;
16341
16341
 
16342
16342
  if (diff) {
16343
- cov_1ytczr8q8v.b[21][0]++;
16344
- cov_1ytczr8q8v.s[119]++;
16343
+ cov_zxsozhk5a.b[21][0]++;
16344
+ cov_zxsozhk5a.s[119]++;
16345
16345
  element.dispatchEvent(createEvent("ps-scroll-" + y));
16346
- cov_1ytczr8q8v.s[120]++;
16346
+ cov_zxsozhk5a.s[120]++;
16347
16347
 
16348
16348
  if (diff < 0) {
16349
- cov_1ytczr8q8v.b[22][0]++;
16350
- cov_1ytczr8q8v.s[121]++;
16349
+ cov_zxsozhk5a.b[22][0]++;
16350
+ cov_zxsozhk5a.s[121]++;
16351
16351
  element.dispatchEvent(createEvent("ps-scroll-" + up));
16352
16352
  } else {
16353
- cov_1ytczr8q8v.b[22][1]++;
16354
- cov_1ytczr8q8v.s[122]++;
16353
+ cov_zxsozhk5a.b[22][1]++;
16354
+ cov_zxsozhk5a.s[122]++;
16355
16355
 
16356
16356
  if (diff > 0) {
16357
- cov_1ytczr8q8v.b[23][0]++;
16358
- cov_1ytczr8q8v.s[123]++;
16357
+ cov_zxsozhk5a.b[23][0]++;
16358
+ cov_zxsozhk5a.s[123]++;
16359
16359
  element.dispatchEvent(createEvent("ps-scroll-" + down));
16360
16360
  } else {
16361
- cov_1ytczr8q8v.b[23][1]++;
16361
+ cov_zxsozhk5a.b[23][1]++;
16362
16362
  }
16363
16363
  }
16364
16364
 
16365
- cov_1ytczr8q8v.s[124]++;
16365
+ cov_zxsozhk5a.s[124]++;
16366
16366
 
16367
16367
  if (useScrollingClass) {
16368
- cov_1ytczr8q8v.b[24][0]++;
16369
- cov_1ytczr8q8v.s[125]++;
16368
+ cov_zxsozhk5a.b[24][0]++;
16369
+ cov_zxsozhk5a.s[125]++;
16370
16370
  setScrollingClassInstantly(i, y);
16371
16371
  } else {
16372
- cov_1ytczr8q8v.b[24][1]++;
16372
+ cov_zxsozhk5a.b[24][1]++;
16373
16373
  }
16374
16374
  } else {
16375
- cov_1ytczr8q8v.b[21][1]++;
16375
+ cov_zxsozhk5a.b[21][1]++;
16376
16376
  }
16377
16377
 
16378
- cov_1ytczr8q8v.s[126]++;
16378
+ cov_zxsozhk5a.s[126]++;
16379
16379
 
16380
- if ((cov_1ytczr8q8v.b[26][0]++, i.reach[y]) && ((cov_1ytczr8q8v.b[26][1]++, diff) || (cov_1ytczr8q8v.b[26][2]++, forceFireReachEvent))) {
16381
- cov_1ytczr8q8v.b[25][0]++;
16382
- cov_1ytczr8q8v.s[127]++;
16380
+ if ((cov_zxsozhk5a.b[26][0]++, i.reach[y]) && ((cov_zxsozhk5a.b[26][1]++, diff) || (cov_zxsozhk5a.b[26][2]++, forceFireReachEvent))) {
16381
+ cov_zxsozhk5a.b[25][0]++;
16382
+ cov_zxsozhk5a.s[127]++;
16383
16383
  element.dispatchEvent(createEvent("ps-" + y + "-reach-" + i.reach[y]));
16384
16384
  } else {
16385
- cov_1ytczr8q8v.b[25][1]++;
16385
+ cov_zxsozhk5a.b[25][1]++;
16386
16386
  }
16387
16387
  }
16388
16388
 
16389
16389
  function toInt(x) {
16390
- cov_1ytczr8q8v.f[34]++;
16391
- cov_1ytczr8q8v.s[128]++;
16392
- return (cov_1ytczr8q8v.b[27][0]++, parseInt(x, 10)) || (cov_1ytczr8q8v.b[27][1]++, 0);
16390
+ cov_zxsozhk5a.f[34]++;
16391
+ cov_zxsozhk5a.s[128]++;
16392
+ return (cov_zxsozhk5a.b[27][0]++, parseInt(x, 10)) || (cov_zxsozhk5a.b[27][1]++, 0);
16393
16393
  }
16394
16394
 
16395
16395
  function isEditable(el) {
16396
- cov_1ytczr8q8v.f[35]++;
16397
- cov_1ytczr8q8v.s[129]++;
16398
- return (cov_1ytczr8q8v.b[28][0]++, matches(el, 'input,[contenteditable]')) || (cov_1ytczr8q8v.b[28][1]++, matches(el, 'select,[contenteditable]')) || (cov_1ytczr8q8v.b[28][2]++, matches(el, 'textarea,[contenteditable]')) || (cov_1ytczr8q8v.b[28][3]++, matches(el, 'button,[contenteditable]'));
16396
+ cov_zxsozhk5a.f[35]++;
16397
+ cov_zxsozhk5a.s[129]++;
16398
+ return (cov_zxsozhk5a.b[28][0]++, matches(el, 'input,[contenteditable]')) || (cov_zxsozhk5a.b[28][1]++, matches(el, 'select,[contenteditable]')) || (cov_zxsozhk5a.b[28][2]++, matches(el, 'textarea,[contenteditable]')) || (cov_zxsozhk5a.b[28][3]++, matches(el, 'button,[contenteditable]'));
16399
16399
  }
16400
16400
 
16401
16401
  function outerWidth(element) {
16402
- cov_1ytczr8q8v.f[36]++;
16403
- var styles = (cov_1ytczr8q8v.s[130]++, get(element));
16404
- cov_1ytczr8q8v.s[131]++;
16402
+ cov_zxsozhk5a.f[36]++;
16403
+ var styles = (cov_zxsozhk5a.s[130]++, get(element));
16404
+ cov_zxsozhk5a.s[131]++;
16405
16405
  return toInt(styles.width) + toInt(styles.paddingLeft) + toInt(styles.paddingRight) + toInt(styles.borderLeftWidth) + toInt(styles.borderRightWidth);
16406
16406
  }
16407
16407
 
16408
- var env = (cov_1ytczr8q8v.s[132]++, {
16409
- isWebKit: (cov_1ytczr8q8v.b[29][0]++, typeof document !== 'undefined') && (cov_1ytczr8q8v.b[29][1]++, 'WebkitAppearance' in document.documentElement.style),
16410
- supportsTouch: (cov_1ytczr8q8v.b[30][0]++, typeof window !== 'undefined') && ((cov_1ytczr8q8v.b[30][1]++, 'ontouchstart' in window) || (cov_1ytczr8q8v.b[30][2]++, window.DocumentTouch) && (cov_1ytczr8q8v.b[30][3]++, document instanceof window.DocumentTouch)),
16411
- supportsIePointer: (cov_1ytczr8q8v.b[31][0]++, typeof navigator !== 'undefined') && (cov_1ytczr8q8v.b[31][1]++, navigator.msMaxTouchPoints),
16412
- isChrome: (cov_1ytczr8q8v.b[32][0]++, typeof navigator !== 'undefined') && (cov_1ytczr8q8v.b[32][1]++, /Chrome/i.test((cov_1ytczr8q8v.b[33][0]++, navigator) && (cov_1ytczr8q8v.b[33][1]++, navigator.userAgent)))
16408
+ var env = (cov_zxsozhk5a.s[132]++, {
16409
+ isWebKit: (cov_zxsozhk5a.b[29][0]++, typeof document !== 'undefined') && (cov_zxsozhk5a.b[29][1]++, 'WebkitAppearance' in document.documentElement.style),
16410
+ supportsTouch: (cov_zxsozhk5a.b[30][0]++, typeof window !== 'undefined') && ((cov_zxsozhk5a.b[30][1]++, 'ontouchstart' in window) || (cov_zxsozhk5a.b[30][2]++, window.DocumentTouch) && (cov_zxsozhk5a.b[30][3]++, document instanceof window.DocumentTouch)),
16411
+ supportsIePointer: (cov_zxsozhk5a.b[31][0]++, typeof navigator !== 'undefined') && (cov_zxsozhk5a.b[31][1]++, navigator.msMaxTouchPoints),
16412
+ isChrome: (cov_zxsozhk5a.b[32][0]++, typeof navigator !== 'undefined') && (cov_zxsozhk5a.b[32][1]++, /Chrome/i.test((cov_zxsozhk5a.b[33][0]++, navigator) && (cov_zxsozhk5a.b[33][1]++, navigator.userAgent)))
16413
16413
  });
16414
- cov_1ytczr8q8v.s[133]++;
16414
+ cov_zxsozhk5a.s[133]++;
16415
16415
 
16416
16416
  var updateGeometry = function updateGeometry(i) {
16417
- cov_1ytczr8q8v.f[37]++;
16418
- var element = (cov_1ytczr8q8v.s[134]++, i.element);
16419
- var roundedScrollTop = (cov_1ytczr8q8v.s[135]++, Math.floor(element.scrollTop));
16420
- cov_1ytczr8q8v.s[136]++;
16417
+ cov_zxsozhk5a.f[37]++;
16418
+ var element = (cov_zxsozhk5a.s[134]++, i.element);
16419
+ var roundedScrollTop = (cov_zxsozhk5a.s[135]++, Math.floor(element.scrollTop));
16420
+ cov_zxsozhk5a.s[136]++;
16421
16421
  i.containerWidth = element.clientWidth;
16422
- cov_1ytczr8q8v.s[137]++;
16422
+ cov_zxsozhk5a.s[137]++;
16423
16423
  i.containerHeight = element.clientHeight;
16424
- cov_1ytczr8q8v.s[138]++;
16424
+ cov_zxsozhk5a.s[138]++;
16425
16425
  i.contentWidth = element.scrollWidth;
16426
- cov_1ytczr8q8v.s[139]++;
16426
+ cov_zxsozhk5a.s[139]++;
16427
16427
  i.contentHeight = element.scrollHeight;
16428
- cov_1ytczr8q8v.s[140]++;
16428
+ cov_zxsozhk5a.s[140]++;
16429
16429
 
16430
16430
  if (!element.contains(i.scrollbarXRail)) {
16431
- cov_1ytczr8q8v.b[34][0]++;
16432
- cov_1ytczr8q8v.s[141]++;
16431
+ cov_zxsozhk5a.b[34][0]++;
16432
+ cov_zxsozhk5a.s[141]++;
16433
16433
  // clean up and append
16434
16434
  queryChildren(element, cls.element.rail('x')).forEach(function (el) {
16435
- cov_1ytczr8q8v.f[38]++;
16436
- cov_1ytczr8q8v.s[142]++;
16435
+ cov_zxsozhk5a.f[38]++;
16436
+ cov_zxsozhk5a.s[142]++;
16437
16437
  return remove(el);
16438
16438
  });
16439
- cov_1ytczr8q8v.s[143]++;
16439
+ cov_zxsozhk5a.s[143]++;
16440
16440
  element.appendChild(i.scrollbarXRail);
16441
16441
  } else {
16442
- cov_1ytczr8q8v.b[34][1]++;
16442
+ cov_zxsozhk5a.b[34][1]++;
16443
16443
  }
16444
16444
 
16445
- cov_1ytczr8q8v.s[144]++;
16445
+ cov_zxsozhk5a.s[144]++;
16446
16446
 
16447
16447
  if (!element.contains(i.scrollbarYRail)) {
16448
- cov_1ytczr8q8v.b[35][0]++;
16449
- cov_1ytczr8q8v.s[145]++;
16448
+ cov_zxsozhk5a.b[35][0]++;
16449
+ cov_zxsozhk5a.s[145]++;
16450
16450
  // clean up and append
16451
16451
  queryChildren(element, cls.element.rail('y')).forEach(function (el) {
16452
- cov_1ytczr8q8v.f[39]++;
16453
- cov_1ytczr8q8v.s[146]++;
16452
+ cov_zxsozhk5a.f[39]++;
16453
+ cov_zxsozhk5a.s[146]++;
16454
16454
  return remove(el);
16455
16455
  });
16456
- cov_1ytczr8q8v.s[147]++;
16456
+ cov_zxsozhk5a.s[147]++;
16457
16457
  element.appendChild(i.scrollbarYRail);
16458
16458
  } else {
16459
- cov_1ytczr8q8v.b[35][1]++;
16459
+ cov_zxsozhk5a.b[35][1]++;
16460
16460
  }
16461
16461
 
16462
- cov_1ytczr8q8v.s[148]++;
16462
+ cov_zxsozhk5a.s[148]++;
16463
16463
 
16464
- if ((cov_1ytczr8q8v.b[37][0]++, !i.settings.suppressScrollX) && (cov_1ytczr8q8v.b[37][1]++, i.containerWidth + i.settings.scrollXMarginOffset < i.contentWidth)) {
16465
- cov_1ytczr8q8v.b[36][0]++;
16466
- cov_1ytczr8q8v.s[149]++;
16464
+ if ((cov_zxsozhk5a.b[37][0]++, !i.settings.suppressScrollX) && (cov_zxsozhk5a.b[37][1]++, i.containerWidth + i.settings.scrollXMarginOffset < i.contentWidth)) {
16465
+ cov_zxsozhk5a.b[36][0]++;
16466
+ cov_zxsozhk5a.s[149]++;
16467
16467
  i.scrollbarXActive = true;
16468
- cov_1ytczr8q8v.s[150]++;
16468
+ cov_zxsozhk5a.s[150]++;
16469
16469
  i.railXWidth = i.containerWidth - i.railXMarginWidth;
16470
- cov_1ytczr8q8v.s[151]++;
16470
+ cov_zxsozhk5a.s[151]++;
16471
16471
  i.railXRatio = i.containerWidth / i.railXWidth;
16472
- cov_1ytczr8q8v.s[152]++;
16472
+ cov_zxsozhk5a.s[152]++;
16473
16473
  i.scrollbarXWidth = getThumbSize(i, toInt(i.railXWidth * i.containerWidth / i.contentWidth));
16474
- cov_1ytczr8q8v.s[153]++;
16474
+ cov_zxsozhk5a.s[153]++;
16475
16475
  i.scrollbarXLeft = toInt((i.negativeScrollAdjustment + element.scrollLeft) * (i.railXWidth - i.scrollbarXWidth) / (i.contentWidth - i.containerWidth));
16476
16476
  } else {
16477
- cov_1ytczr8q8v.b[36][1]++;
16478
- cov_1ytczr8q8v.s[154]++;
16477
+ cov_zxsozhk5a.b[36][1]++;
16478
+ cov_zxsozhk5a.s[154]++;
16479
16479
  i.scrollbarXActive = false;
16480
16480
  }
16481
16481
 
16482
- cov_1ytczr8q8v.s[155]++;
16482
+ cov_zxsozhk5a.s[155]++;
16483
16483
 
16484
- if ((cov_1ytczr8q8v.b[39][0]++, !i.settings.suppressScrollY) && (cov_1ytczr8q8v.b[39][1]++, i.containerHeight + i.settings.scrollYMarginOffset < i.contentHeight)) {
16485
- cov_1ytczr8q8v.b[38][0]++;
16486
- cov_1ytczr8q8v.s[156]++;
16484
+ if ((cov_zxsozhk5a.b[39][0]++, !i.settings.suppressScrollY) && (cov_zxsozhk5a.b[39][1]++, i.containerHeight + i.settings.scrollYMarginOffset < i.contentHeight)) {
16485
+ cov_zxsozhk5a.b[38][0]++;
16486
+ cov_zxsozhk5a.s[156]++;
16487
16487
  i.scrollbarYActive = true;
16488
- cov_1ytczr8q8v.s[157]++;
16488
+ cov_zxsozhk5a.s[157]++;
16489
16489
  i.railYHeight = i.containerHeight - i.railYMarginHeight;
16490
- cov_1ytczr8q8v.s[158]++;
16490
+ cov_zxsozhk5a.s[158]++;
16491
16491
  i.railYRatio = i.containerHeight / i.railYHeight;
16492
- cov_1ytczr8q8v.s[159]++;
16492
+ cov_zxsozhk5a.s[159]++;
16493
16493
  i.scrollbarYHeight = getThumbSize(i, toInt(i.railYHeight * i.containerHeight / i.contentHeight));
16494
- cov_1ytczr8q8v.s[160]++;
16494
+ cov_zxsozhk5a.s[160]++;
16495
16495
  i.scrollbarYTop = toInt(roundedScrollTop * (i.railYHeight - i.scrollbarYHeight) / (i.contentHeight - i.containerHeight));
16496
16496
  } else {
16497
- cov_1ytczr8q8v.b[38][1]++;
16498
- cov_1ytczr8q8v.s[161]++;
16497
+ cov_zxsozhk5a.b[38][1]++;
16498
+ cov_zxsozhk5a.s[161]++;
16499
16499
  i.scrollbarYActive = false;
16500
16500
  }
16501
16501
 
16502
- cov_1ytczr8q8v.s[162]++;
16502
+ cov_zxsozhk5a.s[162]++;
16503
16503
 
16504
16504
  if (i.scrollbarXLeft >= i.railXWidth - i.scrollbarXWidth) {
16505
- cov_1ytczr8q8v.b[40][0]++;
16506
- cov_1ytczr8q8v.s[163]++;
16505
+ cov_zxsozhk5a.b[40][0]++;
16506
+ cov_zxsozhk5a.s[163]++;
16507
16507
  i.scrollbarXLeft = i.railXWidth - i.scrollbarXWidth;
16508
16508
  } else {
16509
- cov_1ytczr8q8v.b[40][1]++;
16509
+ cov_zxsozhk5a.b[40][1]++;
16510
16510
  }
16511
16511
 
16512
- cov_1ytczr8q8v.s[164]++;
16512
+ cov_zxsozhk5a.s[164]++;
16513
16513
 
16514
16514
  if (i.scrollbarYTop >= i.railYHeight - i.scrollbarYHeight) {
16515
- cov_1ytczr8q8v.b[41][0]++;
16516
- cov_1ytczr8q8v.s[165]++;
16515
+ cov_zxsozhk5a.b[41][0]++;
16516
+ cov_zxsozhk5a.s[165]++;
16517
16517
  i.scrollbarYTop = i.railYHeight - i.scrollbarYHeight;
16518
16518
  } else {
16519
- cov_1ytczr8q8v.b[41][1]++;
16519
+ cov_zxsozhk5a.b[41][1]++;
16520
16520
  }
16521
16521
 
16522
- cov_1ytczr8q8v.s[166]++;
16522
+ cov_zxsozhk5a.s[166]++;
16523
16523
  updateCss(element, i);
16524
- cov_1ytczr8q8v.s[167]++;
16524
+ cov_zxsozhk5a.s[167]++;
16525
16525
 
16526
16526
  if (i.scrollbarXActive) {
16527
- cov_1ytczr8q8v.b[42][0]++;
16528
- cov_1ytczr8q8v.s[168]++;
16527
+ cov_zxsozhk5a.b[42][0]++;
16528
+ cov_zxsozhk5a.s[168]++;
16529
16529
  element.classList.add(cls.state.active('x'));
16530
16530
  } else {
16531
- cov_1ytczr8q8v.b[42][1]++;
16532
- cov_1ytczr8q8v.s[169]++;
16531
+ cov_zxsozhk5a.b[42][1]++;
16532
+ cov_zxsozhk5a.s[169]++;
16533
16533
  element.classList.remove(cls.state.active('x'));
16534
- cov_1ytczr8q8v.s[170]++;
16534
+ cov_zxsozhk5a.s[170]++;
16535
16535
  i.scrollbarXWidth = 0;
16536
- cov_1ytczr8q8v.s[171]++;
16536
+ cov_zxsozhk5a.s[171]++;
16537
16537
  i.scrollbarXLeft = 0;
16538
- cov_1ytczr8q8v.s[172]++;
16538
+ cov_zxsozhk5a.s[172]++;
16539
16539
  element.scrollLeft = 0;
16540
16540
  }
16541
16541
 
16542
- cov_1ytczr8q8v.s[173]++;
16542
+ cov_zxsozhk5a.s[173]++;
16543
16543
 
16544
16544
  if (i.scrollbarYActive) {
16545
- cov_1ytczr8q8v.b[43][0]++;
16546
- cov_1ytczr8q8v.s[174]++;
16545
+ cov_zxsozhk5a.b[43][0]++;
16546
+ cov_zxsozhk5a.s[174]++;
16547
16547
  element.classList.add(cls.state.active('y'));
16548
16548
  } else {
16549
- cov_1ytczr8q8v.b[43][1]++;
16550
- cov_1ytczr8q8v.s[175]++;
16549
+ cov_zxsozhk5a.b[43][1]++;
16550
+ cov_zxsozhk5a.s[175]++;
16551
16551
  element.classList.remove(cls.state.active('y'));
16552
- cov_1ytczr8q8v.s[176]++;
16552
+ cov_zxsozhk5a.s[176]++;
16553
16553
  i.scrollbarYHeight = 0;
16554
- cov_1ytczr8q8v.s[177]++;
16554
+ cov_zxsozhk5a.s[177]++;
16555
16555
  i.scrollbarYTop = 0;
16556
- cov_1ytczr8q8v.s[178]++;
16556
+ cov_zxsozhk5a.s[178]++;
16557
16557
  element.scrollTop = 0;
16558
16558
  }
16559
16559
  };
16560
16560
 
16561
16561
  function getThumbSize(i, thumbSize) {
16562
- cov_1ytczr8q8v.f[40]++;
16563
- cov_1ytczr8q8v.s[179]++;
16562
+ cov_zxsozhk5a.f[40]++;
16563
+ cov_zxsozhk5a.s[179]++;
16564
16564
 
16565
16565
  if (i.settings.minScrollbarLength) {
16566
- cov_1ytczr8q8v.b[44][0]++;
16567
- cov_1ytczr8q8v.s[180]++;
16566
+ cov_zxsozhk5a.b[44][0]++;
16567
+ cov_zxsozhk5a.s[180]++;
16568
16568
  thumbSize = Math.max(thumbSize, i.settings.minScrollbarLength);
16569
16569
  } else {
16570
- cov_1ytczr8q8v.b[44][1]++;
16570
+ cov_zxsozhk5a.b[44][1]++;
16571
16571
  }
16572
16572
 
16573
- cov_1ytczr8q8v.s[181]++;
16573
+ cov_zxsozhk5a.s[181]++;
16574
16574
 
16575
16575
  if (i.settings.maxScrollbarLength) {
16576
- cov_1ytczr8q8v.b[45][0]++;
16577
- cov_1ytczr8q8v.s[182]++;
16576
+ cov_zxsozhk5a.b[45][0]++;
16577
+ cov_zxsozhk5a.s[182]++;
16578
16578
  thumbSize = Math.min(thumbSize, i.settings.maxScrollbarLength);
16579
16579
  } else {
16580
- cov_1ytczr8q8v.b[45][1]++;
16580
+ cov_zxsozhk5a.b[45][1]++;
16581
16581
  }
16582
16582
 
16583
- cov_1ytczr8q8v.s[183]++;
16583
+ cov_zxsozhk5a.s[183]++;
16584
16584
  return thumbSize;
16585
16585
  }
16586
16586
 
16587
16587
  function updateCss(element, i) {
16588
- cov_1ytczr8q8v.f[41]++;
16589
- var xRailOffset = (cov_1ytczr8q8v.s[184]++, {
16588
+ cov_zxsozhk5a.f[41]++;
16589
+ var xRailOffset = (cov_zxsozhk5a.s[184]++, {
16590
16590
  width: i.railXWidth
16591
16591
  });
16592
- var roundedScrollTop = (cov_1ytczr8q8v.s[185]++, Math.floor(element.scrollTop));
16593
- cov_1ytczr8q8v.s[186]++;
16592
+ var roundedScrollTop = (cov_zxsozhk5a.s[185]++, Math.floor(element.scrollTop));
16593
+ cov_zxsozhk5a.s[186]++;
16594
16594
 
16595
16595
  if (i.isRtl) {
16596
- cov_1ytczr8q8v.b[46][0]++;
16597
- cov_1ytczr8q8v.s[187]++;
16596
+ cov_zxsozhk5a.b[46][0]++;
16597
+ cov_zxsozhk5a.s[187]++;
16598
16598
  xRailOffset.left = i.negativeScrollAdjustment + element.scrollLeft + i.containerWidth - i.contentWidth;
16599
16599
  } else {
16600
- cov_1ytczr8q8v.b[46][1]++;
16601
- cov_1ytczr8q8v.s[188]++;
16600
+ cov_zxsozhk5a.b[46][1]++;
16601
+ cov_zxsozhk5a.s[188]++;
16602
16602
  xRailOffset.left = element.scrollLeft;
16603
16603
  }
16604
16604
 
16605
- cov_1ytczr8q8v.s[189]++;
16605
+ cov_zxsozhk5a.s[189]++;
16606
16606
 
16607
16607
  if (i.isScrollbarXUsingBottom) {
16608
- cov_1ytczr8q8v.b[47][0]++;
16609
- cov_1ytczr8q8v.s[190]++;
16608
+ cov_zxsozhk5a.b[47][0]++;
16609
+ cov_zxsozhk5a.s[190]++;
16610
16610
  xRailOffset.bottom = i.scrollbarXBottom - roundedScrollTop;
16611
16611
  } else {
16612
- cov_1ytczr8q8v.b[47][1]++;
16613
- cov_1ytczr8q8v.s[191]++;
16612
+ cov_zxsozhk5a.b[47][1]++;
16613
+ cov_zxsozhk5a.s[191]++;
16614
16614
  xRailOffset.top = i.scrollbarXTop + roundedScrollTop;
16615
16615
  }
16616
16616
 
16617
- cov_1ytczr8q8v.s[192]++;
16617
+ cov_zxsozhk5a.s[192]++;
16618
16618
  set(i.scrollbarXRail, xRailOffset);
16619
- var yRailOffset = (cov_1ytczr8q8v.s[193]++, {
16619
+ var yRailOffset = (cov_zxsozhk5a.s[193]++, {
16620
16620
  top: roundedScrollTop,
16621
16621
  height: i.railYHeight
16622
16622
  });
16623
- cov_1ytczr8q8v.s[194]++;
16623
+ cov_zxsozhk5a.s[194]++;
16624
16624
 
16625
16625
  if (i.isScrollbarYUsingRight) {
16626
- cov_1ytczr8q8v.b[48][0]++;
16627
- cov_1ytczr8q8v.s[195]++;
16626
+ cov_zxsozhk5a.b[48][0]++;
16627
+ cov_zxsozhk5a.s[195]++;
16628
16628
 
16629
16629
  if (i.isRtl) {
16630
- cov_1ytczr8q8v.b[49][0]++;
16631
- cov_1ytczr8q8v.s[196]++;
16630
+ cov_zxsozhk5a.b[49][0]++;
16631
+ cov_zxsozhk5a.s[196]++;
16632
16632
  yRailOffset.right = i.contentWidth - (i.negativeScrollAdjustment + element.scrollLeft) - i.scrollbarYRight - i.scrollbarYOuterWidth;
16633
16633
  } else {
16634
- cov_1ytczr8q8v.b[49][1]++;
16635
- cov_1ytczr8q8v.s[197]++;
16634
+ cov_zxsozhk5a.b[49][1]++;
16635
+ cov_zxsozhk5a.s[197]++;
16636
16636
  yRailOffset.right = i.scrollbarYRight - element.scrollLeft;
16637
16637
  }
16638
16638
  } else {
16639
- cov_1ytczr8q8v.b[48][1]++;
16640
- cov_1ytczr8q8v.s[198]++;
16639
+ cov_zxsozhk5a.b[48][1]++;
16640
+ cov_zxsozhk5a.s[198]++;
16641
16641
 
16642
16642
  if (i.isRtl) {
16643
- cov_1ytczr8q8v.b[50][0]++;
16644
- cov_1ytczr8q8v.s[199]++;
16643
+ cov_zxsozhk5a.b[50][0]++;
16644
+ cov_zxsozhk5a.s[199]++;
16645
16645
  yRailOffset.left = i.negativeScrollAdjustment + element.scrollLeft + i.containerWidth * 2 - i.contentWidth - i.scrollbarYLeft - i.scrollbarYOuterWidth;
16646
16646
  } else {
16647
- cov_1ytczr8q8v.b[50][1]++;
16648
- cov_1ytczr8q8v.s[200]++;
16647
+ cov_zxsozhk5a.b[50][1]++;
16648
+ cov_zxsozhk5a.s[200]++;
16649
16649
  yRailOffset.left = i.scrollbarYLeft + element.scrollLeft;
16650
16650
  }
16651
16651
  }
16652
16652
 
16653
- cov_1ytczr8q8v.s[201]++;
16653
+ cov_zxsozhk5a.s[201]++;
16654
16654
  set(i.scrollbarYRail, yRailOffset);
16655
- cov_1ytczr8q8v.s[202]++;
16655
+ cov_zxsozhk5a.s[202]++;
16656
16656
  set(i.scrollbarX, {
16657
16657
  left: i.scrollbarXLeft,
16658
16658
  width: i.scrollbarXWidth - i.railBorderXWidth
16659
16659
  });
16660
- cov_1ytczr8q8v.s[203]++;
16660
+ cov_zxsozhk5a.s[203]++;
16661
16661
  set(i.scrollbarY, {
16662
16662
  top: i.scrollbarYTop,
16663
16663
  height: i.scrollbarYHeight - i.railBorderYWidth
16664
16664
  });
16665
16665
  }
16666
16666
 
16667
- cov_1ytczr8q8v.s[204]++;
16667
+ cov_zxsozhk5a.s[204]++;
16668
16668
 
16669
16669
  var clickRail = function clickRail(i) {
16670
- cov_1ytczr8q8v.f[42]++;
16671
- cov_1ytczr8q8v.s[205]++;
16670
+ cov_zxsozhk5a.f[42]++;
16671
+ cov_zxsozhk5a.s[205]++;
16672
16672
  i.event.bind(i.scrollbarY, 'mousedown', function (e) {
16673
- cov_1ytczr8q8v.f[43]++;
16674
- cov_1ytczr8q8v.s[206]++;
16673
+ cov_zxsozhk5a.f[43]++;
16674
+ cov_zxsozhk5a.s[206]++;
16675
16675
  return e.stopPropagation();
16676
16676
  });
16677
- cov_1ytczr8q8v.s[207]++;
16677
+ cov_zxsozhk5a.s[207]++;
16678
16678
  i.event.bind(i.scrollbarYRail, 'mousedown', function (e) {
16679
- cov_1ytczr8q8v.f[44]++;
16680
- var positionTop = (cov_1ytczr8q8v.s[208]++, e.pageY - window.pageYOffset - i.scrollbarYRail.getBoundingClientRect().top);
16681
- var direction = (cov_1ytczr8q8v.s[209]++, positionTop > i.scrollbarYTop ? (cov_1ytczr8q8v.b[51][0]++, 1) : (cov_1ytczr8q8v.b[51][1]++, -1));
16682
- cov_1ytczr8q8v.s[210]++;
16679
+ cov_zxsozhk5a.f[44]++;
16680
+ var positionTop = (cov_zxsozhk5a.s[208]++, e.pageY - window.pageYOffset - i.scrollbarYRail.getBoundingClientRect().top);
16681
+ var direction = (cov_zxsozhk5a.s[209]++, positionTop > i.scrollbarYTop ? (cov_zxsozhk5a.b[51][0]++, 1) : (cov_zxsozhk5a.b[51][1]++, -1));
16682
+ cov_zxsozhk5a.s[210]++;
16683
16683
  i.element.scrollTop += direction * i.containerHeight;
16684
- cov_1ytczr8q8v.s[211]++;
16684
+ cov_zxsozhk5a.s[211]++;
16685
16685
  updateGeometry(i);
16686
- cov_1ytczr8q8v.s[212]++;
16686
+ cov_zxsozhk5a.s[212]++;
16687
16687
  e.stopPropagation();
16688
16688
  });
16689
- cov_1ytczr8q8v.s[213]++;
16689
+ cov_zxsozhk5a.s[213]++;
16690
16690
  i.event.bind(i.scrollbarX, 'mousedown', function (e) {
16691
- cov_1ytczr8q8v.f[45]++;
16692
- cov_1ytczr8q8v.s[214]++;
16691
+ cov_zxsozhk5a.f[45]++;
16692
+ cov_zxsozhk5a.s[214]++;
16693
16693
  return e.stopPropagation();
16694
16694
  });
16695
- cov_1ytczr8q8v.s[215]++;
16695
+ cov_zxsozhk5a.s[215]++;
16696
16696
  i.event.bind(i.scrollbarXRail, 'mousedown', function (e) {
16697
- cov_1ytczr8q8v.f[46]++;
16698
- var positionLeft = (cov_1ytczr8q8v.s[216]++, e.pageX - window.pageXOffset - i.scrollbarXRail.getBoundingClientRect().left);
16699
- var direction = (cov_1ytczr8q8v.s[217]++, positionLeft > i.scrollbarXLeft ? (cov_1ytczr8q8v.b[52][0]++, 1) : (cov_1ytczr8q8v.b[52][1]++, -1));
16700
- cov_1ytczr8q8v.s[218]++;
16697
+ cov_zxsozhk5a.f[46]++;
16698
+ var positionLeft = (cov_zxsozhk5a.s[216]++, e.pageX - window.pageXOffset - i.scrollbarXRail.getBoundingClientRect().left);
16699
+ var direction = (cov_zxsozhk5a.s[217]++, positionLeft > i.scrollbarXLeft ? (cov_zxsozhk5a.b[52][0]++, 1) : (cov_zxsozhk5a.b[52][1]++, -1));
16700
+ cov_zxsozhk5a.s[218]++;
16701
16701
  i.element.scrollLeft += direction * i.containerWidth;
16702
- cov_1ytczr8q8v.s[219]++;
16702
+ cov_zxsozhk5a.s[219]++;
16703
16703
  updateGeometry(i);
16704
- cov_1ytczr8q8v.s[220]++;
16704
+ cov_zxsozhk5a.s[220]++;
16705
16705
  e.stopPropagation();
16706
16706
  });
16707
16707
  };
16708
16708
 
16709
- cov_1ytczr8q8v.s[221]++;
16709
+ cov_zxsozhk5a.s[221]++;
16710
16710
 
16711
16711
  var dragThumb = function dragThumb(i) {
16712
- cov_1ytczr8q8v.f[47]++;
16713
- cov_1ytczr8q8v.s[222]++;
16712
+ cov_zxsozhk5a.f[47]++;
16713
+ cov_zxsozhk5a.s[222]++;
16714
16714
  bindMouseScrollHandler(i, ['containerWidth', 'contentWidth', 'pageX', 'railXWidth', 'scrollbarX', 'scrollbarXWidth', 'scrollLeft', 'x', 'scrollbarXRail']);
16715
- cov_1ytczr8q8v.s[223]++;
16715
+ cov_zxsozhk5a.s[223]++;
16716
16716
  bindMouseScrollHandler(i, ['containerHeight', 'contentHeight', 'pageY', 'railYHeight', 'scrollbarY', 'scrollbarYHeight', 'scrollTop', 'y', 'scrollbarYRail']);
16717
16717
  };
16718
16718
 
16719
16719
  function bindMouseScrollHandler(i, ref) {
16720
- cov_1ytczr8q8v.f[48]++;
16721
- var containerHeight = (cov_1ytczr8q8v.s[224]++, ref[0]);
16722
- var contentHeight = (cov_1ytczr8q8v.s[225]++, ref[1]);
16723
- var pageY = (cov_1ytczr8q8v.s[226]++, ref[2]);
16724
- var railYHeight = (cov_1ytczr8q8v.s[227]++, ref[3]);
16725
- var scrollbarY = (cov_1ytczr8q8v.s[228]++, ref[4]);
16726
- var scrollbarYHeight = (cov_1ytczr8q8v.s[229]++, ref[5]);
16727
- var scrollTop = (cov_1ytczr8q8v.s[230]++, ref[6]);
16728
- var y = (cov_1ytczr8q8v.s[231]++, ref[7]);
16729
- var scrollbarYRail = (cov_1ytczr8q8v.s[232]++, ref[8]);
16730
- var element = (cov_1ytczr8q8v.s[233]++, i.element);
16731
- var startingScrollTop = (cov_1ytczr8q8v.s[234]++, null);
16732
- var startingMousePageY = (cov_1ytczr8q8v.s[235]++, null);
16733
- var scrollBy = (cov_1ytczr8q8v.s[236]++, null);
16720
+ cov_zxsozhk5a.f[48]++;
16721
+ var containerHeight = (cov_zxsozhk5a.s[224]++, ref[0]);
16722
+ var contentHeight = (cov_zxsozhk5a.s[225]++, ref[1]);
16723
+ var pageY = (cov_zxsozhk5a.s[226]++, ref[2]);
16724
+ var railYHeight = (cov_zxsozhk5a.s[227]++, ref[3]);
16725
+ var scrollbarY = (cov_zxsozhk5a.s[228]++, ref[4]);
16726
+ var scrollbarYHeight = (cov_zxsozhk5a.s[229]++, ref[5]);
16727
+ var scrollTop = (cov_zxsozhk5a.s[230]++, ref[6]);
16728
+ var y = (cov_zxsozhk5a.s[231]++, ref[7]);
16729
+ var scrollbarYRail = (cov_zxsozhk5a.s[232]++, ref[8]);
16730
+ var element = (cov_zxsozhk5a.s[233]++, i.element);
16731
+ var startingScrollTop = (cov_zxsozhk5a.s[234]++, null);
16732
+ var startingMousePageY = (cov_zxsozhk5a.s[235]++, null);
16733
+ var scrollBy = (cov_zxsozhk5a.s[236]++, null);
16734
16734
 
16735
16735
  function mouseMoveHandler(e) {
16736
- cov_1ytczr8q8v.f[49]++;
16737
- cov_1ytczr8q8v.s[237]++;
16736
+ cov_zxsozhk5a.f[49]++;
16737
+ cov_zxsozhk5a.s[237]++;
16738
16738
  element[scrollTop] = startingScrollTop + scrollBy * (e[pageY] - startingMousePageY);
16739
- cov_1ytczr8q8v.s[238]++;
16739
+ cov_zxsozhk5a.s[238]++;
16740
16740
  addScrollingClass(i, y);
16741
- cov_1ytczr8q8v.s[239]++;
16741
+ cov_zxsozhk5a.s[239]++;
16742
16742
  updateGeometry(i);
16743
- cov_1ytczr8q8v.s[240]++;
16743
+ cov_zxsozhk5a.s[240]++;
16744
16744
  e.stopPropagation();
16745
- cov_1ytczr8q8v.s[241]++;
16745
+ cov_zxsozhk5a.s[241]++;
16746
16746
  e.preventDefault();
16747
16747
  }
16748
16748
 
16749
16749
  function mouseUpHandler() {
16750
- cov_1ytczr8q8v.f[50]++;
16751
- cov_1ytczr8q8v.s[242]++;
16750
+ cov_zxsozhk5a.f[50]++;
16751
+ cov_zxsozhk5a.s[242]++;
16752
16752
  removeScrollingClass(i, y);
16753
- cov_1ytczr8q8v.s[243]++;
16753
+ cov_zxsozhk5a.s[243]++;
16754
16754
  i[scrollbarYRail].classList.remove(cls.state.clicking);
16755
- cov_1ytczr8q8v.s[244]++;
16755
+ cov_zxsozhk5a.s[244]++;
16756
16756
  i.event.unbind(i.ownerDocument, 'mousemove', mouseMoveHandler);
16757
16757
  }
16758
16758
 
16759
- cov_1ytczr8q8v.s[245]++;
16759
+ cov_zxsozhk5a.s[245]++;
16760
16760
  i.event.bind(i[scrollbarY], 'mousedown', function (e) {
16761
- cov_1ytczr8q8v.f[51]++;
16762
- cov_1ytczr8q8v.s[246]++;
16761
+ cov_zxsozhk5a.f[51]++;
16762
+ cov_zxsozhk5a.s[246]++;
16763
16763
  startingScrollTop = element[scrollTop];
16764
- cov_1ytczr8q8v.s[247]++;
16764
+ cov_zxsozhk5a.s[247]++;
16765
16765
  startingMousePageY = e[pageY];
16766
- cov_1ytczr8q8v.s[248]++;
16766
+ cov_zxsozhk5a.s[248]++;
16767
16767
  scrollBy = (i[contentHeight] - i[containerHeight]) / (i[railYHeight] - i[scrollbarYHeight]);
16768
- cov_1ytczr8q8v.s[249]++;
16768
+ cov_zxsozhk5a.s[249]++;
16769
16769
  i.event.bind(i.ownerDocument, 'mousemove', mouseMoveHandler);
16770
- cov_1ytczr8q8v.s[250]++;
16770
+ cov_zxsozhk5a.s[250]++;
16771
16771
  i.event.once(i.ownerDocument, 'mouseup', mouseUpHandler);
16772
- cov_1ytczr8q8v.s[251]++;
16772
+ cov_zxsozhk5a.s[251]++;
16773
16773
  i[scrollbarYRail].classList.add(cls.state.clicking);
16774
- cov_1ytczr8q8v.s[252]++;
16774
+ cov_zxsozhk5a.s[252]++;
16775
16775
  e.stopPropagation();
16776
- cov_1ytczr8q8v.s[253]++;
16776
+ cov_zxsozhk5a.s[253]++;
16777
16777
  e.preventDefault();
16778
16778
  });
16779
16779
  }
16780
16780
 
16781
- cov_1ytczr8q8v.s[254]++;
16781
+ cov_zxsozhk5a.s[254]++;
16782
16782
 
16783
16783
  var keyboard = function keyboard(i) {
16784
- cov_1ytczr8q8v.f[52]++;
16785
- var element = (cov_1ytczr8q8v.s[255]++, i.element);
16786
- cov_1ytczr8q8v.s[256]++;
16784
+ cov_zxsozhk5a.f[52]++;
16785
+ var element = (cov_zxsozhk5a.s[255]++, i.element);
16786
+ cov_zxsozhk5a.s[256]++;
16787
16787
 
16788
16788
  var elementHovered = function elementHovered() {
16789
- cov_1ytczr8q8v.f[53]++;
16790
- cov_1ytczr8q8v.s[257]++;
16789
+ cov_zxsozhk5a.f[53]++;
16790
+ cov_zxsozhk5a.s[257]++;
16791
16791
  return matches(element, ':hover');
16792
16792
  };
16793
16793
 
16794
- cov_1ytczr8q8v.s[258]++;
16794
+ cov_zxsozhk5a.s[258]++;
16795
16795
 
16796
16796
  var scrollbarFocused = function scrollbarFocused() {
16797
- cov_1ytczr8q8v.f[54]++;
16798
- cov_1ytczr8q8v.s[259]++;
16799
- return (cov_1ytczr8q8v.b[53][0]++, matches(i.scrollbarX, ':focus')) || (cov_1ytczr8q8v.b[53][1]++, matches(i.scrollbarY, ':focus'));
16797
+ cov_zxsozhk5a.f[54]++;
16798
+ cov_zxsozhk5a.s[259]++;
16799
+ return (cov_zxsozhk5a.b[53][0]++, matches(i.scrollbarX, ':focus')) || (cov_zxsozhk5a.b[53][1]++, matches(i.scrollbarY, ':focus'));
16800
16800
  };
16801
16801
 
16802
16802
  function shouldPreventDefault(deltaX, deltaY) {
16803
- cov_1ytczr8q8v.f[55]++;
16804
- var scrollTop = (cov_1ytczr8q8v.s[260]++, Math.floor(element.scrollTop));
16805
- cov_1ytczr8q8v.s[261]++;
16803
+ cov_zxsozhk5a.f[55]++;
16804
+ var scrollTop = (cov_zxsozhk5a.s[260]++, Math.floor(element.scrollTop));
16805
+ cov_zxsozhk5a.s[261]++;
16806
16806
 
16807
16807
  if (deltaX === 0) {
16808
- cov_1ytczr8q8v.b[54][0]++;
16809
- cov_1ytczr8q8v.s[262]++;
16808
+ cov_zxsozhk5a.b[54][0]++;
16809
+ cov_zxsozhk5a.s[262]++;
16810
16810
 
16811
16811
  if (!i.scrollbarYActive) {
16812
- cov_1ytczr8q8v.b[55][0]++;
16813
- cov_1ytczr8q8v.s[263]++;
16812
+ cov_zxsozhk5a.b[55][0]++;
16813
+ cov_zxsozhk5a.s[263]++;
16814
16814
  return false;
16815
16815
  } else {
16816
- cov_1ytczr8q8v.b[55][1]++;
16816
+ cov_zxsozhk5a.b[55][1]++;
16817
16817
  }
16818
16818
 
16819
- cov_1ytczr8q8v.s[264]++;
16819
+ cov_zxsozhk5a.s[264]++;
16820
16820
 
16821
- if ((cov_1ytczr8q8v.b[57][0]++, scrollTop === 0) && (cov_1ytczr8q8v.b[57][1]++, deltaY > 0) || (cov_1ytczr8q8v.b[57][2]++, scrollTop >= i.contentHeight - i.containerHeight) && (cov_1ytczr8q8v.b[57][3]++, deltaY < 0)) {
16822
- cov_1ytczr8q8v.b[56][0]++;
16823
- cov_1ytczr8q8v.s[265]++;
16821
+ if ((cov_zxsozhk5a.b[57][0]++, scrollTop === 0) && (cov_zxsozhk5a.b[57][1]++, deltaY > 0) || (cov_zxsozhk5a.b[57][2]++, scrollTop >= i.contentHeight - i.containerHeight) && (cov_zxsozhk5a.b[57][3]++, deltaY < 0)) {
16822
+ cov_zxsozhk5a.b[56][0]++;
16823
+ cov_zxsozhk5a.s[265]++;
16824
16824
  return !i.settings.wheelPropagation;
16825
16825
  } else {
16826
- cov_1ytczr8q8v.b[56][1]++;
16826
+ cov_zxsozhk5a.b[56][1]++;
16827
16827
  }
16828
16828
  } else {
16829
- cov_1ytczr8q8v.b[54][1]++;
16829
+ cov_zxsozhk5a.b[54][1]++;
16830
16830
  }
16831
16831
 
16832
- var scrollLeft = (cov_1ytczr8q8v.s[266]++, element.scrollLeft);
16833
- cov_1ytczr8q8v.s[267]++;
16832
+ var scrollLeft = (cov_zxsozhk5a.s[266]++, element.scrollLeft);
16833
+ cov_zxsozhk5a.s[267]++;
16834
16834
 
16835
16835
  if (deltaY === 0) {
16836
- cov_1ytczr8q8v.b[58][0]++;
16837
- cov_1ytczr8q8v.s[268]++;
16836
+ cov_zxsozhk5a.b[58][0]++;
16837
+ cov_zxsozhk5a.s[268]++;
16838
16838
 
16839
16839
  if (!i.scrollbarXActive) {
16840
- cov_1ytczr8q8v.b[59][0]++;
16841
- cov_1ytczr8q8v.s[269]++;
16840
+ cov_zxsozhk5a.b[59][0]++;
16841
+ cov_zxsozhk5a.s[269]++;
16842
16842
  return false;
16843
16843
  } else {
16844
- cov_1ytczr8q8v.b[59][1]++;
16844
+ cov_zxsozhk5a.b[59][1]++;
16845
16845
  }
16846
16846
 
16847
- cov_1ytczr8q8v.s[270]++;
16847
+ cov_zxsozhk5a.s[270]++;
16848
16848
 
16849
- if ((cov_1ytczr8q8v.b[61][0]++, scrollLeft === 0) && (cov_1ytczr8q8v.b[61][1]++, deltaX < 0) || (cov_1ytczr8q8v.b[61][2]++, scrollLeft >= i.contentWidth - i.containerWidth) && (cov_1ytczr8q8v.b[61][3]++, deltaX > 0)) {
16850
- cov_1ytczr8q8v.b[60][0]++;
16851
- cov_1ytczr8q8v.s[271]++;
16849
+ if ((cov_zxsozhk5a.b[61][0]++, scrollLeft === 0) && (cov_zxsozhk5a.b[61][1]++, deltaX < 0) || (cov_zxsozhk5a.b[61][2]++, scrollLeft >= i.contentWidth - i.containerWidth) && (cov_zxsozhk5a.b[61][3]++, deltaX > 0)) {
16850
+ cov_zxsozhk5a.b[60][0]++;
16851
+ cov_zxsozhk5a.s[271]++;
16852
16852
  return !i.settings.wheelPropagation;
16853
16853
  } else {
16854
- cov_1ytczr8q8v.b[60][1]++;
16854
+ cov_zxsozhk5a.b[60][1]++;
16855
16855
  }
16856
16856
  } else {
16857
- cov_1ytczr8q8v.b[58][1]++;
16857
+ cov_zxsozhk5a.b[58][1]++;
16858
16858
  }
16859
16859
 
16860
- cov_1ytczr8q8v.s[272]++;
16860
+ cov_zxsozhk5a.s[272]++;
16861
16861
  return true;
16862
16862
  }
16863
16863
 
16864
- cov_1ytczr8q8v.s[273]++;
16864
+ cov_zxsozhk5a.s[273]++;
16865
16865
  i.event.bind(i.ownerDocument, 'keydown', function (e) {
16866
- cov_1ytczr8q8v.f[56]++;
16867
- cov_1ytczr8q8v.s[274]++;
16866
+ cov_zxsozhk5a.f[56]++;
16867
+ cov_zxsozhk5a.s[274]++;
16868
16868
 
16869
- if ((cov_1ytczr8q8v.b[63][0]++, e.isDefaultPrevented) && (cov_1ytczr8q8v.b[63][1]++, e.isDefaultPrevented()) || (cov_1ytczr8q8v.b[63][2]++, e.defaultPrevented)) {
16870
- cov_1ytczr8q8v.b[62][0]++;
16871
- cov_1ytczr8q8v.s[275]++;
16869
+ if ((cov_zxsozhk5a.b[63][0]++, e.isDefaultPrevented) && (cov_zxsozhk5a.b[63][1]++, e.isDefaultPrevented()) || (cov_zxsozhk5a.b[63][2]++, e.defaultPrevented)) {
16870
+ cov_zxsozhk5a.b[62][0]++;
16871
+ cov_zxsozhk5a.s[275]++;
16872
16872
  return;
16873
16873
  } else {
16874
- cov_1ytczr8q8v.b[62][1]++;
16874
+ cov_zxsozhk5a.b[62][1]++;
16875
16875
  }
16876
16876
 
16877
- cov_1ytczr8q8v.s[276]++;
16877
+ cov_zxsozhk5a.s[276]++;
16878
16878
 
16879
- if ((cov_1ytczr8q8v.b[65][0]++, !elementHovered()) && (cov_1ytczr8q8v.b[65][1]++, !scrollbarFocused())) {
16880
- cov_1ytczr8q8v.b[64][0]++;
16881
- cov_1ytczr8q8v.s[277]++;
16879
+ if ((cov_zxsozhk5a.b[65][0]++, !elementHovered()) && (cov_zxsozhk5a.b[65][1]++, !scrollbarFocused())) {
16880
+ cov_zxsozhk5a.b[64][0]++;
16881
+ cov_zxsozhk5a.s[277]++;
16882
16882
  return;
16883
16883
  } else {
16884
- cov_1ytczr8q8v.b[64][1]++;
16884
+ cov_zxsozhk5a.b[64][1]++;
16885
16885
  }
16886
16886
 
16887
- var activeElement = (cov_1ytczr8q8v.s[278]++, document.activeElement ? (cov_1ytczr8q8v.b[66][0]++, document.activeElement) : (cov_1ytczr8q8v.b[66][1]++, i.ownerDocument.activeElement));
16888
- cov_1ytczr8q8v.s[279]++;
16887
+ var activeElement = (cov_zxsozhk5a.s[278]++, document.activeElement ? (cov_zxsozhk5a.b[66][0]++, document.activeElement) : (cov_zxsozhk5a.b[66][1]++, i.ownerDocument.activeElement));
16888
+ cov_zxsozhk5a.s[279]++;
16889
16889
 
16890
16890
  if (activeElement) {
16891
- cov_1ytczr8q8v.b[67][0]++;
16892
- cov_1ytczr8q8v.s[280]++;
16891
+ cov_zxsozhk5a.b[67][0]++;
16892
+ cov_zxsozhk5a.s[280]++;
16893
16893
 
16894
16894
  if (activeElement.tagName === 'IFRAME') {
16895
- cov_1ytczr8q8v.b[68][0]++;
16896
- cov_1ytczr8q8v.s[281]++;
16895
+ cov_zxsozhk5a.b[68][0]++;
16896
+ cov_zxsozhk5a.s[281]++;
16897
16897
  activeElement = activeElement.contentDocument.activeElement;
16898
16898
  } else {
16899
- cov_1ytczr8q8v.b[68][1]++;
16900
- cov_1ytczr8q8v.s[282]++;
16899
+ cov_zxsozhk5a.b[68][1]++;
16900
+ cov_zxsozhk5a.s[282]++;
16901
16901
 
16902
16902
  // go deeper if element is a webcomponent
16903
16903
  while (activeElement.shadowRoot) {
16904
- cov_1ytczr8q8v.s[283]++;
16904
+ cov_zxsozhk5a.s[283]++;
16905
16905
  activeElement = activeElement.shadowRoot.activeElement;
16906
16906
  }
16907
16907
  }
16908
16908
 
16909
- cov_1ytczr8q8v.s[284]++;
16909
+ cov_zxsozhk5a.s[284]++;
16910
16910
 
16911
16911
  if (isEditable(activeElement)) {
16912
- cov_1ytczr8q8v.b[69][0]++;
16913
- cov_1ytczr8q8v.s[285]++;
16912
+ cov_zxsozhk5a.b[69][0]++;
16913
+ cov_zxsozhk5a.s[285]++;
16914
16914
  return;
16915
16915
  } else {
16916
- cov_1ytczr8q8v.b[69][1]++;
16916
+ cov_zxsozhk5a.b[69][1]++;
16917
16917
  }
16918
16918
  } else {
16919
- cov_1ytczr8q8v.b[67][1]++;
16919
+ cov_zxsozhk5a.b[67][1]++;
16920
16920
  }
16921
16921
 
16922
- var deltaX = (cov_1ytczr8q8v.s[286]++, 0);
16923
- var deltaY = (cov_1ytczr8q8v.s[287]++, 0);
16924
- cov_1ytczr8q8v.s[288]++;
16922
+ var deltaX = (cov_zxsozhk5a.s[286]++, 0);
16923
+ var deltaY = (cov_zxsozhk5a.s[287]++, 0);
16924
+ cov_zxsozhk5a.s[288]++;
16925
16925
 
16926
16926
  switch (e.which) {
16927
16927
  case 37:
16928
- cov_1ytczr8q8v.b[70][0]++;
16929
- cov_1ytczr8q8v.s[289]++;
16928
+ cov_zxsozhk5a.b[70][0]++;
16929
+ cov_zxsozhk5a.s[289]++;
16930
16930
 
16931
16931
  // left
16932
16932
  if (e.metaKey) {
16933
- cov_1ytczr8q8v.b[71][0]++;
16934
- cov_1ytczr8q8v.s[290]++;
16933
+ cov_zxsozhk5a.b[71][0]++;
16934
+ cov_zxsozhk5a.s[290]++;
16935
16935
  deltaX = -i.contentWidth;
16936
16936
  } else {
16937
- cov_1ytczr8q8v.b[71][1]++;
16938
- cov_1ytczr8q8v.s[291]++;
16937
+ cov_zxsozhk5a.b[71][1]++;
16938
+ cov_zxsozhk5a.s[291]++;
16939
16939
 
16940
16940
  if (e.altKey) {
16941
- cov_1ytczr8q8v.b[72][0]++;
16942
- cov_1ytczr8q8v.s[292]++;
16941
+ cov_zxsozhk5a.b[72][0]++;
16942
+ cov_zxsozhk5a.s[292]++;
16943
16943
  deltaX = -i.containerWidth;
16944
16944
  } else {
16945
- cov_1ytczr8q8v.b[72][1]++;
16946
- cov_1ytczr8q8v.s[293]++;
16945
+ cov_zxsozhk5a.b[72][1]++;
16946
+ cov_zxsozhk5a.s[293]++;
16947
16947
  deltaX = -30;
16948
16948
  }
16949
16949
  }
16950
16950
 
16951
- cov_1ytczr8q8v.s[294]++;
16951
+ cov_zxsozhk5a.s[294]++;
16952
16952
  break;
16953
16953
 
16954
16954
  case 38:
16955
- cov_1ytczr8q8v.b[70][1]++;
16956
- cov_1ytczr8q8v.s[295]++;
16955
+ cov_zxsozhk5a.b[70][1]++;
16956
+ cov_zxsozhk5a.s[295]++;
16957
16957
 
16958
16958
  // up
16959
16959
  if (e.metaKey) {
16960
- cov_1ytczr8q8v.b[73][0]++;
16961
- cov_1ytczr8q8v.s[296]++;
16960
+ cov_zxsozhk5a.b[73][0]++;
16961
+ cov_zxsozhk5a.s[296]++;
16962
16962
  deltaY = i.contentHeight;
16963
16963
  } else {
16964
- cov_1ytczr8q8v.b[73][1]++;
16965
- cov_1ytczr8q8v.s[297]++;
16964
+ cov_zxsozhk5a.b[73][1]++;
16965
+ cov_zxsozhk5a.s[297]++;
16966
16966
 
16967
16967
  if (e.altKey) {
16968
- cov_1ytczr8q8v.b[74][0]++;
16969
- cov_1ytczr8q8v.s[298]++;
16968
+ cov_zxsozhk5a.b[74][0]++;
16969
+ cov_zxsozhk5a.s[298]++;
16970
16970
  deltaY = i.containerHeight;
16971
16971
  } else {
16972
- cov_1ytczr8q8v.b[74][1]++;
16973
- cov_1ytczr8q8v.s[299]++;
16972
+ cov_zxsozhk5a.b[74][1]++;
16973
+ cov_zxsozhk5a.s[299]++;
16974
16974
  deltaY = 30;
16975
16975
  }
16976
16976
  }
16977
16977
 
16978
- cov_1ytczr8q8v.s[300]++;
16978
+ cov_zxsozhk5a.s[300]++;
16979
16979
  break;
16980
16980
 
16981
16981
  case 39:
16982
- cov_1ytczr8q8v.b[70][2]++;
16983
- cov_1ytczr8q8v.s[301]++;
16982
+ cov_zxsozhk5a.b[70][2]++;
16983
+ cov_zxsozhk5a.s[301]++;
16984
16984
 
16985
16985
  // right
16986
16986
  if (e.metaKey) {
16987
- cov_1ytczr8q8v.b[75][0]++;
16988
- cov_1ytczr8q8v.s[302]++;
16987
+ cov_zxsozhk5a.b[75][0]++;
16988
+ cov_zxsozhk5a.s[302]++;
16989
16989
  deltaX = i.contentWidth;
16990
16990
  } else {
16991
- cov_1ytczr8q8v.b[75][1]++;
16992
- cov_1ytczr8q8v.s[303]++;
16991
+ cov_zxsozhk5a.b[75][1]++;
16992
+ cov_zxsozhk5a.s[303]++;
16993
16993
 
16994
16994
  if (e.altKey) {
16995
- cov_1ytczr8q8v.b[76][0]++;
16996
- cov_1ytczr8q8v.s[304]++;
16995
+ cov_zxsozhk5a.b[76][0]++;
16996
+ cov_zxsozhk5a.s[304]++;
16997
16997
  deltaX = i.containerWidth;
16998
16998
  } else {
16999
- cov_1ytczr8q8v.b[76][1]++;
17000
- cov_1ytczr8q8v.s[305]++;
16999
+ cov_zxsozhk5a.b[76][1]++;
17000
+ cov_zxsozhk5a.s[305]++;
17001
17001
  deltaX = 30;
17002
17002
  }
17003
17003
  }
17004
17004
 
17005
- cov_1ytczr8q8v.s[306]++;
17005
+ cov_zxsozhk5a.s[306]++;
17006
17006
  break;
17007
17007
 
17008
17008
  case 40:
17009
- cov_1ytczr8q8v.b[70][3]++;
17010
- cov_1ytczr8q8v.s[307]++;
17009
+ cov_zxsozhk5a.b[70][3]++;
17010
+ cov_zxsozhk5a.s[307]++;
17011
17011
 
17012
17012
  // down
17013
17013
  if (e.metaKey) {
17014
- cov_1ytczr8q8v.b[77][0]++;
17015
- cov_1ytczr8q8v.s[308]++;
17014
+ cov_zxsozhk5a.b[77][0]++;
17015
+ cov_zxsozhk5a.s[308]++;
17016
17016
  deltaY = -i.contentHeight;
17017
17017
  } else {
17018
- cov_1ytczr8q8v.b[77][1]++;
17019
- cov_1ytczr8q8v.s[309]++;
17018
+ cov_zxsozhk5a.b[77][1]++;
17019
+ cov_zxsozhk5a.s[309]++;
17020
17020
 
17021
17021
  if (e.altKey) {
17022
- cov_1ytczr8q8v.b[78][0]++;
17023
- cov_1ytczr8q8v.s[310]++;
17022
+ cov_zxsozhk5a.b[78][0]++;
17023
+ cov_zxsozhk5a.s[310]++;
17024
17024
  deltaY = -i.containerHeight;
17025
17025
  } else {
17026
- cov_1ytczr8q8v.b[78][1]++;
17027
- cov_1ytczr8q8v.s[311]++;
17026
+ cov_zxsozhk5a.b[78][1]++;
17027
+ cov_zxsozhk5a.s[311]++;
17028
17028
  deltaY = -30;
17029
17029
  }
17030
17030
  }
17031
17031
 
17032
- cov_1ytczr8q8v.s[312]++;
17032
+ cov_zxsozhk5a.s[312]++;
17033
17033
  break;
17034
17034
 
17035
17035
  case 32:
17036
- cov_1ytczr8q8v.b[70][4]++;
17037
- cov_1ytczr8q8v.s[313]++;
17036
+ cov_zxsozhk5a.b[70][4]++;
17037
+ cov_zxsozhk5a.s[313]++;
17038
17038
 
17039
17039
  // space bar
17040
17040
  if (e.shiftKey) {
17041
- cov_1ytczr8q8v.b[79][0]++;
17042
- cov_1ytczr8q8v.s[314]++;
17041
+ cov_zxsozhk5a.b[79][0]++;
17042
+ cov_zxsozhk5a.s[314]++;
17043
17043
  deltaY = i.containerHeight;
17044
17044
  } else {
17045
- cov_1ytczr8q8v.b[79][1]++;
17046
- cov_1ytczr8q8v.s[315]++;
17045
+ cov_zxsozhk5a.b[79][1]++;
17046
+ cov_zxsozhk5a.s[315]++;
17047
17047
  deltaY = -i.containerHeight;
17048
17048
  }
17049
17049
 
17050
- cov_1ytczr8q8v.s[316]++;
17050
+ cov_zxsozhk5a.s[316]++;
17051
17051
  break;
17052
17052
 
17053
17053
  case 33:
17054
- cov_1ytczr8q8v.b[70][5]++;
17055
- cov_1ytczr8q8v.s[317]++;
17054
+ cov_zxsozhk5a.b[70][5]++;
17055
+ cov_zxsozhk5a.s[317]++;
17056
17056
  // page up
17057
17057
  deltaY = i.containerHeight;
17058
- cov_1ytczr8q8v.s[318]++;
17058
+ cov_zxsozhk5a.s[318]++;
17059
17059
  break;
17060
17060
 
17061
17061
  case 34:
17062
- cov_1ytczr8q8v.b[70][6]++;
17063
- cov_1ytczr8q8v.s[319]++;
17062
+ cov_zxsozhk5a.b[70][6]++;
17063
+ cov_zxsozhk5a.s[319]++;
17064
17064
  // page down
17065
17065
  deltaY = -i.containerHeight;
17066
- cov_1ytczr8q8v.s[320]++;
17066
+ cov_zxsozhk5a.s[320]++;
17067
17067
  break;
17068
17068
 
17069
17069
  case 36:
17070
- cov_1ytczr8q8v.b[70][7]++;
17071
- cov_1ytczr8q8v.s[321]++;
17070
+ cov_zxsozhk5a.b[70][7]++;
17071
+ cov_zxsozhk5a.s[321]++;
17072
17072
  // home
17073
17073
  deltaY = i.contentHeight;
17074
- cov_1ytczr8q8v.s[322]++;
17074
+ cov_zxsozhk5a.s[322]++;
17075
17075
  break;
17076
17076
 
17077
17077
  case 35:
17078
- cov_1ytczr8q8v.b[70][8]++;
17079
- cov_1ytczr8q8v.s[323]++;
17078
+ cov_zxsozhk5a.b[70][8]++;
17079
+ cov_zxsozhk5a.s[323]++;
17080
17080
  // end
17081
17081
  deltaY = -i.contentHeight;
17082
- cov_1ytczr8q8v.s[324]++;
17082
+ cov_zxsozhk5a.s[324]++;
17083
17083
  break;
17084
17084
 
17085
17085
  default:
17086
- cov_1ytczr8q8v.b[70][9]++;
17087
- cov_1ytczr8q8v.s[325]++;
17086
+ cov_zxsozhk5a.b[70][9]++;
17087
+ cov_zxsozhk5a.s[325]++;
17088
17088
  return;
17089
17089
  }
17090
17090
 
17091
- cov_1ytczr8q8v.s[326]++;
17091
+ cov_zxsozhk5a.s[326]++;
17092
17092
 
17093
- if ((cov_1ytczr8q8v.b[81][0]++, i.settings.suppressScrollX) && (cov_1ytczr8q8v.b[81][1]++, deltaX !== 0)) {
17094
- cov_1ytczr8q8v.b[80][0]++;
17095
- cov_1ytczr8q8v.s[327]++;
17093
+ if ((cov_zxsozhk5a.b[81][0]++, i.settings.suppressScrollX) && (cov_zxsozhk5a.b[81][1]++, deltaX !== 0)) {
17094
+ cov_zxsozhk5a.b[80][0]++;
17095
+ cov_zxsozhk5a.s[327]++;
17096
17096
  return;
17097
17097
  } else {
17098
- cov_1ytczr8q8v.b[80][1]++;
17098
+ cov_zxsozhk5a.b[80][1]++;
17099
17099
  }
17100
17100
 
17101
- cov_1ytczr8q8v.s[328]++;
17101
+ cov_zxsozhk5a.s[328]++;
17102
17102
 
17103
- if ((cov_1ytczr8q8v.b[83][0]++, i.settings.suppressScrollY) && (cov_1ytczr8q8v.b[83][1]++, deltaY !== 0)) {
17104
- cov_1ytczr8q8v.b[82][0]++;
17105
- cov_1ytczr8q8v.s[329]++;
17103
+ if ((cov_zxsozhk5a.b[83][0]++, i.settings.suppressScrollY) && (cov_zxsozhk5a.b[83][1]++, deltaY !== 0)) {
17104
+ cov_zxsozhk5a.b[82][0]++;
17105
+ cov_zxsozhk5a.s[329]++;
17106
17106
  return;
17107
17107
  } else {
17108
- cov_1ytczr8q8v.b[82][1]++;
17108
+ cov_zxsozhk5a.b[82][1]++;
17109
17109
  }
17110
17110
 
17111
- cov_1ytczr8q8v.s[330]++;
17111
+ cov_zxsozhk5a.s[330]++;
17112
17112
  element.scrollTop -= deltaY;
17113
- cov_1ytczr8q8v.s[331]++;
17113
+ cov_zxsozhk5a.s[331]++;
17114
17114
  element.scrollLeft += deltaX;
17115
- cov_1ytczr8q8v.s[332]++;
17115
+ cov_zxsozhk5a.s[332]++;
17116
17116
  updateGeometry(i);
17117
- cov_1ytczr8q8v.s[333]++;
17117
+ cov_zxsozhk5a.s[333]++;
17118
17118
 
17119
17119
  if (shouldPreventDefault(deltaX, deltaY)) {
17120
- cov_1ytczr8q8v.b[84][0]++;
17121
- cov_1ytczr8q8v.s[334]++;
17120
+ cov_zxsozhk5a.b[84][0]++;
17121
+ cov_zxsozhk5a.s[334]++;
17122
17122
  e.preventDefault();
17123
17123
  } else {
17124
- cov_1ytczr8q8v.b[84][1]++;
17124
+ cov_zxsozhk5a.b[84][1]++;
17125
17125
  }
17126
17126
  });
17127
17127
  };
17128
17128
 
17129
- cov_1ytczr8q8v.s[335]++;
17129
+ cov_zxsozhk5a.s[335]++;
17130
17130
 
17131
17131
  var wheel = function wheel(i) {
17132
- cov_1ytczr8q8v.f[57]++;
17133
- var element = (cov_1ytczr8q8v.s[336]++, i.element);
17132
+ cov_zxsozhk5a.f[57]++;
17133
+ var element = (cov_zxsozhk5a.s[336]++, i.element);
17134
17134
 
17135
17135
  function shouldPreventDefault(deltaX, deltaY) {
17136
- cov_1ytczr8q8v.f[58]++;
17137
- var roundedScrollTop = (cov_1ytczr8q8v.s[337]++, Math.floor(element.scrollTop));
17138
- var isTop = (cov_1ytczr8q8v.s[338]++, element.scrollTop === 0);
17139
- var isBottom = (cov_1ytczr8q8v.s[339]++, roundedScrollTop + element.offsetHeight === element.scrollHeight);
17140
- var isLeft = (cov_1ytczr8q8v.s[340]++, element.scrollLeft === 0);
17141
- var isRight = (cov_1ytczr8q8v.s[341]++, element.scrollLeft + element.offsetWidth === element.scrollWidth);
17136
+ cov_zxsozhk5a.f[58]++;
17137
+ var roundedScrollTop = (cov_zxsozhk5a.s[337]++, Math.floor(element.scrollTop));
17138
+ var isTop = (cov_zxsozhk5a.s[338]++, element.scrollTop === 0);
17139
+ var isBottom = (cov_zxsozhk5a.s[339]++, roundedScrollTop + element.offsetHeight === element.scrollHeight);
17140
+ var isLeft = (cov_zxsozhk5a.s[340]++, element.scrollLeft === 0);
17141
+ var isRight = (cov_zxsozhk5a.s[341]++, element.scrollLeft + element.offsetWidth === element.scrollWidth);
17142
17142
  var hitsBound; // pick axis with primary direction
17143
17143
 
17144
- cov_1ytczr8q8v.s[342]++;
17144
+ cov_zxsozhk5a.s[342]++;
17145
17145
 
17146
17146
  if (Math.abs(deltaY) > Math.abs(deltaX)) {
17147
- cov_1ytczr8q8v.b[85][0]++;
17148
- cov_1ytczr8q8v.s[343]++;
17149
- hitsBound = (cov_1ytczr8q8v.b[86][0]++, isTop) || (cov_1ytczr8q8v.b[86][1]++, isBottom);
17147
+ cov_zxsozhk5a.b[85][0]++;
17148
+ cov_zxsozhk5a.s[343]++;
17149
+ hitsBound = (cov_zxsozhk5a.b[86][0]++, isTop) || (cov_zxsozhk5a.b[86][1]++, isBottom);
17150
17150
  } else {
17151
- cov_1ytczr8q8v.b[85][1]++;
17152
- cov_1ytczr8q8v.s[344]++;
17153
- hitsBound = (cov_1ytczr8q8v.b[87][0]++, isLeft) || (cov_1ytczr8q8v.b[87][1]++, isRight);
17151
+ cov_zxsozhk5a.b[85][1]++;
17152
+ cov_zxsozhk5a.s[344]++;
17153
+ hitsBound = (cov_zxsozhk5a.b[87][0]++, isLeft) || (cov_zxsozhk5a.b[87][1]++, isRight);
17154
17154
  }
17155
17155
 
17156
- cov_1ytczr8q8v.s[345]++;
17157
- return hitsBound ? (cov_1ytczr8q8v.b[88][0]++, !i.settings.wheelPropagation) : (cov_1ytczr8q8v.b[88][1]++, true);
17156
+ cov_zxsozhk5a.s[345]++;
17157
+ return hitsBound ? (cov_zxsozhk5a.b[88][0]++, !i.settings.wheelPropagation) : (cov_zxsozhk5a.b[88][1]++, true);
17158
17158
  }
17159
17159
 
17160
17160
  function getDeltaFromEvent(e) {
17161
- cov_1ytczr8q8v.f[59]++;
17162
- var deltaX = (cov_1ytczr8q8v.s[346]++, e.deltaX);
17163
- var deltaY = (cov_1ytczr8q8v.s[347]++, -1 * e.deltaY);
17164
- cov_1ytczr8q8v.s[348]++;
17165
-
17166
- if ((cov_1ytczr8q8v.b[90][0]++, typeof deltaX === 'undefined') || (cov_1ytczr8q8v.b[90][1]++, typeof deltaY === 'undefined')) {
17167
- cov_1ytczr8q8v.b[89][0]++;
17168
- cov_1ytczr8q8v.s[349]++;
17161
+ cov_zxsozhk5a.f[59]++;
17162
+ var deltaX = (cov_zxsozhk5a.s[346]++, e.deltaX);
17163
+ var deltaY = (cov_zxsozhk5a.s[347]++, -1 * e.deltaY);
17164
+ cov_zxsozhk5a.s[348]++;
17165
+
17166
+ if ((cov_zxsozhk5a.b[90][0]++, typeof deltaX === 'undefined') || (cov_zxsozhk5a.b[90][1]++, typeof deltaY === 'undefined')) {
17167
+ cov_zxsozhk5a.b[89][0]++;
17168
+ cov_zxsozhk5a.s[349]++;
17169
17169
  // OS X Safari
17170
17170
  deltaX = -1 * e.wheelDeltaX / 6;
17171
- cov_1ytczr8q8v.s[350]++;
17171
+ cov_zxsozhk5a.s[350]++;
17172
17172
  deltaY = e.wheelDeltaY / 6;
17173
17173
  } else {
17174
- cov_1ytczr8q8v.b[89][1]++;
17174
+ cov_zxsozhk5a.b[89][1]++;
17175
17175
  }
17176
17176
 
17177
- cov_1ytczr8q8v.s[351]++;
17177
+ cov_zxsozhk5a.s[351]++;
17178
17178
 
17179
- if ((cov_1ytczr8q8v.b[92][0]++, e.deltaMode) && (cov_1ytczr8q8v.b[92][1]++, e.deltaMode === 1)) {
17180
- cov_1ytczr8q8v.b[91][0]++;
17181
- cov_1ytczr8q8v.s[352]++;
17179
+ if ((cov_zxsozhk5a.b[92][0]++, e.deltaMode) && (cov_zxsozhk5a.b[92][1]++, e.deltaMode === 1)) {
17180
+ cov_zxsozhk5a.b[91][0]++;
17181
+ cov_zxsozhk5a.s[352]++;
17182
17182
  // Firefox in deltaMode 1: Line scrolling
17183
17183
  deltaX *= 10;
17184
- cov_1ytczr8q8v.s[353]++;
17184
+ cov_zxsozhk5a.s[353]++;
17185
17185
  deltaY *= 10;
17186
17186
  } else {
17187
- cov_1ytczr8q8v.b[91][1]++;
17187
+ cov_zxsozhk5a.b[91][1]++;
17188
17188
  }
17189
17189
 
17190
- cov_1ytczr8q8v.s[354]++;
17190
+ cov_zxsozhk5a.s[354]++;
17191
17191
 
17192
- if ((cov_1ytczr8q8v.b[94][0]++, deltaX !== deltaX) && (cov_1ytczr8q8v.b[94][1]++, deltaY !== deltaY)
17192
+ if ((cov_zxsozhk5a.b[94][0]++, deltaX !== deltaX) && (cov_zxsozhk5a.b[94][1]++, deltaY !== deltaY)
17193
17193
  /* NaN checks */
17194
17194
  ) {
17195
- cov_1ytczr8q8v.b[93][0]++;
17196
- cov_1ytczr8q8v.s[355]++;
17195
+ cov_zxsozhk5a.b[93][0]++;
17196
+ cov_zxsozhk5a.s[355]++;
17197
17197
  // IE in some mouse drivers
17198
17198
  deltaX = 0;
17199
- cov_1ytczr8q8v.s[356]++;
17199
+ cov_zxsozhk5a.s[356]++;
17200
17200
  deltaY = e.wheelDelta;
17201
17201
  } else {
17202
- cov_1ytczr8q8v.b[93][1]++;
17202
+ cov_zxsozhk5a.b[93][1]++;
17203
17203
  }
17204
17204
 
17205
- cov_1ytczr8q8v.s[357]++;
17205
+ cov_zxsozhk5a.s[357]++;
17206
17206
 
17207
17207
  if (e.shiftKey) {
17208
- cov_1ytczr8q8v.b[95][0]++;
17209
- cov_1ytczr8q8v.s[358]++;
17208
+ cov_zxsozhk5a.b[95][0]++;
17209
+ cov_zxsozhk5a.s[358]++;
17210
17210
  // reverse axis with shift key
17211
17211
  return [-deltaY, -deltaX];
17212
17212
  } else {
17213
- cov_1ytczr8q8v.b[95][1]++;
17213
+ cov_zxsozhk5a.b[95][1]++;
17214
17214
  }
17215
17215
 
17216
- cov_1ytczr8q8v.s[359]++;
17216
+ cov_zxsozhk5a.s[359]++;
17217
17217
  return [deltaX, deltaY];
17218
17218
  }
17219
17219
 
17220
17220
  function shouldBeConsumedByChild(target, deltaX, deltaY) {
17221
- cov_1ytczr8q8v.f[60]++;
17222
- cov_1ytczr8q8v.s[360]++;
17221
+ cov_zxsozhk5a.f[60]++;
17222
+ cov_zxsozhk5a.s[360]++;
17223
17223
 
17224
17224
  // FIXME: this is a workaround for <select> issue in FF and IE #571
17225
- if ((cov_1ytczr8q8v.b[97][0]++, !env.isWebKit) && (cov_1ytczr8q8v.b[97][1]++, element.querySelector('select:focus'))) {
17226
- cov_1ytczr8q8v.b[96][0]++;
17227
- cov_1ytczr8q8v.s[361]++;
17225
+ if ((cov_zxsozhk5a.b[97][0]++, !env.isWebKit) && (cov_zxsozhk5a.b[97][1]++, element.querySelector('select:focus'))) {
17226
+ cov_zxsozhk5a.b[96][0]++;
17227
+ cov_zxsozhk5a.s[361]++;
17228
17228
  return true;
17229
17229
  } else {
17230
- cov_1ytczr8q8v.b[96][1]++;
17230
+ cov_zxsozhk5a.b[96][1]++;
17231
17231
  }
17232
17232
 
17233
- cov_1ytczr8q8v.s[362]++;
17233
+ cov_zxsozhk5a.s[362]++;
17234
17234
 
17235
17235
  if (!element.contains(target)) {
17236
- cov_1ytczr8q8v.b[98][0]++;
17237
- cov_1ytczr8q8v.s[363]++;
17236
+ cov_zxsozhk5a.b[98][0]++;
17237
+ cov_zxsozhk5a.s[363]++;
17238
17238
  return false;
17239
17239
  } else {
17240
- cov_1ytczr8q8v.b[98][1]++;
17240
+ cov_zxsozhk5a.b[98][1]++;
17241
17241
  }
17242
17242
 
17243
- var cursor = (cov_1ytczr8q8v.s[364]++, target);
17244
- cov_1ytczr8q8v.s[365]++;
17243
+ var cursor = (cov_zxsozhk5a.s[364]++, target);
17244
+ cov_zxsozhk5a.s[365]++;
17245
17245
 
17246
- while ((cov_1ytczr8q8v.b[99][0]++, cursor) && (cov_1ytczr8q8v.b[99][1]++, cursor !== element)) {
17247
- cov_1ytczr8q8v.s[366]++;
17246
+ while ((cov_zxsozhk5a.b[99][0]++, cursor) && (cov_zxsozhk5a.b[99][1]++, cursor !== element)) {
17247
+ cov_zxsozhk5a.s[366]++;
17248
17248
 
17249
17249
  if (cursor.classList.contains(cls.element.consuming)) {
17250
- cov_1ytczr8q8v.b[100][0]++;
17251
- cov_1ytczr8q8v.s[367]++;
17250
+ cov_zxsozhk5a.b[100][0]++;
17251
+ cov_zxsozhk5a.s[367]++;
17252
17252
  return true;
17253
17253
  } else {
17254
- cov_1ytczr8q8v.b[100][1]++;
17254
+ cov_zxsozhk5a.b[100][1]++;
17255
17255
  }
17256
17256
 
17257
- var style = (cov_1ytczr8q8v.s[368]++, get(cursor));
17258
- var overflow = (cov_1ytczr8q8v.s[369]++, [style.overflow, style.overflowX, style.overflowY].join('')); // if scrollable
17257
+ var style = (cov_zxsozhk5a.s[368]++, get(cursor));
17258
+ var overflow = (cov_zxsozhk5a.s[369]++, [style.overflow, style.overflowX, style.overflowY].join('')); // if scrollable
17259
17259
 
17260
- cov_1ytczr8q8v.s[370]++;
17260
+ cov_zxsozhk5a.s[370]++;
17261
17261
 
17262
17262
  if (overflow.match(/(scroll|auto)/)) {
17263
- cov_1ytczr8q8v.b[101][0]++;
17264
- var maxScrollTop = (cov_1ytczr8q8v.s[371]++, cursor.scrollHeight - cursor.clientHeight);
17265
- cov_1ytczr8q8v.s[372]++;
17263
+ cov_zxsozhk5a.b[101][0]++;
17264
+ var maxScrollTop = (cov_zxsozhk5a.s[371]++, cursor.scrollHeight - cursor.clientHeight);
17265
+ cov_zxsozhk5a.s[372]++;
17266
17266
 
17267
17267
  if (maxScrollTop > 0) {
17268
- cov_1ytczr8q8v.b[102][0]++;
17269
- cov_1ytczr8q8v.s[373]++;
17268
+ cov_zxsozhk5a.b[102][0]++;
17269
+ cov_zxsozhk5a.s[373]++;
17270
17270
 
17271
- if ((cov_1ytczr8q8v.b[104][0]++, !((cov_1ytczr8q8v.b[105][0]++, cursor.scrollTop === 0) && (cov_1ytczr8q8v.b[105][1]++, deltaY > 0))) && (cov_1ytczr8q8v.b[104][1]++, !((cov_1ytczr8q8v.b[106][0]++, cursor.scrollTop === maxScrollTop) && (cov_1ytczr8q8v.b[106][1]++, deltaY < 0)))) {
17272
- cov_1ytczr8q8v.b[103][0]++;
17273
- cov_1ytczr8q8v.s[374]++;
17271
+ if ((cov_zxsozhk5a.b[104][0]++, !((cov_zxsozhk5a.b[105][0]++, cursor.scrollTop === 0) && (cov_zxsozhk5a.b[105][1]++, deltaY > 0))) && (cov_zxsozhk5a.b[104][1]++, !((cov_zxsozhk5a.b[106][0]++, cursor.scrollTop === maxScrollTop) && (cov_zxsozhk5a.b[106][1]++, deltaY < 0)))) {
17272
+ cov_zxsozhk5a.b[103][0]++;
17273
+ cov_zxsozhk5a.s[374]++;
17274
17274
  return true;
17275
17275
  } else {
17276
- cov_1ytczr8q8v.b[103][1]++;
17276
+ cov_zxsozhk5a.b[103][1]++;
17277
17277
  }
17278
17278
  } else {
17279
- cov_1ytczr8q8v.b[102][1]++;
17279
+ cov_zxsozhk5a.b[102][1]++;
17280
17280
  }
17281
17281
 
17282
- var maxScrollLeft = (cov_1ytczr8q8v.s[375]++, cursor.scrollWidth - cursor.clientWidth);
17283
- cov_1ytczr8q8v.s[376]++;
17282
+ var maxScrollLeft = (cov_zxsozhk5a.s[375]++, cursor.scrollWidth - cursor.clientWidth);
17283
+ cov_zxsozhk5a.s[376]++;
17284
17284
 
17285
17285
  if (maxScrollLeft > 0) {
17286
- cov_1ytczr8q8v.b[107][0]++;
17287
- cov_1ytczr8q8v.s[377]++;
17286
+ cov_zxsozhk5a.b[107][0]++;
17287
+ cov_zxsozhk5a.s[377]++;
17288
17288
 
17289
- if ((cov_1ytczr8q8v.b[109][0]++, !((cov_1ytczr8q8v.b[110][0]++, cursor.scrollLeft === 0) && (cov_1ytczr8q8v.b[110][1]++, deltaX < 0))) && (cov_1ytczr8q8v.b[109][1]++, !((cov_1ytczr8q8v.b[111][0]++, cursor.scrollLeft === maxScrollLeft) && (cov_1ytczr8q8v.b[111][1]++, deltaX > 0)))) {
17290
- cov_1ytczr8q8v.b[108][0]++;
17291
- cov_1ytczr8q8v.s[378]++;
17289
+ if ((cov_zxsozhk5a.b[109][0]++, !((cov_zxsozhk5a.b[110][0]++, cursor.scrollLeft === 0) && (cov_zxsozhk5a.b[110][1]++, deltaX < 0))) && (cov_zxsozhk5a.b[109][1]++, !((cov_zxsozhk5a.b[111][0]++, cursor.scrollLeft === maxScrollLeft) && (cov_zxsozhk5a.b[111][1]++, deltaX > 0)))) {
17290
+ cov_zxsozhk5a.b[108][0]++;
17291
+ cov_zxsozhk5a.s[378]++;
17292
17292
  return true;
17293
17293
  } else {
17294
- cov_1ytczr8q8v.b[108][1]++;
17294
+ cov_zxsozhk5a.b[108][1]++;
17295
17295
  }
17296
17296
  } else {
17297
- cov_1ytczr8q8v.b[107][1]++;
17297
+ cov_zxsozhk5a.b[107][1]++;
17298
17298
  }
17299
17299
  } else {
17300
- cov_1ytczr8q8v.b[101][1]++;
17300
+ cov_zxsozhk5a.b[101][1]++;
17301
17301
  }
17302
17302
 
17303
- cov_1ytczr8q8v.s[379]++;
17303
+ cov_zxsozhk5a.s[379]++;
17304
17304
  cursor = cursor.parentNode;
17305
17305
  }
17306
17306
 
17307
- cov_1ytczr8q8v.s[380]++;
17307
+ cov_zxsozhk5a.s[380]++;
17308
17308
  return false;
17309
17309
  }
17310
17310
 
17311
17311
  function mousewheelHandler(e) {
17312
- cov_1ytczr8q8v.f[61]++;
17313
- var ref = (cov_1ytczr8q8v.s[381]++, getDeltaFromEvent(e));
17314
- var deltaX = (cov_1ytczr8q8v.s[382]++, ref[0]);
17315
- var deltaY = (cov_1ytczr8q8v.s[383]++, ref[1]);
17316
- cov_1ytczr8q8v.s[384]++;
17312
+ cov_zxsozhk5a.f[61]++;
17313
+ var ref = (cov_zxsozhk5a.s[381]++, getDeltaFromEvent(e));
17314
+ var deltaX = (cov_zxsozhk5a.s[382]++, ref[0]);
17315
+ var deltaY = (cov_zxsozhk5a.s[383]++, ref[1]);
17316
+ cov_zxsozhk5a.s[384]++;
17317
17317
 
17318
17318
  if (shouldBeConsumedByChild(e.target, deltaX, deltaY)) {
17319
- cov_1ytczr8q8v.b[112][0]++;
17320
- cov_1ytczr8q8v.s[385]++;
17319
+ cov_zxsozhk5a.b[112][0]++;
17320
+ cov_zxsozhk5a.s[385]++;
17321
17321
  return;
17322
17322
  } else {
17323
- cov_1ytczr8q8v.b[112][1]++;
17323
+ cov_zxsozhk5a.b[112][1]++;
17324
17324
  }
17325
17325
 
17326
- var shouldPrevent = (cov_1ytczr8q8v.s[386]++, false);
17327
- cov_1ytczr8q8v.s[387]++;
17326
+ var shouldPrevent = (cov_zxsozhk5a.s[386]++, false);
17327
+ cov_zxsozhk5a.s[387]++;
17328
17328
 
17329
17329
  if (!i.settings.useBothWheelAxes) {
17330
- cov_1ytczr8q8v.b[113][0]++;
17331
- cov_1ytczr8q8v.s[388]++;
17330
+ cov_zxsozhk5a.b[113][0]++;
17331
+ cov_zxsozhk5a.s[388]++;
17332
17332
  // deltaX will only be used for horizontal scrolling and deltaY will
17333
17333
  // only be used for vertical scrolling - this is the default
17334
17334
  element.scrollTop -= deltaY * i.settings.wheelSpeed;
17335
- cov_1ytczr8q8v.s[389]++;
17335
+ cov_zxsozhk5a.s[389]++;
17336
17336
  element.scrollLeft += deltaX * i.settings.wheelSpeed;
17337
17337
  } else {
17338
- cov_1ytczr8q8v.b[113][1]++;
17339
- cov_1ytczr8q8v.s[390]++;
17338
+ cov_zxsozhk5a.b[113][1]++;
17339
+ cov_zxsozhk5a.s[390]++;
17340
17340
 
17341
- if ((cov_1ytczr8q8v.b[115][0]++, i.scrollbarYActive) && (cov_1ytczr8q8v.b[115][1]++, !i.scrollbarXActive)) {
17342
- cov_1ytczr8q8v.b[114][0]++;
17343
- cov_1ytczr8q8v.s[391]++;
17341
+ if ((cov_zxsozhk5a.b[115][0]++, i.scrollbarYActive) && (cov_zxsozhk5a.b[115][1]++, !i.scrollbarXActive)) {
17342
+ cov_zxsozhk5a.b[114][0]++;
17343
+ cov_zxsozhk5a.s[391]++;
17344
17344
 
17345
17345
  // only vertical scrollbar is active and useBothWheelAxes option is
17346
17346
  // active, so let's scroll vertical bar using both mouse wheel axes
17347
17347
  if (deltaY) {
17348
- cov_1ytczr8q8v.b[116][0]++;
17349
- cov_1ytczr8q8v.s[392]++;
17348
+ cov_zxsozhk5a.b[116][0]++;
17349
+ cov_zxsozhk5a.s[392]++;
17350
17350
  element.scrollTop -= deltaY * i.settings.wheelSpeed;
17351
17351
  } else {
17352
- cov_1ytczr8q8v.b[116][1]++;
17353
- cov_1ytczr8q8v.s[393]++;
17352
+ cov_zxsozhk5a.b[116][1]++;
17353
+ cov_zxsozhk5a.s[393]++;
17354
17354
  element.scrollTop += deltaX * i.settings.wheelSpeed;
17355
17355
  }
17356
17356
 
17357
- cov_1ytczr8q8v.s[394]++;
17357
+ cov_zxsozhk5a.s[394]++;
17358
17358
  shouldPrevent = true;
17359
17359
  } else {
17360
- cov_1ytczr8q8v.b[114][1]++;
17361
- cov_1ytczr8q8v.s[395]++;
17360
+ cov_zxsozhk5a.b[114][1]++;
17361
+ cov_zxsozhk5a.s[395]++;
17362
17362
 
17363
- if ((cov_1ytczr8q8v.b[118][0]++, i.scrollbarXActive) && (cov_1ytczr8q8v.b[118][1]++, !i.scrollbarYActive)) {
17364
- cov_1ytczr8q8v.b[117][0]++;
17365
- cov_1ytczr8q8v.s[396]++;
17363
+ if ((cov_zxsozhk5a.b[118][0]++, i.scrollbarXActive) && (cov_zxsozhk5a.b[118][1]++, !i.scrollbarYActive)) {
17364
+ cov_zxsozhk5a.b[117][0]++;
17365
+ cov_zxsozhk5a.s[396]++;
17366
17366
 
17367
17367
  // useBothWheelAxes and only horizontal bar is active, so use both
17368
17368
  // wheel axes for horizontal bar
17369
17369
  if (deltaX) {
17370
- cov_1ytczr8q8v.b[119][0]++;
17371
- cov_1ytczr8q8v.s[397]++;
17370
+ cov_zxsozhk5a.b[119][0]++;
17371
+ cov_zxsozhk5a.s[397]++;
17372
17372
  element.scrollLeft += deltaX * i.settings.wheelSpeed;
17373
17373
  } else {
17374
- cov_1ytczr8q8v.b[119][1]++;
17375
- cov_1ytczr8q8v.s[398]++;
17374
+ cov_zxsozhk5a.b[119][1]++;
17375
+ cov_zxsozhk5a.s[398]++;
17376
17376
  element.scrollLeft -= deltaY * i.settings.wheelSpeed;
17377
17377
  }
17378
17378
 
17379
- cov_1ytczr8q8v.s[399]++;
17379
+ cov_zxsozhk5a.s[399]++;
17380
17380
  shouldPrevent = true;
17381
17381
  } else {
17382
- cov_1ytczr8q8v.b[117][1]++;
17382
+ cov_zxsozhk5a.b[117][1]++;
17383
17383
  }
17384
17384
  }
17385
17385
  }
17386
17386
 
17387
- cov_1ytczr8q8v.s[400]++;
17387
+ cov_zxsozhk5a.s[400]++;
17388
17388
  updateGeometry(i);
17389
- cov_1ytczr8q8v.s[401]++;
17390
- shouldPrevent = (cov_1ytczr8q8v.b[120][0]++, shouldPrevent) || (cov_1ytczr8q8v.b[120][1]++, shouldPreventDefault(deltaX, deltaY));
17391
- cov_1ytczr8q8v.s[402]++;
17389
+ cov_zxsozhk5a.s[401]++;
17390
+ shouldPrevent = (cov_zxsozhk5a.b[120][0]++, shouldPrevent) || (cov_zxsozhk5a.b[120][1]++, shouldPreventDefault(deltaX, deltaY));
17391
+ cov_zxsozhk5a.s[402]++;
17392
17392
 
17393
- if ((cov_1ytczr8q8v.b[122][0]++, shouldPrevent) && (cov_1ytczr8q8v.b[122][1]++, !e.ctrlKey)) {
17394
- cov_1ytczr8q8v.b[121][0]++;
17395
- cov_1ytczr8q8v.s[403]++;
17393
+ if ((cov_zxsozhk5a.b[122][0]++, shouldPrevent) && (cov_zxsozhk5a.b[122][1]++, !e.ctrlKey)) {
17394
+ cov_zxsozhk5a.b[121][0]++;
17395
+ cov_zxsozhk5a.s[403]++;
17396
17396
  e.stopPropagation();
17397
- cov_1ytczr8q8v.s[404]++;
17397
+ cov_zxsozhk5a.s[404]++;
17398
17398
  e.preventDefault();
17399
17399
  } else {
17400
- cov_1ytczr8q8v.b[121][1]++;
17400
+ cov_zxsozhk5a.b[121][1]++;
17401
17401
  }
17402
17402
  }
17403
17403
 
17404
- cov_1ytczr8q8v.s[405]++;
17404
+ cov_zxsozhk5a.s[405]++;
17405
17405
 
17406
17406
  if (typeof window.onwheel !== 'undefined') {
17407
- cov_1ytczr8q8v.b[123][0]++;
17408
- cov_1ytczr8q8v.s[406]++;
17407
+ cov_zxsozhk5a.b[123][0]++;
17408
+ cov_zxsozhk5a.s[406]++;
17409
17409
  i.event.bind(element, 'wheel', mousewheelHandler);
17410
17410
  } else {
17411
- cov_1ytczr8q8v.b[123][1]++;
17412
- cov_1ytczr8q8v.s[407]++;
17411
+ cov_zxsozhk5a.b[123][1]++;
17412
+ cov_zxsozhk5a.s[407]++;
17413
17413
 
17414
17414
  if (typeof window.onmousewheel !== 'undefined') {
17415
- cov_1ytczr8q8v.b[124][0]++;
17416
- cov_1ytczr8q8v.s[408]++;
17415
+ cov_zxsozhk5a.b[124][0]++;
17416
+ cov_zxsozhk5a.s[408]++;
17417
17417
  i.event.bind(element, 'mousewheel', mousewheelHandler);
17418
17418
  } else {
17419
- cov_1ytczr8q8v.b[124][1]++;
17419
+ cov_zxsozhk5a.b[124][1]++;
17420
17420
  }
17421
17421
  }
17422
17422
  };
17423
17423
 
17424
- cov_1ytczr8q8v.s[409]++;
17424
+ cov_zxsozhk5a.s[409]++;
17425
17425
 
17426
17426
  var touch = function touch(i) {
17427
- cov_1ytczr8q8v.f[62]++;
17428
- cov_1ytczr8q8v.s[410]++;
17427
+ cov_zxsozhk5a.f[62]++;
17428
+ cov_zxsozhk5a.s[410]++;
17429
17429
 
17430
- if ((cov_1ytczr8q8v.b[126][0]++, !env.supportsTouch) && (cov_1ytczr8q8v.b[126][1]++, !env.supportsIePointer)) {
17431
- cov_1ytczr8q8v.b[125][0]++;
17432
- cov_1ytczr8q8v.s[411]++;
17430
+ if ((cov_zxsozhk5a.b[126][0]++, !env.supportsTouch) && (cov_zxsozhk5a.b[126][1]++, !env.supportsIePointer)) {
17431
+ cov_zxsozhk5a.b[125][0]++;
17432
+ cov_zxsozhk5a.s[411]++;
17433
17433
  return;
17434
17434
  } else {
17435
- cov_1ytczr8q8v.b[125][1]++;
17435
+ cov_zxsozhk5a.b[125][1]++;
17436
17436
  }
17437
17437
 
17438
- var element = (cov_1ytczr8q8v.s[412]++, i.element);
17438
+ var element = (cov_zxsozhk5a.s[412]++, i.element);
17439
17439
 
17440
17440
  function shouldPrevent(deltaX, deltaY) {
17441
- cov_1ytczr8q8v.f[63]++;
17442
- var scrollTop = (cov_1ytczr8q8v.s[413]++, Math.floor(element.scrollTop));
17443
- var scrollLeft = (cov_1ytczr8q8v.s[414]++, element.scrollLeft);
17444
- var magnitudeX = (cov_1ytczr8q8v.s[415]++, Math.abs(deltaX));
17445
- var magnitudeY = (cov_1ytczr8q8v.s[416]++, Math.abs(deltaY));
17446
- cov_1ytczr8q8v.s[417]++;
17441
+ cov_zxsozhk5a.f[63]++;
17442
+ var scrollTop = (cov_zxsozhk5a.s[413]++, Math.floor(element.scrollTop));
17443
+ var scrollLeft = (cov_zxsozhk5a.s[414]++, element.scrollLeft);
17444
+ var magnitudeX = (cov_zxsozhk5a.s[415]++, Math.abs(deltaX));
17445
+ var magnitudeY = (cov_zxsozhk5a.s[416]++, Math.abs(deltaY));
17446
+ cov_zxsozhk5a.s[417]++;
17447
17447
 
17448
17448
  if (magnitudeY > magnitudeX) {
17449
- cov_1ytczr8q8v.b[127][0]++;
17450
- cov_1ytczr8q8v.s[418]++;
17449
+ cov_zxsozhk5a.b[127][0]++;
17450
+ cov_zxsozhk5a.s[418]++;
17451
17451
 
17452
17452
  // user is perhaps trying to swipe up/down the page
17453
- if ((cov_1ytczr8q8v.b[129][0]++, deltaY < 0) && (cov_1ytczr8q8v.b[129][1]++, scrollTop === i.contentHeight - i.containerHeight) || (cov_1ytczr8q8v.b[129][2]++, deltaY > 0) && (cov_1ytczr8q8v.b[129][3]++, scrollTop === 0)) {
17454
- cov_1ytczr8q8v.b[128][0]++;
17455
- cov_1ytczr8q8v.s[419]++;
17453
+ if ((cov_zxsozhk5a.b[129][0]++, deltaY < 0) && (cov_zxsozhk5a.b[129][1]++, scrollTop === i.contentHeight - i.containerHeight) || (cov_zxsozhk5a.b[129][2]++, deltaY > 0) && (cov_zxsozhk5a.b[129][3]++, scrollTop === 0)) {
17454
+ cov_zxsozhk5a.b[128][0]++;
17455
+ cov_zxsozhk5a.s[419]++;
17456
17456
  // set prevent for mobile Chrome refresh
17457
- return (cov_1ytczr8q8v.b[130][0]++, window.scrollY === 0) && (cov_1ytczr8q8v.b[130][1]++, deltaY > 0) && (cov_1ytczr8q8v.b[130][2]++, env.isChrome);
17457
+ return (cov_zxsozhk5a.b[130][0]++, window.scrollY === 0) && (cov_zxsozhk5a.b[130][1]++, deltaY > 0) && (cov_zxsozhk5a.b[130][2]++, env.isChrome);
17458
17458
  } else {
17459
- cov_1ytczr8q8v.b[128][1]++;
17459
+ cov_zxsozhk5a.b[128][1]++;
17460
17460
  }
17461
17461
  } else {
17462
- cov_1ytczr8q8v.b[127][1]++;
17463
- cov_1ytczr8q8v.s[420]++;
17462
+ cov_zxsozhk5a.b[127][1]++;
17463
+ cov_zxsozhk5a.s[420]++;
17464
17464
 
17465
17465
  if (magnitudeX > magnitudeY) {
17466
- cov_1ytczr8q8v.b[131][0]++;
17467
- cov_1ytczr8q8v.s[421]++;
17466
+ cov_zxsozhk5a.b[131][0]++;
17467
+ cov_zxsozhk5a.s[421]++;
17468
17468
 
17469
17469
  // user is perhaps trying to swipe left/right across the page
17470
- if ((cov_1ytczr8q8v.b[133][0]++, deltaX < 0) && (cov_1ytczr8q8v.b[133][1]++, scrollLeft === i.contentWidth - i.containerWidth) || (cov_1ytczr8q8v.b[133][2]++, deltaX > 0) && (cov_1ytczr8q8v.b[133][3]++, scrollLeft === 0)) {
17471
- cov_1ytczr8q8v.b[132][0]++;
17472
- cov_1ytczr8q8v.s[422]++;
17470
+ if ((cov_zxsozhk5a.b[133][0]++, deltaX < 0) && (cov_zxsozhk5a.b[133][1]++, scrollLeft === i.contentWidth - i.containerWidth) || (cov_zxsozhk5a.b[133][2]++, deltaX > 0) && (cov_zxsozhk5a.b[133][3]++, scrollLeft === 0)) {
17471
+ cov_zxsozhk5a.b[132][0]++;
17472
+ cov_zxsozhk5a.s[422]++;
17473
17473
  return true;
17474
17474
  } else {
17475
- cov_1ytczr8q8v.b[132][1]++;
17475
+ cov_zxsozhk5a.b[132][1]++;
17476
17476
  }
17477
17477
  } else {
17478
- cov_1ytczr8q8v.b[131][1]++;
17478
+ cov_zxsozhk5a.b[131][1]++;
17479
17479
  }
17480
17480
  }
17481
17481
 
17482
- cov_1ytczr8q8v.s[423]++;
17482
+ cov_zxsozhk5a.s[423]++;
17483
17483
  return true;
17484
17484
  }
17485
17485
 
17486
17486
  function applyTouchMove(differenceX, differenceY) {
17487
- cov_1ytczr8q8v.f[64]++;
17488
- cov_1ytczr8q8v.s[424]++;
17487
+ cov_zxsozhk5a.f[64]++;
17488
+ cov_zxsozhk5a.s[424]++;
17489
17489
  element.scrollTop -= differenceY;
17490
- cov_1ytczr8q8v.s[425]++;
17490
+ cov_zxsozhk5a.s[425]++;
17491
17491
  element.scrollLeft -= differenceX;
17492
- cov_1ytczr8q8v.s[426]++;
17492
+ cov_zxsozhk5a.s[426]++;
17493
17493
  updateGeometry(i);
17494
17494
  }
17495
17495
 
17496
- var startOffset = (cov_1ytczr8q8v.s[427]++, {});
17497
- var startTime = (cov_1ytczr8q8v.s[428]++, 0);
17498
- var speed = (cov_1ytczr8q8v.s[429]++, {});
17499
- var easingLoop = (cov_1ytczr8q8v.s[430]++, null);
17496
+ var startOffset = (cov_zxsozhk5a.s[427]++, {});
17497
+ var startTime = (cov_zxsozhk5a.s[428]++, 0);
17498
+ var speed = (cov_zxsozhk5a.s[429]++, {});
17499
+ var easingLoop = (cov_zxsozhk5a.s[430]++, null);
17500
17500
 
17501
17501
  function getTouch(e) {
17502
- cov_1ytczr8q8v.f[65]++;
17503
- cov_1ytczr8q8v.s[431]++;
17502
+ cov_zxsozhk5a.f[65]++;
17503
+ cov_zxsozhk5a.s[431]++;
17504
17504
 
17505
17505
  if (e.targetTouches) {
17506
- cov_1ytczr8q8v.b[134][0]++;
17507
- cov_1ytczr8q8v.s[432]++;
17506
+ cov_zxsozhk5a.b[134][0]++;
17507
+ cov_zxsozhk5a.s[432]++;
17508
17508
  return e.targetTouches[0];
17509
17509
  } else {
17510
- cov_1ytczr8q8v.b[134][1]++;
17511
- cov_1ytczr8q8v.s[433]++;
17510
+ cov_zxsozhk5a.b[134][1]++;
17511
+ cov_zxsozhk5a.s[433]++;
17512
17512
  // Maybe IE pointer
17513
17513
  return e;
17514
17514
  }
17515
17515
  }
17516
17516
 
17517
17517
  function shouldHandle(e) {
17518
- cov_1ytczr8q8v.f[66]++;
17519
- cov_1ytczr8q8v.s[434]++;
17518
+ cov_zxsozhk5a.f[66]++;
17519
+ cov_zxsozhk5a.s[434]++;
17520
17520
 
17521
- if ((cov_1ytczr8q8v.b[136][0]++, e.pointerType) && (cov_1ytczr8q8v.b[136][1]++, e.pointerType === 'pen') && (cov_1ytczr8q8v.b[136][2]++, e.buttons === 0)) {
17522
- cov_1ytczr8q8v.b[135][0]++;
17523
- cov_1ytczr8q8v.s[435]++;
17521
+ if ((cov_zxsozhk5a.b[136][0]++, e.pointerType) && (cov_zxsozhk5a.b[136][1]++, e.pointerType === 'pen') && (cov_zxsozhk5a.b[136][2]++, e.buttons === 0)) {
17522
+ cov_zxsozhk5a.b[135][0]++;
17523
+ cov_zxsozhk5a.s[435]++;
17524
17524
  return false;
17525
17525
  } else {
17526
- cov_1ytczr8q8v.b[135][1]++;
17526
+ cov_zxsozhk5a.b[135][1]++;
17527
17527
  }
17528
17528
 
17529
- cov_1ytczr8q8v.s[436]++;
17529
+ cov_zxsozhk5a.s[436]++;
17530
17530
 
17531
- if ((cov_1ytczr8q8v.b[138][0]++, e.targetTouches) && (cov_1ytczr8q8v.b[138][1]++, e.targetTouches.length === 1)) {
17532
- cov_1ytczr8q8v.b[137][0]++;
17533
- cov_1ytczr8q8v.s[437]++;
17531
+ if ((cov_zxsozhk5a.b[138][0]++, e.targetTouches) && (cov_zxsozhk5a.b[138][1]++, e.targetTouches.length === 1)) {
17532
+ cov_zxsozhk5a.b[137][0]++;
17533
+ cov_zxsozhk5a.s[437]++;
17534
17534
  return true;
17535
17535
  } else {
17536
- cov_1ytczr8q8v.b[137][1]++;
17536
+ cov_zxsozhk5a.b[137][1]++;
17537
17537
  }
17538
17538
 
17539
- cov_1ytczr8q8v.s[438]++;
17539
+ cov_zxsozhk5a.s[438]++;
17540
17540
 
17541
- if ((cov_1ytczr8q8v.b[140][0]++, e.pointerType) && (cov_1ytczr8q8v.b[140][1]++, e.pointerType !== 'mouse') && (cov_1ytczr8q8v.b[140][2]++, e.pointerType !== e.MSPOINTER_TYPE_MOUSE)) {
17542
- cov_1ytczr8q8v.b[139][0]++;
17543
- cov_1ytczr8q8v.s[439]++;
17541
+ if ((cov_zxsozhk5a.b[140][0]++, e.pointerType) && (cov_zxsozhk5a.b[140][1]++, e.pointerType !== 'mouse') && (cov_zxsozhk5a.b[140][2]++, e.pointerType !== e.MSPOINTER_TYPE_MOUSE)) {
17542
+ cov_zxsozhk5a.b[139][0]++;
17543
+ cov_zxsozhk5a.s[439]++;
17544
17544
  return true;
17545
17545
  } else {
17546
- cov_1ytczr8q8v.b[139][1]++;
17546
+ cov_zxsozhk5a.b[139][1]++;
17547
17547
  }
17548
17548
 
17549
- cov_1ytczr8q8v.s[440]++;
17549
+ cov_zxsozhk5a.s[440]++;
17550
17550
  return false;
17551
17551
  }
17552
17552
 
17553
17553
  function touchStart(e) {
17554
- cov_1ytczr8q8v.f[67]++;
17555
- cov_1ytczr8q8v.s[441]++;
17554
+ cov_zxsozhk5a.f[67]++;
17555
+ cov_zxsozhk5a.s[441]++;
17556
17556
 
17557
17557
  if (!shouldHandle(e)) {
17558
- cov_1ytczr8q8v.b[141][0]++;
17559
- cov_1ytczr8q8v.s[442]++;
17558
+ cov_zxsozhk5a.b[141][0]++;
17559
+ cov_zxsozhk5a.s[442]++;
17560
17560
  return;
17561
17561
  } else {
17562
- cov_1ytczr8q8v.b[141][1]++;
17562
+ cov_zxsozhk5a.b[141][1]++;
17563
17563
  }
17564
17564
 
17565
- var touch = (cov_1ytczr8q8v.s[443]++, getTouch(e));
17566
- cov_1ytczr8q8v.s[444]++;
17565
+ var touch = (cov_zxsozhk5a.s[443]++, getTouch(e));
17566
+ cov_zxsozhk5a.s[444]++;
17567
17567
  startOffset.pageX = touch.pageX;
17568
- cov_1ytczr8q8v.s[445]++;
17568
+ cov_zxsozhk5a.s[445]++;
17569
17569
  startOffset.pageY = touch.pageY;
17570
- cov_1ytczr8q8v.s[446]++;
17570
+ cov_zxsozhk5a.s[446]++;
17571
17571
  startTime = new Date().getTime();
17572
- cov_1ytczr8q8v.s[447]++;
17572
+ cov_zxsozhk5a.s[447]++;
17573
17573
 
17574
17574
  if (easingLoop !== null) {
17575
- cov_1ytczr8q8v.b[142][0]++;
17576
- cov_1ytczr8q8v.s[448]++;
17575
+ cov_zxsozhk5a.b[142][0]++;
17576
+ cov_zxsozhk5a.s[448]++;
17577
17577
  clearInterval(easingLoop);
17578
17578
  } else {
17579
- cov_1ytczr8q8v.b[142][1]++;
17579
+ cov_zxsozhk5a.b[142][1]++;
17580
17580
  }
17581
17581
  }
17582
17582
 
17583
17583
  function shouldBeConsumedByChild(target, deltaX, deltaY) {
17584
- cov_1ytczr8q8v.f[68]++;
17585
- cov_1ytczr8q8v.s[449]++;
17584
+ cov_zxsozhk5a.f[68]++;
17585
+ cov_zxsozhk5a.s[449]++;
17586
17586
 
17587
17587
  if (!element.contains(target)) {
17588
- cov_1ytczr8q8v.b[143][0]++;
17589
- cov_1ytczr8q8v.s[450]++;
17588
+ cov_zxsozhk5a.b[143][0]++;
17589
+ cov_zxsozhk5a.s[450]++;
17590
17590
  return false;
17591
17591
  } else {
17592
- cov_1ytczr8q8v.b[143][1]++;
17592
+ cov_zxsozhk5a.b[143][1]++;
17593
17593
  }
17594
17594
 
17595
- var cursor = (cov_1ytczr8q8v.s[451]++, target);
17596
- cov_1ytczr8q8v.s[452]++;
17595
+ var cursor = (cov_zxsozhk5a.s[451]++, target);
17596
+ cov_zxsozhk5a.s[452]++;
17597
17597
 
17598
- while ((cov_1ytczr8q8v.b[144][0]++, cursor) && (cov_1ytczr8q8v.b[144][1]++, cursor !== element)) {
17599
- cov_1ytczr8q8v.s[453]++;
17598
+ while ((cov_zxsozhk5a.b[144][0]++, cursor) && (cov_zxsozhk5a.b[144][1]++, cursor !== element)) {
17599
+ cov_zxsozhk5a.s[453]++;
17600
17600
 
17601
17601
  if (cursor.classList.contains(cls.element.consuming)) {
17602
- cov_1ytczr8q8v.b[145][0]++;
17603
- cov_1ytczr8q8v.s[454]++;
17602
+ cov_zxsozhk5a.b[145][0]++;
17603
+ cov_zxsozhk5a.s[454]++;
17604
17604
  return true;
17605
17605
  } else {
17606
- cov_1ytczr8q8v.b[145][1]++;
17606
+ cov_zxsozhk5a.b[145][1]++;
17607
17607
  }
17608
17608
 
17609
- var style = (cov_1ytczr8q8v.s[455]++, get(cursor));
17610
- var overflow = (cov_1ytczr8q8v.s[456]++, [style.overflow, style.overflowX, style.overflowY].join('')); // if scrollable
17609
+ var style = (cov_zxsozhk5a.s[455]++, get(cursor));
17610
+ var overflow = (cov_zxsozhk5a.s[456]++, [style.overflow, style.overflowX, style.overflowY].join('')); // if scrollable
17611
17611
 
17612
- cov_1ytczr8q8v.s[457]++;
17612
+ cov_zxsozhk5a.s[457]++;
17613
17613
 
17614
17614
  if (overflow.match(/(scroll|auto)/)) {
17615
- cov_1ytczr8q8v.b[146][0]++;
17616
- var maxScrollTop = (cov_1ytczr8q8v.s[458]++, cursor.scrollHeight - cursor.clientHeight);
17617
- cov_1ytczr8q8v.s[459]++;
17615
+ cov_zxsozhk5a.b[146][0]++;
17616
+ var maxScrollTop = (cov_zxsozhk5a.s[458]++, cursor.scrollHeight - cursor.clientHeight);
17617
+ cov_zxsozhk5a.s[459]++;
17618
17618
 
17619
17619
  if (maxScrollTop > 0) {
17620
- cov_1ytczr8q8v.b[147][0]++;
17621
- cov_1ytczr8q8v.s[460]++;
17620
+ cov_zxsozhk5a.b[147][0]++;
17621
+ cov_zxsozhk5a.s[460]++;
17622
17622
 
17623
- if ((cov_1ytczr8q8v.b[149][0]++, !((cov_1ytczr8q8v.b[150][0]++, cursor.scrollTop === 0) && (cov_1ytczr8q8v.b[150][1]++, deltaY > 0))) && (cov_1ytczr8q8v.b[149][1]++, !((cov_1ytczr8q8v.b[151][0]++, cursor.scrollTop === maxScrollTop) && (cov_1ytczr8q8v.b[151][1]++, deltaY < 0)))) {
17624
- cov_1ytczr8q8v.b[148][0]++;
17625
- cov_1ytczr8q8v.s[461]++;
17623
+ if ((cov_zxsozhk5a.b[149][0]++, !((cov_zxsozhk5a.b[150][0]++, cursor.scrollTop === 0) && (cov_zxsozhk5a.b[150][1]++, deltaY > 0))) && (cov_zxsozhk5a.b[149][1]++, !((cov_zxsozhk5a.b[151][0]++, cursor.scrollTop === maxScrollTop) && (cov_zxsozhk5a.b[151][1]++, deltaY < 0)))) {
17624
+ cov_zxsozhk5a.b[148][0]++;
17625
+ cov_zxsozhk5a.s[461]++;
17626
17626
  return true;
17627
17627
  } else {
17628
- cov_1ytczr8q8v.b[148][1]++;
17628
+ cov_zxsozhk5a.b[148][1]++;
17629
17629
  }
17630
17630
  } else {
17631
- cov_1ytczr8q8v.b[147][1]++;
17631
+ cov_zxsozhk5a.b[147][1]++;
17632
17632
  }
17633
17633
 
17634
- var maxScrollLeft = (cov_1ytczr8q8v.s[462]++, cursor.scrollLeft - cursor.clientWidth);
17635
- cov_1ytczr8q8v.s[463]++;
17634
+ var maxScrollLeft = (cov_zxsozhk5a.s[462]++, cursor.scrollLeft - cursor.clientWidth);
17635
+ cov_zxsozhk5a.s[463]++;
17636
17636
 
17637
17637
  if (maxScrollLeft > 0) {
17638
- cov_1ytczr8q8v.b[152][0]++;
17639
- cov_1ytczr8q8v.s[464]++;
17638
+ cov_zxsozhk5a.b[152][0]++;
17639
+ cov_zxsozhk5a.s[464]++;
17640
17640
 
17641
- if ((cov_1ytczr8q8v.b[154][0]++, !((cov_1ytczr8q8v.b[155][0]++, cursor.scrollLeft === 0) && (cov_1ytczr8q8v.b[155][1]++, deltaX < 0))) && (cov_1ytczr8q8v.b[154][1]++, !((cov_1ytczr8q8v.b[156][0]++, cursor.scrollLeft === maxScrollLeft) && (cov_1ytczr8q8v.b[156][1]++, deltaX > 0)))) {
17642
- cov_1ytczr8q8v.b[153][0]++;
17643
- cov_1ytczr8q8v.s[465]++;
17641
+ if ((cov_zxsozhk5a.b[154][0]++, !((cov_zxsozhk5a.b[155][0]++, cursor.scrollLeft === 0) && (cov_zxsozhk5a.b[155][1]++, deltaX < 0))) && (cov_zxsozhk5a.b[154][1]++, !((cov_zxsozhk5a.b[156][0]++, cursor.scrollLeft === maxScrollLeft) && (cov_zxsozhk5a.b[156][1]++, deltaX > 0)))) {
17642
+ cov_zxsozhk5a.b[153][0]++;
17643
+ cov_zxsozhk5a.s[465]++;
17644
17644
  return true;
17645
17645
  } else {
17646
- cov_1ytczr8q8v.b[153][1]++;
17646
+ cov_zxsozhk5a.b[153][1]++;
17647
17647
  }
17648
17648
  } else {
17649
- cov_1ytczr8q8v.b[152][1]++;
17649
+ cov_zxsozhk5a.b[152][1]++;
17650
17650
  }
17651
17651
  } else {
17652
- cov_1ytczr8q8v.b[146][1]++;
17652
+ cov_zxsozhk5a.b[146][1]++;
17653
17653
  }
17654
17654
 
17655
- cov_1ytczr8q8v.s[466]++;
17655
+ cov_zxsozhk5a.s[466]++;
17656
17656
  cursor = cursor.parentNode;
17657
17657
  }
17658
17658
 
17659
- cov_1ytczr8q8v.s[467]++;
17659
+ cov_zxsozhk5a.s[467]++;
17660
17660
  return false;
17661
17661
  }
17662
17662
 
17663
17663
  function touchMove(e) {
17664
- cov_1ytczr8q8v.f[69]++;
17665
- cov_1ytczr8q8v.s[468]++;
17664
+ cov_zxsozhk5a.f[69]++;
17665
+ cov_zxsozhk5a.s[468]++;
17666
17666
 
17667
17667
  if (shouldHandle(e)) {
17668
- cov_1ytczr8q8v.b[157][0]++;
17669
- var touch = (cov_1ytczr8q8v.s[469]++, getTouch(e));
17670
- var currentOffset = (cov_1ytczr8q8v.s[470]++, {
17668
+ cov_zxsozhk5a.b[157][0]++;
17669
+ var touch = (cov_zxsozhk5a.s[469]++, getTouch(e));
17670
+ var currentOffset = (cov_zxsozhk5a.s[470]++, {
17671
17671
  pageX: touch.pageX,
17672
17672
  pageY: touch.pageY
17673
17673
  });
17674
- var differenceX = (cov_1ytczr8q8v.s[471]++, currentOffset.pageX - startOffset.pageX);
17675
- var differenceY = (cov_1ytczr8q8v.s[472]++, currentOffset.pageY - startOffset.pageY);
17676
- cov_1ytczr8q8v.s[473]++;
17674
+ var differenceX = (cov_zxsozhk5a.s[471]++, currentOffset.pageX - startOffset.pageX);
17675
+ var differenceY = (cov_zxsozhk5a.s[472]++, currentOffset.pageY - startOffset.pageY);
17676
+ cov_zxsozhk5a.s[473]++;
17677
17677
 
17678
17678
  if (shouldBeConsumedByChild(e.target, differenceX, differenceY)) {
17679
- cov_1ytczr8q8v.b[158][0]++;
17680
- cov_1ytczr8q8v.s[474]++;
17679
+ cov_zxsozhk5a.b[158][0]++;
17680
+ cov_zxsozhk5a.s[474]++;
17681
17681
  return;
17682
17682
  } else {
17683
- cov_1ytczr8q8v.b[158][1]++;
17683
+ cov_zxsozhk5a.b[158][1]++;
17684
17684
  }
17685
17685
 
17686
- cov_1ytczr8q8v.s[475]++;
17686
+ cov_zxsozhk5a.s[475]++;
17687
17687
  applyTouchMove(differenceX, differenceY);
17688
- cov_1ytczr8q8v.s[476]++;
17688
+ cov_zxsozhk5a.s[476]++;
17689
17689
  startOffset = currentOffset;
17690
- var currentTime = (cov_1ytczr8q8v.s[477]++, new Date().getTime());
17691
- var timeGap = (cov_1ytczr8q8v.s[478]++, currentTime - startTime);
17692
- cov_1ytczr8q8v.s[479]++;
17690
+ var currentTime = (cov_zxsozhk5a.s[477]++, new Date().getTime());
17691
+ var timeGap = (cov_zxsozhk5a.s[478]++, currentTime - startTime);
17692
+ cov_zxsozhk5a.s[479]++;
17693
17693
 
17694
17694
  if (timeGap > 0) {
17695
- cov_1ytczr8q8v.b[159][0]++;
17696
- cov_1ytczr8q8v.s[480]++;
17695
+ cov_zxsozhk5a.b[159][0]++;
17696
+ cov_zxsozhk5a.s[480]++;
17697
17697
  speed.x = differenceX / timeGap;
17698
- cov_1ytczr8q8v.s[481]++;
17698
+ cov_zxsozhk5a.s[481]++;
17699
17699
  speed.y = differenceY / timeGap;
17700
- cov_1ytczr8q8v.s[482]++;
17700
+ cov_zxsozhk5a.s[482]++;
17701
17701
  startTime = currentTime;
17702
17702
  } else {
17703
- cov_1ytczr8q8v.b[159][1]++;
17703
+ cov_zxsozhk5a.b[159][1]++;
17704
17704
  }
17705
17705
 
17706
- cov_1ytczr8q8v.s[483]++;
17706
+ cov_zxsozhk5a.s[483]++;
17707
17707
 
17708
17708
  if (shouldPrevent(differenceX, differenceY)) {
17709
- cov_1ytczr8q8v.b[160][0]++;
17710
- cov_1ytczr8q8v.s[484]++;
17709
+ cov_zxsozhk5a.b[160][0]++;
17710
+ cov_zxsozhk5a.s[484]++;
17711
17711
  e.preventDefault();
17712
17712
  } else {
17713
- cov_1ytczr8q8v.b[160][1]++;
17713
+ cov_zxsozhk5a.b[160][1]++;
17714
17714
  }
17715
17715
  } else {
17716
- cov_1ytczr8q8v.b[157][1]++;
17716
+ cov_zxsozhk5a.b[157][1]++;
17717
17717
  }
17718
17718
  }
17719
17719
 
17720
17720
  function touchEnd() {
17721
- cov_1ytczr8q8v.f[70]++;
17722
- cov_1ytczr8q8v.s[485]++;
17721
+ cov_zxsozhk5a.f[70]++;
17722
+ cov_zxsozhk5a.s[485]++;
17723
17723
 
17724
17724
  if (i.settings.swipeEasing) {
17725
- cov_1ytczr8q8v.b[161][0]++;
17726
- cov_1ytczr8q8v.s[486]++;
17725
+ cov_zxsozhk5a.b[161][0]++;
17726
+ cov_zxsozhk5a.s[486]++;
17727
17727
  clearInterval(easingLoop);
17728
- cov_1ytczr8q8v.s[487]++;
17728
+ cov_zxsozhk5a.s[487]++;
17729
17729
  easingLoop = setInterval(function () {
17730
- cov_1ytczr8q8v.f[71]++;
17731
- cov_1ytczr8q8v.s[488]++;
17730
+ cov_zxsozhk5a.f[71]++;
17731
+ cov_zxsozhk5a.s[488]++;
17732
17732
 
17733
17733
  if (i.isInitialized) {
17734
- cov_1ytczr8q8v.b[162][0]++;
17735
- cov_1ytczr8q8v.s[489]++;
17734
+ cov_zxsozhk5a.b[162][0]++;
17735
+ cov_zxsozhk5a.s[489]++;
17736
17736
  clearInterval(easingLoop);
17737
- cov_1ytczr8q8v.s[490]++;
17737
+ cov_zxsozhk5a.s[490]++;
17738
17738
  return;
17739
17739
  } else {
17740
- cov_1ytczr8q8v.b[162][1]++;
17740
+ cov_zxsozhk5a.b[162][1]++;
17741
17741
  }
17742
17742
 
17743
- cov_1ytczr8q8v.s[491]++;
17743
+ cov_zxsozhk5a.s[491]++;
17744
17744
 
17745
- if ((cov_1ytczr8q8v.b[164][0]++, !speed.x) && (cov_1ytczr8q8v.b[164][1]++, !speed.y)) {
17746
- cov_1ytczr8q8v.b[163][0]++;
17747
- cov_1ytczr8q8v.s[492]++;
17745
+ if ((cov_zxsozhk5a.b[164][0]++, !speed.x) && (cov_zxsozhk5a.b[164][1]++, !speed.y)) {
17746
+ cov_zxsozhk5a.b[163][0]++;
17747
+ cov_zxsozhk5a.s[492]++;
17748
17748
  clearInterval(easingLoop);
17749
- cov_1ytczr8q8v.s[493]++;
17749
+ cov_zxsozhk5a.s[493]++;
17750
17750
  return;
17751
17751
  } else {
17752
- cov_1ytczr8q8v.b[163][1]++;
17752
+ cov_zxsozhk5a.b[163][1]++;
17753
17753
  }
17754
17754
 
17755
- cov_1ytczr8q8v.s[494]++;
17755
+ cov_zxsozhk5a.s[494]++;
17756
17756
 
17757
- if ((cov_1ytczr8q8v.b[166][0]++, Math.abs(speed.x) < 0.01) && (cov_1ytczr8q8v.b[166][1]++, Math.abs(speed.y) < 0.01)) {
17758
- cov_1ytczr8q8v.b[165][0]++;
17759
- cov_1ytczr8q8v.s[495]++;
17757
+ if ((cov_zxsozhk5a.b[166][0]++, Math.abs(speed.x) < 0.01) && (cov_zxsozhk5a.b[166][1]++, Math.abs(speed.y) < 0.01)) {
17758
+ cov_zxsozhk5a.b[165][0]++;
17759
+ cov_zxsozhk5a.s[495]++;
17760
17760
  clearInterval(easingLoop);
17761
- cov_1ytczr8q8v.s[496]++;
17761
+ cov_zxsozhk5a.s[496]++;
17762
17762
  return;
17763
17763
  } else {
17764
- cov_1ytczr8q8v.b[165][1]++;
17764
+ cov_zxsozhk5a.b[165][1]++;
17765
17765
  }
17766
17766
 
17767
- cov_1ytczr8q8v.s[497]++;
17767
+ cov_zxsozhk5a.s[497]++;
17768
17768
  applyTouchMove(speed.x * 30, speed.y * 30);
17769
- cov_1ytczr8q8v.s[498]++;
17769
+ cov_zxsozhk5a.s[498]++;
17770
17770
  speed.x *= 0.8;
17771
- cov_1ytczr8q8v.s[499]++;
17771
+ cov_zxsozhk5a.s[499]++;
17772
17772
  speed.y *= 0.8;
17773
17773
  }, 10);
17774
17774
  } else {
17775
- cov_1ytczr8q8v.b[161][1]++;
17775
+ cov_zxsozhk5a.b[161][1]++;
17776
17776
  }
17777
17777
  }
17778
17778
 
17779
- cov_1ytczr8q8v.s[500]++;
17779
+ cov_zxsozhk5a.s[500]++;
17780
17780
 
17781
17781
  if (env.supportsTouch) {
17782
- cov_1ytczr8q8v.b[167][0]++;
17783
- cov_1ytczr8q8v.s[501]++;
17782
+ cov_zxsozhk5a.b[167][0]++;
17783
+ cov_zxsozhk5a.s[501]++;
17784
17784
  i.event.bind(element, 'touchstart', touchStart);
17785
- cov_1ytczr8q8v.s[502]++;
17785
+ cov_zxsozhk5a.s[502]++;
17786
17786
  i.event.bind(element, 'touchmove', touchMove);
17787
- cov_1ytczr8q8v.s[503]++;
17787
+ cov_zxsozhk5a.s[503]++;
17788
17788
  i.event.bind(element, 'touchend', touchEnd);
17789
17789
  } else {
17790
- cov_1ytczr8q8v.b[167][1]++;
17791
- cov_1ytczr8q8v.s[504]++;
17790
+ cov_zxsozhk5a.b[167][1]++;
17791
+ cov_zxsozhk5a.s[504]++;
17792
17792
 
17793
17793
  if (env.supportsIePointer) {
17794
- cov_1ytczr8q8v.b[168][0]++;
17795
- cov_1ytczr8q8v.s[505]++;
17794
+ cov_zxsozhk5a.b[168][0]++;
17795
+ cov_zxsozhk5a.s[505]++;
17796
17796
 
17797
17797
  if (window.PointerEvent) {
17798
- cov_1ytczr8q8v.b[169][0]++;
17799
- cov_1ytczr8q8v.s[506]++;
17798
+ cov_zxsozhk5a.b[169][0]++;
17799
+ cov_zxsozhk5a.s[506]++;
17800
17800
  i.event.bind(element, 'pointerdown', touchStart);
17801
- cov_1ytczr8q8v.s[507]++;
17801
+ cov_zxsozhk5a.s[507]++;
17802
17802
  i.event.bind(element, 'pointermove', touchMove);
17803
- cov_1ytczr8q8v.s[508]++;
17803
+ cov_zxsozhk5a.s[508]++;
17804
17804
  i.event.bind(element, 'pointerup', touchEnd);
17805
17805
  } else {
17806
- cov_1ytczr8q8v.b[169][1]++;
17807
- cov_1ytczr8q8v.s[509]++;
17806
+ cov_zxsozhk5a.b[169][1]++;
17807
+ cov_zxsozhk5a.s[509]++;
17808
17808
 
17809
17809
  if (window.MSPointerEvent) {
17810
- cov_1ytczr8q8v.b[170][0]++;
17811
- cov_1ytczr8q8v.s[510]++;
17810
+ cov_zxsozhk5a.b[170][0]++;
17811
+ cov_zxsozhk5a.s[510]++;
17812
17812
  i.event.bind(element, 'MSPointerDown', touchStart);
17813
- cov_1ytczr8q8v.s[511]++;
17813
+ cov_zxsozhk5a.s[511]++;
17814
17814
  i.event.bind(element, 'MSPointerMove', touchMove);
17815
- cov_1ytczr8q8v.s[512]++;
17815
+ cov_zxsozhk5a.s[512]++;
17816
17816
  i.event.bind(element, 'MSPointerUp', touchEnd);
17817
17817
  } else {
17818
- cov_1ytczr8q8v.b[170][1]++;
17818
+ cov_zxsozhk5a.b[170][1]++;
17819
17819
  }
17820
17820
  }
17821
17821
  } else {
17822
- cov_1ytczr8q8v.b[168][1]++;
17822
+ cov_zxsozhk5a.b[168][1]++;
17823
17823
  }
17824
17824
  }
17825
17825
  };
17826
17826
 
17827
- cov_1ytczr8q8v.s[513]++;
17827
+ cov_zxsozhk5a.s[513]++;
17828
17828
 
17829
17829
  var defaultSettings = function defaultSettings() {
17830
- cov_1ytczr8q8v.f[72]++;
17831
- cov_1ytczr8q8v.s[514]++;
17830
+ cov_zxsozhk5a.f[72]++;
17831
+ cov_zxsozhk5a.s[514]++;
17832
17832
  return {
17833
17833
  handlers: ['click-rail', 'drag-thumb', 'keyboard', 'wheel', 'touch'],
17834
17834
  maxScrollbarLength: null,
@@ -17845,391 +17845,391 @@
17845
17845
  };
17846
17846
  };
17847
17847
 
17848
- var handlers = (cov_1ytczr8q8v.s[515]++, {
17848
+ var handlers = (cov_zxsozhk5a.s[515]++, {
17849
17849
  'click-rail': clickRail,
17850
17850
  'drag-thumb': dragThumb,
17851
17851
  keyboard: keyboard,
17852
17852
  wheel: wheel,
17853
17853
  touch: touch
17854
17854
  });
17855
- cov_1ytczr8q8v.s[516]++;
17855
+ cov_zxsozhk5a.s[516]++;
17856
17856
 
17857
17857
  var PerfectScrollbar = function PerfectScrollbar(element, userSettings) {
17858
- cov_1ytczr8q8v.f[73]++;
17859
- var this$1 = (cov_1ytczr8q8v.s[517]++, this);
17860
- cov_1ytczr8q8v.s[518]++;
17858
+ cov_zxsozhk5a.f[73]++;
17859
+ var this$1 = (cov_zxsozhk5a.s[517]++, this);
17860
+ cov_zxsozhk5a.s[518]++;
17861
17861
 
17862
17862
  if (userSettings === void 0) {
17863
- cov_1ytczr8q8v.b[171][0]++;
17864
- cov_1ytczr8q8v.s[519]++;
17863
+ cov_zxsozhk5a.b[171][0]++;
17864
+ cov_zxsozhk5a.s[519]++;
17865
17865
  userSettings = {};
17866
17866
  } else {
17867
- cov_1ytczr8q8v.b[171][1]++;
17867
+ cov_zxsozhk5a.b[171][1]++;
17868
17868
  }
17869
17869
 
17870
- cov_1ytczr8q8v.s[520]++;
17870
+ cov_zxsozhk5a.s[520]++;
17871
17871
 
17872
17872
  if (typeof element === 'string') {
17873
- cov_1ytczr8q8v.b[172][0]++;
17874
- cov_1ytczr8q8v.s[521]++;
17873
+ cov_zxsozhk5a.b[172][0]++;
17874
+ cov_zxsozhk5a.s[521]++;
17875
17875
  element = document.querySelector(element);
17876
17876
  } else {
17877
- cov_1ytczr8q8v.b[172][1]++;
17877
+ cov_zxsozhk5a.b[172][1]++;
17878
17878
  }
17879
17879
 
17880
- cov_1ytczr8q8v.s[522]++;
17880
+ cov_zxsozhk5a.s[522]++;
17881
17881
 
17882
- if ((cov_1ytczr8q8v.b[174][0]++, !element) || (cov_1ytczr8q8v.b[174][1]++, !element.nodeName)) {
17883
- cov_1ytczr8q8v.b[173][0]++;
17884
- cov_1ytczr8q8v.s[523]++;
17882
+ if ((cov_zxsozhk5a.b[174][0]++, !element) || (cov_zxsozhk5a.b[174][1]++, !element.nodeName)) {
17883
+ cov_zxsozhk5a.b[173][0]++;
17884
+ cov_zxsozhk5a.s[523]++;
17885
17885
  throw new Error('no element is specified to initialize PerfectScrollbar');
17886
17886
  } else {
17887
- cov_1ytczr8q8v.b[173][1]++;
17887
+ cov_zxsozhk5a.b[173][1]++;
17888
17888
  }
17889
17889
 
17890
- cov_1ytczr8q8v.s[524]++;
17890
+ cov_zxsozhk5a.s[524]++;
17891
17891
  this.element = element;
17892
- cov_1ytczr8q8v.s[525]++;
17892
+ cov_zxsozhk5a.s[525]++;
17893
17893
  element.classList.add(cls.main);
17894
- cov_1ytczr8q8v.s[526]++;
17894
+ cov_zxsozhk5a.s[526]++;
17895
17895
  this.settings = defaultSettings();
17896
- cov_1ytczr8q8v.s[527]++;
17896
+ cov_zxsozhk5a.s[527]++;
17897
17897
 
17898
17898
  for (var key in userSettings) {
17899
- cov_1ytczr8q8v.s[528]++;
17899
+ cov_zxsozhk5a.s[528]++;
17900
17900
  this$1.settings[key] = userSettings[key];
17901
17901
  }
17902
17902
 
17903
- cov_1ytczr8q8v.s[529]++;
17903
+ cov_zxsozhk5a.s[529]++;
17904
17904
  this.containerWidth = null;
17905
- cov_1ytczr8q8v.s[530]++;
17905
+ cov_zxsozhk5a.s[530]++;
17906
17906
  this.containerHeight = null;
17907
- cov_1ytczr8q8v.s[531]++;
17907
+ cov_zxsozhk5a.s[531]++;
17908
17908
  this.contentWidth = null;
17909
- cov_1ytczr8q8v.s[532]++;
17909
+ cov_zxsozhk5a.s[532]++;
17910
17910
  this.contentHeight = null;
17911
- cov_1ytczr8q8v.s[533]++;
17911
+ cov_zxsozhk5a.s[533]++;
17912
17912
 
17913
17913
  var focus = function focus() {
17914
- cov_1ytczr8q8v.f[74]++;
17915
- cov_1ytczr8q8v.s[534]++;
17914
+ cov_zxsozhk5a.f[74]++;
17915
+ cov_zxsozhk5a.s[534]++;
17916
17916
  return element.classList.add(cls.state.focus);
17917
17917
  };
17918
17918
 
17919
- cov_1ytczr8q8v.s[535]++;
17919
+ cov_zxsozhk5a.s[535]++;
17920
17920
 
17921
17921
  var blur = function blur() {
17922
- cov_1ytczr8q8v.f[75]++;
17923
- cov_1ytczr8q8v.s[536]++;
17922
+ cov_zxsozhk5a.f[75]++;
17923
+ cov_zxsozhk5a.s[536]++;
17924
17924
  return element.classList.remove(cls.state.focus);
17925
17925
  };
17926
17926
 
17927
- cov_1ytczr8q8v.s[537]++;
17927
+ cov_zxsozhk5a.s[537]++;
17928
17928
  this.isRtl = get(element).direction === 'rtl';
17929
- cov_1ytczr8q8v.s[538]++;
17929
+ cov_zxsozhk5a.s[538]++;
17930
17930
 
17931
17931
  this.isNegativeScroll = function () {
17932
- cov_1ytczr8q8v.f[76]++;
17933
- var originalScrollLeft = (cov_1ytczr8q8v.s[539]++, element.scrollLeft);
17934
- var result = (cov_1ytczr8q8v.s[540]++, null);
17935
- cov_1ytczr8q8v.s[541]++;
17932
+ cov_zxsozhk5a.f[76]++;
17933
+ var originalScrollLeft = (cov_zxsozhk5a.s[539]++, element.scrollLeft);
17934
+ var result = (cov_zxsozhk5a.s[540]++, null);
17935
+ cov_zxsozhk5a.s[541]++;
17936
17936
  element.scrollLeft = -1;
17937
- cov_1ytczr8q8v.s[542]++;
17937
+ cov_zxsozhk5a.s[542]++;
17938
17938
  result = element.scrollLeft < 0;
17939
- cov_1ytczr8q8v.s[543]++;
17939
+ cov_zxsozhk5a.s[543]++;
17940
17940
  element.scrollLeft = originalScrollLeft;
17941
- cov_1ytczr8q8v.s[544]++;
17941
+ cov_zxsozhk5a.s[544]++;
17942
17942
  return result;
17943
17943
  }();
17944
17944
 
17945
- cov_1ytczr8q8v.s[545]++;
17946
- this.negativeScrollAdjustment = this.isNegativeScroll ? (cov_1ytczr8q8v.b[175][0]++, element.scrollWidth - element.clientWidth) : (cov_1ytczr8q8v.b[175][1]++, 0);
17947
- cov_1ytczr8q8v.s[546]++;
17945
+ cov_zxsozhk5a.s[545]++;
17946
+ this.negativeScrollAdjustment = this.isNegativeScroll ? (cov_zxsozhk5a.b[175][0]++, element.scrollWidth - element.clientWidth) : (cov_zxsozhk5a.b[175][1]++, 0);
17947
+ cov_zxsozhk5a.s[546]++;
17948
17948
  this.event = new EventManager();
17949
- cov_1ytczr8q8v.s[547]++;
17950
- this.ownerDocument = (cov_1ytczr8q8v.b[176][0]++, element.ownerDocument) || (cov_1ytczr8q8v.b[176][1]++, document);
17951
- cov_1ytczr8q8v.s[548]++;
17949
+ cov_zxsozhk5a.s[547]++;
17950
+ this.ownerDocument = (cov_zxsozhk5a.b[176][0]++, element.ownerDocument) || (cov_zxsozhk5a.b[176][1]++, document);
17951
+ cov_zxsozhk5a.s[548]++;
17952
17952
  this.scrollbarXRail = div(cls.element.rail('x'));
17953
- cov_1ytczr8q8v.s[549]++;
17953
+ cov_zxsozhk5a.s[549]++;
17954
17954
  element.appendChild(this.scrollbarXRail);
17955
- cov_1ytczr8q8v.s[550]++;
17955
+ cov_zxsozhk5a.s[550]++;
17956
17956
  this.scrollbarX = div(cls.element.thumb('x'));
17957
- cov_1ytczr8q8v.s[551]++;
17957
+ cov_zxsozhk5a.s[551]++;
17958
17958
  this.scrollbarXRail.appendChild(this.scrollbarX);
17959
- cov_1ytczr8q8v.s[552]++;
17959
+ cov_zxsozhk5a.s[552]++;
17960
17960
  this.scrollbarX.setAttribute('tabindex', 0);
17961
- cov_1ytczr8q8v.s[553]++;
17961
+ cov_zxsozhk5a.s[553]++;
17962
17962
  this.event.bind(this.scrollbarX, 'focus', focus);
17963
- cov_1ytczr8q8v.s[554]++;
17963
+ cov_zxsozhk5a.s[554]++;
17964
17964
  this.event.bind(this.scrollbarX, 'blur', blur);
17965
- cov_1ytczr8q8v.s[555]++;
17965
+ cov_zxsozhk5a.s[555]++;
17966
17966
  this.scrollbarXActive = null;
17967
- cov_1ytczr8q8v.s[556]++;
17967
+ cov_zxsozhk5a.s[556]++;
17968
17968
  this.scrollbarXWidth = null;
17969
- cov_1ytczr8q8v.s[557]++;
17969
+ cov_zxsozhk5a.s[557]++;
17970
17970
  this.scrollbarXLeft = null;
17971
- var railXStyle = (cov_1ytczr8q8v.s[558]++, get(this.scrollbarXRail));
17972
- cov_1ytczr8q8v.s[559]++;
17971
+ var railXStyle = (cov_zxsozhk5a.s[558]++, get(this.scrollbarXRail));
17972
+ cov_zxsozhk5a.s[559]++;
17973
17973
  this.scrollbarXBottom = parseInt(railXStyle.bottom, 10);
17974
- cov_1ytczr8q8v.s[560]++;
17974
+ cov_zxsozhk5a.s[560]++;
17975
17975
 
17976
17976
  if (isNaN(this.scrollbarXBottom)) {
17977
- cov_1ytczr8q8v.b[177][0]++;
17978
- cov_1ytczr8q8v.s[561]++;
17977
+ cov_zxsozhk5a.b[177][0]++;
17978
+ cov_zxsozhk5a.s[561]++;
17979
17979
  this.isScrollbarXUsingBottom = false;
17980
- cov_1ytczr8q8v.s[562]++;
17980
+ cov_zxsozhk5a.s[562]++;
17981
17981
  this.scrollbarXTop = toInt(railXStyle.top);
17982
17982
  } else {
17983
- cov_1ytczr8q8v.b[177][1]++;
17984
- cov_1ytczr8q8v.s[563]++;
17983
+ cov_zxsozhk5a.b[177][1]++;
17984
+ cov_zxsozhk5a.s[563]++;
17985
17985
  this.isScrollbarXUsingBottom = true;
17986
17986
  }
17987
17987
 
17988
- cov_1ytczr8q8v.s[564]++;
17988
+ cov_zxsozhk5a.s[564]++;
17989
17989
  this.railBorderXWidth = toInt(railXStyle.borderLeftWidth) + toInt(railXStyle.borderRightWidth); // Set rail to display:block to calculate margins
17990
17990
 
17991
- cov_1ytczr8q8v.s[565]++;
17991
+ cov_zxsozhk5a.s[565]++;
17992
17992
  set(this.scrollbarXRail, {
17993
17993
  display: 'block'
17994
17994
  });
17995
- cov_1ytczr8q8v.s[566]++;
17995
+ cov_zxsozhk5a.s[566]++;
17996
17996
  this.railXMarginWidth = toInt(railXStyle.marginLeft) + toInt(railXStyle.marginRight);
17997
- cov_1ytczr8q8v.s[567]++;
17997
+ cov_zxsozhk5a.s[567]++;
17998
17998
  set(this.scrollbarXRail, {
17999
17999
  display: ''
18000
18000
  });
18001
- cov_1ytczr8q8v.s[568]++;
18001
+ cov_zxsozhk5a.s[568]++;
18002
18002
  this.railXWidth = null;
18003
- cov_1ytczr8q8v.s[569]++;
18003
+ cov_zxsozhk5a.s[569]++;
18004
18004
  this.railXRatio = null;
18005
- cov_1ytczr8q8v.s[570]++;
18005
+ cov_zxsozhk5a.s[570]++;
18006
18006
  this.scrollbarYRail = div(cls.element.rail('y'));
18007
- cov_1ytczr8q8v.s[571]++;
18007
+ cov_zxsozhk5a.s[571]++;
18008
18008
  element.appendChild(this.scrollbarYRail);
18009
- cov_1ytczr8q8v.s[572]++;
18009
+ cov_zxsozhk5a.s[572]++;
18010
18010
  this.scrollbarY = div(cls.element.thumb('y'));
18011
- cov_1ytczr8q8v.s[573]++;
18011
+ cov_zxsozhk5a.s[573]++;
18012
18012
  this.scrollbarYRail.appendChild(this.scrollbarY);
18013
- cov_1ytczr8q8v.s[574]++;
18013
+ cov_zxsozhk5a.s[574]++;
18014
18014
  this.scrollbarY.setAttribute('tabindex', 0);
18015
- cov_1ytczr8q8v.s[575]++;
18015
+ cov_zxsozhk5a.s[575]++;
18016
18016
  this.event.bind(this.scrollbarY, 'focus', focus);
18017
- cov_1ytczr8q8v.s[576]++;
18017
+ cov_zxsozhk5a.s[576]++;
18018
18018
  this.event.bind(this.scrollbarY, 'blur', blur);
18019
- cov_1ytczr8q8v.s[577]++;
18019
+ cov_zxsozhk5a.s[577]++;
18020
18020
  this.scrollbarYActive = null;
18021
- cov_1ytczr8q8v.s[578]++;
18021
+ cov_zxsozhk5a.s[578]++;
18022
18022
  this.scrollbarYHeight = null;
18023
- cov_1ytczr8q8v.s[579]++;
18023
+ cov_zxsozhk5a.s[579]++;
18024
18024
  this.scrollbarYTop = null;
18025
- var railYStyle = (cov_1ytczr8q8v.s[580]++, get(this.scrollbarYRail));
18026
- cov_1ytczr8q8v.s[581]++;
18025
+ var railYStyle = (cov_zxsozhk5a.s[580]++, get(this.scrollbarYRail));
18026
+ cov_zxsozhk5a.s[581]++;
18027
18027
  this.scrollbarYRight = parseInt(railYStyle.right, 10);
18028
- cov_1ytczr8q8v.s[582]++;
18028
+ cov_zxsozhk5a.s[582]++;
18029
18029
 
18030
18030
  if (isNaN(this.scrollbarYRight)) {
18031
- cov_1ytczr8q8v.b[178][0]++;
18032
- cov_1ytczr8q8v.s[583]++;
18031
+ cov_zxsozhk5a.b[178][0]++;
18032
+ cov_zxsozhk5a.s[583]++;
18033
18033
  this.isScrollbarYUsingRight = false;
18034
- cov_1ytczr8q8v.s[584]++;
18034
+ cov_zxsozhk5a.s[584]++;
18035
18035
  this.scrollbarYLeft = toInt(railYStyle.left);
18036
18036
  } else {
18037
- cov_1ytczr8q8v.b[178][1]++;
18038
- cov_1ytczr8q8v.s[585]++;
18037
+ cov_zxsozhk5a.b[178][1]++;
18038
+ cov_zxsozhk5a.s[585]++;
18039
18039
  this.isScrollbarYUsingRight = true;
18040
18040
  }
18041
18041
 
18042
- cov_1ytczr8q8v.s[586]++;
18043
- this.scrollbarYOuterWidth = this.isRtl ? (cov_1ytczr8q8v.b[179][0]++, outerWidth(this.scrollbarY)) : (cov_1ytczr8q8v.b[179][1]++, null);
18044
- cov_1ytczr8q8v.s[587]++;
18042
+ cov_zxsozhk5a.s[586]++;
18043
+ this.scrollbarYOuterWidth = this.isRtl ? (cov_zxsozhk5a.b[179][0]++, outerWidth(this.scrollbarY)) : (cov_zxsozhk5a.b[179][1]++, null);
18044
+ cov_zxsozhk5a.s[587]++;
18045
18045
  this.railBorderYWidth = toInt(railYStyle.borderTopWidth) + toInt(railYStyle.borderBottomWidth);
18046
- cov_1ytczr8q8v.s[588]++;
18046
+ cov_zxsozhk5a.s[588]++;
18047
18047
  set(this.scrollbarYRail, {
18048
18048
  display: 'block'
18049
18049
  });
18050
- cov_1ytczr8q8v.s[589]++;
18050
+ cov_zxsozhk5a.s[589]++;
18051
18051
  this.railYMarginHeight = toInt(railYStyle.marginTop) + toInt(railYStyle.marginBottom);
18052
- cov_1ytczr8q8v.s[590]++;
18052
+ cov_zxsozhk5a.s[590]++;
18053
18053
  set(this.scrollbarYRail, {
18054
18054
  display: ''
18055
18055
  });
18056
- cov_1ytczr8q8v.s[591]++;
18056
+ cov_zxsozhk5a.s[591]++;
18057
18057
  this.railYHeight = null;
18058
- cov_1ytczr8q8v.s[592]++;
18058
+ cov_zxsozhk5a.s[592]++;
18059
18059
  this.railYRatio = null;
18060
- cov_1ytczr8q8v.s[593]++;
18060
+ cov_zxsozhk5a.s[593]++;
18061
18061
  this.reach = {
18062
- x: element.scrollLeft <= 0 ? (cov_1ytczr8q8v.b[180][0]++, 'start') : (cov_1ytczr8q8v.b[180][1]++, element.scrollLeft >= this.contentWidth - this.containerWidth ? (cov_1ytczr8q8v.b[181][0]++, 'end') : (cov_1ytczr8q8v.b[181][1]++, null)),
18063
- y: element.scrollTop <= 0 ? (cov_1ytczr8q8v.b[182][0]++, 'start') : (cov_1ytczr8q8v.b[182][1]++, element.scrollTop >= this.contentHeight - this.containerHeight ? (cov_1ytczr8q8v.b[183][0]++, 'end') : (cov_1ytczr8q8v.b[183][1]++, null))
18062
+ x: element.scrollLeft <= 0 ? (cov_zxsozhk5a.b[180][0]++, 'start') : (cov_zxsozhk5a.b[180][1]++, element.scrollLeft >= this.contentWidth - this.containerWidth ? (cov_zxsozhk5a.b[181][0]++, 'end') : (cov_zxsozhk5a.b[181][1]++, null)),
18063
+ y: element.scrollTop <= 0 ? (cov_zxsozhk5a.b[182][0]++, 'start') : (cov_zxsozhk5a.b[182][1]++, element.scrollTop >= this.contentHeight - this.containerHeight ? (cov_zxsozhk5a.b[183][0]++, 'end') : (cov_zxsozhk5a.b[183][1]++, null))
18064
18064
  };
18065
- cov_1ytczr8q8v.s[594]++;
18065
+ cov_zxsozhk5a.s[594]++;
18066
18066
  this.isAlive = true;
18067
- cov_1ytczr8q8v.s[595]++;
18067
+ cov_zxsozhk5a.s[595]++;
18068
18068
  this.settings.handlers.forEach(function (handlerName) {
18069
- cov_1ytczr8q8v.f[77]++;
18070
- cov_1ytczr8q8v.s[596]++;
18069
+ cov_zxsozhk5a.f[77]++;
18070
+ cov_zxsozhk5a.s[596]++;
18071
18071
  return handlers[handlerName](this$1);
18072
18072
  });
18073
- cov_1ytczr8q8v.s[597]++;
18073
+ cov_zxsozhk5a.s[597]++;
18074
18074
  this.lastScrollTop = Math.floor(element.scrollTop); // for onScroll only
18075
18075
 
18076
- cov_1ytczr8q8v.s[598]++;
18076
+ cov_zxsozhk5a.s[598]++;
18077
18077
  this.lastScrollLeft = element.scrollLeft; // for onScroll only
18078
18078
 
18079
- cov_1ytczr8q8v.s[599]++;
18079
+ cov_zxsozhk5a.s[599]++;
18080
18080
  this.event.bind(this.element, 'scroll', function (e) {
18081
- cov_1ytczr8q8v.f[78]++;
18082
- cov_1ytczr8q8v.s[600]++;
18081
+ cov_zxsozhk5a.f[78]++;
18082
+ cov_zxsozhk5a.s[600]++;
18083
18083
  return this$1.onScroll(e);
18084
18084
  });
18085
- cov_1ytczr8q8v.s[601]++;
18085
+ cov_zxsozhk5a.s[601]++;
18086
18086
  updateGeometry(this);
18087
18087
  };
18088
18088
 
18089
- cov_1ytczr8q8v.s[602]++;
18089
+ cov_zxsozhk5a.s[602]++;
18090
18090
 
18091
18091
  PerfectScrollbar.prototype.update = function update() {
18092
- cov_1ytczr8q8v.f[79]++;
18093
- cov_1ytczr8q8v.s[603]++;
18092
+ cov_zxsozhk5a.f[79]++;
18093
+ cov_zxsozhk5a.s[603]++;
18094
18094
 
18095
18095
  if (!this.isAlive) {
18096
- cov_1ytczr8q8v.b[184][0]++;
18097
- cov_1ytczr8q8v.s[604]++;
18096
+ cov_zxsozhk5a.b[184][0]++;
18097
+ cov_zxsozhk5a.s[604]++;
18098
18098
  return;
18099
18099
  } else {
18100
- cov_1ytczr8q8v.b[184][1]++;
18100
+ cov_zxsozhk5a.b[184][1]++;
18101
18101
  } // Recalcuate negative scrollLeft adjustment
18102
18102
 
18103
18103
 
18104
- cov_1ytczr8q8v.s[605]++;
18105
- this.negativeScrollAdjustment = this.isNegativeScroll ? (cov_1ytczr8q8v.b[185][0]++, this.element.scrollWidth - this.element.clientWidth) : (cov_1ytczr8q8v.b[185][1]++, 0); // Recalculate rail margins
18104
+ cov_zxsozhk5a.s[605]++;
18105
+ this.negativeScrollAdjustment = this.isNegativeScroll ? (cov_zxsozhk5a.b[185][0]++, this.element.scrollWidth - this.element.clientWidth) : (cov_zxsozhk5a.b[185][1]++, 0); // Recalculate rail margins
18106
18106
 
18107
- cov_1ytczr8q8v.s[606]++;
18107
+ cov_zxsozhk5a.s[606]++;
18108
18108
  set(this.scrollbarXRail, {
18109
18109
  display: 'block'
18110
18110
  });
18111
- cov_1ytczr8q8v.s[607]++;
18111
+ cov_zxsozhk5a.s[607]++;
18112
18112
  set(this.scrollbarYRail, {
18113
18113
  display: 'block'
18114
18114
  });
18115
- cov_1ytczr8q8v.s[608]++;
18115
+ cov_zxsozhk5a.s[608]++;
18116
18116
  this.railXMarginWidth = toInt(get(this.scrollbarXRail).marginLeft) + toInt(get(this.scrollbarXRail).marginRight);
18117
- cov_1ytczr8q8v.s[609]++;
18117
+ cov_zxsozhk5a.s[609]++;
18118
18118
  this.railYMarginHeight = toInt(get(this.scrollbarYRail).marginTop) + toInt(get(this.scrollbarYRail).marginBottom); // Hide scrollbars not to affect scrollWidth and scrollHeight
18119
18119
 
18120
- cov_1ytczr8q8v.s[610]++;
18120
+ cov_zxsozhk5a.s[610]++;
18121
18121
  set(this.scrollbarXRail, {
18122
18122
  display: 'none'
18123
18123
  });
18124
- cov_1ytczr8q8v.s[611]++;
18124
+ cov_zxsozhk5a.s[611]++;
18125
18125
  set(this.scrollbarYRail, {
18126
18126
  display: 'none'
18127
18127
  });
18128
- cov_1ytczr8q8v.s[612]++;
18128
+ cov_zxsozhk5a.s[612]++;
18129
18129
  updateGeometry(this);
18130
- cov_1ytczr8q8v.s[613]++;
18130
+ cov_zxsozhk5a.s[613]++;
18131
18131
  processScrollDiff(this, 'top', 0, false, true);
18132
- cov_1ytczr8q8v.s[614]++;
18132
+ cov_zxsozhk5a.s[614]++;
18133
18133
  processScrollDiff(this, 'left', 0, false, true);
18134
- cov_1ytczr8q8v.s[615]++;
18134
+ cov_zxsozhk5a.s[615]++;
18135
18135
  set(this.scrollbarXRail, {
18136
18136
  display: ''
18137
18137
  });
18138
- cov_1ytczr8q8v.s[616]++;
18138
+ cov_zxsozhk5a.s[616]++;
18139
18139
  set(this.scrollbarYRail, {
18140
18140
  display: ''
18141
18141
  });
18142
18142
  };
18143
18143
 
18144
- cov_1ytczr8q8v.s[617]++;
18144
+ cov_zxsozhk5a.s[617]++;
18145
18145
 
18146
18146
  PerfectScrollbar.prototype.onScroll = function onScroll(e) {
18147
- cov_1ytczr8q8v.f[80]++;
18148
- cov_1ytczr8q8v.s[618]++;
18147
+ cov_zxsozhk5a.f[80]++;
18148
+ cov_zxsozhk5a.s[618]++;
18149
18149
 
18150
18150
  if (!this.isAlive) {
18151
- cov_1ytczr8q8v.b[186][0]++;
18152
- cov_1ytczr8q8v.s[619]++;
18151
+ cov_zxsozhk5a.b[186][0]++;
18152
+ cov_zxsozhk5a.s[619]++;
18153
18153
  return;
18154
18154
  } else {
18155
- cov_1ytczr8q8v.b[186][1]++;
18155
+ cov_zxsozhk5a.b[186][1]++;
18156
18156
  }
18157
18157
 
18158
- cov_1ytczr8q8v.s[620]++;
18158
+ cov_zxsozhk5a.s[620]++;
18159
18159
  updateGeometry(this);
18160
- cov_1ytczr8q8v.s[621]++;
18160
+ cov_zxsozhk5a.s[621]++;
18161
18161
  processScrollDiff(this, 'top', this.element.scrollTop - this.lastScrollTop);
18162
- cov_1ytczr8q8v.s[622]++;
18162
+ cov_zxsozhk5a.s[622]++;
18163
18163
  processScrollDiff(this, 'left', this.element.scrollLeft - this.lastScrollLeft);
18164
- cov_1ytczr8q8v.s[623]++;
18164
+ cov_zxsozhk5a.s[623]++;
18165
18165
  this.lastScrollTop = Math.floor(this.element.scrollTop);
18166
- cov_1ytczr8q8v.s[624]++;
18166
+ cov_zxsozhk5a.s[624]++;
18167
18167
  this.lastScrollLeft = this.element.scrollLeft;
18168
18168
  };
18169
18169
 
18170
- cov_1ytczr8q8v.s[625]++;
18170
+ cov_zxsozhk5a.s[625]++;
18171
18171
 
18172
18172
  PerfectScrollbar.prototype.destroy = function destroy() {
18173
- cov_1ytczr8q8v.f[81]++;
18174
- cov_1ytczr8q8v.s[626]++;
18173
+ cov_zxsozhk5a.f[81]++;
18174
+ cov_zxsozhk5a.s[626]++;
18175
18175
 
18176
18176
  if (!this.isAlive) {
18177
- cov_1ytczr8q8v.b[187][0]++;
18178
- cov_1ytczr8q8v.s[627]++;
18177
+ cov_zxsozhk5a.b[187][0]++;
18178
+ cov_zxsozhk5a.s[627]++;
18179
18179
  return;
18180
18180
  } else {
18181
- cov_1ytczr8q8v.b[187][1]++;
18181
+ cov_zxsozhk5a.b[187][1]++;
18182
18182
  }
18183
18183
 
18184
- cov_1ytczr8q8v.s[628]++;
18184
+ cov_zxsozhk5a.s[628]++;
18185
18185
  this.event.unbindAll();
18186
- cov_1ytczr8q8v.s[629]++;
18186
+ cov_zxsozhk5a.s[629]++;
18187
18187
  remove(this.scrollbarX);
18188
- cov_1ytczr8q8v.s[630]++;
18188
+ cov_zxsozhk5a.s[630]++;
18189
18189
  remove(this.scrollbarY);
18190
- cov_1ytczr8q8v.s[631]++;
18190
+ cov_zxsozhk5a.s[631]++;
18191
18191
  remove(this.scrollbarXRail);
18192
- cov_1ytczr8q8v.s[632]++;
18192
+ cov_zxsozhk5a.s[632]++;
18193
18193
  remove(this.scrollbarYRail);
18194
- cov_1ytczr8q8v.s[633]++;
18194
+ cov_zxsozhk5a.s[633]++;
18195
18195
  this.removePsClasses(); // unset elements
18196
18196
 
18197
- cov_1ytczr8q8v.s[634]++;
18197
+ cov_zxsozhk5a.s[634]++;
18198
18198
  this.element = null;
18199
- cov_1ytczr8q8v.s[635]++;
18199
+ cov_zxsozhk5a.s[635]++;
18200
18200
  this.scrollbarX = null;
18201
- cov_1ytczr8q8v.s[636]++;
18201
+ cov_zxsozhk5a.s[636]++;
18202
18202
  this.scrollbarY = null;
18203
- cov_1ytczr8q8v.s[637]++;
18203
+ cov_zxsozhk5a.s[637]++;
18204
18204
  this.scrollbarXRail = null;
18205
- cov_1ytczr8q8v.s[638]++;
18205
+ cov_zxsozhk5a.s[638]++;
18206
18206
  this.scrollbarYRail = null;
18207
- cov_1ytczr8q8v.s[639]++;
18207
+ cov_zxsozhk5a.s[639]++;
18208
18208
  this.isAlive = false;
18209
18209
  };
18210
18210
 
18211
- cov_1ytczr8q8v.s[640]++;
18211
+ cov_zxsozhk5a.s[640]++;
18212
18212
 
18213
18213
  PerfectScrollbar.prototype.removePsClasses = function removePsClasses() {
18214
- cov_1ytczr8q8v.f[82]++;
18215
- cov_1ytczr8q8v.s[641]++;
18214
+ cov_zxsozhk5a.f[82]++;
18215
+ cov_zxsozhk5a.s[641]++;
18216
18216
  this.element.className = this.element.className.split(' ').filter(function (name) {
18217
- cov_1ytczr8q8v.f[83]++;
18218
- cov_1ytczr8q8v.s[642]++;
18217
+ cov_zxsozhk5a.f[83]++;
18218
+ cov_zxsozhk5a.s[642]++;
18219
18219
  return !name.match(/^ps([-_].+|)$/);
18220
18220
  }).join(' ');
18221
18221
  };
18222
18222
 
18223
- var cov_1aq59bicqw = function () {
18224
- var path = "/Users/miikka/Finqu/virtualmachine/finqu-lib/finqu-ui/js/src/util/index.js";
18225
- var hash = "41e71577115787f991a6e874aa95ed3aa5f5e01f";
18223
+ var cov_2jd14bepcm = function () {
18224
+ var path = "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/util/index.js";
18225
+ var hash = "12a5c1d33f0b709c3d9502b4d339446b676d47e4";
18226
18226
 
18227
18227
  var Function = function () {}.constructor;
18228
18228
 
18229
18229
  var global = new Function("return this")();
18230
18230
  var gcv = "__coverage__";
18231
18231
  var coverageData = {
18232
- path: "/Users/miikka/Finqu/virtualmachine/finqu-lib/finqu-ui/js/src/util/index.js",
18232
+ path: "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/util/index.js",
18233
18233
  statementMap: {
18234
18234
  "0": {
18235
18235
  start: {
@@ -19474,87 +19474,87 @@
19474
19474
  coverageData.hash = hash;
19475
19475
  return coverage[path] = coverageData;
19476
19476
  }();
19477
- cov_1aq59bicqw.s[0]++;
19477
+ cov_2jd14bepcm.s[0]++;
19478
19478
 
19479
19479
  var debounce = function debounce(func, wait, immediate) {
19480
- cov_1aq59bicqw.f[0]++;
19480
+ cov_2jd14bepcm.f[0]++;
19481
19481
  var timeout;
19482
- cov_1aq59bicqw.s[1]++;
19482
+ cov_2jd14bepcm.s[1]++;
19483
19483
  return function () {
19484
- cov_1aq59bicqw.f[1]++;
19485
- var context = (cov_1aq59bicqw.s[2]++, this);
19486
- var args = (cov_1aq59bicqw.s[3]++, arguments);
19487
- cov_1aq59bicqw.s[4]++;
19484
+ cov_2jd14bepcm.f[1]++;
19485
+ var context = (cov_2jd14bepcm.s[2]++, this);
19486
+ var args = (cov_2jd14bepcm.s[3]++, arguments);
19487
+ cov_2jd14bepcm.s[4]++;
19488
19488
 
19489
19489
  var later = function later() {
19490
- cov_1aq59bicqw.f[2]++;
19491
- cov_1aq59bicqw.s[5]++;
19490
+ cov_2jd14bepcm.f[2]++;
19491
+ cov_2jd14bepcm.s[5]++;
19492
19492
  timeout = null;
19493
- cov_1aq59bicqw.s[6]++;
19493
+ cov_2jd14bepcm.s[6]++;
19494
19494
 
19495
19495
  if (!immediate) {
19496
- cov_1aq59bicqw.b[0][0]++;
19497
- cov_1aq59bicqw.s[7]++;
19496
+ cov_2jd14bepcm.b[0][0]++;
19497
+ cov_2jd14bepcm.s[7]++;
19498
19498
  func.apply(context, args);
19499
19499
  } else {
19500
- cov_1aq59bicqw.b[0][1]++;
19500
+ cov_2jd14bepcm.b[0][1]++;
19501
19501
  }
19502
19502
  };
19503
19503
 
19504
- var callNow = (cov_1aq59bicqw.s[8]++, (cov_1aq59bicqw.b[1][0]++, immediate) && (cov_1aq59bicqw.b[1][1]++, !timeout));
19505
- cov_1aq59bicqw.s[9]++;
19504
+ var callNow = (cov_2jd14bepcm.s[8]++, (cov_2jd14bepcm.b[1][0]++, immediate) && (cov_2jd14bepcm.b[1][1]++, !timeout));
19505
+ cov_2jd14bepcm.s[9]++;
19506
19506
  clearTimeout(timeout);
19507
- cov_1aq59bicqw.s[10]++;
19507
+ cov_2jd14bepcm.s[10]++;
19508
19508
  timeout = setTimeout(later, wait);
19509
- cov_1aq59bicqw.s[11]++;
19509
+ cov_2jd14bepcm.s[11]++;
19510
19510
 
19511
19511
  if (callNow) {
19512
- cov_1aq59bicqw.b[2][0]++;
19513
- cov_1aq59bicqw.s[12]++;
19512
+ cov_2jd14bepcm.b[2][0]++;
19513
+ cov_2jd14bepcm.s[12]++;
19514
19514
  func.apply(context, args);
19515
19515
  } else {
19516
- cov_1aq59bicqw.b[2][1]++;
19516
+ cov_2jd14bepcm.b[2][1]++;
19517
19517
  }
19518
19518
  };
19519
19519
  };
19520
19520
 
19521
- cov_1aq59bicqw.s[13]++;
19521
+ cov_2jd14bepcm.s[13]++;
19522
19522
 
19523
- cov_1aq59bicqw.s[16]++;
19523
+ cov_2jd14bepcm.s[16]++;
19524
19524
 
19525
- cov_1aq59bicqw.s[19]++;
19525
+ cov_2jd14bepcm.s[19]++;
19526
19526
 
19527
- cov_1aq59bicqw.s[31]++;
19527
+ cov_2jd14bepcm.s[31]++;
19528
19528
 
19529
- cov_1aq59bicqw.s[40]++;
19529
+ cov_2jd14bepcm.s[40]++;
19530
19530
 
19531
19531
  var touchEvents = function touchEvents() {
19532
- cov_1aq59bicqw.f[12]++;
19533
- var result = (cov_1aq59bicqw.s[41]++, false);
19534
- cov_1aq59bicqw.s[42]++;
19532
+ cov_2jd14bepcm.f[12]++;
19533
+ var result = (cov_2jd14bepcm.s[41]++, false);
19534
+ cov_2jd14bepcm.s[42]++;
19535
19535
 
19536
- if ((cov_1aq59bicqw.b[10][0]++, 'ontouchstart' in window) || (cov_1aq59bicqw.b[10][1]++, window.DocumentTouch) && (cov_1aq59bicqw.b[10][2]++, document instanceof DocumentTouch)) {
19537
- cov_1aq59bicqw.b[9][0]++;
19538
- cov_1aq59bicqw.s[43]++;
19536
+ if ((cov_2jd14bepcm.b[10][0]++, 'ontouchstart' in window) || (cov_2jd14bepcm.b[10][1]++, window.DocumentTouch) && (cov_2jd14bepcm.b[10][2]++, document instanceof DocumentTouch)) {
19537
+ cov_2jd14bepcm.b[9][0]++;
19538
+ cov_2jd14bepcm.s[43]++;
19539
19539
  result = true;
19540
19540
  } else {
19541
- cov_1aq59bicqw.b[9][1]++;
19541
+ cov_2jd14bepcm.b[9][1]++;
19542
19542
  }
19543
19543
 
19544
- cov_1aq59bicqw.s[44]++;
19544
+ cov_2jd14bepcm.s[44]++;
19545
19545
  return result;
19546
19546
  };
19547
19547
 
19548
- var cov_kukkvdmxo = function () {
19549
- var path = "/Users/miikka/Finqu/virtualmachine/finqu-lib/finqu-ui/js/src/abstract-ui-component.js";
19550
- var hash = "59ba3af58ef1755d975863fa46008161dd501d5b";
19548
+ var cov_1o94gtu15 = function () {
19549
+ var path = "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/abstract-ui-component.js";
19550
+ var hash = "631b1d551c062c1704f9d1e5fac794c20a08485c";
19551
19551
 
19552
19552
  var Function = function () {}.constructor;
19553
19553
 
19554
19554
  var global = new Function("return this")();
19555
19555
  var gcv = "__coverage__";
19556
19556
  var coverageData = {
19557
- path: "/Users/miikka/Finqu/virtualmachine/finqu-lib/finqu-ui/js/src/abstract-ui-component.js",
19557
+ path: "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/abstract-ui-component.js",
19558
19558
  statementMap: {
19559
19559
  "0": {
19560
19560
  start: {
@@ -20185,118 +20185,118 @@
20185
20185
 
20186
20186
  // Init callback
20187
20187
  _proto.onInit = function onInit() {
20188
- cov_kukkvdmxo.f[0]++;
20189
- var onInit = (cov_kukkvdmxo.s[0]++, this.opts.onInit);
20190
- cov_kukkvdmxo.s[1]++;
20188
+ cov_1o94gtu15.f[0]++;
20189
+ var onInit = (cov_1o94gtu15.s[0]++, this.opts.onInit);
20190
+ cov_1o94gtu15.s[1]++;
20191
20191
 
20192
20192
  if (typeof onInit === 'function') {
20193
- cov_kukkvdmxo.b[0][0]++;
20194
- cov_kukkvdmxo.s[2]++;
20193
+ cov_1o94gtu15.b[0][0]++;
20194
+ cov_1o94gtu15.s[2]++;
20195
20195
  onInit.call(this.el);
20196
20196
  } else {
20197
- cov_kukkvdmxo.b[0][1]++;
20197
+ cov_1o94gtu15.b[0][1]++;
20198
20198
  }
20199
20199
  } // Update callback
20200
20200
  ;
20201
20201
 
20202
20202
  _proto.onUpdate = function onUpdate() {
20203
- cov_kukkvdmxo.f[1]++;
20204
- var onUpdate = (cov_kukkvdmxo.s[3]++, this.opts.onUpdate);
20205
- cov_kukkvdmxo.s[4]++;
20203
+ cov_1o94gtu15.f[1]++;
20204
+ var onUpdate = (cov_1o94gtu15.s[3]++, this.opts.onUpdate);
20205
+ cov_1o94gtu15.s[4]++;
20206
20206
 
20207
20207
  if (typeof onUpdate === 'function') {
20208
- cov_kukkvdmxo.b[1][0]++;
20209
- cov_kukkvdmxo.s[5]++;
20208
+ cov_1o94gtu15.b[1][0]++;
20209
+ cov_1o94gtu15.s[5]++;
20210
20210
  onUpdate.call(this.el);
20211
20211
  } else {
20212
- cov_kukkvdmxo.b[1][1]++;
20212
+ cov_1o94gtu15.b[1][1]++;
20213
20213
  }
20214
20214
  } // Destroy callback
20215
20215
  ;
20216
20216
 
20217
20217
  _proto.onDestroy = function onDestroy() {
20218
- cov_kukkvdmxo.f[2]++;
20219
- var onDestroy = (cov_kukkvdmxo.s[6]++, this.opts.onDestroy);
20220
- cov_kukkvdmxo.s[7]++;
20218
+ cov_1o94gtu15.f[2]++;
20219
+ var onDestroy = (cov_1o94gtu15.s[6]++, this.opts.onDestroy);
20220
+ cov_1o94gtu15.s[7]++;
20221
20221
 
20222
20222
  if (typeof onDestroy === 'function') {
20223
- cov_kukkvdmxo.b[2][0]++;
20224
- cov_kukkvdmxo.s[8]++;
20223
+ cov_1o94gtu15.b[2][0]++;
20224
+ cov_1o94gtu15.s[8]++;
20225
20225
  onDestroy.call(this.el);
20226
20226
  } else {
20227
- cov_kukkvdmxo.b[2][1]++;
20227
+ cov_1o94gtu15.b[2][1]++;
20228
20228
  }
20229
20229
  } // Show callback
20230
20230
  ;
20231
20231
 
20232
20232
  _proto.onShow = function onShow() {
20233
- cov_kukkvdmxo.f[3]++;
20234
- var onShow = (cov_kukkvdmxo.s[9]++, this.opts.onShow);
20235
- cov_kukkvdmxo.s[10]++;
20233
+ cov_1o94gtu15.f[3]++;
20234
+ var onShow = (cov_1o94gtu15.s[9]++, this.opts.onShow);
20235
+ cov_1o94gtu15.s[10]++;
20236
20236
 
20237
20237
  if (typeof onShow === 'function') {
20238
- cov_kukkvdmxo.b[3][0]++;
20239
- cov_kukkvdmxo.s[11]++;
20238
+ cov_1o94gtu15.b[3][0]++;
20239
+ cov_1o94gtu15.s[11]++;
20240
20240
  onShow.call(this.el);
20241
20241
  } else {
20242
- cov_kukkvdmxo.b[3][1]++;
20242
+ cov_1o94gtu15.b[3][1]++;
20243
20243
  }
20244
20244
  } // Close callback
20245
20245
  ;
20246
20246
 
20247
20247
  _proto.onClose = function onClose() {
20248
- cov_kukkvdmxo.f[4]++;
20249
- var onClose = (cov_kukkvdmxo.s[12]++, this.opts.onClose);
20250
- cov_kukkvdmxo.s[13]++;
20248
+ cov_1o94gtu15.f[4]++;
20249
+ var onClose = (cov_1o94gtu15.s[12]++, this.opts.onClose);
20250
+ cov_1o94gtu15.s[13]++;
20251
20251
 
20252
20252
  if (typeof onClose === 'function') {
20253
- cov_kukkvdmxo.b[4][0]++;
20254
- cov_kukkvdmxo.s[14]++;
20253
+ cov_1o94gtu15.b[4][0]++;
20254
+ cov_1o94gtu15.s[14]++;
20255
20255
  onClose.call(this.el);
20256
20256
  } else {
20257
- cov_kukkvdmxo.b[4][1]++;
20257
+ cov_1o94gtu15.b[4][1]++;
20258
20258
  }
20259
20259
  } // Debug log
20260
20260
  ;
20261
20261
 
20262
20262
  _proto.log = function log() {
20263
- cov_kukkvdmxo.f[5]++;
20264
- cov_kukkvdmxo.s[15]++;
20263
+ cov_1o94gtu15.f[5]++;
20264
+ cov_1o94gtu15.s[15]++;
20265
20265
 
20266
20266
  if (this.debug) {
20267
- cov_kukkvdmxo.b[5][0]++;
20268
- cov_kukkvdmxo.s[16]++;
20267
+ cov_1o94gtu15.b[5][0]++;
20268
+ cov_1o94gtu15.s[16]++;
20269
20269
 
20270
20270
  if (typeof this.debug === 'function') {
20271
- cov_kukkvdmxo.b[6][0]++;
20272
- cov_kukkvdmxo.s[17]++;
20271
+ cov_1o94gtu15.b[6][0]++;
20272
+ cov_1o94gtu15.s[17]++;
20273
20273
  this.debug.apply(this, arguments);
20274
20274
  } else {
20275
20275
  var _console;
20276
20276
 
20277
- cov_kukkvdmxo.b[6][1]++;
20278
- cov_kukkvdmxo.s[18]++;
20277
+ cov_1o94gtu15.b[6][1]++;
20278
+ cov_1o94gtu15.s[18]++;
20279
20279
 
20280
20280
  (_console = console).log.apply(_console, arguments);
20281
20281
  }
20282
20282
  } else {
20283
- cov_kukkvdmxo.b[5][1]++;
20283
+ cov_1o94gtu15.b[5][1]++;
20284
20284
  }
20285
20285
  };
20286
20286
 
20287
20287
  return AbstractUIComponent;
20288
20288
  }();
20289
20289
 
20290
- var cov_6gnjfq83e = function () {
20291
- var path = "/Users/miikka/Finqu/virtualmachine/finqu-lib/finqu-ui/js/src/dropdown.js";
20292
- var hash = "a3418c5b0a7a3e71733f7ad00e896591837c6070";
20290
+ var cov_1fq3f2ht46 = function () {
20291
+ var path = "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/dropdown.js";
20292
+ var hash = "004b1c152f9f45dad5958a6da3f797ca9ce67f17";
20293
20293
 
20294
20294
  var Function = function () {}.constructor;
20295
20295
 
20296
20296
  var global = new Function("return this")();
20297
20297
  var gcv = "__coverage__";
20298
20298
  var coverageData = {
20299
- path: "/Users/miikka/Finqu/virtualmachine/finqu-lib/finqu-ui/js/src/dropdown.js",
20299
+ path: "/Users/aki/Projects/Finqu/www-structure/finqu-lib/finqu-ui/js/src/dropdown.js",
20300
20300
  statementMap: {
20301
20301
  "0": {
20302
20302
  start: {
@@ -25005,8 +25005,8 @@
25005
25005
  coverageData.hash = hash;
25006
25006
  return coverage[path] = coverageData;
25007
25007
  }();
25008
- var NAME = (cov_6gnjfq83e.s[0]++, 'coolDropdown');
25009
- var DATA_KEY = (cov_6gnjfq83e.s[1]++, 'plugin_coolDropdown');
25008
+ var NAME = (cov_1fq3f2ht46.s[0]++, 'coolDropdown');
25009
+ var DATA_KEY = (cov_1fq3f2ht46.s[1]++, 'plugin_coolDropdown');
25010
25010
 
25011
25011
  var Dropdown =
25012
25012
  /*#__PURE__*/
@@ -25016,28 +25016,28 @@
25016
25016
  function Dropdown(el, opts) {
25017
25017
  var _this;
25018
25018
 
25019
- cov_6gnjfq83e.f[0]++;
25020
- cov_6gnjfq83e.s[2]++;
25019
+ cov_1fq3f2ht46.f[0]++;
25020
+ cov_1fq3f2ht46.s[2]++;
25021
25021
  _this = _AbstractUIComponent.call(this) || this;
25022
- cov_6gnjfq83e.s[3]++;
25022
+ cov_1fq3f2ht46.s[3]++;
25023
25023
  _this.opts = {};
25024
- cov_6gnjfq83e.s[4]++;
25024
+ cov_1fq3f2ht46.s[4]++;
25025
25025
 
25026
25026
  if (window.Cool.settings.dropdown) {
25027
- cov_6gnjfq83e.b[0][0]++;
25028
- cov_6gnjfq83e.s[5]++;
25027
+ cov_1fq3f2ht46.b[0][0]++;
25028
+ cov_1fq3f2ht46.s[5]++;
25029
25029
  $.extend(true, _this.opts, $.fn[NAME].defaults, window.Cool.settings.dropdown, opts);
25030
25030
  } else {
25031
- cov_6gnjfq83e.b[0][1]++;
25032
- cov_6gnjfq83e.s[6]++;
25031
+ cov_1fq3f2ht46.b[0][1]++;
25032
+ cov_1fq3f2ht46.s[6]++;
25033
25033
  $.extend(true, _this.opts, $.fn[NAME].defaults, opts);
25034
25034
  }
25035
25035
 
25036
- cov_6gnjfq83e.s[7]++;
25036
+ cov_1fq3f2ht46.s[7]++;
25037
25037
  _this.el = el;
25038
- cov_6gnjfq83e.s[8]++;
25038
+ cov_1fq3f2ht46.s[8]++;
25039
25039
  _this.debug = _this.opts.debug;
25040
- cov_6gnjfq83e.s[9]++;
25040
+ cov_1fq3f2ht46.s[9]++;
25041
25041
 
25042
25042
  _this.init();
25043
25043
 
@@ -25050,19 +25050,19 @@
25050
25050
  _proto.init = function init() {
25051
25051
  var _this2 = this;
25052
25052
 
25053
- cov_6gnjfq83e.f[1]++;
25054
- cov_6gnjfq83e.s[10]++;
25053
+ cov_1fq3f2ht46.f[1]++;
25054
+ cov_1fq3f2ht46.s[10]++;
25055
25055
  $.when(this.buildCache()).then(function () {
25056
- cov_6gnjfq83e.f[2]++;
25057
- cov_6gnjfq83e.s[11]++;
25056
+ cov_1fq3f2ht46.f[2]++;
25057
+ cov_1fq3f2ht46.s[11]++;
25058
25058
 
25059
25059
  _this2.buildScroll();
25060
25060
 
25061
- cov_6gnjfq83e.s[12]++;
25061
+ cov_1fq3f2ht46.s[12]++;
25062
25062
 
25063
25063
  _this2.bindEvents();
25064
25064
 
25065
- cov_6gnjfq83e.s[13]++;
25065
+ cov_1fq3f2ht46.s[13]++;
25066
25066
 
25067
25067
  _this2.onInit();
25068
25068
  });
@@ -25070,21 +25070,21 @@
25070
25070
  ;
25071
25071
 
25072
25072
  _proto.destroy = function destroy() {
25073
- cov_6gnjfq83e.f[3]++;
25074
- cov_6gnjfq83e.s[14]++;
25073
+ cov_1fq3f2ht46.f[3]++;
25074
+ cov_1fq3f2ht46.s[14]++;
25075
25075
  this.unbindEvents();
25076
- cov_6gnjfq83e.s[15]++;
25076
+ cov_1fq3f2ht46.s[15]++;
25077
25077
  this.$el.removeData(DATA_KEY);
25078
- cov_6gnjfq83e.s[16]++;
25078
+ cov_1fq3f2ht46.s[16]++;
25079
25079
  this.onDestroy();
25080
25080
  } // Update plugin data
25081
25081
  ;
25082
25082
 
25083
25083
  _proto.update = function update() {
25084
- cov_6gnjfq83e.f[4]++;
25085
- cov_6gnjfq83e.s[17]++;
25084
+ cov_1fq3f2ht46.f[4]++;
25085
+ cov_1fq3f2ht46.s[17]++;
25086
25086
  this.buildCache();
25087
- cov_6gnjfq83e.s[18]++;
25087
+ cov_1fq3f2ht46.s[18]++;
25088
25088
  this.onUpdate();
25089
25089
  } // Cache DOM nodes for performance
25090
25090
  ;
@@ -25092,242 +25092,242 @@
25092
25092
  _proto.buildCache = function buildCache() {
25093
25093
  var _this3 = this;
25094
25094
 
25095
- cov_6gnjfq83e.f[5]++;
25096
- cov_6gnjfq83e.s[19]++;
25095
+ cov_1fq3f2ht46.f[5]++;
25096
+ cov_1fq3f2ht46.s[19]++;
25097
25097
  this.$el = $(this.el);
25098
- cov_6gnjfq83e.s[20]++;
25098
+ cov_1fq3f2ht46.s[20]++;
25099
25099
  this.$el.addClass('dropdown-trigger');
25100
- cov_6gnjfq83e.s[21]++;
25100
+ cov_1fq3f2ht46.s[21]++;
25101
25101
  this.$container = this.$el.parent('.dropdown');
25102
- cov_6gnjfq83e.s[22]++;
25102
+ cov_1fq3f2ht46.s[22]++;
25103
25103
  this.id = 'dropdown-' + this.generateUUID();
25104
- cov_6gnjfq83e.s[23]++;
25105
- this.animation = this.$el.data('animation') ? (cov_6gnjfq83e.b[1][0]++, this.$el.data('animation')) : (cov_6gnjfq83e.b[1][1]++, this.opts.animation);
25106
- cov_6gnjfq83e.s[24]++;
25107
- this.animationIn = this.$el.data('animationIn') ? (cov_6gnjfq83e.b[2][0]++, this.$el.data('animationIn')) : (cov_6gnjfq83e.b[2][1]++, this.opts.animationIn);
25108
- cov_6gnjfq83e.s[25]++;
25109
- this.animationOut = this.$el.data('animationOut') ? (cov_6gnjfq83e.b[3][0]++, this.$el.data('animationOut')) : (cov_6gnjfq83e.b[3][1]++, this.opts.animationOut);
25110
- cov_6gnjfq83e.s[26]++;
25111
- this.animationSpeed = this.$el.data('animationSpeed') ? (cov_6gnjfq83e.b[4][0]++, this.$el.data('animationSpeed')) : (cov_6gnjfq83e.b[4][1]++, this.opts.animationSpeed);
25112
- cov_6gnjfq83e.s[27]++;
25113
- this.offset = this.$el.data('offset') ? (cov_6gnjfq83e.b[5][0]++, this.$el.data('offset')) : (cov_6gnjfq83e.b[5][1]++, this.opts.offset);
25114
- cov_6gnjfq83e.s[28]++;
25115
- this.minWidth = this.$el.data('minWidth') ? (cov_6gnjfq83e.b[6][0]++, this.$el.data('minWidth')) : (cov_6gnjfq83e.b[6][1]++, this.opts.minWidth);
25116
- cov_6gnjfq83e.s[29]++;
25117
- this.scroll = this.$el.data('scroll') ? (cov_6gnjfq83e.b[7][0]++, this.$el.data('scroll')) : (cov_6gnjfq83e.b[7][1]++, this.opts.scroll);
25118
- cov_6gnjfq83e.s[30]++;
25119
- this.scrollContentHeight = this.$el.data('scrollContentHeight') ? (cov_6gnjfq83e.b[8][0]++, this.$el.data('scrollContentHeight')) : (cov_6gnjfq83e.b[8][1]++, this.opts.scrollContentHeight);
25120
- cov_6gnjfq83e.s[31]++;
25121
- this.closeOnItemClick = this.$el.data('closeOnItemClick') ? (cov_6gnjfq83e.b[9][0]++, this.$el.data('closeOnItemClick')) : (cov_6gnjfq83e.b[9][1]++, this.opts.closeOnItemClick);
25122
- cov_6gnjfq83e.s[32]++;
25123
- this.content = this.$el.data('content') ? (cov_6gnjfq83e.b[10][0]++, this.$el.data('content')) : (cov_6gnjfq83e.b[10][1]++, this.opts.content);
25124
- cov_6gnjfq83e.s[33]++;
25104
+ cov_1fq3f2ht46.s[23]++;
25105
+ this.animation = this.$el.data('animation') ? (cov_1fq3f2ht46.b[1][0]++, this.$el.data('animation')) : (cov_1fq3f2ht46.b[1][1]++, this.opts.animation);
25106
+ cov_1fq3f2ht46.s[24]++;
25107
+ this.animationIn = this.$el.data('animationIn') ? (cov_1fq3f2ht46.b[2][0]++, this.$el.data('animationIn')) : (cov_1fq3f2ht46.b[2][1]++, this.opts.animationIn);
25108
+ cov_1fq3f2ht46.s[25]++;
25109
+ this.animationOut = this.$el.data('animationOut') ? (cov_1fq3f2ht46.b[3][0]++, this.$el.data('animationOut')) : (cov_1fq3f2ht46.b[3][1]++, this.opts.animationOut);
25110
+ cov_1fq3f2ht46.s[26]++;
25111
+ this.animationSpeed = this.$el.data('animationSpeed') ? (cov_1fq3f2ht46.b[4][0]++, this.$el.data('animationSpeed')) : (cov_1fq3f2ht46.b[4][1]++, this.opts.animationSpeed);
25112
+ cov_1fq3f2ht46.s[27]++;
25113
+ this.offset = this.$el.data('offset') ? (cov_1fq3f2ht46.b[5][0]++, this.$el.data('offset')) : (cov_1fq3f2ht46.b[5][1]++, this.opts.offset);
25114
+ cov_1fq3f2ht46.s[28]++;
25115
+ this.minWidth = this.$el.data('minWidth') ? (cov_1fq3f2ht46.b[6][0]++, this.$el.data('minWidth')) : (cov_1fq3f2ht46.b[6][1]++, this.opts.minWidth);
25116
+ cov_1fq3f2ht46.s[29]++;
25117
+ this.scroll = this.$el.data('scroll') ? (cov_1fq3f2ht46.b[7][0]++, this.$el.data('scroll')) : (cov_1fq3f2ht46.b[7][1]++, this.opts.scroll);
25118
+ cov_1fq3f2ht46.s[30]++;
25119
+ this.scrollContentHeight = this.$el.data('scrollContentHeight') ? (cov_1fq3f2ht46.b[8][0]++, this.$el.data('scrollContentHeight')) : (cov_1fq3f2ht46.b[8][1]++, this.opts.scrollContentHeight);
25120
+ cov_1fq3f2ht46.s[31]++;
25121
+ this.closeOnItemClick = this.$el.data('closeOnItemClick') ? (cov_1fq3f2ht46.b[9][0]++, this.$el.data('closeOnItemClick')) : (cov_1fq3f2ht46.b[9][1]++, this.opts.closeOnItemClick);
25122
+ cov_1fq3f2ht46.s[32]++;
25123
+ this.content = this.$el.data('content') ? (cov_1fq3f2ht46.b[10][0]++, this.$el.data('content')) : (cov_1fq3f2ht46.b[10][1]++, this.opts.content);
25124
+ cov_1fq3f2ht46.s[33]++;
25125
25125
  this.contentOpen = false;
25126
- cov_6gnjfq83e.s[34]++;
25126
+ cov_1fq3f2ht46.s[34]++;
25127
25127
 
25128
25128
  if (this.$container.hasClass('dropup')) {
25129
- cov_6gnjfq83e.b[11][0]++;
25130
- cov_6gnjfq83e.s[35]++;
25129
+ cov_1fq3f2ht46.b[11][0]++;
25130
+ cov_1fq3f2ht46.s[35]++;
25131
25131
  this.placement = 'top';
25132
25132
  } else {
25133
- cov_6gnjfq83e.b[11][1]++;
25134
- cov_6gnjfq83e.s[36]++;
25133
+ cov_1fq3f2ht46.b[11][1]++;
25134
+ cov_1fq3f2ht46.s[36]++;
25135
25135
 
25136
25136
  if (this.$container.hasClass('dropright')) {
25137
- cov_6gnjfq83e.b[12][0]++;
25138
- cov_6gnjfq83e.s[37]++;
25137
+ cov_1fq3f2ht46.b[12][0]++;
25138
+ cov_1fq3f2ht46.s[37]++;
25139
25139
  this.placement = 'right';
25140
25140
  } else {
25141
- cov_6gnjfq83e.b[12][1]++;
25142
- cov_6gnjfq83e.s[38]++;
25141
+ cov_1fq3f2ht46.b[12][1]++;
25142
+ cov_1fq3f2ht46.s[38]++;
25143
25143
 
25144
25144
  if (this.$container.hasClass('dropbottom')) {
25145
- cov_6gnjfq83e.b[13][0]++;
25146
- cov_6gnjfq83e.s[39]++;
25145
+ cov_1fq3f2ht46.b[13][0]++;
25146
+ cov_1fq3f2ht46.s[39]++;
25147
25147
  this.placement = 'bottom';
25148
25148
  } else {
25149
- cov_6gnjfq83e.b[13][1]++;
25150
- cov_6gnjfq83e.s[40]++;
25149
+ cov_1fq3f2ht46.b[13][1]++;
25150
+ cov_1fq3f2ht46.s[40]++;
25151
25151
  this.placement = 'left';
25152
25152
  }
25153
25153
  }
25154
25154
  }
25155
25155
 
25156
- cov_6gnjfq83e.s[41]++;
25156
+ cov_1fq3f2ht46.s[41]++;
25157
25157
 
25158
25158
  if (typeof this.content === 'function') {
25159
- cov_6gnjfq83e.b[14][0]++;
25160
- var menuRight = (cov_6gnjfq83e.s[42]++, this.opts.align === 'end' ? (cov_6gnjfq83e.b[15][0]++, ' dropdown-menu-right') : (cov_6gnjfq83e.b[15][1]++, ''));
25161
- cov_6gnjfq83e.s[43]++;
25159
+ cov_1fq3f2ht46.b[14][0]++;
25160
+ var menuRight = (cov_1fq3f2ht46.s[42]++, this.opts.align === 'end' ? (cov_1fq3f2ht46.b[15][0]++, ' dropdown-menu-right') : (cov_1fq3f2ht46.b[15][1]++, ''));
25161
+ cov_1fq3f2ht46.s[43]++;
25162
25162
  this.$dropdown = $("\n <div class=\"dropdown-menu" + menuRight + "\" id=\"" + this.id + "\">\n " + this.content + "\n </div>\n ");
25163
- cov_6gnjfq83e.s[44]++;
25163
+ cov_1fq3f2ht46.s[44]++;
25164
25164
  $.when(this.$el.after(this.$dropdown)).then(function () {
25165
- cov_6gnjfq83e.f[6]++;
25166
- cov_6gnjfq83e.s[45]++;
25167
- _this3.$scrollableContent = _this3.$dropdown.find('.dropdown-scrollable-content') ? (cov_6gnjfq83e.b[16][0]++, _this3.$dropdown.find('.dropdown-scrollable-content')) : (cov_6gnjfq83e.b[16][1]++, false);
25168
- cov_6gnjfq83e.s[46]++;
25169
- _this3.$dropdown.hasClass('dropdown-menu-right') ? (cov_6gnjfq83e.b[17][0]++, _this3.align = 'end') : (cov_6gnjfq83e.b[17][1]++, _this3.align = 'start');
25170
- cov_6gnjfq83e.s[47]++;
25165
+ cov_1fq3f2ht46.f[6]++;
25166
+ cov_1fq3f2ht46.s[45]++;
25167
+ _this3.$scrollableContent = _this3.$dropdown.find('.dropdown-scrollable-content') ? (cov_1fq3f2ht46.b[16][0]++, _this3.$dropdown.find('.dropdown-scrollable-content')) : (cov_1fq3f2ht46.b[16][1]++, false);
25168
+ cov_1fq3f2ht46.s[46]++;
25169
+ _this3.$dropdown.hasClass('dropdown-menu-right') ? (cov_1fq3f2ht46.b[17][0]++, _this3.align = 'end') : (cov_1fq3f2ht46.b[17][1]++, _this3.align = 'start');
25170
+ cov_1fq3f2ht46.s[47]++;
25171
25171
  _this3.$dropdownItem = _this3.$dropdown.find('.dropdown-item');
25172
- cov_6gnjfq83e.s[48]++;
25172
+ cov_1fq3f2ht46.s[48]++;
25173
25173
 
25174
25174
  if (_this3.minWidth) {
25175
- cov_6gnjfq83e.b[18][0]++;
25176
- cov_6gnjfq83e.s[49]++;
25175
+ cov_1fq3f2ht46.b[18][0]++;
25176
+ cov_1fq3f2ht46.s[49]++;
25177
25177
 
25178
25178
  _this3.$dropdown.css('min-width', _this3.minWidth + 'px');
25179
25179
  } else {
25180
- cov_6gnjfq83e.b[18][1]++;
25180
+ cov_1fq3f2ht46.b[18][1]++;
25181
25181
  }
25182
25182
 
25183
- cov_6gnjfq83e.s[50]++;
25183
+ cov_1fq3f2ht46.s[50]++;
25184
25184
 
25185
25185
  _this3.log(_this3.$el);
25186
25186
 
25187
- cov_6gnjfq83e.s[51]++;
25187
+ cov_1fq3f2ht46.s[51]++;
25188
25188
 
25189
25189
  _this3.log(_this3.$container);
25190
25190
 
25191
- cov_6gnjfq83e.s[52]++;
25191
+ cov_1fq3f2ht46.s[52]++;
25192
25192
 
25193
25193
  _this3.log(_this3.$dropdown);
25194
25194
 
25195
- cov_6gnjfq83e.s[53]++;
25195
+ cov_1fq3f2ht46.s[53]++;
25196
25196
 
25197
25197
  _this3.log(_this3.$scrollableContent);
25198
25198
 
25199
- cov_6gnjfq83e.s[54]++;
25199
+ cov_1fq3f2ht46.s[54]++;
25200
25200
 
25201
25201
  _this3.log('Id: ' + _this3.id);
25202
25202
 
25203
- cov_6gnjfq83e.s[55]++;
25203
+ cov_1fq3f2ht46.s[55]++;
25204
25204
 
25205
25205
  _this3.log('Animation: ' + _this3.animation);
25206
25206
 
25207
- cov_6gnjfq83e.s[56]++;
25207
+ cov_1fq3f2ht46.s[56]++;
25208
25208
 
25209
25209
  _this3.log('Animation in: ' + _this3.animationIn);
25210
25210
 
25211
- cov_6gnjfq83e.s[57]++;
25211
+ cov_1fq3f2ht46.s[57]++;
25212
25212
 
25213
25213
  _this3.log('Animation out: ' + _this3.animationOut);
25214
25214
 
25215
- cov_6gnjfq83e.s[58]++;
25215
+ cov_1fq3f2ht46.s[58]++;
25216
25216
 
25217
25217
  _this3.log('Animation speed: ' + _this3.animationSpeed);
25218
25218
 
25219
- cov_6gnjfq83e.s[59]++;
25219
+ cov_1fq3f2ht46.s[59]++;
25220
25220
 
25221
25221
  _this3.log('Offset: ' + _this3.offset);
25222
25222
 
25223
- cov_6gnjfq83e.s[60]++;
25223
+ cov_1fq3f2ht46.s[60]++;
25224
25224
 
25225
25225
  _this3.log('Min width: ' + _this3.minWidth);
25226
25226
 
25227
- cov_6gnjfq83e.s[61]++;
25227
+ cov_1fq3f2ht46.s[61]++;
25228
25228
 
25229
25229
  _this3.log('Content: ' + _this3.content);
25230
25230
 
25231
- cov_6gnjfq83e.s[62]++;
25231
+ cov_1fq3f2ht46.s[62]++;
25232
25232
 
25233
25233
  _this3.log('Scroll: ' + _this3.scroll);
25234
25234
 
25235
- cov_6gnjfq83e.s[63]++;
25235
+ cov_1fq3f2ht46.s[63]++;
25236
25236
 
25237
25237
  _this3.log('Scroll content height: ' + _this3.scrollContentHeight + 'px');
25238
25238
 
25239
- cov_6gnjfq83e.s[64]++;
25239
+ cov_1fq3f2ht46.s[64]++;
25240
25240
  return true;
25241
25241
  });
25242
25242
  } else {
25243
- cov_6gnjfq83e.b[14][1]++;
25244
- cov_6gnjfq83e.s[65]++;
25245
- this.$dropdown = this.$el.next('.dropdown-menu') ? (cov_6gnjfq83e.b[19][0]++, this.$el.next('.dropdown-menu')) : (cov_6gnjfq83e.b[19][1]++, false);
25246
- cov_6gnjfq83e.s[66]++;
25247
- this.$dropdown.hasClass('dropdown-menu-right') ? (cov_6gnjfq83e.b[20][0]++, this.align = 'end') : (cov_6gnjfq83e.b[20][1]++, this.align = 'start');
25248
- cov_6gnjfq83e.s[67]++;
25249
- this.$scrollableContent = this.$dropdown.find('.dropdown-scrollable-content') ? (cov_6gnjfq83e.b[21][0]++, this.$dropdown.find('.dropdown-scrollable-content')) : (cov_6gnjfq83e.b[21][1]++, false);
25250
- cov_6gnjfq83e.s[68]++;
25243
+ cov_1fq3f2ht46.b[14][1]++;
25244
+ cov_1fq3f2ht46.s[65]++;
25245
+ this.$dropdown = this.$el.next('.dropdown-menu') ? (cov_1fq3f2ht46.b[19][0]++, this.$el.next('.dropdown-menu')) : (cov_1fq3f2ht46.b[19][1]++, false);
25246
+ cov_1fq3f2ht46.s[66]++;
25247
+ this.$dropdown.hasClass('dropdown-menu-right') ? (cov_1fq3f2ht46.b[20][0]++, this.align = 'end') : (cov_1fq3f2ht46.b[20][1]++, this.align = 'start');
25248
+ cov_1fq3f2ht46.s[67]++;
25249
+ this.$scrollableContent = this.$dropdown.find('.dropdown-scrollable-content') ? (cov_1fq3f2ht46.b[21][0]++, this.$dropdown.find('.dropdown-scrollable-content')) : (cov_1fq3f2ht46.b[21][1]++, false);
25250
+ cov_1fq3f2ht46.s[68]++;
25251
25251
  this.$dropdownItem = this.$dropdown.find('.dropdown-item');
25252
- cov_6gnjfq83e.s[69]++;
25252
+ cov_1fq3f2ht46.s[69]++;
25253
25253
 
25254
25254
  if (this.minWidth) {
25255
- cov_6gnjfq83e.b[22][0]++;
25256
- cov_6gnjfq83e.s[70]++;
25255
+ cov_1fq3f2ht46.b[22][0]++;
25256
+ cov_1fq3f2ht46.s[70]++;
25257
25257
  this.$dropdown.css('min-width', this.minWidth + 'px');
25258
25258
  } else {
25259
- cov_6gnjfq83e.b[22][1]++;
25259
+ cov_1fq3f2ht46.b[22][1]++;
25260
25260
  }
25261
25261
 
25262
- cov_6gnjfq83e.s[71]++;
25262
+ cov_1fq3f2ht46.s[71]++;
25263
25263
  this.log(this.$el);
25264
- cov_6gnjfq83e.s[72]++;
25264
+ cov_1fq3f2ht46.s[72]++;
25265
25265
  this.log(this.$container);
25266
- cov_6gnjfq83e.s[73]++;
25266
+ cov_1fq3f2ht46.s[73]++;
25267
25267
  this.log(this.$dropdown);
25268
- cov_6gnjfq83e.s[74]++;
25268
+ cov_1fq3f2ht46.s[74]++;
25269
25269
  this.log(this.$scrollableContent);
25270
- cov_6gnjfq83e.s[75]++;
25270
+ cov_1fq3f2ht46.s[75]++;
25271
25271
  this.log('Id: ' + this.id);
25272
- cov_6gnjfq83e.s[76]++;
25272
+ cov_1fq3f2ht46.s[76]++;
25273
25273
  this.log('Animation: ' + this.animation);
25274
- cov_6gnjfq83e.s[77]++;
25274
+ cov_1fq3f2ht46.s[77]++;
25275
25275
  this.log('Animation in: ' + this.animationIn);
25276
- cov_6gnjfq83e.s[78]++;
25276
+ cov_1fq3f2ht46.s[78]++;
25277
25277
  this.log('Animation out: ' + this.animationOut);
25278
- cov_6gnjfq83e.s[79]++;
25278
+ cov_1fq3f2ht46.s[79]++;
25279
25279
  this.log('Animation speed: ' + this.animationSpeed);
25280
- cov_6gnjfq83e.s[80]++;
25280
+ cov_1fq3f2ht46.s[80]++;
25281
25281
  this.log('Offset: ' + this.offset);
25282
- cov_6gnjfq83e.s[81]++;
25282
+ cov_1fq3f2ht46.s[81]++;
25283
25283
  this.log('Min width: ' + this.minWidth);
25284
- cov_6gnjfq83e.s[82]++;
25284
+ cov_1fq3f2ht46.s[82]++;
25285
25285
  this.log('Content: ' + this.opts.content);
25286
- cov_6gnjfq83e.s[83]++;
25286
+ cov_1fq3f2ht46.s[83]++;
25287
25287
  this.log('Scroll: ' + this.scroll);
25288
- cov_6gnjfq83e.s[84]++;
25288
+ cov_1fq3f2ht46.s[84]++;
25289
25289
  this.log('Scroll content height: ' + this.scrollContentHeight + 'px');
25290
- cov_6gnjfq83e.s[85]++;
25290
+ cov_1fq3f2ht46.s[85]++;
25291
25291
  return true;
25292
25292
  }
25293
25293
  } // Build scroll
25294
25294
  ;
25295
25295
 
25296
25296
  _proto.buildScroll = function buildScroll() {
25297
- cov_6gnjfq83e.f[7]++;
25298
- cov_6gnjfq83e.s[86]++;
25297
+ cov_1fq3f2ht46.f[7]++;
25298
+ cov_1fq3f2ht46.s[86]++;
25299
25299
 
25300
- if ((cov_6gnjfq83e.b[24][0]++, this.opts.scroll) && (cov_6gnjfq83e.b[24][1]++, this.$scrollableContent.length)) {
25301
- cov_6gnjfq83e.b[23][0]++;
25302
- cov_6gnjfq83e.s[87]++;
25300
+ if ((cov_1fq3f2ht46.b[24][0]++, this.opts.scroll) && (cov_1fq3f2ht46.b[24][1]++, this.$scrollableContent.length)) {
25301
+ cov_1fq3f2ht46.b[23][0]++;
25302
+ cov_1fq3f2ht46.s[87]++;
25303
25303
  this.$scrollableContent.css({
25304
25304
  'max-height': this.scrollContentHeight + 'px'
25305
25305
  });
25306
- cov_6gnjfq83e.s[88]++;
25306
+ cov_1fq3f2ht46.s[88]++;
25307
25307
 
25308
25308
  if (touchEvents()) {
25309
- cov_6gnjfq83e.b[25][0]++;
25310
- cov_6gnjfq83e.s[89]++;
25309
+ cov_1fq3f2ht46.b[25][0]++;
25310
+ cov_1fq3f2ht46.s[89]++;
25311
25311
  this.$scrollableContent.css({
25312
25312
  'overflow-y': 'auto'
25313
25313
  });
25314
25314
  } else {
25315
- cov_6gnjfq83e.b[25][1]++;
25316
- cov_6gnjfq83e.s[90]++;
25315
+ cov_1fq3f2ht46.b[25][1]++;
25316
+ cov_1fq3f2ht46.s[90]++;
25317
25317
  this.$scrollableContent.css({
25318
25318
  'overflow-y': 'auto'
25319
25319
  });
25320
- cov_6gnjfq83e.s[91]++;
25320
+ cov_1fq3f2ht46.s[91]++;
25321
25321
  this.scroll = new PerfectScrollbar(this.$scrollableContent[0], {
25322
25322
  wheelSpeed: 1,
25323
25323
  wheelPropagation: false,
25324
25324
  minScrollbarLength: 20
25325
25325
  });
25326
- cov_6gnjfq83e.s[92]++;
25326
+ cov_1fq3f2ht46.s[92]++;
25327
25327
  this.$scrollableContent.addClass('ps-show-rail-y');
25328
25328
  }
25329
25329
  } else {
25330
- cov_6gnjfq83e.b[23][1]++;
25330
+ cov_1fq3f2ht46.b[23][1]++;
25331
25331
  }
25332
25332
  } // Bind events that trigger methods
25333
25333
  ;
@@ -25335,63 +25335,63 @@
25335
25335
  _proto.bindEvents = function bindEvents() {
25336
25336
  var _this4 = this;
25337
25337
 
25338
- cov_6gnjfq83e.f[8]++;
25339
- var self = (cov_6gnjfq83e.s[93]++, this);
25340
- cov_6gnjfq83e.s[94]++;
25338
+ cov_1fq3f2ht46.f[8]++;
25339
+ var self = (cov_1fq3f2ht46.s[93]++, this);
25340
+ cov_1fq3f2ht46.s[94]++;
25341
25341
  this.$el.on('click' + '.' + NAME, function () {
25342
- cov_6gnjfq83e.f[9]++;
25343
- cov_6gnjfq83e.s[95]++;
25342
+ cov_1fq3f2ht46.f[9]++;
25343
+ cov_1fq3f2ht46.s[95]++;
25344
25344
 
25345
25345
  if (_this4.contentOpen) {
25346
- cov_6gnjfq83e.b[26][0]++;
25347
- cov_6gnjfq83e.s[96]++;
25346
+ cov_1fq3f2ht46.b[26][0]++;
25347
+ cov_1fq3f2ht46.s[96]++;
25348
25348
 
25349
25349
  _this4.close();
25350
25350
  } else {
25351
- cov_6gnjfq83e.b[26][1]++;
25352
- cov_6gnjfq83e.s[97]++;
25351
+ cov_1fq3f2ht46.b[26][1]++;
25352
+ cov_1fq3f2ht46.s[97]++;
25353
25353
 
25354
25354
  _this4.show();
25355
25355
  }
25356
25356
  });
25357
- cov_6gnjfq83e.s[98]++;
25357
+ cov_1fq3f2ht46.s[98]++;
25358
25358
  this.$dropdownItem.on('click' + '.' + NAME, function () {
25359
- cov_6gnjfq83e.f[10]++;
25360
- cov_6gnjfq83e.s[99]++;
25359
+ cov_1fq3f2ht46.f[10]++;
25360
+ cov_1fq3f2ht46.s[99]++;
25361
25361
 
25362
25362
  if (self.closeOnItemClick) {
25363
- cov_6gnjfq83e.b[27][0]++;
25364
- cov_6gnjfq83e.s[100]++;
25363
+ cov_1fq3f2ht46.b[27][0]++;
25364
+ cov_1fq3f2ht46.s[100]++;
25365
25365
  self.close();
25366
25366
  } else {
25367
- cov_6gnjfq83e.b[27][1]++;
25367
+ cov_1fq3f2ht46.b[27][1]++;
25368
25368
  }
25369
25369
 
25370
- cov_6gnjfq83e.s[101]++;
25370
+ cov_1fq3f2ht46.s[101]++;
25371
25371
  self.onItemClick(this);
25372
25372
  });
25373
- cov_6gnjfq83e.s[102]++;
25373
+ cov_1fq3f2ht46.s[102]++;
25374
25374
  $(document).on('touchstart click', function (e) {
25375
- cov_6gnjfq83e.f[11]++;
25376
- cov_6gnjfq83e.s[103]++;
25375
+ cov_1fq3f2ht46.f[11]++;
25376
+ cov_1fq3f2ht46.s[103]++;
25377
25377
 
25378
- if ((cov_6gnjfq83e.b[29][0]++, !_this4.$el.is(e.target)) && (cov_6gnjfq83e.b[29][1]++, !_this4.$dropdown.is(e.target)) && (cov_6gnjfq83e.b[29][2]++, _this4.$dropdown.has(e.target).length === 0) && (cov_6gnjfq83e.b[29][3]++, _this4.contentOpen)) {
25379
- cov_6gnjfq83e.b[28][0]++;
25380
- cov_6gnjfq83e.s[104]++;
25378
+ if ((cov_1fq3f2ht46.b[29][0]++, !_this4.$el.is(e.target)) && (cov_1fq3f2ht46.b[29][1]++, !_this4.$dropdown.is(e.target)) && (cov_1fq3f2ht46.b[29][2]++, _this4.$dropdown.has(e.target).length === 0) && (cov_1fq3f2ht46.b[29][3]++, _this4.contentOpen)) {
25379
+ cov_1fq3f2ht46.b[28][0]++;
25380
+ cov_1fq3f2ht46.s[104]++;
25381
25381
 
25382
25382
  _this4.close();
25383
25383
  } else {
25384
- cov_6gnjfq83e.b[28][1]++;
25384
+ cov_1fq3f2ht46.b[28][1]++;
25385
25385
  }
25386
25386
  });
25387
- cov_6gnjfq83e.s[105]++;
25387
+ cov_1fq3f2ht46.s[105]++;
25388
25388
  $(window).on('resize', debounce(function () {
25389
- cov_6gnjfq83e.f[12]++;
25390
- cov_6gnjfq83e.s[106]++;
25389
+ cov_1fq3f2ht46.f[12]++;
25390
+ cov_1fq3f2ht46.s[106]++;
25391
25391
 
25392
25392
  _this4.setPosition();
25393
25393
 
25394
- cov_6gnjfq83e.s[107]++;
25394
+ cov_1fq3f2ht46.s[107]++;
25395
25395
 
25396
25396
  _this4.onUpdate();
25397
25397
  }, 250));
@@ -25399,126 +25399,126 @@
25399
25399
  ;
25400
25400
 
25401
25401
  _proto.unbindEvents = function unbindEvents() {
25402
- cov_6gnjfq83e.f[13]++;
25403
- cov_6gnjfq83e.s[108]++;
25402
+ cov_1fq3f2ht46.f[13]++;
25403
+ cov_1fq3f2ht46.s[108]++;
25404
25404
  this.$el.off('.' + NAME);
25405
25405
  } // Generate UUID
25406
25406
  ;
25407
25407
 
25408
25408
  _proto.generateUUID = function generateUUID() {
25409
- cov_6gnjfq83e.f[14]++;
25410
- cov_6gnjfq83e.s[109]++;
25409
+ cov_1fq3f2ht46.f[14]++;
25410
+ cov_1fq3f2ht46.s[109]++;
25411
25411
  return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
25412
- cov_6gnjfq83e.f[15]++;
25413
- var r = (cov_6gnjfq83e.s[110]++, Math.random() * 16 | 0),
25414
- v = (cov_6gnjfq83e.s[111]++, c == 'x' ? (cov_6gnjfq83e.b[30][0]++, r) : (cov_6gnjfq83e.b[30][1]++, r & 0x3 | 0x8));
25415
- cov_6gnjfq83e.s[112]++;
25412
+ cov_1fq3f2ht46.f[15]++;
25413
+ var r = (cov_1fq3f2ht46.s[110]++, Math.random() * 16 | 0),
25414
+ v = (cov_1fq3f2ht46.s[111]++, c == 'x' ? (cov_1fq3f2ht46.b[30][0]++, r) : (cov_1fq3f2ht46.b[30][1]++, r & 0x3 | 0x8));
25415
+ cov_1fq3f2ht46.s[112]++;
25416
25416
  return v.toString(16);
25417
25417
  });
25418
25418
  } // Set positions
25419
25419
  ;
25420
25420
 
25421
25421
  _proto.setPosition = function setPosition(placement) {
25422
- cov_6gnjfq83e.f[16]++;
25423
- cov_6gnjfq83e.s[113]++;
25422
+ cov_1fq3f2ht46.f[16]++;
25423
+ cov_1fq3f2ht46.s[113]++;
25424
25424
 
25425
- if ((cov_6gnjfq83e.b[32][0]++, typeof str === 'undefined') || (cov_6gnjfq83e.b[32][1]++, str === null)) {
25426
- cov_6gnjfq83e.b[31][0]++;
25427
- cov_6gnjfq83e.s[114]++;
25425
+ if ((cov_1fq3f2ht46.b[32][0]++, typeof str === 'undefined') || (cov_1fq3f2ht46.b[32][1]++, str === null)) {
25426
+ cov_1fq3f2ht46.b[31][0]++;
25427
+ cov_1fq3f2ht46.s[114]++;
25428
25428
  placement = this.placement;
25429
25429
  } else {
25430
- cov_6gnjfq83e.b[31][1]++;
25430
+ cov_1fq3f2ht46.b[31][1]++;
25431
25431
  }
25432
25432
 
25433
- var dropdownWidth = (cov_6gnjfq83e.s[115]++, this.$dropdown.outerWidth(true));
25434
- var dropdownHeight = (cov_6gnjfq83e.s[116]++, this.$dropdown.outerHeight(true));
25435
- var dropdownTriggerWidth = (cov_6gnjfq83e.s[117]++, this.$el.outerWidth(true));
25436
- var dropdownTriggerHeight = (cov_6gnjfq83e.s[118]++, this.$el.outerHeight(true));
25437
- var dropdownTriggerPosX = (cov_6gnjfq83e.s[119]++, this.$el.position().left);
25438
- var dropdownTriggerPosY = (cov_6gnjfq83e.s[120]++, this.$el.position().top);
25433
+ var dropdownWidth = (cov_1fq3f2ht46.s[115]++, this.$dropdown.outerWidth(true));
25434
+ var dropdownHeight = (cov_1fq3f2ht46.s[116]++, this.$dropdown.outerHeight(true));
25435
+ var dropdownTriggerWidth = (cov_1fq3f2ht46.s[117]++, this.$el.outerWidth(true));
25436
+ var dropdownTriggerHeight = (cov_1fq3f2ht46.s[118]++, this.$el.outerHeight(true));
25437
+ var dropdownTriggerPosX = (cov_1fq3f2ht46.s[119]++, this.$el.position().left);
25438
+ var dropdownTriggerPosY = (cov_1fq3f2ht46.s[120]++, this.$el.position().top);
25439
25439
  var dropdownPosX;
25440
25440
  var dropdownPosY;
25441
- cov_6gnjfq83e.s[121]++;
25441
+ cov_1fq3f2ht46.s[121]++;
25442
25442
 
25443
25443
  if (placement === 'top') {
25444
- cov_6gnjfq83e.b[33][0]++;
25445
- cov_6gnjfq83e.s[122]++;
25444
+ cov_1fq3f2ht46.b[33][0]++;
25445
+ cov_1fq3f2ht46.s[122]++;
25446
25446
 
25447
25447
  if (this.align === 'end') {
25448
- cov_6gnjfq83e.b[34][0]++;
25449
- cov_6gnjfq83e.s[123]++;
25448
+ cov_1fq3f2ht46.b[34][0]++;
25449
+ cov_1fq3f2ht46.s[123]++;
25450
25450
  dropdownPosX = dropdownTriggerWidth - dropdownWidth;
25451
25451
  } else {
25452
- cov_6gnjfq83e.b[34][1]++;
25453
- cov_6gnjfq83e.s[124]++;
25452
+ cov_1fq3f2ht46.b[34][1]++;
25453
+ cov_1fq3f2ht46.s[124]++;
25454
25454
  dropdownPosX = dropdownTriggerPosX;
25455
25455
  }
25456
25456
 
25457
- cov_6gnjfq83e.s[125]++;
25457
+ cov_1fq3f2ht46.s[125]++;
25458
25458
  dropdownPosY = dropdownTriggerPosY - dropdownHeight;
25459
25459
  } else {
25460
- cov_6gnjfq83e.b[33][1]++;
25461
- cov_6gnjfq83e.s[126]++;
25460
+ cov_1fq3f2ht46.b[33][1]++;
25461
+ cov_1fq3f2ht46.s[126]++;
25462
25462
 
25463
25463
  if (placement === 'right') {
25464
- cov_6gnjfq83e.b[35][0]++;
25465
- cov_6gnjfq83e.s[127]++;
25464
+ cov_1fq3f2ht46.b[35][0]++;
25465
+ cov_1fq3f2ht46.s[127]++;
25466
25466
  dropdownPosX = dropdownTriggerPosX + dropdownTriggerWidth;
25467
- cov_6gnjfq83e.s[128]++;
25467
+ cov_1fq3f2ht46.s[128]++;
25468
25468
  dropdownPosY = dropdownTriggerPosY;
25469
25469
  } else {
25470
- cov_6gnjfq83e.b[35][1]++;
25471
- cov_6gnjfq83e.s[129]++;
25470
+ cov_1fq3f2ht46.b[35][1]++;
25471
+ cov_1fq3f2ht46.s[129]++;
25472
25472
 
25473
25473
  if (placement === 'bottom') {
25474
- cov_6gnjfq83e.b[36][0]++;
25475
- cov_6gnjfq83e.s[130]++;
25474
+ cov_1fq3f2ht46.b[36][0]++;
25475
+ cov_1fq3f2ht46.s[130]++;
25476
25476
 
25477
25477
  if (this.align === 'end') {
25478
- cov_6gnjfq83e.b[37][0]++;
25479
- cov_6gnjfq83e.s[131]++;
25478
+ cov_1fq3f2ht46.b[37][0]++;
25479
+ cov_1fq3f2ht46.s[131]++;
25480
25480
  dropdownPosX = dropdownTriggerWidth - dropdownWidth;
25481
25481
  } else {
25482
- cov_6gnjfq83e.b[37][1]++;
25483
- cov_6gnjfq83e.s[132]++;
25482
+ cov_1fq3f2ht46.b[37][1]++;
25483
+ cov_1fq3f2ht46.s[132]++;
25484
25484
  dropdownPosX = dropdownTriggerPosX;
25485
25485
  }
25486
25486
 
25487
- cov_6gnjfq83e.s[133]++;
25487
+ cov_1fq3f2ht46.s[133]++;
25488
25488
  dropdownPosY = dropdownTriggerPosY + dropdownTriggerHeight;
25489
25489
  } else {
25490
- cov_6gnjfq83e.b[36][1]++;
25491
- cov_6gnjfq83e.s[134]++;
25490
+ cov_1fq3f2ht46.b[36][1]++;
25491
+ cov_1fq3f2ht46.s[134]++;
25492
25492
 
25493
25493
  if (placement === 'left') {
25494
- cov_6gnjfq83e.b[38][0]++;
25495
- cov_6gnjfq83e.s[135]++;
25494
+ cov_1fq3f2ht46.b[38][0]++;
25495
+ cov_1fq3f2ht46.s[135]++;
25496
25496
  dropdownPosX = dropdownTriggerPosX - dropdownWidth;
25497
- cov_6gnjfq83e.s[136]++;
25497
+ cov_1fq3f2ht46.s[136]++;
25498
25498
  dropdownPosY = dropdownTriggerPosY;
25499
25499
  } else {
25500
- cov_6gnjfq83e.b[38][1]++;
25500
+ cov_1fq3f2ht46.b[38][1]++;
25501
25501
  }
25502
25502
  }
25503
25503
  }
25504
25504
  }
25505
25505
 
25506
- cov_6gnjfq83e.s[137]++;
25506
+ cov_1fq3f2ht46.s[137]++;
25507
25507
 
25508
25508
  if (this.offset) {
25509
- cov_6gnjfq83e.b[39][0]++;
25510
- var offsets = (cov_6gnjfq83e.s[138]++, this.offset.split(','));
25511
- var offsetX = (cov_6gnjfq83e.s[139]++, offsets[0]);
25512
- var offsetY = (cov_6gnjfq83e.s[140]++, offsets[1]);
25513
- cov_6gnjfq83e.s[141]++;
25509
+ cov_1fq3f2ht46.b[39][0]++;
25510
+ var offsets = (cov_1fq3f2ht46.s[138]++, this.offset.split(','));
25511
+ var offsetX = (cov_1fq3f2ht46.s[139]++, offsets[0]);
25512
+ var offsetY = (cov_1fq3f2ht46.s[140]++, offsets[1]);
25513
+ cov_1fq3f2ht46.s[141]++;
25514
25514
  dropdownPosX += parseInt(offsetX, 10);
25515
- cov_6gnjfq83e.s[142]++;
25515
+ cov_1fq3f2ht46.s[142]++;
25516
25516
  dropdownPosY += parseInt(offsetY, 10);
25517
25517
  } else {
25518
- cov_6gnjfq83e.b[39][1]++;
25518
+ cov_1fq3f2ht46.b[39][1]++;
25519
25519
  }
25520
25520
 
25521
- cov_6gnjfq83e.s[143]++;
25521
+ cov_1fq3f2ht46.s[143]++;
25522
25522
  this.$dropdown.css({
25523
25523
  position: 'absolute',
25524
25524
  top: '0px',
@@ -25526,82 +25526,82 @@
25526
25526
  transform: 'translate3d(' + Math.round(dropdownPosX) + 'px, ' + Math.round(dropdownPosY) + 'px, 0px)',
25527
25527
  'will-change': 'transform'
25528
25528
  });
25529
- cov_6gnjfq83e.s[144]++;
25529
+ cov_1fq3f2ht46.s[144]++;
25530
25530
  this.log('Dropdown trigger width: ' + dropdownTriggerWidth + 'px');
25531
- cov_6gnjfq83e.s[145]++;
25531
+ cov_1fq3f2ht46.s[145]++;
25532
25532
  this.log('Dropdown trigger height: ' + dropdownTriggerHeight + 'px');
25533
- cov_6gnjfq83e.s[146]++;
25533
+ cov_1fq3f2ht46.s[146]++;
25534
25534
  this.log('Dropdown trigger position x: ' + dropdownTriggerPosX + 'px');
25535
- cov_6gnjfq83e.s[147]++;
25535
+ cov_1fq3f2ht46.s[147]++;
25536
25536
  this.log('Dropdown trigger position Y: ' + dropdownTriggerPosY + 'px');
25537
- cov_6gnjfq83e.s[148]++;
25537
+ cov_1fq3f2ht46.s[148]++;
25538
25538
  this.log('Dropdown width: ' + dropdownWidth + 'px');
25539
- cov_6gnjfq83e.s[149]++;
25539
+ cov_1fq3f2ht46.s[149]++;
25540
25540
  this.log('Dropdown height: ' + dropdownHeight + 'px');
25541
- cov_6gnjfq83e.s[150]++;
25541
+ cov_1fq3f2ht46.s[150]++;
25542
25542
  this.log('Dropdown position x: ' + dropdownPosX + 'px');
25543
- cov_6gnjfq83e.s[151]++;
25543
+ cov_1fq3f2ht46.s[151]++;
25544
25544
  this.log('Dropdown position y: ' + dropdownPosY + 'px');
25545
25545
  } // Show
25546
25546
  ;
25547
25547
 
25548
25548
  _proto.show = function show() {
25549
- cov_6gnjfq83e.f[17]++;
25550
- cov_6gnjfq83e.s[152]++;
25549
+ cov_1fq3f2ht46.f[17]++;
25550
+ cov_1fq3f2ht46.s[152]++;
25551
25551
 
25552
- if ((cov_6gnjfq83e.b[41][0]++, !this.$dropdown) || (cov_6gnjfq83e.b[41][1]++, this.$dropdown.hasClass('show'))) {
25553
- cov_6gnjfq83e.b[40][0]++;
25554
- cov_6gnjfq83e.s[153]++;
25552
+ if ((cov_1fq3f2ht46.b[41][0]++, !this.$dropdown) || (cov_1fq3f2ht46.b[41][1]++, this.$dropdown.hasClass('show'))) {
25553
+ cov_1fq3f2ht46.b[40][0]++;
25554
+ cov_1fq3f2ht46.s[153]++;
25555
25555
  return;
25556
25556
  } else {
25557
- cov_6gnjfq83e.b[40][1]++;
25557
+ cov_1fq3f2ht46.b[40][1]++;
25558
25558
  }
25559
25559
 
25560
- cov_6gnjfq83e.s[154]++;
25560
+ cov_1fq3f2ht46.s[154]++;
25561
25561
  this.setPosition();
25562
- cov_6gnjfq83e.s[155]++;
25562
+ cov_1fq3f2ht46.s[155]++;
25563
25563
 
25564
25564
  if (this.animation) {
25565
- cov_6gnjfq83e.b[42][0]++;
25566
- cov_6gnjfq83e.s[156]++;
25565
+ cov_1fq3f2ht46.b[42][0]++;
25566
+ cov_1fq3f2ht46.s[156]++;
25567
25567
  this.$dropdown.attr('x-placement', this.placement + '-' + this.align);
25568
- cov_6gnjfq83e.s[157]++;
25568
+ cov_1fq3f2ht46.s[157]++;
25569
25569
  this.$dropdown.addClass(this.animationSpeed);
25570
- cov_6gnjfq83e.s[158]++;
25570
+ cov_1fq3f2ht46.s[158]++;
25571
25571
  this.$dropdown.animateCss(this.animationIn);
25572
- cov_6gnjfq83e.s[159]++;
25572
+ cov_1fq3f2ht46.s[159]++;
25573
25573
  this.$dropdown.addClass('show');
25574
- cov_6gnjfq83e.s[160]++;
25574
+ cov_1fq3f2ht46.s[160]++;
25575
25575
  this.$dropdown.attr('id', this.id);
25576
- cov_6gnjfq83e.s[161]++;
25576
+ cov_1fq3f2ht46.s[161]++;
25577
25577
  this.$el.attr('data-dropdown', this.id);
25578
25578
  } else {
25579
- cov_6gnjfq83e.b[42][1]++;
25580
- cov_6gnjfq83e.s[162]++;
25579
+ cov_1fq3f2ht46.b[42][1]++;
25580
+ cov_1fq3f2ht46.s[162]++;
25581
25581
  this.$dropdown.attr('x-placement', this.placement + '-' + this.align);
25582
- cov_6gnjfq83e.s[163]++;
25582
+ cov_1fq3f2ht46.s[163]++;
25583
25583
  this.$dropdown.addClass('show');
25584
- cov_6gnjfq83e.s[164]++;
25584
+ cov_1fq3f2ht46.s[164]++;
25585
25585
  this.$dropdown.attr('id', this.id);
25586
- cov_6gnjfq83e.s[165]++;
25586
+ cov_1fq3f2ht46.s[165]++;
25587
25587
  this.$el.attr('data-dropdown', this.id);
25588
25588
  }
25589
25589
 
25590
- cov_6gnjfq83e.s[166]++;
25590
+ cov_1fq3f2ht46.s[166]++;
25591
25591
 
25592
- if ((cov_6gnjfq83e.b[44][0]++, this.opts.scroll) && (cov_6gnjfq83e.b[44][1]++, this.scroll) && (cov_6gnjfq83e.b[44][2]++, this.$scrollableContent.length)) {
25593
- cov_6gnjfq83e.b[43][0]++;
25594
- cov_6gnjfq83e.s[167]++;
25592
+ if ((cov_1fq3f2ht46.b[44][0]++, this.opts.scroll) && (cov_1fq3f2ht46.b[44][1]++, this.scroll) && (cov_1fq3f2ht46.b[44][2]++, this.$scrollableContent.length)) {
25593
+ cov_1fq3f2ht46.b[43][0]++;
25594
+ cov_1fq3f2ht46.s[167]++;
25595
25595
  this.$scrollableContent[0].scrollTop = 1;
25596
- cov_6gnjfq83e.s[168]++;
25596
+ cov_1fq3f2ht46.s[168]++;
25597
25597
  this.$scrollableContent[0].scrollTop = 0;
25598
25598
  } else {
25599
- cov_6gnjfq83e.b[43][1]++;
25599
+ cov_1fq3f2ht46.b[43][1]++;
25600
25600
  }
25601
25601
 
25602
- cov_6gnjfq83e.s[169]++;
25602
+ cov_1fq3f2ht46.s[169]++;
25603
25603
  this.contentOpen = true;
25604
- cov_6gnjfq83e.s[170]++;
25604
+ cov_1fq3f2ht46.s[170]++;
25605
25605
  this.onShow();
25606
25606
  } // Close
25607
25607
  ;
@@ -25609,100 +25609,100 @@
25609
25609
  _proto.close = function close() {
25610
25610
  var _this5 = this;
25611
25611
 
25612
- cov_6gnjfq83e.f[18]++;
25613
- cov_6gnjfq83e.s[171]++;
25612
+ cov_1fq3f2ht46.f[18]++;
25613
+ cov_1fq3f2ht46.s[171]++;
25614
25614
 
25615
25615
  if (!this.$dropdown) {
25616
- cov_6gnjfq83e.b[45][0]++;
25617
- cov_6gnjfq83e.s[172]++;
25616
+ cov_1fq3f2ht46.b[45][0]++;
25617
+ cov_1fq3f2ht46.s[172]++;
25618
25618
  return;
25619
25619
  } else {
25620
- cov_6gnjfq83e.b[45][1]++;
25620
+ cov_1fq3f2ht46.b[45][1]++;
25621
25621
  }
25622
25622
 
25623
- cov_6gnjfq83e.s[173]++;
25623
+ cov_1fq3f2ht46.s[173]++;
25624
25624
 
25625
- if ((cov_6gnjfq83e.b[47][0]++, this.animation) && (cov_6gnjfq83e.b[47][1]++, !this.$dropdown.hasClass('animated'))) {
25626
- cov_6gnjfq83e.b[46][0]++;
25627
- cov_6gnjfq83e.s[174]++;
25625
+ if ((cov_1fq3f2ht46.b[47][0]++, this.animation) && (cov_1fq3f2ht46.b[47][1]++, !this.$dropdown.hasClass('animated'))) {
25626
+ cov_1fq3f2ht46.b[46][0]++;
25627
+ cov_1fq3f2ht46.s[174]++;
25628
25628
  this.$dropdown.animateCss(this.animationOut, function () {
25629
- cov_6gnjfq83e.f[19]++;
25630
- cov_6gnjfq83e.s[175]++;
25629
+ cov_1fq3f2ht46.f[19]++;
25630
+ cov_1fq3f2ht46.s[175]++;
25631
25631
 
25632
25632
  _this5.$dropdown.removeClass('show');
25633
25633
 
25634
- cov_6gnjfq83e.s[176]++;
25634
+ cov_1fq3f2ht46.s[176]++;
25635
25635
 
25636
25636
  _this5.$el.removeAttr('data-dropdown');
25637
25637
  });
25638
25638
  } else {
25639
- cov_6gnjfq83e.b[46][1]++;
25640
- cov_6gnjfq83e.s[177]++;
25639
+ cov_1fq3f2ht46.b[46][1]++;
25640
+ cov_1fq3f2ht46.s[177]++;
25641
25641
  this.$dropdown.removeClass('show');
25642
- cov_6gnjfq83e.s[178]++;
25642
+ cov_1fq3f2ht46.s[178]++;
25643
25643
  this.$el.removeAttr('data-dropdown');
25644
25644
  }
25645
25645
 
25646
- cov_6gnjfq83e.s[179]++;
25646
+ cov_1fq3f2ht46.s[179]++;
25647
25647
  this.contentOpen = false;
25648
- cov_6gnjfq83e.s[180]++;
25648
+ cov_1fq3f2ht46.s[180]++;
25649
25649
  this.onClose();
25650
25650
  } // Item callback
25651
25651
  ;
25652
25652
 
25653
25653
  _proto.onItemClick = function onItemClick(el) {
25654
- cov_6gnjfq83e.f[20]++;
25655
- var onItemClick = (cov_6gnjfq83e.s[181]++, this.opts.onItemClick);
25656
- cov_6gnjfq83e.s[182]++;
25654
+ cov_1fq3f2ht46.f[20]++;
25655
+ var onItemClick = (cov_1fq3f2ht46.s[181]++, this.opts.onItemClick);
25656
+ cov_1fq3f2ht46.s[182]++;
25657
25657
 
25658
25658
  if (typeof onItemClick === 'function') {
25659
- cov_6gnjfq83e.b[48][0]++;
25660
- cov_6gnjfq83e.s[183]++;
25659
+ cov_1fq3f2ht46.b[48][0]++;
25660
+ cov_1fq3f2ht46.s[183]++;
25661
25661
  onItemClick.call(el);
25662
25662
  } else {
25663
- cov_6gnjfq83e.b[48][1]++;
25663
+ cov_1fq3f2ht46.b[48][1]++;
25664
25664
  }
25665
25665
  };
25666
25666
 
25667
25667
  Dropdown._jQueryInterface = function _jQueryInterface(config) {
25668
- cov_6gnjfq83e.f[21]++;
25669
- cov_6gnjfq83e.s[184]++;
25668
+ cov_1fq3f2ht46.f[21]++;
25669
+ cov_1fq3f2ht46.s[184]++;
25670
25670
  return this.each(function () {
25671
- cov_6gnjfq83e.f[22]++;
25672
- var data = (cov_6gnjfq83e.s[185]++, $(this).data(DATA_KEY));
25671
+ cov_1fq3f2ht46.f[22]++;
25672
+ var data = (cov_1fq3f2ht46.s[185]++, $(this).data(DATA_KEY));
25673
25673
 
25674
- var _config = (cov_6gnjfq83e.s[186]++, (cov_6gnjfq83e.b[49][0]++, typeof config === 'object') && (cov_6gnjfq83e.b[49][1]++, config));
25674
+ var _config = (cov_1fq3f2ht46.s[186]++, (cov_1fq3f2ht46.b[49][0]++, typeof config === 'object') && (cov_1fq3f2ht46.b[49][1]++, config));
25675
25675
 
25676
- cov_6gnjfq83e.s[187]++;
25676
+ cov_1fq3f2ht46.s[187]++;
25677
25677
 
25678
25678
  if (!data) {
25679
- cov_6gnjfq83e.b[50][0]++;
25680
- cov_6gnjfq83e.s[188]++;
25679
+ cov_1fq3f2ht46.b[50][0]++;
25680
+ cov_1fq3f2ht46.s[188]++;
25681
25681
  data = new Dropdown(this, _config);
25682
- cov_6gnjfq83e.s[189]++;
25682
+ cov_1fq3f2ht46.s[189]++;
25683
25683
  $(this).data(DATA_KEY, data);
25684
25684
  } else {
25685
- cov_6gnjfq83e.b[50][1]++;
25685
+ cov_1fq3f2ht46.b[50][1]++;
25686
25686
  }
25687
25687
 
25688
- cov_6gnjfq83e.s[190]++;
25688
+ cov_1fq3f2ht46.s[190]++;
25689
25689
 
25690
25690
  if (typeof config === 'string') {
25691
- cov_6gnjfq83e.b[51][0]++;
25692
- cov_6gnjfq83e.s[191]++;
25691
+ cov_1fq3f2ht46.b[51][0]++;
25692
+ cov_1fq3f2ht46.s[191]++;
25693
25693
 
25694
25694
  if (typeof data[config] === 'undefined') {
25695
- cov_6gnjfq83e.b[52][0]++;
25696
- cov_6gnjfq83e.s[192]++;
25695
+ cov_1fq3f2ht46.b[52][0]++;
25696
+ cov_1fq3f2ht46.s[192]++;
25697
25697
  throw new TypeError("No method named \"" + config + "\"");
25698
25698
  } else {
25699
- cov_6gnjfq83e.b[52][1]++;
25699
+ cov_1fq3f2ht46.b[52][1]++;
25700
25700
  }
25701
25701
 
25702
- cov_6gnjfq83e.s[193]++;
25702
+ cov_1fq3f2ht46.s[193]++;
25703
25703
  data[config]();
25704
25704
  } else {
25705
- cov_6gnjfq83e.b[51][1]++;
25705
+ cov_1fq3f2ht46.b[51][1]++;
25706
25706
  }
25707
25707
  });
25708
25708
  };
@@ -25710,27 +25710,27 @@
25710
25710
  return Dropdown;
25711
25711
  }(AbstractUIComponent);
25712
25712
 
25713
- cov_6gnjfq83e.s[194]++;
25713
+ cov_1fq3f2ht46.s[194]++;
25714
25714
 
25715
25715
  if (typeof $ !== 'undefined') {
25716
- cov_6gnjfq83e.b[53][0]++;
25716
+ cov_1fq3f2ht46.b[53][0]++;
25717
25717
  // jQuery
25718
- var JQUERY_NO_CONFLICT = (cov_6gnjfq83e.s[195]++, $.fn[NAME]);
25719
- cov_6gnjfq83e.s[196]++;
25718
+ var JQUERY_NO_CONFLICT = (cov_1fq3f2ht46.s[195]++, $.fn[NAME]);
25719
+ cov_1fq3f2ht46.s[196]++;
25720
25720
  $.fn[NAME] = Dropdown._jQueryInterface;
25721
- cov_6gnjfq83e.s[197]++;
25721
+ cov_1fq3f2ht46.s[197]++;
25722
25722
  $.fn[NAME].Constructor = Dropdown;
25723
- cov_6gnjfq83e.s[198]++;
25723
+ cov_1fq3f2ht46.s[198]++;
25724
25724
 
25725
25725
  $.fn[NAME].noConflict = function () {
25726
- cov_6gnjfq83e.f[23]++;
25727
- cov_6gnjfq83e.s[199]++;
25726
+ cov_1fq3f2ht46.f[23]++;
25727
+ cov_1fq3f2ht46.s[199]++;
25728
25728
  $.fn[NAME] = JQUERY_NO_CONFLICT;
25729
- cov_6gnjfq83e.s[200]++;
25729
+ cov_1fq3f2ht46.s[200]++;
25730
25730
  return Dropdown._jQueryInterface;
25731
25731
  };
25732
25732
 
25733
- cov_6gnjfq83e.s[201]++;
25733
+ cov_1fq3f2ht46.s[201]++;
25734
25734
  $.fn[NAME].defaults = {
25735
25735
  animation: true,
25736
25736
  animationIn: 'zoomIn',
@@ -25752,7 +25752,7 @@
25752
25752
  debug: false
25753
25753
  };
25754
25754
  } else {
25755
- cov_6gnjfq83e.b[53][1]++;
25755
+ cov_1fq3f2ht46.b[53][1]++;
25756
25756
  }
25757
25757
 
25758
25758
  return Dropdown;