@macallumharvey/first-test-wet 2.0.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (362) hide show
  1. package/dist/first-test-wet.cjs.development.js.map +1 -1
  2. package/dist/first-test-wet.cjs.production.min.js.map +1 -1
  3. package/dist/first-test-wet.esm.js.map +1 -1
  4. package/package.json +1 -1
  5. package/src/WetModal.tsx +1 -0
  6. package/src/theme-wet-boew/assets/favicon-mobile.png +0 -0
  7. package/src/theme-wet-boew/assets/favicon.ico +0 -0
  8. package/src/theme-wet-boew/assets/logo.png +0 -0
  9. package/src/theme-wet-boew/assets/logo.svg +14 -0
  10. package/src/theme-wet-boew/css/ie8-theme.css +17370 -0
  11. package/src/theme-wet-boew/css/ie8-theme.min.css +193 -0
  12. package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.js → theme-wet-boew/css/ie8-wet-boew.css} +12 -10
  13. package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js → theme-wet-boew/css/ie8-wet-boew.min.css} +7 -7
  14. package/src/theme-wet-boew/css/theme.css +11357 -0
  15. package/src/theme-wet-boew/css/theme.min.css +6 -0
  16. package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.js → theme-wet-boew/css/wet-boew.css} +12 -10
  17. package/src/{wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js → theme-wet-boew/css/wet-boew.min.css} +6 -7
  18. package/src/theme-wet-boew/payload.json +66 -0
  19. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/mediacontrols.html +32 -33
  20. package/src/wet-boew/assets/sprites_share.png +0 -0
  21. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/noscript.css +112 -112
  22. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/noscript.min.css +5 -5
  23. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datalist.css +32 -32
  24. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datepicker.css +47 -47
  25. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/details.css +28 -28
  26. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/mathml.css +16 -16
  27. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/meter.css +24 -24
  28. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/progress.css +8 -8
  29. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/slider.css +229 -229
  30. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.svg +287 -287
  31. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/additional-methods.js +1511 -1511
  32. package/src/wet-boew/js/deps/additional-methods.min.js +9 -0
  33. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/geomap-lib.js +3758 -3770
  34. package/src/wet-boew/js/deps/geomap-lib.min.js +1 -0
  35. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.dataTables.js +15345 -15733
  36. package/src/wet-boew/js/deps/jquery.dataTables.min.js +4 -0
  37. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.canvas.js +345 -345
  38. package/src/wet-boew/js/deps/jquery.flot.canvas.min.js +1 -0
  39. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.js +3168 -3168
  40. package/src/wet-boew/js/deps/jquery.flot.min.js +1 -0
  41. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.orderBars.js +282 -282
  42. package/src/wet-boew/js/deps/jquery.flot.orderBars.min.js +1 -0
  43. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.flot.pie.js +820 -820
  44. package/src/wet-boew/js/deps/jquery.flot.pie.min.js +1 -0
  45. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.magnific-popup.js +2060 -2060
  46. package/src/wet-boew/js/deps/jquery.magnific-popup.min.js +4 -0
  47. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jquery.validate.js +1660 -1660
  48. package/src/wet-boew/js/deps/jquery.validate.min.js +9 -0
  49. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/json-patch.js +314 -314
  50. package/src/wet-boew/js/deps/json-patch.min.js +1 -0
  51. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/jsonpointer.js +349 -349
  52. package/src/wet-boew/js/deps/jsonpointer.min.js +1 -0
  53. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-apollo.js +53 -53
  54. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-basic.js +49 -49
  55. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-clj.js +64 -64
  56. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-css.js +160 -160
  57. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-dart.js +92 -92
  58. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-erlang.js +94 -94
  59. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-go.js +59 -59
  60. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-hs.js +102 -102
  61. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lasso.js +67 -67
  62. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lisp.js +95 -95
  63. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-llvm.js +63 -63
  64. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-logtalk.js +50 -50
  65. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lua.js +60 -60
  66. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-matlab.js +183 -183
  67. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-matlab.min.js +1 -1
  68. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-ml.js +57 -57
  69. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-mumps.js +140 -140
  70. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-n.js +67 -67
  71. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-pascal.js +49 -49
  72. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-proto.js +37 -37
  73. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-r.js +59 -59
  74. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rd.js +50 -50
  75. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rust.js +81 -81
  76. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-scala.js +56 -56
  77. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-sql.js +59 -59
  78. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-swift.js +60 -60
  79. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tcl.js +63 -63
  80. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tex.js +49 -49
  81. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vb.js +67 -67
  82. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vhdl.js +51 -51
  83. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-wiki.js +55 -55
  84. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-xq.js +71 -71
  85. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-yaml.js +45 -45
  86. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/ol.js +1008 -1008
  87. package/src/wet-boew/js/deps/ol.min.js +1 -0
  88. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/prettify.js +1742 -1742
  89. package/src/wet-boew/js/deps/prettify.min.js +1 -0
  90. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/proj4.js +2 -2
  91. package/src/wet-boew/js/deps/proj4.min.js +1 -0
  92. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/run_prettify.js +1998 -1998
  93. package/src/wet-boew/js/deps/run_prettify.min.js +1 -0
  94. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/tableparser.js +2216 -2216
  95. package/src/wet-boew/js/deps/tableparser.min.js +1 -0
  96. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/unorm.js +452 -452
  97. package/src/wet-boew/js/deps/unorm.min.js +1 -0
  98. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/af.js +246 -254
  99. package/src/wet-boew/js/i18n/af.min.js +7 -0
  100. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ar.js +284 -292
  101. package/src/wet-boew/js/i18n/ar.min.js +7 -0
  102. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/bg.js +284 -292
  103. package/src/wet-boew/js/i18n/bg.min.js +7 -0
  104. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/cs.js +285 -293
  105. package/src/wet-boew/js/i18n/cs.min.js +7 -0
  106. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/de.js +354 -362
  107. package/src/wet-boew/js/i18n/de.min.js +7 -0
  108. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/el.js +284 -292
  109. package/src/wet-boew/js/i18n/el.min.js +7 -0
  110. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/en.js +246 -254
  111. package/src/wet-boew/js/i18n/en.min.js +7 -0
  112. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/es.js +287 -295
  113. package/src/wet-boew/js/i18n/es.min.js +7 -0
  114. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/et.js +282 -290
  115. package/src/wet-boew/js/i18n/et.min.js +7 -0
  116. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/fr.js +313 -321
  117. package/src/wet-boew/js/i18n/fr.min.js +7 -0
  118. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/hi.js +246 -254
  119. package/src/wet-boew/js/i18n/hi.min.js +7 -0
  120. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/hu.js +284 -292
  121. package/src/wet-boew/js/i18n/hu.min.js +7 -0
  122. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/hy.js +246 -254
  123. package/src/wet-boew/js/i18n/hy.min.js +7 -0
  124. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/id.js +283 -291
  125. package/src/wet-boew/js/i18n/id.min.js +7 -0
  126. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/is.js +282 -290
  127. package/src/wet-boew/js/i18n/is.min.js +7 -0
  128. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/it.js +311 -319
  129. package/src/wet-boew/js/i18n/it.min.js +7 -0
  130. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/iu.js +246 -254
  131. package/src/wet-boew/js/i18n/iu.min.js +7 -0
  132. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ja.js +285 -293
  133. package/src/wet-boew/js/i18n/ja.min.js +7 -0
  134. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ko.js +284 -292
  135. package/src/wet-boew/js/i18n/ko.min.js +7 -0
  136. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/lt.js +284 -292
  137. package/src/wet-boew/js/i18n/lt.min.js +7 -0
  138. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/lv.js +284 -292
  139. package/src/wet-boew/js/i18n/lv.min.js +7 -0
  140. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/nl.js +318 -326
  141. package/src/wet-boew/js/i18n/nl.min.js +7 -0
  142. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/pl.js +287 -295
  143. package/src/wet-boew/js/i18n/pl.min.js +7 -0
  144. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/pt-BR.js +246 -254
  145. package/src/wet-boew/js/i18n/pt-BR.min.js +7 -0
  146. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/pt.js +270 -278
  147. package/src/wet-boew/js/i18n/pt.min.js +7 -0
  148. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/ru.js +284 -292
  149. package/src/wet-boew/js/i18n/ru.min.js +7 -0
  150. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/sk.js +282 -290
  151. package/src/wet-boew/js/i18n/sk.min.js +7 -0
  152. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/sq.js +246 -254
  153. package/src/wet-boew/js/i18n/sq.min.js +7 -0
  154. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/th.js +284 -292
  155. package/src/wet-boew/js/i18n/th.min.js +7 -0
  156. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/tr.js +286 -294
  157. package/src/wet-boew/js/i18n/tr.min.js +7 -0
  158. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/uk.js +284 -292
  159. package/src/wet-boew/js/i18n/uk.min.js +7 -0
  160. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/vi.js +284 -292
  161. package/src/wet-boew/js/i18n/vi.min.js +7 -0
  162. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/zh-Hans.js +246 -254
  163. package/src/wet-boew/js/i18n/zh-Hans.min.js +7 -0
  164. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/i18n/zh.js +285 -293
  165. package/src/wet-boew/js/i18n/zh.min.js +7 -0
  166. package/src/wet-boew/js/ie8-wet-boew.js +3992 -0
  167. package/src/wet-boew/js/ie8-wet-boew.min.js +7 -0
  168. package/src/wet-boew/js/ie8-wet-boew2.js +15294 -0
  169. package/src/wet-boew/js/ie8-wet-boew2.min.js +7 -0
  170. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/jquery/2.2.4/jquery.js +9814 -9814
  171. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/jquery/2.2.4/jquery.min.js +4 -4
  172. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datalist.js +423 -419
  173. package/src/wet-boew/js/polyfills/datalist.min.js +8 -0
  174. package/src/wet-boew/js/polyfills/datalist.min.js.map +1 -0
  175. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datalist_dynamic.js +50 -50
  176. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datalist_dynamic.min.js +7 -7
  177. package/src/wet-boew/js/polyfills/datalist_dynamic.min.js.map +1 -0
  178. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/datepicker.js +338 -338
  179. package/src/wet-boew/js/polyfills/datepicker.min.js +8 -0
  180. package/src/wet-boew/js/polyfills/datepicker.min.js.map +1 -0
  181. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/details.js +126 -126
  182. package/src/wet-boew/js/polyfills/details.min.js +8 -0
  183. package/src/wet-boew/js/polyfills/details.min.js.map +1 -0
  184. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/jawsariafixes.js +47 -47
  185. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/jawsariafixes.min.js +15 -15
  186. package/src/wet-boew/js/polyfills/jawsariafixes.min.js.map +1 -0
  187. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/meter.js +140 -140
  188. package/src/wet-boew/js/polyfills/meter.min.js +8 -0
  189. package/src/wet-boew/js/polyfills/meter.min.js.map +1 -0
  190. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/mobile.js +783 -784
  191. package/src/wet-boew/js/polyfills/mobile.min.js +8 -0
  192. package/src/wet-boew/js/polyfills/mobile.min.js.map +1 -0
  193. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/progress.js +107 -107
  194. package/src/wet-boew/js/polyfills/progress.min.js +8 -0
  195. package/src/wet-boew/js/polyfills/progress.min.js.map +1 -0
  196. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/slider.js +1343 -1343
  197. package/src/wet-boew/js/polyfills/slider.min.js +9 -0
  198. package/src/wet-boew/js/polyfills/slider.min.js.map +1 -0
  199. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/slider_wrapper.js +73 -73
  200. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/slider_wrapper.min.js +7 -7
  201. package/src/wet-boew/js/polyfills/slider_wrapper.min.js.map +1 -0
  202. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/svg.js +29 -29
  203. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/svg.min.js +7 -7
  204. package/src/wet-boew/js/polyfills/svg.min.js.map +1 -0
  205. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/test.js +603 -603
  206. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/polyfills/test.min.js +7 -7
  207. package/src/wet-boew/js/polyfills/test.min.js.map +1 -0
  208. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/wet-boew.js +17714 -20264
  209. package/src/wet-boew/js/wet-boew.min.js +9 -0
  210. package/src/wet-boew/js/wet-boew.min.js.map +1 -0
  211. package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/payload.json +1721 -1721
  212. package/src/wet-boew-cdn-4.0.81.1/Licence-fr.txt +0 -1
  213. package/src/wet-boew-cdn-4.0.81.1/License-en.txt +0 -1
  214. package/src/wet-boew-cdn-4.0.81.1/assets/sprites_share.png +0 -0
  215. package/src/wet-boew-cdn-4.0.81.1/js/deps/additional-methods.min.js +0 -9
  216. package/src/wet-boew-cdn-4.0.81.1/js/deps/geomap-lib.min.js +0 -1
  217. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.dataTables.min.js +0 -4
  218. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.canvas.min.js +0 -1
  219. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.min.js +0 -1
  220. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.orderBars.min.js +0 -1
  221. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.flot.pie.min.js +0 -1
  222. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.magnific-popup.min.js +0 -4
  223. package/src/wet-boew-cdn-4.0.81.1/js/deps/jquery.validate.min.js +0 -9
  224. package/src/wet-boew-cdn-4.0.81.1/js/deps/json-patch.min.js +0 -1
  225. package/src/wet-boew-cdn-4.0.81.1/js/deps/jsonpointer.min.js +0 -1
  226. package/src/wet-boew-cdn-4.0.81.1/js/deps/ol.min.js +0 -1
  227. package/src/wet-boew-cdn-4.0.81.1/js/deps/prettify.min.js +0 -1
  228. package/src/wet-boew-cdn-4.0.81.1/js/deps/proj4.min.js +0 -1
  229. package/src/wet-boew-cdn-4.0.81.1/js/deps/run_prettify.min.js +0 -1
  230. package/src/wet-boew-cdn-4.0.81.1/js/deps/tableparser.min.js +0 -1
  231. package/src/wet-boew-cdn-4.0.81.1/js/deps/unorm.min.js +0 -1
  232. package/src/wet-boew-cdn-4.0.81.1/js/i18n/af.min.js +0 -7
  233. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ar.min.js +0 -7
  234. package/src/wet-boew-cdn-4.0.81.1/js/i18n/bg.min.js +0 -7
  235. package/src/wet-boew-cdn-4.0.81.1/js/i18n/cs.min.js +0 -7
  236. package/src/wet-boew-cdn-4.0.81.1/js/i18n/de.min.js +0 -7
  237. package/src/wet-boew-cdn-4.0.81.1/js/i18n/el.min.js +0 -7
  238. package/src/wet-boew-cdn-4.0.81.1/js/i18n/en.min.js +0 -7
  239. package/src/wet-boew-cdn-4.0.81.1/js/i18n/es.min.js +0 -7
  240. package/src/wet-boew-cdn-4.0.81.1/js/i18n/et.min.js +0 -7
  241. package/src/wet-boew-cdn-4.0.81.1/js/i18n/fr.min.js +0 -7
  242. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hi.min.js +0 -7
  243. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hu.min.js +0 -7
  244. package/src/wet-boew-cdn-4.0.81.1/js/i18n/hy.min.js +0 -7
  245. package/src/wet-boew-cdn-4.0.81.1/js/i18n/id.min.js +0 -7
  246. package/src/wet-boew-cdn-4.0.81.1/js/i18n/is.min.js +0 -7
  247. package/src/wet-boew-cdn-4.0.81.1/js/i18n/it.min.js +0 -7
  248. package/src/wet-boew-cdn-4.0.81.1/js/i18n/iu.min.js +0 -7
  249. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ja.min.js +0 -7
  250. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ko.min.js +0 -7
  251. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lt.min.js +0 -7
  252. package/src/wet-boew-cdn-4.0.81.1/js/i18n/lv.min.js +0 -7
  253. package/src/wet-boew-cdn-4.0.81.1/js/i18n/nl.min.js +0 -7
  254. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pl.min.js +0 -7
  255. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt-BR.min.js +0 -7
  256. package/src/wet-boew-cdn-4.0.81.1/js/i18n/pt.min.js +0 -7
  257. package/src/wet-boew-cdn-4.0.81.1/js/i18n/ru.min.js +0 -7
  258. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sk.min.js +0 -7
  259. package/src/wet-boew-cdn-4.0.81.1/js/i18n/sq.min.js +0 -7
  260. package/src/wet-boew-cdn-4.0.81.1/js/i18n/th.min.js +0 -7
  261. package/src/wet-boew-cdn-4.0.81.1/js/i18n/tr.min.js +0 -7
  262. package/src/wet-boew-cdn-4.0.81.1/js/i18n/uk.min.js +0 -7
  263. package/src/wet-boew-cdn-4.0.81.1/js/i18n/vi.min.js +0 -7
  264. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh-Hans.min.js +0 -7
  265. package/src/wet-boew-cdn-4.0.81.1/js/i18n/zh.min.js +0 -7
  266. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew.min.js.map +0 -1
  267. package/src/wet-boew-cdn-4.0.81.1/js/ie8-wet-boew2.min.js.map +0 -1
  268. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js +0 -8
  269. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist.min.js.map +0 -1
  270. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datalist_dynamic.min.js.map +0 -1
  271. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js +0 -8
  272. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/datepicker.min.js.map +0 -1
  273. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js +0 -8
  274. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/details.min.js.map +0 -1
  275. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/jawsariafixes.min.js.map +0 -1
  276. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js +0 -8
  277. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/meter.min.js.map +0 -1
  278. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js +0 -8
  279. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/mobile.min.js.map +0 -1
  280. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js +0 -8
  281. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/progress.min.js.map +0 -1
  282. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js +0 -9
  283. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider.min.js.map +0 -1
  284. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/slider_wrapper.min.js.map +0 -1
  285. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/svg.min.js.map +0 -1
  286. package/src/wet-boew-cdn-4.0.81.1/js/polyfills/test.min.js.map +0 -1
  287. package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js +0 -9
  288. package/src/wet-boew-cdn-4.0.81.1/js/wet-boew.min.js.map +0 -1
  289. package/src/wet-boew-cdn-4.0.81.1/package.json +0 -15
  290. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/cloud-popup-relative.png +0 -0
  291. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/fd-slider-sprite.png +0 -0
  292. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/loading.png +0 -0
  293. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/zoom-minus-mini.png +0 -0
  294. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/zoom-plus-mini.png +0 -0
  295. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/assets/zoom-world-mini.png +0 -0
  296. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datalist.min.css +0 -0
  297. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/datepicker.min.css +0 -0
  298. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/details.min.css +0 -0
  299. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/mathml.min.css +0 -0
  300. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/meter.min.css +0 -0
  301. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/progress.min.css +0 -0
  302. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/css/polyfills/slider.min.css +0 -0
  303. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.eot +0 -0
  304. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.ttf +0 -0
  305. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.woff +0 -0
  306. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/fonts/glyphicons-halflings-regular.woff2 +0 -0
  307. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/mml-chtml.js +0 -0
  308. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_AMS-Regular.woff +0 -0
  309. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Bold.woff +0 -0
  310. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Calligraphic-Regular.woff +0 -0
  311. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Bold.woff +0 -0
  312. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Fraktur-Regular.woff +0 -0
  313. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Bold.woff +0 -0
  314. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Italic.woff +0 -0
  315. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Main-Regular.woff +0 -0
  316. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-BoldItalic.woff +0 -0
  317. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Italic.woff +0 -0
  318. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Math-Regular.woff +0 -0
  319. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Bold.woff +0 -0
  320. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Italic.woff +0 -0
  321. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_SansSerif-Regular.woff +0 -0
  322. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Script-Regular.woff +0 -0
  323. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size1-Regular.woff +0 -0
  324. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size2-Regular.woff +0 -0
  325. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size3-Regular.woff +0 -0
  326. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Size4-Regular.woff +0 -0
  327. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Typewriter-Regular.woff +0 -0
  328. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Bold.woff +0 -0
  329. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Vector-Regular.woff +0 -0
  330. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/MathJax/output/chtml/fonts/woff-v2/MathJax_Zero.woff +0 -0
  331. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-apollo.min.js +0 -0
  332. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-basic.min.js +0 -0
  333. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-clj.min.js +0 -0
  334. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-css.min.js +0 -0
  335. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-dart.min.js +0 -0
  336. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-erlang.min.js +0 -0
  337. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-go.min.js +0 -0
  338. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-hs.min.js +0 -0
  339. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lasso.min.js +0 -0
  340. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lisp.min.js +0 -0
  341. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-llvm.min.js +0 -0
  342. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-logtalk.min.js +0 -0
  343. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-lua.min.js +0 -0
  344. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-ml.min.js +0 -0
  345. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-mumps.min.js +0 -0
  346. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-n.min.js +0 -0
  347. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-pascal.min.js +0 -0
  348. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-proto.min.js +0 -0
  349. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-r.min.js +0 -0
  350. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rd.min.js +0 -0
  351. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-rust.min.js +0 -0
  352. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-scala.min.js +0 -0
  353. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-sql.min.js +0 -0
  354. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-swift.min.js +0 -0
  355. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tcl.min.js +0 -0
  356. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-tex.min.js +0 -0
  357. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vb.min.js +0 -0
  358. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-vhdl.min.js +0 -0
  359. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-wiki.min.js +0 -0
  360. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-xq.min.js +0 -0
  361. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/deps/lang-yaml.min.js +0 -0
  362. /package/src/{wet-boew-cdn-4.0.81.1 → wet-boew}/js/jquery/2.2.4/jquery.min.map +0 -0
@@ -0,0 +1,8 @@
1
+ /*!
2
+ * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
3
+ * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
4
+ * v4.0.53 - 2022-09-29
5
+ *
6
+ */
7
+ !function(t,e,n){"function"==typeof define&&define.amd?define(["jquery"],function(t){return n(t,0,e),t.mobile}):n(t.jQuery,0,e)}(this,document,function(t,e,n,o){var i,s;!function(t){t.event.special.throttledresize={setup:function(){t(this).bind("resize",i)},teardown:function(){t(this).unbind("resize",i)}};var e,n,o,i=function(){n=(new Date).getTime(),250<=(o=n-s)?(s=n,t(this).trigger("throttledresize")):(e&&clearTimeout(e),e=setTimeout(i,250-o))},s=0}(t),function(l,t,h){var c,r="virtualMouseBindings",u="virtualTouchID",e="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),p="clientX clientY pageX pageY screenX screenY".split(" "),n=l.event.mouseHooks?l.event.mouseHooks.props:[],d=l.event.props.concat(n),a={},o=0,s=0,v=0,f=!1,m=[],i=!1,g=!1,b="addEventListener"in t,w=l(t),T=1,D=0;function E(t){for(;t&&void 0!==t.originalEvent;)t=t.originalEvent;return t}function k(t){for(var e,n,o={};t;){for(n in e=l.data(t,r))e[n]&&(o[n]=o.hasVirtualBinding=!0);t=t.parentNode}return o}function y(){g=!0}function X(){g=!1}function Y(){M(),o=setTimeout(function(){D=o=0,m.length=0,i=!1,y()},l.vmouse.resetTimerDuration)}function M(){o&&(clearTimeout(o),o=0)}function P(t,e,n){var o;return(n&&n[t]||!n&&function(t,e){for(var n;t;){if((n=l.data(t,r))&&(!e||n[e]))return t;t=t.parentNode}}(e.target,t))&&(o=function(t,e){var n,o,i,s,r,a,c,u=t.type;if((t=l.Event(t)).type=e,n=t.originalEvent,o=l.event.props,-1<u.search(/^(mouse|click)/)&&(o=d),n)for(r=o.length;r;)t[i=o[--r]]=n[i];if(-1<u.search(/mouse(down|up)|click/)&&!t.which&&(t.which=1),-1!==u.search(/^touch/)&&(u=(e=E(n)).touches,e=e.changedTouches,s=u&&u.length?u[0]:e&&e.length?e[0]:h))for(a=0,c=p.length;a<c;a++)t[i=p[a]]=s[i];return t}(e,t),l(e.target).trigger(o)),o}function z(t){var e=l.data(t.target,u);i||D&&D===e||(e=P("v"+t.type,t))&&(e.isDefaultPrevented()&&t.preventDefault(),e.isPropagationStopped()&&t.stopPropagation(),e.isImmediatePropagationStopped()&&t.stopImmediatePropagation())}function S(t){var e,n,o=E(t).touches;o&&1===o.length&&(n=k(e=t.target)).hasVirtualBinding&&(D=T++,l.data(e,u,D),M(),X(),f=!1,e=E(t).touches[0],s=e.pageX,v=e.pageY,P("vmouseover",t,n),P("vmousedown",t,n))}function I(t){g||(f||P("vmousecancel",t,k(t.target)),f=!0,Y())}function x(t){var e,n,o,i;g||(e=E(t).touches[0],n=f,o=l.vmouse.moveDistanceThreshold,i=k(t.target),(f=f||Math.abs(e.pageX-s)>o||Math.abs(e.pageY-v)>o)&&!n&&P("vmousecancel",t,i),P("vmousemove",t,i),Y())}function B(t){var e,n;g||(y(),P("vmouseup",t,e=k(t.target)),f||(n=P("vclick",t,e))&&n.isDefaultPrevented()&&(n=E(t).changedTouches[0],m.push({touchID:D,x:n.clientX,y:n.clientY}),i=!0),P("vmouseout",t,e),f=!1,Y())}function N(t){var e,n=l.data(t,r);if(n)for(e in n)if(n[e])return 1}function j(){}l.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(var F=0;F<e.length;F++)l.event.special[e[F]]=function(i){var s=i.substr(1);return{setup:function(t,e){N(this)||l.data(this,r,{}),l.data(this,r)[i]=!0,a[i]=(a[i]||0)+1,1===a[i]&&w.bind(s,z),l(this).bind(s,j),b&&(a.touchstart=(a.touchstart||0)+1,1===a.touchstart&&w.bind("touchstart",S).bind("touchend",B).bind("touchmove",x).bind("scroll",I))},teardown:function(t,e){--a[i],a[i]||w.unbind(s,z),b&&(--a.touchstart,a.touchstart||w.unbind("touchstart",S).unbind("touchmove",x).unbind("touchend",B).unbind("scroll",I));var n=l(this),o=l.data(this,r);o&&(o[i]=!1),n.unbind(s,j),N(this)||n.removeData(r)}}}(e[F]);b&&t.addEventListener("click",function(t){var e,n,o,i,s,r=m.length,a=t.target;if(r)for(e=t.clientX,n=t.clientY,c=l.vmouse.clickDistanceThreshold,o=a;o;){for(i=0;i<r;i++)if(s=m[i],o===a&&Math.abs(s.x-e)<c&&Math.abs(s.y-n)<c||l.data(o,u)===s.touchID)return t.preventDefault(),void t.stopPropagation();o=o.parentNode}},!0)}(t,n),t.mobile={},i=t,s={touch:"ontouchend"in n},i.mobile.support=i.mobile.support||{},i.extend(i.support,s),i.extend(i.mobile.support,s),function(c){var u=c(n);c.each("touchstart touchmove touchend tap taphold swipe swipeleft swiperight scrollstart scrollstop".split(" "),function(t,e){c.fn[e]=function(t){return t?this.bind(e,t):this.trigger(e)},c.attrFn&&(c.attrFn[e]=!0)});var t=c.mobile.support.touch,e=t?"touchstart":"mousedown",s=t?"touchend":"mouseup",r=t?"touchmove":"mousemove";function l(t,e,n){var o=n.type;n.type=e,c.event.dispatch.call(t,n),n.type=o}c.event.special.scrollstart={enabled:!0,setup:function(){var n,e,o=this;function i(t,e){l(o,(n=e)?"scrollstart":"scrollstop",t)}c(o).bind("touchmove scroll",function(t){c.event.special.scrollstart.enabled&&(n||i(t,!0),clearTimeout(e),e=setTimeout(function(){i(t,!1)},50))})}},c.event.special.tap={tapholdThreshold:750,setup:function(){var r=this,a=c(r);a.bind("vmousedown",function(t){if(t.which&&1!==t.which)return!1;var e,n=t.target;t.originalEvent;function o(){clearTimeout(e)}function i(){o(),a.unbind("vclick",s).unbind("vmouseup",o),u.unbind("vmousecancel",i)}function s(t){i(),n===t.target&&l(r,"tap",t)}a.bind("vmouseup",o).bind("vclick",s),u.bind("vmousecancel",i),e=setTimeout(function(){l(r,"taphold",c.Event("taphold",{target:n}))},c.event.special.tap.tapholdThreshold)})}},c.event.special.swipe={scrollSupressionThreshold:30,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,start:function(t){var e=t.originalEvent.touches?t.originalEvent.touches[0]:t;return{time:(new Date).getTime(),coords:[e.pageX,e.pageY],origin:c(t.target)}},stop:function(t){t=t.originalEvent.touches?t.originalEvent.touches[0]:t;return{time:(new Date).getTime(),coords:[t.pageX,t.pageY]}},handleSwipe:function(t,e){e.time-t.time<c.event.special.swipe.durationThreshold&&Math.abs(t.coords[0]-e.coords[0])>c.event.special.swipe.horizontalDistanceThreshold&&Math.abs(t.coords[1]-e.coords[1])<c.event.special.swipe.verticalDistanceThreshold&&t.origin.trigger("swipe").trigger(t.coords[0]>e.coords[0]?"swipeleft":"swiperight")},setup:function(){var i=c(this);i.bind(e,function(t){var e,n=c.event.special.swipe.start(t);function o(t){n&&(e=c.event.special.swipe.stop(t),Math.abs(n.coords[0]-e.coords[0])>c.event.special.swipe.scrollSupressionThreshold&&t.preventDefault())}i.bind(r,o).one(s,function(){i.unbind(r,o),n&&e&&c.event.special.swipe.handleSwipe(n,e),n=e=void 0})})}},c.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(t,e){c.event.special[t]={setup:function(){c(this).bind(e,c.noop)}}})}(t)});
8
+ //# sourceMappingURL=mobile.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mobile.min.js","sources":["mobile.js"],"names":["root","doc","factory","define","amd","$","mobile","jQuery","this","document","window","undefined","support","event","special","throttledresize","setup","bind","handler","teardown","unbind","heldCall","curr","diff","Date","getTime","lastCall","trigger","clearTimeout","setTimeout","threshold","dataPropertyName","touchTargetPropertyName","virtualEventNames","split","touchEventProps","mouseHookProps","mouseHooks","props","mouseEventProps","concat","activeDocHandlers","resetTimerID","startX","startY","didScroll","clickBlockList","blockMouseTriggers","blockTouchTriggers","eventCaptureSupported","$document","nextTouchID","lastTouchID","getNativeEvent","originalEvent","getVirtualBindingFlags","element","b","k","flags","data","hasVirtualBinding","parentNode","disableTouchBindings","disableMouseBindings","startResetTimer","clearResetTimer","length","vmouse","resetTimerDuration","triggerVirtualEvent","eventType","ve","getClosestElementWithVirtualBinding","target","oe","prop","touch","i","j","len","t","type","Event","search","which","ne","touches","ct","changedTouches","createVirtualEvent","mouseEventCallback","touchID","isDefaultPrevented","preventDefault","isPropagationStopped","stopPropagation","isImmediatePropagationStopped","stopImmediatePropagation","handleTouchStart","pageX","pageY","handleScroll","handleTouchMove","didCancel","moveThreshold","moveDistanceThreshold","Math","abs","handleTouchEnd","push","x","clientX","y","clientY","hasVirtualBindings","ele","bindings","dummyMouseHandler","clickDistanceThreshold","realType","substr","namespace","$this","removeData","getSpecialEventObject","addEventListener","e","o","cnt","extend","each","name","fn","attrFn","supportTouch","touchStartEvent","touchStopEvent","touchMoveEvent","triggerCustomEvent","obj","originalType","dispatch","call","scrollstart","enabled","scrolling","timer","thisObject","state","tap","tapholdThreshold","origTarget","clearTapTimer","clearTapHandlers","clickHandler","swipe","scrollSupressionThreshold","durationThreshold","horizontalDistanceThreshold","verticalDistanceThreshold","start","time","coords","origin","stop","handleSwipe","moveHandler","one","scrollstop","taphold","swipeleft","swiperight","sourceEvent","noop"],"mappings":";;;;;;CAUC,SAAWA,EAAMC,EAAKC,GACC,mBAAXC,QAAyBA,OAAOC,IAE3CD,OAAQ,CAAE,UAAY,SAAWE,GAEhC,OADAH,EAASG,EAAGL,EAAMC,GACXI,EAAEC,SAIVJ,EAASF,EAAKO,OAAQP,EAAMC,GAT9B,CAWGO,KAAMC,SAAU,SAAWF,EAAQG,EAAQD,EAAUE,GA+hBtD,IAAUN,EACNO,GA7hBL,SAAWP,GACVA,EAAEQ,MAAMC,QAAQC,gBAAkB,CACjCC,MAAO,WACNX,EAAGG,MAAOS,KAAM,SAAUC,IAE3BC,SAAU,WACTd,EAAGG,MAAOY,OAAQ,SAAUF,KAI9B,IAqBCG,EACAC,EACAC,EAtBAL,EAAU,WACTI,GAAO,IAAME,MAASC,UAFT,MAGbF,EAAOD,EAAOI,IAIbA,EAAWJ,EACXjB,EAAGG,MAAOmB,QA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hK,EAAEQ,MAAMC,QAAQ8I,MAAMS,KAAMxJ,GAG9B8F,KAAKC,IAAKqD,EAAME,OAAQ,GAAME,EAAKF,OAAQ,IAAQ9J,EAAEQ,MAAMC,QAAQ8I,MAAMC,2BAC7EhJ,EAAMiF,kBAIR6B,EAAM1G,KAAMyH,EAAgB6B,GAC1BC,IAAK/B,EAAgB,WACrBd,EAAMvG,OAAQsH,EAAgB6B,GAEzBN,GAASI,GACbhK,EAAEQ,MAAMC,QAAQ8I,MAAMU,YAAaL,EAAOI,GAE3CJ,EAAQI,OA1Ld,QA+LChK,EAAE8H,KAAK,CACNsC,WAAY,cACZC,QAAS,MACTC,UAAW,QACXC,WAAY,SACV,SAAU/J,EAAOgK,GAEnBxK,EAAEQ,MAAMC,QAASD,GAAU,CAC1BG,MAAO,WACNX,EAAGG,MAAOS,KAAM4J,EAAaxK,EAAEyK,UAxMnC,CA6MIvK"}
@@ -1,107 +1,107 @@
1
- /**
2
- * @title WET-BOEW Progress polyfill
3
- * @overview The <progress> element displays the progress of a task.
4
- * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
5
- * @author @pjackson28
6
- */
7
- ( function( $, window, wb ) {
8
- "use strict";
9
-
10
- /*
11
- * Variable and function definitions.
12
- * These are global to the polyfill - meaning that they will be initialized once per page.
13
- */
14
- var componentName = "wb-progress",
15
- selector = "progress",
16
- initEvent = "wb-init." + componentName,
17
- updateEvent = "wb-update." + componentName,
18
- $document = wb.doc,
19
-
20
- /**
21
- * @method init
22
- * @param {jQuery Event} event Event that triggered the function call
23
- */
24
- init = function( event ) {
25
-
26
- // Start initialization
27
- // returns DOM object = proceed with init
28
- // returns undefined = do not proceed with init (e.g., already initialized)
29
- var elm = wb.init( event, componentName, selector );
30
-
31
- if ( elm ) {
32
- progress( elm );
33
-
34
- // Identify that initialization has completed
35
- wb.ready( $( elm ), componentName );
36
- }
37
- },
38
-
39
- /**
40
- * Create and update the progress visuals
41
- * @method meter
42
- * @param {DOM element} elm Element to be polyfilled
43
- */
44
- progress = function( elm ) {
45
- var $elm = $( elm ),
46
- $progress = $elm.children( ".progress, .undef" ),
47
- $span = $elm.children( ".wb-inv" ),
48
- ariaValueMax = 1.0,
49
- ariaValueNow,
50
- $progressbar;
51
-
52
- if ( elm.getAttribute( "value" ) !== null ) {
53
- if ( $progress.length === 0 ) {
54
- $progress = $( "<div class='progress'><div class='progress-bar' role='progressbar'></div></div>" );
55
- $elm.append( $progress );
56
- }
57
-
58
- try {
59
- ariaValueMax = parseFloat( elm.getAttribute( "max" ) );
60
- } catch ( error ) {
61
-
62
- /* swallow error */
63
- }
64
-
65
- ariaValueNow = elm.getAttribute( "value" );
66
- if ( ariaValueNow > ariaValueMax ) {
67
- ariaValueNow = ariaValueMax;
68
- }
69
-
70
- $progressbar = $progress.children( ".progress-bar" );
71
-
72
- $progressbar.css( "width", ( ( ariaValueNow / ariaValueMax ) * 100 ) + "%" )
73
- .attr( {
74
- "aria-valuemin": 0,
75
- "aria-valuemax": ariaValueMax,
76
- "aria-valuenow": ariaValueNow
77
- } );
78
-
79
- $span.detach();
80
- $span.appendTo( $progressbar );
81
-
82
- } else if ( $progress.length === 0 ) {
83
- $elm.append( "<div class='undef'></div>" );
84
- }
85
-
86
- $elm.trigger( "wb-updated." + componentName );
87
- };
88
-
89
- // Bind the events of the polyfill
90
- $document.on( "timerpoke.wb " + initEvent + " " + updateEvent, selector, function( event ) {
91
- var eventTarget = event.target;
92
-
93
- if ( event.type === "wb-update" ) {
94
- if ( event.namespace === componentName &&
95
- event.currentTarget === eventTarget ) {
96
-
97
- progress( eventTarget );
98
- }
99
- } else {
100
- init( event );
101
- }
102
- } );
103
-
104
- // Add the timer poke to initialize the polyfill
105
- wb.add( selector );
106
-
107
- } )( jQuery, window, wb );
1
+ /**
2
+ * @title WET-BOEW Progress polyfill
3
+ * @overview The <progress> element displays the progress of a task.
4
+ * @license wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
5
+ * @author @pjackson28
6
+ */
7
+ ( function( $, window, wb ) {
8
+ "use strict";
9
+
10
+ /*
11
+ * Variable and function definitions.
12
+ * These are global to the polyfill - meaning that they will be initialized once per page.
13
+ */
14
+ var componentName = "wb-progress",
15
+ selector = "progress",
16
+ initEvent = "wb-init." + componentName,
17
+ updateEvent = "wb-update." + componentName,
18
+ $document = wb.doc,
19
+
20
+ /**
21
+ * @method init
22
+ * @param {jQuery Event} event Event that triggered the function call
23
+ */
24
+ init = function( event ) {
25
+
26
+ // Start initialization
27
+ // returns DOM object = proceed with init
28
+ // returns undefined = do not proceed with init (e.g., already initialized)
29
+ var elm = wb.init( event, componentName, selector );
30
+
31
+ if ( elm ) {
32
+ progress( elm );
33
+
34
+ // Identify that initialization has completed
35
+ wb.ready( $( elm ), componentName );
36
+ }
37
+ },
38
+
39
+ /**
40
+ * Create and update the progress visuals
41
+ * @method meter
42
+ * @param {DOM element} elm Element to be polyfilled
43
+ */
44
+ progress = function( elm ) {
45
+ var $elm = $( elm ),
46
+ $progress = $elm.children( ".progress, .undef" ),
47
+ $span = $elm.children( ".wb-inv" ),
48
+ ariaValueMax = 1.0,
49
+ ariaValueNow,
50
+ $progressbar;
51
+
52
+ if ( elm.getAttribute( "value" ) !== null ) {
53
+ if ( $progress.length === 0 ) {
54
+ $progress = $( "<div class='progress'><div class='progress-bar' role='progressbar'></div></div>" );
55
+ $elm.append( $progress );
56
+ }
57
+
58
+ try {
59
+ ariaValueMax = parseFloat( elm.getAttribute( "max" ) );
60
+ } catch ( error ) {
61
+
62
+ /* swallow error */
63
+ }
64
+
65
+ ariaValueNow = elm.getAttribute( "value" );
66
+ if ( ariaValueNow > ariaValueMax ) {
67
+ ariaValueNow = ariaValueMax;
68
+ }
69
+
70
+ $progressbar = $progress.children( ".progress-bar" );
71
+
72
+ $progressbar.css( "width", ( ( ariaValueNow / ariaValueMax ) * 100 ) + "%" )
73
+ .attr( {
74
+ "aria-valuemin": 0,
75
+ "aria-valuemax": ariaValueMax,
76
+ "aria-valuenow": ariaValueNow
77
+ } );
78
+
79
+ $span.detach();
80
+ $span.appendTo( $progressbar );
81
+
82
+ } else if ( $progress.length === 0 ) {
83
+ $elm.append( "<div class='undef'></div>" );
84
+ }
85
+
86
+ $elm.trigger( "wb-updated." + componentName );
87
+ };
88
+
89
+ // Bind the events of the polyfill
90
+ $document.on( "timerpoke.wb " + initEvent + " " + updateEvent, selector, function( event ) {
91
+ var eventTarget = event.target;
92
+
93
+ if ( event.type === "wb-update" ) {
94
+ if ( event.namespace === componentName &&
95
+ event.currentTarget === eventTarget ) {
96
+
97
+ progress( eventTarget );
98
+ }
99
+ } else {
100
+ init( event );
101
+ }
102
+ } );
103
+
104
+ // Add the timer poke to initialize the polyfill
105
+ wb.add( selector );
106
+
107
+ } )( jQuery, window, wb );
@@ -0,0 +1,8 @@
1
+ /*!
2
+ * Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
3
+ * wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html
4
+ * v4.0.53 - 2022-09-29
5
+ *
6
+ */
7
+ !function(d,a){"use strict";var p="wb-progress",t="progress",e=a.doc,i=function(e){var r,a,t=d(e),i=t.children(".progress, .undef"),s=t.children(".wb-inv"),n=1;if(null!==e.getAttribute("value")){0===i.length&&(i=d("<div class='progress'><div class='progress-bar' role='progressbar'></div></div>"),t.append(i));try{n=parseFloat(e.getAttribute("max"))}catch(e){}n<(r=e.getAttribute("value"))&&(r=n),(a=i.children(".progress-bar")).css("width",r/n*100+"%").attr({"aria-valuemin":0,"aria-valuemax":n,"aria-valuenow":r}),s.detach(),s.appendTo(a)}else 0===i.length&&t.append("<div class='undef'></div>");t.trigger("wb-updated."+p)};e.on("timerpoke.wb wb-init.wb-progress wb-update.wb-progress",t,function(e){var r=e.target;"wb-update"===e.type?e.namespace===p&&e.currentTarget===r&&i(r):function(e){e=a.init(e,p,t);e&&(i(e),a.ready(d(e),p))}(e)}),a.add(t)}(jQuery,(window,wb));
8
+ //# sourceMappingURL=progress.min.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"progress.min.js","sources":["progress.js"],"names":["$","wb","componentName","selector","$document","doc","progress","elm","ariaValueNow","$progressbar","$elm","$progress","children","$span","ariaValueMax","getAttribute","length","append","parseFloat","error","css","attr","aria-valuemin","aria-valuemax","aria-valuenow","detach","appendTo","trigger","on","event","eventTarget","target","type","namespace","currentTarget","init","ready","add","jQuery","window"],"mappings":";;;;;;CAMA,SAAYA,EAAWC,gBAOvB,IAAIC,EAAgB,cACnBC,EAAW,WAGXC,EAAYH,EAAGI,IA0BfC,EAAW,SAAUC,GACpB,IAICC,EACAC,EALGC,EAAOV,EAAGO,GACbI,EAAYD,EAAKE,SAAU,qBAC3BC,EAAQH,EAAKE,SAAU,WACvBE,EAAe,EAIhB,GAAqC,OAAhCP,EAAIQ,aAAc,SAAqB,CACjB,IAArBJ,EAAUK,SACdL,EAAYX,EAAG,mFACfU,EAAKO,OAAQN,IAGd,IACCG,EAAeI,WAAYX,EAAIQ,aAAc,QAC5C,MAAQI,IAMUL,GADpBN,EAAeD,EAAIQ,aAAc,YAEhCP,EAAeM,IAGhBL,EAAeE,EAAUC,SAAU,kBAEtBQ,IAAK,QAAaZ,EAAeM,EAAiB,IAAQ,KACrEO,KAAM,CACNC,gBAAiB,EACjBC,gBAAiBT,EACjBU,gBAAiBhB,IAGnBK,EAAMY,SACNZ,EAAMa,SAAUjB,QAEgB,IAArBE,EAAUK,QACrBN,EAAKO,OAAQ,6BAGdP,EAAKiB,QAAS,cAAgBzB,IAIhCE,EAAUwB,GAAI,yDAAkDzB,EAAU,SAAU0B,GACnF,IAAIC,EAAcD,EAAME,OAEJ,cAAfF,EAAMG,KACLH,EAAMI,YAAc/B,GACxB2B,EAAMK,gBAAkBJ,GAExBxB,EAAUwB,GAzEL,SAAUD,GAKZtB,EAAMN,EAAGkC,KAAMN,EAAO3B,EAAeC,GAEpCI,IACJD,EAAUC,GAGVN,EAAGmC,MAAOpC,EAAGO,GAAOL,IAiErBiC,CAAMN,KAKR5B,EAAGoC,IAAKlC,GAlGR,CAoGKmC,QAAQC,OAAQtC"}