rroonga 7.1.1-x86-mingw32 → 9.0.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (980) hide show
  1. checksums.yaml +5 -5
  2. data/Rakefile +3 -3
  3. data/doc/text/news.md +22 -0
  4. data/ext/groonga/extconf.rb +29 -26
  5. data/ext/groonga/rb-grn.h +3 -3
  6. data/lib/2.2/groonga.so +0 -0
  7. data/lib/2.3/groonga.so +0 -0
  8. data/lib/2.4/groonga.so +0 -0
  9. data/lib/2.5/groonga.so +0 -0
  10. data/lib/groonga/expression-builder.rb +1 -1
  11. data/lib/groonga/schema.rb +13 -0
  12. data/rroonga-build.rb +4 -11
  13. data/test/test-expression-builder.rb +8 -0
  14. data/vendor/local/bin/cv2pdb.exe +0 -0
  15. data/vendor/local/bin/generate-pdb.bat +38 -36
  16. data/vendor/local/bin/grndb.exe +0 -0
  17. data/vendor/local/bin/groonga-benchmark.exe +0 -0
  18. data/vendor/local/bin/groonga-suggest-create-dataset.exe +0 -0
  19. data/vendor/local/bin/groonga.exe +0 -0
  20. data/vendor/local/bin/libgroonga-0.dll +0 -0
  21. data/vendor/local/bin/libmecab-2.dll +0 -0
  22. data/vendor/local/bin/libmsgpackc.dll +0 -0
  23. data/vendor/local/bin/libonigmo-6.dll +0 -0
  24. data/vendor/local/bin/libpcre-1.dll +0 -0
  25. data/vendor/local/bin/libpcrecpp-0.dll +0 -0
  26. data/vendor/local/bin/libpcreposix-0.dll +0 -0
  27. data/vendor/local/bin/lz4.exe +0 -0
  28. data/vendor/local/bin/lz4c.exe +0 -0
  29. data/vendor/local/bin/{lz4cat → lz4cat.exe} +0 -0
  30. data/vendor/local/bin/mecab.exe +0 -0
  31. data/vendor/local/bin/pcre-config +1 -1
  32. data/vendor/local/bin/pcregrep.exe +0 -0
  33. data/vendor/local/bin/pcretest.exe +0 -0
  34. data/vendor/local/bin/unlz4.exe +0 -0
  35. data/vendor/local/bin/zlib1.dll +0 -0
  36. data/vendor/local/include/groonga/groonga.h +16 -1
  37. data/vendor/local/include/groonga/groonga/accessor.h +5 -1
  38. data/vendor/local/include/groonga/groonga/column.h +4 -0
  39. data/vendor/local/include/groonga/groonga/db.h +3 -1
  40. data/vendor/local/include/groonga/groonga/expr.h +5 -0
  41. data/vendor/local/include/groonga/groonga/groonga.h +124 -171
  42. data/vendor/local/include/groonga/groonga/highlighter.h +57 -0
  43. data/vendor/local/include/groonga/groonga/ii.h +2 -0
  44. data/vendor/local/include/groonga/groonga/index_column.h +31 -0
  45. data/vendor/local/include/groonga/groonga/memory.h +29 -0
  46. data/vendor/local/include/groonga/groonga/msgpack.h +50 -0
  47. data/vendor/local/include/groonga/groonga/obj.h +22 -1
  48. data/vendor/local/include/groonga/groonga/option.h +61 -0
  49. data/vendor/local/include/groonga/groonga/output.h +57 -2
  50. data/vendor/local/include/groonga/groonga/output_columns.h +38 -0
  51. data/vendor/local/include/groonga/groonga/plugin.h +5 -0
  52. data/vendor/local/include/groonga/groonga/raw_string.h +60 -0
  53. data/vendor/local/include/groonga/groonga/string.h +113 -0
  54. data/vendor/local/include/groonga/groonga/table.h +89 -1
  55. data/vendor/local/include/groonga/groonga/thread.h +15 -0
  56. data/vendor/local/include/groonga/groonga/time.h +1 -0
  57. data/vendor/local/include/groonga/groonga/token.h +60 -10
  58. data/vendor/local/include/groonga/groonga/token_cursor.h +59 -0
  59. data/vendor/local/include/groonga/groonga/token_filter.h +24 -0
  60. data/vendor/local/include/groonga/groonga/token_metadata.h +49 -0
  61. data/vendor/local/include/groonga/groonga/tokenizer.h +99 -25
  62. data/vendor/local/include/groonga/groonga/tokenizer_query_deprecated.h +50 -0
  63. data/vendor/local/include/groonga/groonga/vector.h +80 -0
  64. data/vendor/local/include/groonga/groonga/version.h +32 -0
  65. data/vendor/local/include/groonga/groonga/window_function.h +18 -8
  66. data/vendor/local/include/groonga/groonga/window_function_executor.h +68 -0
  67. data/vendor/local/include/lz4.h +504 -212
  68. data/vendor/local/include/lz4frame.h +433 -153
  69. data/vendor/local/include/lz4frame_static.h +47 -0
  70. data/vendor/local/include/lz4hc.h +281 -108
  71. data/vendor/local/include/msgpack.hpp +4 -0
  72. data/vendor/local/include/msgpack/adaptor/adaptor_base.hpp +1 -0
  73. data/vendor/local/include/msgpack/adaptor/adaptor_base_decl.hpp +1 -0
  74. data/vendor/local/include/msgpack/adaptor/array_ref_decl.hpp +1 -0
  75. data/vendor/local/include/msgpack/adaptor/boost/msgpack_variant_decl.hpp +1 -0
  76. data/vendor/local/include/msgpack/adaptor/boost/string_view.hpp +15 -0
  77. data/vendor/local/include/msgpack/adaptor/check_container_size_decl.hpp +1 -0
  78. data/vendor/local/include/msgpack/adaptor/cpp17/optional.hpp +16 -0
  79. data/vendor/local/include/msgpack/adaptor/cpp17/string_view.hpp +16 -0
  80. data/vendor/local/include/msgpack/adaptor/define_decl.hpp +2 -0
  81. data/vendor/local/include/msgpack/adaptor/ext_decl.hpp +1 -0
  82. data/vendor/local/include/msgpack/adaptor/fixint_decl.hpp +1 -0
  83. data/vendor/local/include/msgpack/adaptor/int_decl.hpp +1 -0
  84. data/vendor/local/include/msgpack/adaptor/map_decl.hpp +1 -0
  85. data/vendor/local/include/msgpack/adaptor/msgpack_tuple_decl.hpp +1 -0
  86. data/vendor/local/include/msgpack/adaptor/nil_decl.hpp +1 -0
  87. data/vendor/local/include/msgpack/adaptor/raw_decl.hpp +1 -0
  88. data/vendor/local/include/msgpack/adaptor/size_equal_only_decl.hpp +1 -0
  89. data/vendor/local/include/msgpack/adaptor/tr1/unordered_map.hpp +2 -2
  90. data/vendor/local/include/msgpack/adaptor/tr1/unordered_set.hpp +2 -2
  91. data/vendor/local/include/msgpack/adaptor/v4raw_decl.hpp +1 -0
  92. data/vendor/local/include/msgpack/cpp_config_decl.hpp +1 -0
  93. data/vendor/local/include/msgpack/create_object_visitor.hpp +17 -0
  94. data/vendor/local/include/msgpack/create_object_visitor_decl.hpp +16 -0
  95. data/vendor/local/include/msgpack/fbuffer.h +1 -1
  96. data/vendor/local/include/msgpack/fbuffer_decl.hpp +1 -0
  97. data/vendor/local/include/msgpack/gcc_atomic.hpp +0 -2
  98. data/vendor/local/include/msgpack/iterator_decl.hpp +2 -1
  99. data/vendor/local/include/msgpack/meta_decl.hpp +1 -0
  100. data/vendor/local/include/msgpack/null_visitor.hpp +17 -0
  101. data/vendor/local/include/msgpack/null_visitor_decl.hpp +16 -0
  102. data/vendor/local/include/msgpack/object.h +5 -0
  103. data/vendor/local/include/msgpack/object_decl.hpp +1 -0
  104. data/vendor/local/include/msgpack/object_fwd.hpp +1 -0
  105. data/vendor/local/include/msgpack/object_fwd_decl.hpp +1 -0
  106. data/vendor/local/include/msgpack/pack.h +1 -0
  107. data/vendor/local/include/msgpack/pack_decl.hpp +1 -0
  108. data/vendor/local/include/msgpack/parse.hpp +18 -0
  109. data/vendor/local/include/msgpack/parse_decl.hpp +16 -0
  110. data/vendor/local/include/msgpack/parse_return.hpp +17 -0
  111. data/vendor/local/include/msgpack/sbuffer_decl.hpp +1 -0
  112. data/vendor/local/include/msgpack/sysdep.h +34 -26
  113. data/vendor/local/include/msgpack/type.hpp +9 -0
  114. data/vendor/local/include/msgpack/unpack.h +12 -1
  115. data/vendor/local/include/msgpack/unpack.hpp +1 -0
  116. data/vendor/local/include/msgpack/unpack_decl.hpp +1 -0
  117. data/vendor/local/include/msgpack/unpack_exception.hpp +15 -0
  118. data/vendor/local/include/msgpack/unpack_template.h +22 -30
  119. data/vendor/local/include/msgpack/v1/adaptor/array_ref.hpp +6 -6
  120. data/vendor/local/include/msgpack/v1/adaptor/boost/fusion.hpp +49 -6
  121. data/vendor/local/include/msgpack/v1/adaptor/boost/msgpack_variant.hpp +6 -4
  122. data/vendor/local/include/msgpack/v1/adaptor/boost/string_view.hpp +87 -0
  123. data/vendor/local/include/msgpack/v1/adaptor/carray.hpp +11 -11
  124. data/vendor/local/include/msgpack/v1/adaptor/char_ptr.hpp +1 -1
  125. data/vendor/local/include/msgpack/v1/adaptor/cpp11/array.hpp +1 -1
  126. data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_char.hpp +8 -1
  127. data/vendor/local/include/msgpack/v1/adaptor/cpp11/array_unsigned_char.hpp +8 -1
  128. data/vendor/local/include/msgpack/v1/adaptor/cpp11/forward_list.hpp +1 -1
  129. data/vendor/local/include/msgpack/v1/adaptor/cpp11/tuple.hpp +2 -2
  130. data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_map.hpp +4 -4
  131. data/vendor/local/include/msgpack/v1/adaptor/cpp11/unordered_set.hpp +2 -2
  132. data/vendor/local/include/msgpack/v1/adaptor/cpp17/optional.hpp +90 -0
  133. data/vendor/local/include/msgpack/v1/adaptor/cpp17/string_view.hpp +86 -0
  134. data/vendor/local/include/msgpack/v1/adaptor/deque.hpp +1 -1
  135. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_array.hpp +1088 -32
  136. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_define_map.hpp +32 -16
  137. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp03_msgpack_tuple.hpp +32 -32
  138. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_convert_helper.hpp +45 -0
  139. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_array.hpp +4 -3
  140. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_define_map.hpp +4 -2
  141. data/vendor/local/include/msgpack/v1/adaptor/detail/cpp11_msgpack_tuple.hpp +2 -2
  142. data/vendor/local/include/msgpack/v1/adaptor/ext.hpp +1 -1
  143. data/vendor/local/include/msgpack/v1/adaptor/fixint.hpp +40 -24
  144. data/vendor/local/include/msgpack/v1/adaptor/float.hpp +4 -4
  145. data/vendor/local/include/msgpack/v1/adaptor/int.hpp +55 -33
  146. data/vendor/local/include/msgpack/v1/adaptor/list.hpp +1 -1
  147. data/vendor/local/include/msgpack/v1/adaptor/map.hpp +10 -10
  148. data/vendor/local/include/msgpack/v1/adaptor/pair.hpp +2 -2
  149. data/vendor/local/include/msgpack/v1/adaptor/set.hpp +2 -2
  150. data/vendor/local/include/msgpack/v1/adaptor/string.hpp +1 -1
  151. data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_map.hpp +2 -2
  152. data/vendor/local/include/msgpack/v1/adaptor/tr1/unordered_set.hpp +2 -2
  153. data/vendor/local/include/msgpack/v1/adaptor/vector.hpp +5 -5
  154. data/vendor/local/include/msgpack/v1/adaptor/vector_bool.hpp +1 -1
  155. data/vendor/local/include/msgpack/v1/adaptor/vector_char.hpp +9 -9
  156. data/vendor/local/include/msgpack/v1/adaptor/vector_unsigned_char.hpp +9 -9
  157. data/vendor/local/include/msgpack/v1/cpp_config.hpp +6 -0
  158. data/vendor/local/include/msgpack/v1/cpp_config_decl.hpp +6 -0
  159. data/vendor/local/include/msgpack/v1/detail/cpp03_zone.hpp +41 -34
  160. data/vendor/local/include/msgpack/v1/detail/cpp03_zone_decl.hpp +8 -0
  161. data/vendor/local/include/msgpack/v1/detail/cpp11_zone.hpp +25 -19
  162. data/vendor/local/include/msgpack/v1/detail/cpp11_zone_decl.hpp +8 -0
  163. data/vendor/local/include/msgpack/v1/meta.hpp +6 -0
  164. data/vendor/local/include/msgpack/v1/meta_decl.hpp +5 -0
  165. data/vendor/local/include/msgpack/v1/object.hpp +768 -393
  166. data/vendor/local/include/msgpack/v1/object_decl.hpp +11 -1
  167. data/vendor/local/include/msgpack/v1/object_fwd.hpp +4 -1
  168. data/vendor/local/include/msgpack/v1/object_fwd_decl.hpp +3 -1
  169. data/vendor/local/include/msgpack/v1/parse_return.hpp +36 -0
  170. data/vendor/local/include/msgpack/v1/unpack.hpp +39 -120
  171. data/vendor/local/include/msgpack/v1/unpack_decl.hpp +2 -9
  172. data/vendor/local/include/msgpack/v1/unpack_exception.hpp +122 -0
  173. data/vendor/local/include/msgpack/v1/vrefbuffer.hpp +2 -2
  174. data/vendor/local/include/msgpack/v2/create_object_visitor.hpp +250 -0
  175. data/vendor/local/include/msgpack/v2/create_object_visitor_decl.hpp +33 -0
  176. data/vendor/local/include/msgpack/v2/meta_decl.hpp +4 -0
  177. data/vendor/local/include/msgpack/v2/null_visitor.hpp +96 -0
  178. data/vendor/local/include/msgpack/v2/null_visitor_decl.hpp +29 -0
  179. data/vendor/local/include/msgpack/v2/object_decl.hpp +4 -0
  180. data/vendor/local/include/msgpack/v2/object_fwd.hpp +1 -1
  181. data/vendor/local/include/msgpack/v2/object_fwd_decl.hpp +2 -0
  182. data/vendor/local/include/msgpack/v2/pack_decl.hpp +1 -0
  183. data/vendor/local/include/msgpack/v2/parse.hpp +1072 -0
  184. data/vendor/local/include/msgpack/v2/parse_decl.hpp +79 -0
  185. data/vendor/local/include/msgpack/v2/parse_return.hpp +37 -0
  186. data/vendor/local/include/msgpack/v2/unpack.hpp +21 -1298
  187. data/vendor/local/include/msgpack/v2/unpack_decl.hpp +9 -45
  188. data/vendor/local/include/msgpack/v2/x3_parse.hpp +875 -0
  189. data/vendor/local/include/msgpack/v2/x3_parse_decl.hpp +36 -0
  190. data/vendor/local/include/msgpack/v2/x3_unpack.hpp +120 -0
  191. data/vendor/local/include/msgpack/v2/x3_unpack_decl.hpp +71 -0
  192. data/vendor/local/include/msgpack/v3/adaptor/adaptor_base.hpp +58 -0
  193. data/vendor/local/include/msgpack/v3/adaptor/adaptor_base_decl.hpp +52 -0
  194. data/vendor/local/include/msgpack/v3/adaptor/array_ref_decl.hpp +36 -0
  195. data/vendor/local/include/msgpack/v3/adaptor/boost/msgpack_variant_decl.hpp +42 -0
  196. data/vendor/local/include/msgpack/v3/adaptor/check_container_size_decl.hpp +39 -0
  197. data/vendor/local/include/msgpack/v3/adaptor/define_decl.hpp +23 -0
  198. data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_array_decl.hpp +31 -0
  199. data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_define_map_decl.hpp +31 -0
  200. data/vendor/local/include/msgpack/v3/adaptor/detail/cpp03_msgpack_tuple_decl.hpp +43 -0
  201. data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_array_decl.hpp +32 -0
  202. data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_define_map_decl.hpp +31 -0
  203. data/vendor/local/include/msgpack/v3/adaptor/detail/cpp11_msgpack_tuple_decl.hpp +59 -0
  204. data/vendor/local/include/msgpack/v3/adaptor/ext_decl.hpp +34 -0
  205. data/vendor/local/include/msgpack/v3/adaptor/fixint_decl.hpp +43 -0
  206. data/vendor/local/include/msgpack/v3/adaptor/int_decl.hpp +54 -0
  207. data/vendor/local/include/msgpack/v3/adaptor/map_decl.hpp +33 -0
  208. data/vendor/local/include/msgpack/v3/adaptor/msgpack_tuple_decl.hpp +21 -0
  209. data/vendor/local/include/msgpack/v3/adaptor/nil_decl.hpp +42 -0
  210. data/vendor/local/include/msgpack/v3/adaptor/raw_decl.hpp +33 -0
  211. data/vendor/local/include/msgpack/v3/adaptor/size_equal_only_decl.hpp +35 -0
  212. data/vendor/local/include/msgpack/v3/adaptor/v4raw_decl.hpp +34 -0
  213. data/vendor/local/include/msgpack/v3/cpp_config_decl.hpp +84 -0
  214. data/vendor/local/include/msgpack/v3/create_object_visitor_decl.hpp +33 -0
  215. data/vendor/local/include/msgpack/v3/detail/cpp03_zone_decl.hpp +31 -0
  216. data/vendor/local/include/msgpack/v3/detail/cpp11_zone_decl.hpp +31 -0
  217. data/vendor/local/include/msgpack/v3/fbuffer_decl.hpp +32 -0
  218. data/vendor/local/include/msgpack/v3/iterator_decl.hpp +33 -0
  219. data/vendor/local/include/msgpack/v3/meta_decl.hpp +50 -0
  220. data/vendor/local/include/msgpack/v3/null_visitor_decl.hpp +29 -0
  221. data/vendor/local/include/msgpack/v3/object_decl.hpp +53 -0
  222. data/vendor/local/include/msgpack/v3/object_fwd.hpp +70 -0
  223. data/vendor/local/include/msgpack/v3/object_fwd_decl.hpp +75 -0
  224. data/vendor/local/include/msgpack/v3/pack_decl.hpp +55 -0
  225. data/vendor/local/include/msgpack/v3/parse.hpp +677 -0
  226. data/vendor/local/include/msgpack/v3/parse_decl.hpp +49 -0
  227. data/vendor/local/include/msgpack/v3/parse_return.hpp +35 -0
  228. data/vendor/local/include/msgpack/v3/sbuffer_decl.hpp +33 -0
  229. data/vendor/local/include/msgpack/v3/unpack.hpp +192 -0
  230. data/vendor/local/include/msgpack/v3/unpack_decl.hpp +304 -0
  231. data/vendor/local/include/msgpack/v3/vrefbuffer_decl.hpp +29 -0
  232. data/vendor/local/include/msgpack/v3/x3_parse_decl.hpp +34 -0
  233. data/vendor/local/include/msgpack/v3/x3_unpack.hpp +97 -0
  234. data/vendor/local/include/msgpack/v3/x3_unpack_decl.hpp +65 -0
  235. data/vendor/local/include/msgpack/v3/zbuffer_decl.hpp +29 -0
  236. data/vendor/local/include/msgpack/v3/zone_decl.hpp +21 -0
  237. data/vendor/local/include/msgpack/version_master.h +2 -2
  238. data/vendor/local/include/msgpack/versioning.hpp +5 -3
  239. data/vendor/local/include/msgpack/vrefbuffer.h +1 -2
  240. data/vendor/local/include/msgpack/vrefbuffer_decl.hpp +1 -0
  241. data/vendor/local/include/msgpack/x3_parse.hpp +15 -0
  242. data/vendor/local/include/msgpack/x3_parse_decl.hpp +16 -0
  243. data/vendor/local/include/msgpack/x3_unpack.hpp +16 -0
  244. data/vendor/local/include/msgpack/x3_unpack_decl.hpp +16 -0
  245. data/vendor/local/include/msgpack/zbuffer_decl.hpp +1 -0
  246. data/vendor/local/include/msgpack/zone_decl.hpp +1 -0
  247. data/vendor/local/include/pcre.h +6 -6
  248. data/vendor/local/lib/cmake/msgpack/msgpack-config-version.cmake +46 -0
  249. data/vendor/local/lib/cmake/msgpack/msgpack-config.cmake +47 -0
  250. data/vendor/local/lib/cmake/msgpack/msgpack-targets-noconfig.cmake +29 -0
  251. data/vendor/local/lib/cmake/msgpack/msgpack-targets.cmake +101 -0
  252. data/vendor/local/lib/groonga/plugins/functions/index_column.a +0 -0
  253. data/vendor/local/lib/groonga/plugins/functions/index_column.dll +0 -0
  254. data/vendor/local/lib/groonga/plugins/functions/index_column.dll.a +0 -0
  255. data/vendor/local/lib/groonga/plugins/functions/index_column.la +1 -1
  256. data/vendor/local/lib/groonga/plugins/functions/math.a +0 -0
  257. data/vendor/local/lib/groonga/plugins/functions/math.dll +0 -0
  258. data/vendor/local/lib/groonga/plugins/functions/math.dll.a +0 -0
  259. data/vendor/local/lib/groonga/plugins/functions/math.la +1 -1
  260. data/vendor/local/lib/groonga/plugins/functions/number.a +0 -0
  261. data/vendor/local/lib/groonga/plugins/functions/number.dll +0 -0
  262. data/vendor/local/lib/groonga/plugins/functions/number.dll.a +0 -0
  263. data/vendor/local/lib/groonga/plugins/functions/number.la +1 -1
  264. data/vendor/local/lib/groonga/plugins/functions/string.a +0 -0
  265. data/vendor/local/lib/groonga/plugins/functions/string.dll +0 -0
  266. data/vendor/local/lib/groonga/plugins/functions/string.dll.a +0 -0
  267. data/vendor/local/lib/groonga/plugins/functions/string.la +1 -1
  268. data/vendor/local/lib/groonga/plugins/functions/time.a +0 -0
  269. data/vendor/local/lib/groonga/plugins/functions/time.dll +0 -0
  270. data/vendor/local/lib/groonga/plugins/functions/time.dll.a +0 -0
  271. data/vendor/local/lib/groonga/plugins/functions/time.la +1 -1
  272. data/vendor/local/lib/groonga/plugins/functions/vector.a +0 -0
  273. data/vendor/local/lib/groonga/plugins/functions/vector.dll +0 -0
  274. data/vendor/local/lib/groonga/plugins/functions/vector.dll.a +0 -0
  275. data/vendor/local/lib/groonga/plugins/functions/vector.la +1 -1
  276. data/vendor/local/lib/groonga/plugins/normalizers/mysql.a +0 -0
  277. data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll +0 -0
  278. data/vendor/local/lib/groonga/plugins/normalizers/mysql.dll.a +0 -0
  279. data/vendor/local/lib/groonga/plugins/normalizers/mysql.la +2 -2
  280. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.a +0 -0
  281. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll +0 -0
  282. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.dll.a +0 -0
  283. data/vendor/local/lib/groonga/plugins/query_expanders/tsv.la +1 -1
  284. data/vendor/local/lib/groonga/plugins/sharding/dynamic_columns.rb +150 -19
  285. data/vendor/local/lib/groonga/plugins/sharding/logical_count.rb +123 -65
  286. data/vendor/local/lib/groonga/plugins/sharding/logical_range_filter.rb +528 -113
  287. data/vendor/local/lib/groonga/plugins/sharding/logical_select.rb +142 -40
  288. data/vendor/local/lib/groonga/plugins/suggest/suggest.a +0 -0
  289. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll +0 -0
  290. data/vendor/local/lib/groonga/plugins/suggest/suggest.dll.a +0 -0
  291. data/vendor/local/lib/groonga/plugins/suggest/suggest.la +1 -1
  292. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.a +0 -0
  293. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll +0 -0
  294. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.dll.a +0 -0
  295. data/vendor/local/lib/groonga/plugins/token_filters/stop_word.la +1 -1
  296. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.a +0 -0
  297. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll +0 -0
  298. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.dll.a +0 -0
  299. data/vendor/local/lib/groonga/plugins/tokenizers/mecab.la +1 -1
  300. data/vendor/local/lib/groonga/scripts/ruby/backtrace_entry.rb +1 -1
  301. data/vendor/local/lib/groonga/scripts/ruby/command_line/grndb.rb +64 -35
  302. data/vendor/local/lib/groonga/scripts/ruby/expression.rb +3 -1
  303. data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters.rb +15 -21
  304. data/vendor/local/lib/groonga/scripts/ruby/expression_rewriters/optimizer.rb +274 -0
  305. data/vendor/local/lib/groonga/scripts/ruby/expression_tree.rb +8 -2
  306. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign.rb +22 -0
  307. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/assign_binary_operation.rb +24 -0
  308. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/binary_operation.rb +206 -8
  309. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/constant.rb +16 -1
  310. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/function_call.rb +30 -1
  311. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/logical_operation.rb +6 -0
  312. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/member.rb +18 -0
  313. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/null.rb +17 -0
  314. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/reference.rb +18 -0
  315. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/table.rb +14 -0
  316. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/unary_operation.rb +26 -0
  317. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/variable.rb +4 -0
  318. data/vendor/local/lib/groonga/scripts/ruby/expression_tree_builder.rb +78 -8
  319. data/vendor/local/lib/groonga/scripts/ruby/index_column.rb +10 -0
  320. data/vendor/local/lib/groonga/scripts/ruby/initialize/post.rb +2 -0
  321. data/vendor/local/lib/groonga/scripts/ruby/locale_output.rb +28 -0
  322. data/vendor/local/lib/groonga/scripts/ruby/logger.rb +36 -4
  323. data/vendor/local/lib/groonga/scripts/ruby/record.rb +1 -1
  324. data/vendor/local/lib/groonga/scripts/ruby/scan_info_builder.rb +0 -3
  325. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data.rb +46 -5
  326. data/vendor/local/lib/groonga/scripts/ruby/scan_info_data_size_estimator.rb +5 -136
  327. data/vendor/local/lib/groonga/scripts/ruby/table.rb +2 -2
  328. data/vendor/local/lib/libgroonga.a +0 -0
  329. data/vendor/local/lib/libgroonga.dll.a +0 -0
  330. data/vendor/local/lib/libgroonga.la +1 -1
  331. data/vendor/local/lib/liblz4.a +0 -0
  332. data/vendor/local/lib/liblz4.dll +0 -0
  333. data/vendor/local/lib/liblz4.dll.1 +0 -0
  334. data/vendor/local/lib/{liblz4.dll.1.5.0 → liblz4.dll.1.8.2} +0 -0
  335. data/vendor/local/lib/libmecab.dll.a +0 -0
  336. data/vendor/local/lib/libmsgpackc.a +0 -0
  337. data/vendor/local/lib/libmsgpackc.dll.a +0 -0
  338. data/vendor/local/lib/libonigmo.a +0 -0
  339. data/vendor/local/lib/libonigmo.dll.a +0 -0
  340. data/vendor/local/lib/libpcre.a +0 -0
  341. data/vendor/local/lib/libpcre.dll.a +0 -0
  342. data/vendor/local/lib/libpcre.la +2 -2
  343. data/vendor/local/lib/libpcrecpp.dll.a +0 -0
  344. data/vendor/local/lib/libpcrecpp.la +1 -1
  345. data/vendor/local/lib/libpcreposix.a +0 -0
  346. data/vendor/local/lib/libpcreposix.dll.a +0 -0
  347. data/vendor/local/lib/libpcreposix.la +2 -2
  348. data/vendor/local/lib/libz.dll.a +0 -0
  349. data/vendor/local/lib/pkgconfig/groonga-normalizer-mysql.pc +1 -1
  350. data/vendor/local/lib/pkgconfig/groonga.pc +2 -2
  351. data/vendor/local/lib/pkgconfig/liblz4.pc +3 -3
  352. data/vendor/local/lib/pkgconfig/libpcre.pc +1 -1
  353. data/vendor/local/lib/pkgconfig/libpcrecpp.pc +1 -1
  354. data/vendor/local/lib/pkgconfig/libpcreposix.pc +1 -1
  355. data/vendor/local/lib/pkgconfig/msgpack.pc +1 -1
  356. data/vendor/local/libexec/mecab/mecab-cost-train.exe +0 -0
  357. data/vendor/local/libexec/mecab/mecab-dict-gen.exe +0 -0
  358. data/vendor/local/libexec/mecab/mecab-dict-index.exe +0 -0
  359. data/vendor/local/libexec/mecab/mecab-system-eval.exe +0 -0
  360. data/vendor/local/libexec/mecab/mecab-test-gen.exe +0 -0
  361. data/vendor/local/share/doc/groonga-normalizer-mysql/README.md +14 -22
  362. data/vendor/local/share/doc/groonga-normalizer-mysql/news.md +22 -2
  363. data/vendor/local/share/doc/groonga/en/html/.buildinfo +1 -1
  364. data/vendor/local/share/doc/groonga/en/html/_static/basic.css +113 -4
  365. data/vendor/local/share/doc/groonga/en/html/_static/doctools.js +46 -19
  366. data/vendor/local/share/doc/groonga/en/html/_static/documentation_options.js +10 -0
  367. data/vendor/local/share/doc/groonga/en/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
  368. data/vendor/local/share/doc/groonga/en/html/_static/jquery.js +4 -4
  369. data/vendor/local/share/doc/groonga/en/html/_static/language_data.js +297 -0
  370. data/vendor/local/share/doc/groonga/en/html/_static/pygments.css +4 -0
  371. data/vendor/local/share/doc/groonga/en/html/_static/searchtools.js +69 -322
  372. data/vendor/local/share/doc/groonga/en/html/characteristic.html +16 -24
  373. data/vendor/local/share/doc/groonga/en/html/client.html +15 -23
  374. data/vendor/local/share/doc/groonga/en/html/community.html +30 -38
  375. data/vendor/local/share/doc/groonga/en/html/contribution.html +23 -31
  376. data/vendor/local/share/doc/groonga/en/html/contribution/development.html +15 -23
  377. data/vendor/local/share/doc/groonga/en/html/contribution/development/build.html +15 -23
  378. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_autotools.html +58 -66
  379. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/unix_cmake.html +51 -56
  380. data/vendor/local/share/doc/groonga/en/html/contribution/development/build/windows_cmake.html +52 -56
  381. data/vendor/local/share/doc/groonga/en/html/contribution/development/com.html +27 -35
  382. data/vendor/local/share/doc/groonga/en/html/contribution/development/cooperation.html +19 -27
  383. data/vendor/local/share/doc/groonga/en/html/contribution/development/query.html +26 -34
  384. data/vendor/local/share/doc/groonga/en/html/contribution/development/release.html +167 -167
  385. data/vendor/local/share/doc/groonga/en/html/contribution/development/repository.html +16 -24
  386. data/vendor/local/share/doc/groonga/en/html/contribution/development/test.html +28 -36
  387. data/vendor/local/share/doc/groonga/en/html/contribution/documentation.html +15 -23
  388. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/c-api.html +15 -23
  389. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/i18n.html +59 -67
  390. data/vendor/local/share/doc/groonga/en/html/contribution/documentation/introduction.html +31 -39
  391. data/vendor/local/share/doc/groonga/en/html/contribution/report.html +18 -26
  392. data/vendor/local/share/doc/groonga/en/html/development.html +15 -23
  393. data/vendor/local/share/doc/groonga/en/html/development/travis-ci.html +38 -43
  394. data/vendor/local/share/doc/groonga/en/html/genindex.html +50 -28
  395. data/vendor/local/share/doc/groonga/en/html/index.html +248 -234
  396. data/vendor/local/share/doc/groonga/en/html/install.html +43 -47
  397. data/vendor/local/share/doc/groonga/en/html/install/centos.html +43 -51
  398. data/vendor/local/share/doc/groonga/en/html/install/debian.html +52 -131
  399. data/vendor/local/share/doc/groonga/en/html/install/docker.html +155 -0
  400. data/vendor/local/share/doc/groonga/en/html/install/fedora.html +41 -49
  401. data/vendor/local/share/doc/groonga/en/html/install/mac_os_x.html +29 -37
  402. data/vendor/local/share/doc/groonga/en/html/install/others.html +142 -150
  403. data/vendor/local/share/doc/groonga/en/html/install/solaris.html +30 -38
  404. data/vendor/local/share/doc/groonga/en/html/install/ubuntu.html +43 -51
  405. data/vendor/local/share/doc/groonga/en/html/install/windows.html +33 -41
  406. data/vendor/local/share/doc/groonga/en/html/limitations.html +36 -42
  407. data/vendor/local/share/doc/groonga/en/html/news.html +1586 -598
  408. data/vendor/local/share/doc/groonga/en/html/news/0.x.html +83 -83
  409. data/vendor/local/share/doc/groonga/en/html/news/1.0.x.html +147 -155
  410. data/vendor/local/share/doc/groonga/en/html/news/1.1.x.html +26 -34
  411. data/vendor/local/share/doc/groonga/en/html/news/1.2.x.html +225 -233
  412. data/vendor/local/share/doc/groonga/en/html/news/1.3.x.html +48 -56
  413. data/vendor/local/share/doc/groonga/en/html/news/2.x.html +378 -386
  414. data/vendor/local/share/doc/groonga/en/html/news/3.x.html +320 -328
  415. data/vendor/local/share/doc/groonga/en/html/news/4.x.html +442 -448
  416. data/vendor/local/share/doc/groonga/en/html/news/5.x.html +742 -860
  417. data/vendor/local/share/doc/groonga/en/html/news/6.x.html +544 -621
  418. data/vendor/local/share/doc/groonga/en/html/news/senna.html +32 -40
  419. data/vendor/local/share/doc/groonga/en/html/objects.inv +0 -0
  420. data/vendor/local/share/doc/groonga/en/html/reference.html +208 -198
  421. data/vendor/local/share/doc/groonga/en/html/reference/alias.html +85 -93
  422. data/vendor/local/share/doc/groonga/en/html/reference/api.html +50 -57
  423. data/vendor/local/share/doc/groonga/en/html/reference/api/global_configurations.html +62 -77
  424. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_cache.html +117 -149
  425. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_column.html +140 -176
  426. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_command_version.html +43 -55
  427. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_content_type.html +48 -56
  428. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ctx.html +194 -254
  429. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_db.html +106 -138
  430. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_encoding.html +62 -82
  431. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_expr.html +117 -137
  432. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_geo.html +74 -98
  433. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_hook.html +79 -103
  434. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_ii.html +40 -48
  435. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_index_cursor.html +57 -73
  436. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_info.html +75 -99
  437. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_inspect.html +495 -0
  438. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_match_escalation.html +52 -68
  439. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_obj.html +291 -357
  440. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_proc.html +69 -89
  441. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_search.html +47 -59
  442. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table.html +226 -306
  443. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_table_cursor.html +120 -160
  444. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_thread.html +80 -103
  445. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_type.html +46 -58
  446. data/vendor/local/share/doc/groonga/en/html/reference/api/grn_user_data.html +40 -52
  447. data/vendor/local/share/doc/groonga/en/html/reference/api/overview.html +52 -66
  448. data/vendor/local/share/doc/groonga/en/html/reference/api/plugin.html +98 -122
  449. data/vendor/local/share/doc/groonga/en/html/reference/cast.html +40 -26
  450. data/vendor/local/share/doc/groonga/en/html/reference/column.html +16 -24
  451. data/vendor/local/share/doc/groonga/en/html/reference/columns/index.html +16 -24
  452. data/vendor/local/share/doc/groonga/en/html/reference/columns/pseudo.html +30 -34
  453. data/vendor/local/share/doc/groonga/en/html/reference/columns/scalar.html +16 -24
  454. data/vendor/local/share/doc/groonga/en/html/reference/columns/vector.html +92 -100
  455. data/vendor/local/share/doc/groonga/en/html/reference/command.html +76 -84
  456. data/vendor/local/share/doc/groonga/en/html/reference/command/command_version.html +26 -34
  457. data/vendor/local/share/doc/groonga/en/html/reference/command/output_format.html +64 -72
  458. data/vendor/local/share/doc/groonga/en/html/reference/command/pretty_print.html +21 -29
  459. data/vendor/local/share/doc/groonga/en/html/reference/command/request_id.html +25 -33
  460. data/vendor/local/share/doc/groonga/en/html/reference/command/request_timeout.html +32 -40
  461. data/vendor/local/share/doc/groonga/en/html/reference/command/return_code.html +105 -113
  462. data/vendor/local/share/doc/groonga/en/html/reference/commands/cache_limit.html +44 -50
  463. data/vendor/local/share/doc/groonga/en/html/reference/commands/check.html +85 -73
  464. data/vendor/local/share/doc/groonga/en/html/reference/commands/clearlock.html +31 -37
  465. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_copy.html +131 -139
  466. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_create.html +370 -326
  467. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_list.html +115 -117
  468. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_remove.html +38 -44
  469. data/vendor/local/share/doc/groonga/en/html/reference/commands/column_rename.html +47 -53
  470. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_delete.html +40 -48
  471. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_get.html +42 -50
  472. data/vendor/local/share/doc/groonga/en/html/reference/commands/config_set.html +41 -49
  473. data/vendor/local/share/doc/groonga/en/html/reference/commands/database_unmap.html +37 -45
  474. data/vendor/local/share/doc/groonga/en/html/reference/commands/define_selector.html +71 -63
  475. data/vendor/local/share/doc/groonga/en/html/reference/commands/defrag.html +31 -37
  476. data/vendor/local/share/doc/groonga/en/html/reference/commands/delete.html +49 -51
  477. data/vendor/local/share/doc/groonga/en/html/reference/commands/dump.html +64 -71
  478. data/vendor/local/share/doc/groonga/en/html/reference/commands/io_flush.html +335 -138
  479. data/vendor/local/share/doc/groonga/en/html/reference/commands/load.html +233 -87
  480. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_acquire.html +45 -53
  481. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_clear.html +42 -48
  482. data/vendor/local/share/doc/groonga/en/html/reference/commands/lock_release.html +43 -51
  483. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_level.html +58 -64
  484. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_put.html +33 -38
  485. data/vendor/local/share/doc/groonga/en/html/reference/commands/log_reopen.html +31 -38
  486. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_count.html +295 -218
  487. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_parameters.html +56 -64
  488. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_range_filter.html +532 -214
  489. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_select.html +797 -388
  490. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_shard_list.html +35 -43
  491. data/vendor/local/share/doc/groonga/en/html/reference/commands/logical_table_remove.html +188 -196
  492. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalize.html +83 -90
  493. data/vendor/local/share/doc/groonga/en/html/reference/commands/normalizer_list.html +41 -48
  494. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_exist.html +41 -49
  495. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_inspect.html +401 -403
  496. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_list.html +253 -261
  497. data/vendor/local/share/doc/groonga/en/html/reference/commands/object_remove.html +60 -68
  498. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_register.html +36 -44
  499. data/vendor/local/share/doc/groonga/en/html/reference/commands/plugin_unregister.html +35 -43
  500. data/vendor/local/share/doc/groonga/en/html/reference/commands/query_expand.html +21 -29
  501. data/vendor/local/share/doc/groonga/en/html/reference/commands/quit.html +22 -30
  502. data/vendor/local/share/doc/groonga/en/html/reference/commands/range_filter.html +21 -29
  503. data/vendor/local/share/doc/groonga/en/html/reference/commands/register.html +39 -47
  504. data/vendor/local/share/doc/groonga/en/html/reference/commands/reindex.html +47 -53
  505. data/vendor/local/share/doc/groonga/en/html/reference/commands/request_cancel.html +72 -74
  506. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_eval.html +38 -45
  507. data/vendor/local/share/doc/groonga/en/html/reference/commands/ruby_load.html +38 -45
  508. data/vendor/local/share/doc/groonga/en/html/reference/commands/schema.html +330 -338
  509. data/vendor/local/share/doc/groonga/en/html/reference/commands/select.html +1545 -1194
  510. data/vendor/local/share/doc/groonga/en/html/reference/commands/shutdown.html +57 -65
  511. data/vendor/local/share/doc/groonga/en/html/reference/commands/status.html +83 -91
  512. data/vendor/local/share/doc/groonga/en/html/reference/commands/suggest.html +119 -133
  513. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_copy.html +30 -38
  514. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_create.html +165 -174
  515. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_list.html +50 -50
  516. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_remove.html +104 -112
  517. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_rename.html +42 -50
  518. data/vendor/local/share/doc/groonga/en/html/reference/commands/table_tokenize.html +49 -57
  519. data/vendor/local/share/doc/groonga/en/html/reference/commands/thread_limit.html +46 -54
  520. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenize.html +110 -117
  521. data/vendor/local/share/doc/groonga/en/html/reference/commands/tokenizer_list.html +41 -48
  522. data/vendor/local/share/doc/groonga/en/html/reference/commands/truncate.html +40 -46
  523. data/vendor/local/share/doc/groonga/en/html/reference/configuration.html +37 -45
  524. data/vendor/local/share/doc/groonga/en/html/reference/executables.html +19 -27
  525. data/vendor/local/share/doc/groonga/en/html/reference/executables/grndb.html +134 -114
  526. data/vendor/local/share/doc/groonga/en/html/reference/executables/grnslap.html +25 -31
  527. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-benchmark.html +66 -66
  528. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-httpd.html +174 -182
  529. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-server-http.html +25 -33
  530. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-create-dataset.html +27 -35
  531. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-httpd.html +191 -199
  532. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga-suggest-learner.html +32 -40
  533. data/vendor/local/share/doc/groonga/en/html/reference/executables/groonga.html +189 -163
  534. data/vendor/local/share/doc/groonga/en/html/reference/function.html +59 -64
  535. data/vendor/local/share/doc/groonga/en/html/reference/functions/between.html +71 -79
  536. data/vendor/local/share/doc/groonga/en/html/reference/functions/cast_loose.html +210 -0
  537. data/vendor/local/share/doc/groonga/en/html/reference/functions/edit_distance.html +49 -55
  538. data/vendor/local/share/doc/groonga/en/html/reference/functions/fuzzy_search.html +38 -46
  539. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_distance.html +133 -142
  540. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_circle.html +67 -73
  541. data/vendor/local/share/doc/groonga/en/html/reference/functions/geo_in_rectangle.html +56 -62
  542. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_full.html +80 -88
  543. data/vendor/local/share/doc/groonga/en/html/reference/functions/highlight_html.html +70 -78
  544. data/vendor/local/share/doc/groonga/en/html/reference/functions/html_untag.html +56 -64
  545. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_records.html +87 -94
  546. data/vendor/local/share/doc/groonga/en/html/reference/functions/in_values.html +54 -62
  547. data/vendor/local/share/doc/groonga/en/html/reference/functions/math_abs.html +55 -63
  548. data/vendor/local/share/doc/groonga/en/html/reference/functions/now.html +40 -48
  549. data/vendor/local/share/doc/groonga/en/html/reference/functions/number_classify.html +36 -44
  550. data/vendor/local/share/doc/groonga/en/html/reference/functions/prefix_rk_search.html +74 -82
  551. data/vendor/local/share/doc/groonga/en/html/reference/functions/query.html +152 -160
  552. data/vendor/local/share/doc/groonga/en/html/reference/functions/rand.html +45 -52
  553. data/vendor/local/share/doc/groonga/en/html/reference/functions/snippet_html.html +76 -84
  554. data/vendor/local/share/doc/groonga/en/html/reference/functions/string_length.html +37 -45
  555. data/vendor/local/share/doc/groonga/en/html/reference/functions/string_substring.html +39 -47
  556. data/vendor/local/share/doc/groonga/en/html/reference/functions/sub_filter.html +76 -84
  557. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day.html +37 -45
  558. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_day_of_week.html +278 -0
  559. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_hour.html +37 -45
  560. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_minute.html +36 -44
  561. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_month.html +36 -44
  562. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_second.html +36 -44
  563. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_week.html +36 -44
  564. data/vendor/local/share/doc/groonga/en/html/reference/functions/time_classify_year.html +37 -45
  565. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_find.html +368 -0
  566. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_new.html +40 -48
  567. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_size.html +54 -62
  568. data/vendor/local/share/doc/groonga/en/html/reference/functions/vector_slice.html +40 -47
  569. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr.html +44 -52
  570. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/query_syntax.html +307 -316
  571. data/vendor/local/share/doc/groonga/en/html/reference/grn_expr/script_syntax.html +486 -492
  572. data/vendor/local/share/doc/groonga/en/html/reference/indexing.html +44 -52
  573. data/vendor/local/share/doc/groonga/en/html/reference/log.html +128 -147
  574. data/vendor/local/share/doc/groonga/en/html/reference/normalizers.html +43 -92
  575. data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_auto.html +179 -0
  576. data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc100.html +897 -0
  577. data/vendor/local/share/doc/groonga/en/html/reference/normalizers/normalizer_nfkc51.html +162 -0
  578. data/vendor/local/share/doc/groonga/en/html/reference/operations.html +26 -34
  579. data/vendor/local/share/doc/groonga/en/html/reference/operations/geolocation_search.html +48 -56
  580. data/vendor/local/share/doc/groonga/en/html/reference/operations/prefix_rk_search.html +47 -55
  581. data/vendor/local/share/doc/groonga/en/html/reference/output.html +47 -55
  582. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders.html +20 -28
  583. data/vendor/local/share/doc/groonga/en/html/reference/query_expanders/tsv.html +93 -101
  584. data/vendor/local/share/doc/groonga/en/html/reference/regular_expression.html +228 -225
  585. data/vendor/local/share/doc/groonga/en/html/reference/scorer.html +59 -67
  586. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_at_most.html +50 -58
  587. data/vendor/local/share/doc/groonga/en/html/reference/scorers/scorer_tf_idf.html +57 -65
  588. data/vendor/local/share/doc/groonga/en/html/reference/sharding.html +76 -86
  589. data/vendor/local/share/doc/groonga/en/html/reference/suggest.html +43 -51
  590. data/vendor/local/share/doc/groonga/en/html/reference/suggest/completion.html +159 -167
  591. data/vendor/local/share/doc/groonga/en/html/reference/suggest/correction.html +93 -101
  592. data/vendor/local/share/doc/groonga/en/html/reference/suggest/introduction.html +85 -93
  593. data/vendor/local/share/doc/groonga/en/html/reference/suggest/suggestion.html +88 -96
  594. data/vendor/local/share/doc/groonga/en/html/reference/tables.html +142 -150
  595. data/vendor/local/share/doc/groonga/en/html/reference/token_filter/summary.html +147 -0
  596. data/vendor/local/share/doc/groonga/en/html/reference/token_filters.html +31 -223
  597. data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_nfkc100.html +626 -0
  598. data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stem.html +291 -0
  599. data/vendor/local/share/doc/groonga/en/html/reference/token_filters/token_filter_stop_word.html +287 -0
  600. data/vendor/local/share/doc/groonga/en/html/reference/tokenizer/summary.html +259 -0
  601. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers.html +42 -1455
  602. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram.html +368 -0
  603. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank.html +221 -0
  604. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +240 -0
  605. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +270 -0
  606. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +292 -0
  607. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
  608. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +200 -0
  609. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +212 -0
  610. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit.html +357 -0
  611. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_delimit_null.html +162 -0
  612. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_mecab.html +783 -0
  613. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_regexp.html +289 -0
  614. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_trigram.html +194 -0
  615. data/vendor/local/share/doc/groonga/en/html/reference/tokenizers/token_unigram.html +194 -0
  616. data/vendor/local/share/doc/groonga/en/html/reference/tuning.html +71 -79
  617. data/vendor/local/share/doc/groonga/en/html/reference/types.html +64 -72
  618. data/vendor/local/share/doc/groonga/en/html/reference/window_function.html +29 -37
  619. data/vendor/local/share/doc/groonga/en/html/reference/window_functions/record_number.html +38 -46
  620. data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_count.html +38 -46
  621. data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_record_number.html +38 -46
  622. data/vendor/local/share/doc/groonga/en/html/reference/window_functions/window_sum.html +38 -46
  623. data/vendor/local/share/doc/groonga/en/html/search.html +13 -24
  624. data/vendor/local/share/doc/groonga/en/html/searchindex.js +1 -1
  625. data/vendor/local/share/doc/groonga/en/html/server.html +15 -23
  626. data/vendor/local/share/doc/groonga/en/html/server/gqtp.html +27 -35
  627. data/vendor/local/share/doc/groonga/en/html/server/http.html +18 -26
  628. data/vendor/local/share/doc/groonga/en/html/server/http/comparison.html +94 -102
  629. data/vendor/local/share/doc/groonga/en/html/server/http/groonga-httpd.html +15 -23
  630. data/vendor/local/share/doc/groonga/en/html/server/http/groonga.html +15 -23
  631. data/vendor/local/share/doc/groonga/en/html/server/memcached.html +18 -26
  632. data/vendor/local/share/doc/groonga/en/html/server/package.html +101 -109
  633. data/vendor/local/share/doc/groonga/en/html/spec.html +19 -27
  634. data/vendor/local/share/doc/groonga/en/html/spec/gqtp.html +207 -215
  635. data/vendor/local/share/doc/groonga/en/html/spec/search.html +39 -39
  636. data/vendor/local/share/doc/groonga/en/html/troubleshooting.html +15 -23
  637. data/vendor/local/share/doc/groonga/en/html/troubleshooting/different_results_with_the_same_keyword.html +46 -50
  638. data/vendor/local/share/doc/groonga/en/html/troubleshooting/how_to_analyze_error_message.html +27 -35
  639. data/vendor/local/share/doc/groonga/en/html/troubleshooting/mmap_cannot_allocate_memory.html +26 -31
  640. data/vendor/local/share/doc/groonga/en/html/tutorial.html +17 -25
  641. data/vendor/local/share/doc/groonga/en/html/tutorial/data.html +46 -54
  642. data/vendor/local/share/doc/groonga/en/html/tutorial/drilldown.html +63 -71
  643. data/vendor/local/share/doc/groonga/en/html/tutorial/index.html +30 -38
  644. data/vendor/local/share/doc/groonga/en/html/tutorial/introduction.html +88 -97
  645. data/vendor/local/share/doc/groonga/en/html/tutorial/lexicon.html +19 -27
  646. data/vendor/local/share/doc/groonga/en/html/tutorial/match_columns.html +61 -69
  647. data/vendor/local/share/doc/groonga/en/html/tutorial/micro_blog.html +108 -116
  648. data/vendor/local/share/doc/groonga/en/html/tutorial/network.html +24 -32
  649. data/vendor/local/share/doc/groonga/en/html/tutorial/patricia_trie.html +19 -27
  650. data/vendor/local/share/doc/groonga/en/html/tutorial/query_expansion.html +32 -40
  651. data/vendor/local/share/doc/groonga/en/html/tutorial/search.html +52 -60
  652. data/vendor/local/share/doc/groonga/ja/html/.buildinfo +1 -1
  653. data/vendor/local/share/doc/groonga/ja/html/_static/basic.css +113 -4
  654. data/vendor/local/share/doc/groonga/ja/html/_static/doctools.js +46 -19
  655. data/vendor/local/share/doc/groonga/ja/html/_static/documentation_options.js +10 -0
  656. data/vendor/local/share/doc/groonga/ja/html/_static/{jquery-3.1.0.js → jquery-3.2.1.js} +474 -295
  657. data/vendor/local/share/doc/groonga/ja/html/_static/jquery.js +4 -4
  658. data/vendor/local/share/doc/groonga/ja/html/_static/language_data.js +124 -0
  659. data/vendor/local/share/doc/groonga/ja/html/_static/pygments.css +4 -0
  660. data/vendor/local/share/doc/groonga/ja/html/_static/searchtools.js +70 -150
  661. data/vendor/local/share/doc/groonga/ja/html/characteristic.html +15 -23
  662. data/vendor/local/share/doc/groonga/ja/html/client.html +15 -23
  663. data/vendor/local/share/doc/groonga/ja/html/community.html +29 -37
  664. data/vendor/local/share/doc/groonga/ja/html/contribution.html +23 -31
  665. data/vendor/local/share/doc/groonga/ja/html/contribution/development.html +15 -23
  666. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build.html +15 -23
  667. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_autotools.html +50 -58
  668. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/unix_cmake.html +43 -48
  669. data/vendor/local/share/doc/groonga/ja/html/contribution/development/build/windows_cmake.html +47 -51
  670. data/vendor/local/share/doc/groonga/ja/html/contribution/development/com.html +26 -34
  671. data/vendor/local/share/doc/groonga/ja/html/contribution/development/cooperation.html +18 -26
  672. data/vendor/local/share/doc/groonga/ja/html/contribution/development/query.html +23 -31
  673. data/vendor/local/share/doc/groonga/ja/html/contribution/development/release.html +162 -162
  674. data/vendor/local/share/doc/groonga/ja/html/contribution/development/repository.html +16 -24
  675. data/vendor/local/share/doc/groonga/ja/html/contribution/development/test.html +26 -34
  676. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation.html +15 -23
  677. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/c-api.html +15 -23
  678. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/i18n.html +50 -58
  679. data/vendor/local/share/doc/groonga/ja/html/contribution/documentation/introduction.html +28 -36
  680. data/vendor/local/share/doc/groonga/ja/html/contribution/report.html +17 -25
  681. data/vendor/local/share/doc/groonga/ja/html/development.html +15 -23
  682. data/vendor/local/share/doc/groonga/ja/html/development/travis-ci.html +32 -37
  683. data/vendor/local/share/doc/groonga/ja/html/genindex.html +50 -28
  684. data/vendor/local/share/doc/groonga/ja/html/index.html +247 -233
  685. data/vendor/local/share/doc/groonga/ja/html/install.html +41 -45
  686. data/vendor/local/share/doc/groonga/ja/html/install/centos.html +44 -52
  687. data/vendor/local/share/doc/groonga/ja/html/install/debian.html +52 -121
  688. data/vendor/local/share/doc/groonga/ja/html/install/docker.html +155 -0
  689. data/vendor/local/share/doc/groonga/ja/html/install/fedora.html +40 -48
  690. data/vendor/local/share/doc/groonga/ja/html/install/mac_os_x.html +28 -36
  691. data/vendor/local/share/doc/groonga/ja/html/install/others.html +116 -124
  692. data/vendor/local/share/doc/groonga/ja/html/install/solaris.html +28 -36
  693. data/vendor/local/share/doc/groonga/ja/html/install/ubuntu.html +43 -51
  694. data/vendor/local/share/doc/groonga/ja/html/install/windows.html +29 -37
  695. data/vendor/local/share/doc/groonga/ja/html/limitations.html +30 -36
  696. data/vendor/local/share/doc/groonga/ja/html/news.html +1234 -384
  697. data/vendor/local/share/doc/groonga/ja/html/news/0.x.html +82 -82
  698. data/vendor/local/share/doc/groonga/ja/html/news/1.0.x.html +146 -154
  699. data/vendor/local/share/doc/groonga/ja/html/news/1.1.x.html +25 -33
  700. data/vendor/local/share/doc/groonga/ja/html/news/1.2.x.html +191 -199
  701. data/vendor/local/share/doc/groonga/ja/html/news/1.3.x.html +41 -49
  702. data/vendor/local/share/doc/groonga/ja/html/news/2.x.html +283 -291
  703. data/vendor/local/share/doc/groonga/ja/html/news/3.x.html +229 -237
  704. data/vendor/local/share/doc/groonga/ja/html/news/4.x.html +274 -280
  705. data/vendor/local/share/doc/groonga/ja/html/news/5.x.html +475 -593
  706. data/vendor/local/share/doc/groonga/ja/html/news/6.x.html +313 -390
  707. data/vendor/local/share/doc/groonga/ja/html/news/senna.html +31 -39
  708. data/vendor/local/share/doc/groonga/ja/html/objects.inv +0 -0
  709. data/vendor/local/share/doc/groonga/ja/html/reference.html +208 -198
  710. data/vendor/local/share/doc/groonga/ja/html/reference/alias.html +70 -78
  711. data/vendor/local/share/doc/groonga/ja/html/reference/api.html +50 -57
  712. data/vendor/local/share/doc/groonga/ja/html/reference/api/global_configurations.html +57 -72
  713. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_cache.html +107 -139
  714. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_column.html +137 -173
  715. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_command_version.html +40 -52
  716. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_content_type.html +46 -54
  717. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ctx.html +184 -244
  718. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_db.html +99 -131
  719. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_encoding.html +57 -77
  720. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_expr.html +100 -120
  721. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_geo.html +71 -95
  722. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_hook.html +75 -99
  723. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_ii.html +37 -45
  724. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_index_cursor.html +54 -70
  725. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_info.html +71 -95
  726. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_inspect.html +487 -0
  727. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_match_escalation.html +49 -65
  728. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_obj.html +286 -352
  729. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_proc.html +64 -84
  730. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_search.html +44 -56
  731. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table.html +219 -299
  732. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_table_cursor.html +116 -156
  733. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_thread.html +70 -93
  734. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_type.html +42 -54
  735. data/vendor/local/share/doc/groonga/ja/html/reference/api/grn_user_data.html +36 -48
  736. data/vendor/local/share/doc/groonga/ja/html/reference/api/overview.html +48 -62
  737. data/vendor/local/share/doc/groonga/ja/html/reference/api/plugin.html +94 -118
  738. data/vendor/local/share/doc/groonga/ja/html/reference/cast.html +39 -25
  739. data/vendor/local/share/doc/groonga/ja/html/reference/column.html +15 -23
  740. data/vendor/local/share/doc/groonga/ja/html/reference/columns/index.html +15 -23
  741. data/vendor/local/share/doc/groonga/ja/html/reference/columns/pseudo.html +28 -32
  742. data/vendor/local/share/doc/groonga/ja/html/reference/columns/scalar.html +15 -23
  743. data/vendor/local/share/doc/groonga/ja/html/reference/columns/vector.html +76 -84
  744. data/vendor/local/share/doc/groonga/ja/html/reference/command.html +76 -84
  745. data/vendor/local/share/doc/groonga/ja/html/reference/command/command_version.html +25 -33
  746. data/vendor/local/share/doc/groonga/ja/html/reference/command/output_format.html +51 -59
  747. data/vendor/local/share/doc/groonga/ja/html/reference/command/pretty_print.html +20 -28
  748. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_id.html +21 -29
  749. data/vendor/local/share/doc/groonga/ja/html/reference/command/request_timeout.html +27 -35
  750. data/vendor/local/share/doc/groonga/ja/html/reference/command/return_code.html +101 -109
  751. data/vendor/local/share/doc/groonga/ja/html/reference/commands/cache_limit.html +39 -45
  752. data/vendor/local/share/doc/groonga/ja/html/reference/commands/check.html +84 -72
  753. data/vendor/local/share/doc/groonga/ja/html/reference/commands/clearlock.html +30 -36
  754. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_copy.html +104 -112
  755. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_create.html +271 -237
  756. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_list.html +100 -102
  757. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_remove.html +37 -43
  758. data/vendor/local/share/doc/groonga/ja/html/reference/commands/column_rename.html +41 -47
  759. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_delete.html +38 -46
  760. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_get.html +39 -47
  761. data/vendor/local/share/doc/groonga/ja/html/reference/commands/config_set.html +39 -47
  762. data/vendor/local/share/doc/groonga/ja/html/reference/commands/database_unmap.html +34 -42
  763. data/vendor/local/share/doc/groonga/ja/html/reference/commands/define_selector.html +70 -62
  764. data/vendor/local/share/doc/groonga/ja/html/reference/commands/defrag.html +30 -36
  765. data/vendor/local/share/doc/groonga/ja/html/reference/commands/delete.html +42 -44
  766. data/vendor/local/share/doc/groonga/ja/html/reference/commands/dump.html +59 -68
  767. data/vendor/local/share/doc/groonga/ja/html/reference/commands/io_flush.html +300 -126
  768. data/vendor/local/share/doc/groonga/ja/html/reference/commands/load.html +212 -80
  769. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_acquire.html +42 -50
  770. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_clear.html +40 -46
  771. data/vendor/local/share/doc/groonga/ja/html/reference/commands/lock_release.html +41 -49
  772. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_level.html +57 -63
  773. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_put.html +32 -37
  774. data/vendor/local/share/doc/groonga/ja/html/reference/commands/log_reopen.html +30 -37
  775. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_count.html +246 -178
  776. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_parameters.html +51 -59
  777. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_range_filter.html +479 -175
  778. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_select.html +718 -326
  779. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_shard_list.html +34 -42
  780. data/vendor/local/share/doc/groonga/ja/html/reference/commands/logical_table_remove.html +145 -153
  781. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalize.html +78 -85
  782. data/vendor/local/share/doc/groonga/ja/html/reference/commands/normalizer_list.html +40 -47
  783. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_exist.html +36 -44
  784. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_inspect.html +360 -362
  785. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_list.html +221 -229
  786. data/vendor/local/share/doc/groonga/ja/html/reference/commands/object_remove.html +47 -55
  787. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_register.html +32 -40
  788. data/vendor/local/share/doc/groonga/ja/html/reference/commands/plugin_unregister.html +33 -41
  789. data/vendor/local/share/doc/groonga/ja/html/reference/commands/query_expand.html +20 -28
  790. data/vendor/local/share/doc/groonga/ja/html/reference/commands/quit.html +21 -29
  791. data/vendor/local/share/doc/groonga/ja/html/reference/commands/range_filter.html +20 -28
  792. data/vendor/local/share/doc/groonga/ja/html/reference/commands/register.html +35 -43
  793. data/vendor/local/share/doc/groonga/ja/html/reference/commands/reindex.html +42 -48
  794. data/vendor/local/share/doc/groonga/ja/html/reference/commands/request_cancel.html +57 -57
  795. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_eval.html +36 -43
  796. data/vendor/local/share/doc/groonga/ja/html/reference/commands/ruby_load.html +36 -43
  797. data/vendor/local/share/doc/groonga/ja/html/reference/commands/schema.html +317 -325
  798. data/vendor/local/share/doc/groonga/ja/html/reference/commands/select.html +1246 -917
  799. data/vendor/local/share/doc/groonga/ja/html/reference/commands/shutdown.html +50 -58
  800. data/vendor/local/share/doc/groonga/ja/html/reference/commands/status.html +77 -85
  801. data/vendor/local/share/doc/groonga/ja/html/reference/commands/suggest.html +109 -123
  802. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_copy.html +29 -37
  803. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_create.html +131 -140
  804. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_list.html +49 -49
  805. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_remove.html +87 -95
  806. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_rename.html +36 -44
  807. data/vendor/local/share/doc/groonga/ja/html/reference/commands/table_tokenize.html +44 -52
  808. data/vendor/local/share/doc/groonga/ja/html/reference/commands/thread_limit.html +38 -46
  809. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenize.html +93 -100
  810. data/vendor/local/share/doc/groonga/ja/html/reference/commands/tokenizer_list.html +40 -47
  811. data/vendor/local/share/doc/groonga/ja/html/reference/commands/truncate.html +39 -45
  812. data/vendor/local/share/doc/groonga/ja/html/reference/configuration.html +36 -44
  813. data/vendor/local/share/doc/groonga/ja/html/reference/executables.html +19 -27
  814. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grndb.html +125 -107
  815. data/vendor/local/share/doc/groonga/ja/html/reference/executables/grnslap.html +23 -29
  816. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-benchmark.html +62 -62
  817. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-httpd.html +132 -140
  818. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-server-http.html +23 -31
  819. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-create-dataset.html +25 -33
  820. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-httpd.html +166 -174
  821. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga-suggest-learner.html +31 -39
  822. data/vendor/local/share/doc/groonga/ja/html/reference/executables/groonga.html +189 -165
  823. data/vendor/local/share/doc/groonga/ja/html/reference/function.html +59 -64
  824. data/vendor/local/share/doc/groonga/ja/html/reference/functions/between.html +69 -77
  825. data/vendor/local/share/doc/groonga/ja/html/reference/functions/cast_loose.html +208 -0
  826. data/vendor/local/share/doc/groonga/ja/html/reference/functions/edit_distance.html +48 -54
  827. data/vendor/local/share/doc/groonga/ja/html/reference/functions/fuzzy_search.html +37 -45
  828. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_distance.html +115 -124
  829. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_circle.html +66 -72
  830. data/vendor/local/share/doc/groonga/ja/html/reference/functions/geo_in_rectangle.html +55 -61
  831. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_full.html +69 -77
  832. data/vendor/local/share/doc/groonga/ja/html/reference/functions/highlight_html.html +60 -68
  833. data/vendor/local/share/doc/groonga/ja/html/reference/functions/html_untag.html +54 -62
  834. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_records.html +85 -93
  835. data/vendor/local/share/doc/groonga/ja/html/reference/functions/in_values.html +54 -62
  836. data/vendor/local/share/doc/groonga/ja/html/reference/functions/math_abs.html +54 -62
  837. data/vendor/local/share/doc/groonga/ja/html/reference/functions/now.html +39 -47
  838. data/vendor/local/share/doc/groonga/ja/html/reference/functions/number_classify.html +35 -43
  839. data/vendor/local/share/doc/groonga/ja/html/reference/functions/prefix_rk_search.html +67 -75
  840. data/vendor/local/share/doc/groonga/ja/html/reference/functions/query.html +130 -138
  841. data/vendor/local/share/doc/groonga/ja/html/reference/functions/rand.html +44 -51
  842. data/vendor/local/share/doc/groonga/ja/html/reference/functions/snippet_html.html +61 -69
  843. data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_length.html +36 -44
  844. data/vendor/local/share/doc/groonga/ja/html/reference/functions/string_substring.html +38 -46
  845. data/vendor/local/share/doc/groonga/ja/html/reference/functions/sub_filter.html +63 -71
  846. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day.html +36 -44
  847. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_day_of_week.html +276 -0
  848. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_hour.html +36 -44
  849. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_minute.html +35 -43
  850. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_month.html +35 -43
  851. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_second.html +35 -43
  852. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_week.html +35 -43
  853. data/vendor/local/share/doc/groonga/ja/html/reference/functions/time_classify_year.html +36 -44
  854. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_find.html +353 -0
  855. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_new.html +39 -47
  856. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_size.html +52 -61
  857. data/vendor/local/share/doc/groonga/ja/html/reference/functions/vector_slice.html +38 -46
  858. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr.html +38 -46
  859. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/query_syntax.html +200 -208
  860. data/vendor/local/share/doc/groonga/ja/html/reference/grn_expr/script_syntax.html +375 -382
  861. data/vendor/local/share/doc/groonga/ja/html/reference/indexing.html +39 -47
  862. data/vendor/local/share/doc/groonga/ja/html/reference/log.html +125 -144
  863. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers.html +36 -70
  864. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_auto.html +168 -0
  865. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc100.html +887 -0
  866. data/vendor/local/share/doc/groonga/ja/html/reference/normalizers/normalizer_nfkc51.html +160 -0
  867. data/vendor/local/share/doc/groonga/ja/html/reference/operations.html +26 -34
  868. data/vendor/local/share/doc/groonga/ja/html/reference/operations/geolocation_search.html +38 -46
  869. data/vendor/local/share/doc/groonga/ja/html/reference/operations/prefix_rk_search.html +41 -49
  870. data/vendor/local/share/doc/groonga/ja/html/reference/output.html +42 -50
  871. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders.html +20 -28
  872. data/vendor/local/share/doc/groonga/ja/html/reference/query_expanders/tsv.html +68 -76
  873. data/vendor/local/share/doc/groonga/ja/html/reference/regular_expression.html +178 -184
  874. data/vendor/local/share/doc/groonga/ja/html/reference/scorer.html +38 -46
  875. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_at_most.html +38 -46
  876. data/vendor/local/share/doc/groonga/ja/html/reference/scorers/scorer_tf_idf.html +39 -47
  877. data/vendor/local/share/doc/groonga/ja/html/reference/sharding.html +63 -73
  878. data/vendor/local/share/doc/groonga/ja/html/reference/suggest.html +43 -51
  879. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/completion.html +130 -138
  880. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/correction.html +72 -80
  881. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/introduction.html +68 -76
  882. data/vendor/local/share/doc/groonga/ja/html/reference/suggest/suggestion.html +76 -86
  883. data/vendor/local/share/doc/groonga/ja/html/reference/tables.html +129 -137
  884. data/vendor/local/share/doc/groonga/ja/html/reference/token_filter/summary.html +145 -0
  885. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters.html +31 -215
  886. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_nfkc100.html +617 -0
  887. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stem.html +289 -0
  888. data/vendor/local/share/doc/groonga/ja/html/reference/token_filters/token_filter_stop_word.html +284 -0
  889. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizer/summary.html +233 -0
  890. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers.html +42 -1349
  891. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram.html +344 -0
  892. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank.html +219 -0
  893. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol.html +237 -0
  894. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha.html +267 -0
  895. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_ignore_blank_split_symbol_alpha_digit.html +287 -0
  896. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol.html +179 -0
  897. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha.html +199 -0
  898. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_bigram_split_symbol_alpha_digit.html +209 -0
  899. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit.html +344 -0
  900. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_delimit_null.html +160 -0
  901. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_mecab.html +764 -0
  902. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_regexp.html +284 -0
  903. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_trigram.html +191 -0
  904. data/vendor/local/share/doc/groonga/ja/html/reference/tokenizers/token_unigram.html +191 -0
  905. data/vendor/local/share/doc/groonga/ja/html/reference/tuning.html +65 -73
  906. data/vendor/local/share/doc/groonga/ja/html/reference/types.html +48 -56
  907. data/vendor/local/share/doc/groonga/ja/html/reference/window_function.html +29 -37
  908. data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/record_number.html +37 -45
  909. data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_count.html +37 -45
  910. data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_record_number.html +37 -45
  911. data/vendor/local/share/doc/groonga/ja/html/reference/window_functions/window_sum.html +37 -45
  912. data/vendor/local/share/doc/groonga/ja/html/search.html +13 -24
  913. data/vendor/local/share/doc/groonga/ja/html/searchindex.js +1 -1
  914. data/vendor/local/share/doc/groonga/ja/html/server.html +15 -23
  915. data/vendor/local/share/doc/groonga/ja/html/server/gqtp.html +22 -30
  916. data/vendor/local/share/doc/groonga/ja/html/server/http.html +17 -25
  917. data/vendor/local/share/doc/groonga/ja/html/server/http/comparison.html +82 -90
  918. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga-httpd.html +15 -23
  919. data/vendor/local/share/doc/groonga/ja/html/server/http/groonga.html +15 -23
  920. data/vendor/local/share/doc/groonga/ja/html/server/memcached.html +16 -24
  921. data/vendor/local/share/doc/groonga/ja/html/server/package.html +99 -107
  922. data/vendor/local/share/doc/groonga/ja/html/spec.html +19 -27
  923. data/vendor/local/share/doc/groonga/ja/html/spec/gqtp.html +201 -209
  924. data/vendor/local/share/doc/groonga/ja/html/spec/search.html +36 -36
  925. data/vendor/local/share/doc/groonga/ja/html/troubleshooting.html +15 -23
  926. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/different_results_with_the_same_keyword.html +44 -48
  927. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/how_to_analyze_error_message.html +21 -29
  928. data/vendor/local/share/doc/groonga/ja/html/troubleshooting/mmap_cannot_allocate_memory.html +24 -29
  929. data/vendor/local/share/doc/groonga/ja/html/tutorial.html +16 -24
  930. data/vendor/local/share/doc/groonga/ja/html/tutorial/data.html +32 -40
  931. data/vendor/local/share/doc/groonga/ja/html/tutorial/drilldown.html +62 -70
  932. data/vendor/local/share/doc/groonga/ja/html/tutorial/index.html +22 -30
  933. data/vendor/local/share/doc/groonga/ja/html/tutorial/introduction.html +77 -86
  934. data/vendor/local/share/doc/groonga/ja/html/tutorial/lexicon.html +15 -23
  935. data/vendor/local/share/doc/groonga/ja/html/tutorial/match_columns.html +56 -64
  936. data/vendor/local/share/doc/groonga/ja/html/tutorial/micro_blog.html +84 -92
  937. data/vendor/local/share/doc/groonga/ja/html/tutorial/network.html +20 -28
  938. data/vendor/local/share/doc/groonga/ja/html/tutorial/patricia_trie.html +18 -26
  939. data/vendor/local/share/doc/groonga/ja/html/tutorial/query_expansion.html +21 -29
  940. data/vendor/local/share/doc/groonga/ja/html/tutorial/search.html +43 -51
  941. data/vendor/local/share/doc/pcre/AUTHORS +3 -3
  942. data/vendor/local/share/doc/pcre/ChangeLog +53 -0
  943. data/vendor/local/share/doc/pcre/LICENCE +3 -3
  944. data/vendor/local/share/doc/pcre/NEWS +6 -0
  945. data/vendor/local/share/doc/pcre/html/NON-AUTOTOOLS-BUILD.txt +8 -7
  946. data/vendor/local/share/groonga/mruby/LEGAL +35 -35
  947. data/vendor/local/share/license/cv2pdb/{README → README.MD} +28 -10
  948. data/vendor/local/share/license/groonga-normalizer-mysql/README.md +14 -22
  949. data/vendor/local/share/license/lz4/LICENSE +2 -2
  950. data/vendor/local/share/license/mruby/AUTHORS +3 -0
  951. data/vendor/local/share/license/mruby/MITL +1 -1
  952. data/vendor/local/share/license/mruby/README.md +1 -1
  953. data/vendor/local/share/license/msgpack/README.md +5 -34
  954. data/vendor/local/share/license/pcre/LICENCE +3 -3
  955. data/vendor/local/share/man/man1/lz4.1 +221 -86
  956. data/vendor/local/share/man/man1/lz4c.1 +222 -32
  957. data/vendor/local/share/man/man1/lz4cat.1 +221 -30
  958. data/vendor/local/share/man/man1/unlz4.1 +223 -0
  959. metadata +231 -87
  960. data/lib/2.1/groonga.so +0 -0
  961. data/vendor/local/lib/groonga/plugins/expression_rewriters/optimizer.rb +0 -147
  962. data/vendor/local/lib/groonga/scripts/ruby/expression_tree/options.rb +0 -14
  963. data/vendor/local/share/doc/groonga/en/html/_static/ajax-loader.gif +0 -0
  964. data/vendor/local/share/doc/groonga/en/html/_static/comment-bright.png +0 -0
  965. data/vendor/local/share/doc/groonga/en/html/_static/comment-close.png +0 -0
  966. data/vendor/local/share/doc/groonga/en/html/_static/comment.png +0 -0
  967. data/vendor/local/share/doc/groonga/en/html/_static/down-pressed.png +0 -0
  968. data/vendor/local/share/doc/groonga/en/html/_static/down.png +0 -0
  969. data/vendor/local/share/doc/groonga/en/html/_static/up-pressed.png +0 -0
  970. data/vendor/local/share/doc/groonga/en/html/_static/up.png +0 -0
  971. data/vendor/local/share/doc/groonga/en/html/_static/websupport.js +0 -808
  972. data/vendor/local/share/doc/groonga/ja/html/_static/ajax-loader.gif +0 -0
  973. data/vendor/local/share/doc/groonga/ja/html/_static/comment-bright.png +0 -0
  974. data/vendor/local/share/doc/groonga/ja/html/_static/comment-close.png +0 -0
  975. data/vendor/local/share/doc/groonga/ja/html/_static/comment.png +0 -0
  976. data/vendor/local/share/doc/groonga/ja/html/_static/down-pressed.png +0 -0
  977. data/vendor/local/share/doc/groonga/ja/html/_static/down.png +0 -0
  978. data/vendor/local/share/doc/groonga/ja/html/_static/up-pressed.png +0 -0
  979. data/vendor/local/share/doc/groonga/ja/html/_static/up.png +0 -0
  980. data/vendor/local/share/doc/groonga/ja/html/_static/websupport.js +0 -808
@@ -0,0 +1,10 @@
1
+ var DOCUMENTATION_OPTIONS = {
2
+ URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
3
+ VERSION: '9.0.2',
4
+ LANGUAGE: 'en',
5
+ COLLAPSE_INDEX: false,
6
+ FILE_SUFFIX: '.html',
7
+ HAS_SOURCE: false,
8
+ SOURCELINK_SUFFIX: '.txt',
9
+ NAVIGATION_WITH_KEYS: false
10
+ };
@@ -1,16 +1,15 @@
1
- /*eslint-disable no-unused-vars*/
2
1
  /*!
3
- * jQuery JavaScript Library v3.1.0
2
+ * jQuery JavaScript Library v3.2.1
4
3
  * https://jquery.com/
5
4
  *
6
5
  * Includes Sizzle.js
7
6
  * https://sizzlejs.com/
8
7
  *
9
- * Copyright jQuery Foundation and other contributors
8
+ * Copyright JS Foundation and other contributors
10
9
  * Released under the MIT license
11
10
  * https://jquery.org/license
12
11
  *
13
- * Date: 2016-07-07T21:44Z
12
+ * Date: 2017-03-20T18:59Z
14
13
  */
15
14
  ( function( global, factory ) {
16
15
 
@@ -83,13 +82,13 @@ var support = {};
83
82
  doc.head.appendChild( script ).parentNode.removeChild( script );
84
83
  }
85
84
  /* global Symbol */
86
- // Defining this global in .eslintrc would create a danger of using the global
85
+ // Defining this global in .eslintrc.json would create a danger of using the global
87
86
  // unguarded in another place, it seems safer to define global only for this module
88
87
 
89
88
 
90
89
 
91
90
  var
92
- version = "3.1.0",
91
+ version = "3.2.1",
93
92
 
94
93
  // Define a local copy of jQuery
95
94
  jQuery = function( selector, context ) {
@@ -129,13 +128,14 @@ jQuery.fn = jQuery.prototype = {
129
128
  // Get the Nth element in the matched element set OR
130
129
  // Get the whole matched element set as a clean array
131
130
  get: function( num ) {
132
- return num != null ?
133
131
 
134
- // Return just the one element from the set
135
- ( num < 0 ? this[ num + this.length ] : this[ num ] ) :
132
+ // Return all the elements in a clean array
133
+ if ( num == null ) {
134
+ return slice.call( this );
135
+ }
136
136
 
137
- // Return all the elements in a clean array
138
- slice.call( this );
137
+ // Return just the one element from the set
138
+ return num < 0 ? this[ num + this.length ] : this[ num ];
139
139
  },
140
140
 
141
141
  // Take an array of elements and push it onto the stack
@@ -236,11 +236,11 @@ jQuery.extend = jQuery.fn.extend = function() {
236
236
 
237
237
  // Recurse if we're merging plain objects or arrays
238
238
  if ( deep && copy && ( jQuery.isPlainObject( copy ) ||
239
- ( copyIsArray = jQuery.isArray( copy ) ) ) ) {
239
+ ( copyIsArray = Array.isArray( copy ) ) ) ) {
240
240
 
241
241
  if ( copyIsArray ) {
242
242
  copyIsArray = false;
243
- clone = src && jQuery.isArray( src ) ? src : [];
243
+ clone = src && Array.isArray( src ) ? src : [];
244
244
 
245
245
  } else {
246
246
  clone = src && jQuery.isPlainObject( src ) ? src : {};
@@ -279,8 +279,6 @@ jQuery.extend( {
279
279
  return jQuery.type( obj ) === "function";
280
280
  },
281
281
 
282
- isArray: Array.isArray,
283
-
284
282
  isWindow: function( obj ) {
285
283
  return obj != null && obj === obj.window;
286
284
  },
@@ -355,10 +353,6 @@ jQuery.extend( {
355
353
  return string.replace( rmsPrefix, "ms-" ).replace( rdashAlpha, fcamelCase );
356
354
  },
357
355
 
358
- nodeName: function( elem, name ) {
359
- return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
360
- },
361
-
362
356
  each: function( obj, callback ) {
363
357
  var length, i = 0;
364
358
 
@@ -543,14 +537,14 @@ function isArrayLike( obj ) {
543
537
  }
544
538
  var Sizzle =
545
539
  /*!
546
- * Sizzle CSS Selector Engine v2.3.0
540
+ * Sizzle CSS Selector Engine v2.3.3
547
541
  * https://sizzlejs.com/
548
542
  *
549
543
  * Copyright jQuery Foundation and other contributors
550
544
  * Released under the MIT license
551
545
  * http://jquery.org/license
552
546
  *
553
- * Date: 2016-01-04
547
+ * Date: 2016-08-08
554
548
  */
555
549
  (function( window ) {
556
550
 
@@ -696,7 +690,7 @@ var i,
696
690
 
697
691
  // CSS string/identifier serialization
698
692
  // https://drafts.csswg.org/cssom/#common-serializing-idioms
699
- rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,
693
+ rcssescape = /([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,
700
694
  fcssescape = function( ch, asCodePoint ) {
701
695
  if ( asCodePoint ) {
702
696
 
@@ -723,7 +717,7 @@ var i,
723
717
 
724
718
  disabledAncestor = addCombinator(
725
719
  function( elem ) {
726
- return elem.disabled === true;
720
+ return elem.disabled === true && ("form" in elem || "label" in elem);
727
721
  },
728
722
  { dir: "parentNode", next: "legend" }
729
723
  );
@@ -1009,26 +1003,54 @@ function createButtonPseudo( type ) {
1009
1003
  * @param {Boolean} disabled true for :disabled; false for :enabled
1010
1004
  */
1011
1005
  function createDisabledPseudo( disabled ) {
1012
- // Known :disabled false positives:
1013
- // IE: *[disabled]:not(button, input, select, textarea, optgroup, option, menuitem, fieldset)
1014
- // not IE: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable
1006
+
1007
+ // Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable
1015
1008
  return function( elem ) {
1016
1009
 
1017
- // Check form elements and option elements for explicit disabling
1018
- return "label" in elem && elem.disabled === disabled ||
1019
- "form" in elem && elem.disabled === disabled ||
1010
+ // Only certain elements can match :enabled or :disabled
1011
+ // https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled
1012
+ // https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled
1013
+ if ( "form" in elem ) {
1014
+
1015
+ // Check for inherited disabledness on relevant non-disabled elements:
1016
+ // * listed form-associated elements in a disabled fieldset
1017
+ // https://html.spec.whatwg.org/multipage/forms.html#category-listed
1018
+ // https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled
1019
+ // * option elements in a disabled optgroup
1020
+ // https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled
1021
+ // All such elements have a "form" property.
1022
+ if ( elem.parentNode && elem.disabled === false ) {
1023
+
1024
+ // Option elements defer to a parent optgroup if present
1025
+ if ( "label" in elem ) {
1026
+ if ( "label" in elem.parentNode ) {
1027
+ return elem.parentNode.disabled === disabled;
1028
+ } else {
1029
+ return elem.disabled === disabled;
1030
+ }
1031
+ }
1020
1032
 
1021
- // Check non-disabled form elements for fieldset[disabled] ancestors
1022
- "form" in elem && elem.disabled === false && (
1023
- // Support: IE6-11+
1024
- // Ancestry is covered for us
1025
- elem.isDisabled === disabled ||
1033
+ // Support: IE 6 - 11
1034
+ // Use the isDisabled shortcut property to check for disabled fieldset ancestors
1035
+ return elem.isDisabled === disabled ||
1026
1036
 
1027
- // Otherwise, assume any non-<option> under fieldset[disabled] is disabled
1028
- /* jshint -W018 */
1029
- elem.isDisabled !== !disabled &&
1030
- ("label" in elem || !disabledAncestor( elem )) !== disabled
1031
- );
1037
+ // Where there is no isDisabled, check manually
1038
+ /* jshint -W018 */
1039
+ elem.isDisabled !== !disabled &&
1040
+ disabledAncestor( elem ) === disabled;
1041
+ }
1042
+
1043
+ return elem.disabled === disabled;
1044
+
1045
+ // Try to winnow out elements that can't be disabled before trusting the disabled property.
1046
+ // Some victims get caught in our net (label, legend, menu, track), but it shouldn't
1047
+ // even exist on them, let alone have a boolean value.
1048
+ } else if ( "label" in elem ) {
1049
+ return elem.disabled === disabled;
1050
+ }
1051
+
1052
+ // Remaining elements are neither :enabled nor :disabled
1053
+ return false;
1032
1054
  };
1033
1055
  }
1034
1056
 
@@ -1144,25 +1166,21 @@ setDocument = Sizzle.setDocument = function( node ) {
1144
1166
  return !document.getElementsByName || !document.getElementsByName( expando ).length;
1145
1167
  });
1146
1168
 
1147
- // ID find and filter
1169
+ // ID filter and find
1148
1170
  if ( support.getById ) {
1149
- Expr.find["ID"] = function( id, context ) {
1150
- if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
1151
- var m = context.getElementById( id );
1152
- return m ? [ m ] : [];
1153
- }
1154
- };
1155
1171
  Expr.filter["ID"] = function( id ) {
1156
1172
  var attrId = id.replace( runescape, funescape );
1157
1173
  return function( elem ) {
1158
1174
  return elem.getAttribute("id") === attrId;
1159
1175
  };
1160
1176
  };
1177
+ Expr.find["ID"] = function( id, context ) {
1178
+ if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
1179
+ var elem = context.getElementById( id );
1180
+ return elem ? [ elem ] : [];
1181
+ }
1182
+ };
1161
1183
  } else {
1162
- // Support: IE6/7
1163
- // getElementById is not reliable as a find shortcut
1164
- delete Expr.find["ID"];
1165
-
1166
1184
  Expr.filter["ID"] = function( id ) {
1167
1185
  var attrId = id.replace( runescape, funescape );
1168
1186
  return function( elem ) {
@@ -1171,6 +1189,36 @@ setDocument = Sizzle.setDocument = function( node ) {
1171
1189
  return node && node.value === attrId;
1172
1190
  };
1173
1191
  };
1192
+
1193
+ // Support: IE 6 - 7 only
1194
+ // getElementById is not reliable as a find shortcut
1195
+ Expr.find["ID"] = function( id, context ) {
1196
+ if ( typeof context.getElementById !== "undefined" && documentIsHTML ) {
1197
+ var node, i, elems,
1198
+ elem = context.getElementById( id );
1199
+
1200
+ if ( elem ) {
1201
+
1202
+ // Verify the id attribute
1203
+ node = elem.getAttributeNode("id");
1204
+ if ( node && node.value === id ) {
1205
+ return [ elem ];
1206
+ }
1207
+
1208
+ // Fall back on getElementsByName
1209
+ elems = context.getElementsByName( id );
1210
+ i = 0;
1211
+ while ( (elem = elems[i++]) ) {
1212
+ node = elem.getAttributeNode("id");
1213
+ if ( node && node.value === id ) {
1214
+ return [ elem ];
1215
+ }
1216
+ }
1217
+ }
1218
+
1219
+ return [];
1220
+ }
1221
+ };
1174
1222
  }
1175
1223
 
1176
1224
  // Tag
@@ -2211,6 +2259,7 @@ function addCombinator( matcher, combinator, base ) {
2211
2259
  return matcher( elem, context, xml );
2212
2260
  }
2213
2261
  }
2262
+ return false;
2214
2263
  } :
2215
2264
 
2216
2265
  // Check against all ancestor/preceding elements
@@ -2255,6 +2304,7 @@ function addCombinator( matcher, combinator, base ) {
2255
2304
  }
2256
2305
  }
2257
2306
  }
2307
+ return false;
2258
2308
  };
2259
2309
  }
2260
2310
 
@@ -2617,8 +2667,7 @@ select = Sizzle.select = function( selector, context, results, seed ) {
2617
2667
  // Reduce context if the leading compound selector is an ID
2618
2668
  tokens = match[0] = match[0].slice( 0 );
2619
2669
  if ( tokens.length > 2 && (token = tokens[0]).type === "ID" &&
2620
- support.getById && context.nodeType === 9 && documentIsHTML &&
2621
- Expr.relative[ tokens[1].type ] ) {
2670
+ context.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[1].type ] ) {
2622
2671
 
2623
2672
  context = ( Expr.find["ID"]( token.matches[0].replace(runescape, funescape), context ) || [] )[0];
2624
2673
  if ( !context ) {
@@ -2788,6 +2837,13 @@ var siblings = function( n, elem ) {
2788
2837
 
2789
2838
  var rneedsContext = jQuery.expr.match.needsContext;
2790
2839
 
2840
+
2841
+
2842
+ function nodeName( elem, name ) {
2843
+
2844
+ return elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();
2845
+
2846
+ };
2791
2847
  var rsingleTag = ( /^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i );
2792
2848
 
2793
2849
 
@@ -2800,24 +2856,29 @@ function winnow( elements, qualifier, not ) {
2800
2856
  return jQuery.grep( elements, function( elem, i ) {
2801
2857
  return !!qualifier.call( elem, i, elem ) !== not;
2802
2858
  } );
2803
-
2804
2859
  }
2805
2860
 
2861
+ // Single element
2806
2862
  if ( qualifier.nodeType ) {
2807
2863
  return jQuery.grep( elements, function( elem ) {
2808
2864
  return ( elem === qualifier ) !== not;
2809
2865
  } );
2810
-
2811
2866
  }
2812
2867
 
2813
- if ( typeof qualifier === "string" ) {
2814
- if ( risSimple.test( qualifier ) ) {
2815
- return jQuery.filter( qualifier, elements, not );
2816
- }
2868
+ // Arraylike of elements (jQuery, arguments, Array)
2869
+ if ( typeof qualifier !== "string" ) {
2870
+ return jQuery.grep( elements, function( elem ) {
2871
+ return ( indexOf.call( qualifier, elem ) > -1 ) !== not;
2872
+ } );
2873
+ }
2817
2874
 
2818
- qualifier = jQuery.filter( qualifier, elements );
2875
+ // Simple selector that can be filtered directly, removing non-Elements
2876
+ if ( risSimple.test( qualifier ) ) {
2877
+ return jQuery.filter( qualifier, elements, not );
2819
2878
  }
2820
2879
 
2880
+ // Complex selector, compare the two sets, removing non-Elements
2881
+ qualifier = jQuery.filter( qualifier, elements );
2821
2882
  return jQuery.grep( elements, function( elem ) {
2822
2883
  return ( indexOf.call( qualifier, elem ) > -1 ) !== not && elem.nodeType === 1;
2823
2884
  } );
@@ -2830,11 +2891,13 @@ jQuery.filter = function( expr, elems, not ) {
2830
2891
  expr = ":not(" + expr + ")";
2831
2892
  }
2832
2893
 
2833
- return elems.length === 1 && elem.nodeType === 1 ?
2834
- jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [] :
2835
- jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {
2836
- return elem.nodeType === 1;
2837
- } ) );
2894
+ if ( elems.length === 1 && elem.nodeType === 1 ) {
2895
+ return jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];
2896
+ }
2897
+
2898
+ return jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {
2899
+ return elem.nodeType === 1;
2900
+ } ) );
2838
2901
  };
2839
2902
 
2840
2903
  jQuery.fn.extend( {
@@ -3132,7 +3195,18 @@ jQuery.each( {
3132
3195
  return siblings( elem.firstChild );
3133
3196
  },
3134
3197
  contents: function( elem ) {
3135
- return elem.contentDocument || jQuery.merge( [], elem.childNodes );
3198
+ if ( nodeName( elem, "iframe" ) ) {
3199
+ return elem.contentDocument;
3200
+ }
3201
+
3202
+ // Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only
3203
+ // Treat the template element as a regular one in browsers that
3204
+ // don't support it.
3205
+ if ( nodeName( elem, "template" ) ) {
3206
+ elem = elem.content || elem;
3207
+ }
3208
+
3209
+ return jQuery.merge( [], elem.childNodes );
3136
3210
  }
3137
3211
  }, function( name, fn ) {
3138
3212
  jQuery.fn[ name ] = function( until, selector ) {
@@ -3162,14 +3236,14 @@ jQuery.each( {
3162
3236
  return this.pushStack( matched );
3163
3237
  };
3164
3238
  } );
3165
- var rnotwhite = ( /\S+/g );
3239
+ var rnothtmlwhite = ( /[^\x20\t\r\n\f]+/g );
3166
3240
 
3167
3241
 
3168
3242
 
3169
3243
  // Convert String-formatted options into Object-formatted ones
3170
3244
  function createOptions( options ) {
3171
3245
  var object = {};
3172
- jQuery.each( options.match( rnotwhite ) || [], function( _, flag ) {
3246
+ jQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {
3173
3247
  object[ flag ] = true;
3174
3248
  } );
3175
3249
  return object;
@@ -3230,7 +3304,7 @@ jQuery.Callbacks = function( options ) {
3230
3304
  fire = function() {
3231
3305
 
3232
3306
  // Enforce single-firing
3233
- locked = options.once;
3307
+ locked = locked || options.once;
3234
3308
 
3235
3309
  // Execute callbacks for all pending executions,
3236
3310
  // respecting firingIndex overrides and runtime changes
@@ -3399,7 +3473,7 @@ function Thrower( ex ) {
3399
3473
  throw ex;
3400
3474
  }
3401
3475
 
3402
- function adoptValue( value, resolve, reject ) {
3476
+ function adoptValue( value, resolve, reject, noValue ) {
3403
3477
  var method;
3404
3478
 
3405
3479
  try {
@@ -3415,9 +3489,10 @@ function adoptValue( value, resolve, reject ) {
3415
3489
  // Other non-thenables
3416
3490
  } else {
3417
3491
 
3418
- // Support: Android 4.0 only
3419
- // Strict mode functions invoked without .call/.apply get global-object context
3420
- resolve.call( undefined, value );
3492
+ // Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:
3493
+ // * false: [ value ].slice( 0 ) => resolve( value )
3494
+ // * true: [ value ].slice( 1 ) => resolve()
3495
+ resolve.apply( undefined, [ value ].slice( noValue ) );
3421
3496
  }
3422
3497
 
3423
3498
  // For Promises/A+, convert exceptions into rejections
@@ -3427,7 +3502,7 @@ function adoptValue( value, resolve, reject ) {
3427
3502
 
3428
3503
  // Support: Android 4.0 only
3429
3504
  // Strict mode functions invoked without .call/.apply get global-object context
3430
- reject.call( undefined, value );
3505
+ reject.apply( undefined, [ value ] );
3431
3506
  }
3432
3507
  }
3433
3508
 
@@ -3752,7 +3827,8 @@ jQuery.extend( {
3752
3827
 
3753
3828
  // Single- and empty arguments are adopted like Promise.resolve
3754
3829
  if ( remaining <= 1 ) {
3755
- adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject );
3830
+ adoptValue( singleValue, master.done( updateFunc( i ) ).resolve, master.reject,
3831
+ !remaining );
3756
3832
 
3757
3833
  // Use .then() to unwrap secondary thenables (cf. gh-3000)
3758
3834
  if ( master.state() === "pending" ||
@@ -3824,15 +3900,6 @@ jQuery.extend( {
3824
3900
  // the ready event fires. See #6781
3825
3901
  readyWait: 1,
3826
3902
 
3827
- // Hold (or release) the ready event
3828
- holdReady: function( hold ) {
3829
- if ( hold ) {
3830
- jQuery.readyWait++;
3831
- } else {
3832
- jQuery.ready( true );
3833
- }
3834
- },
3835
-
3836
3903
  // Handle when the DOM is ready
3837
3904
  ready: function( wait ) {
3838
3905
 
@@ -3934,13 +4001,16 @@ var access = function( elems, fn, key, value, chainable, emptyGet, raw ) {
3934
4001
  }
3935
4002
  }
3936
4003
 
3937
- return chainable ?
3938
- elems :
4004
+ if ( chainable ) {
4005
+ return elems;
4006
+ }
3939
4007
 
3940
- // Gets
3941
- bulk ?
3942
- fn.call( elems ) :
3943
- len ? fn( elems[ 0 ], key ) : emptyGet;
4008
+ // Gets
4009
+ if ( bulk ) {
4010
+ return fn.call( elems );
4011
+ }
4012
+
4013
+ return len ? fn( elems[ 0 ], key ) : emptyGet;
3944
4014
  };
3945
4015
  var acceptData = function( owner ) {
3946
4016
 
@@ -4065,7 +4135,7 @@ Data.prototype = {
4065
4135
  if ( key !== undefined ) {
4066
4136
 
4067
4137
  // Support array or space separated string of keys
4068
- if ( jQuery.isArray( key ) ) {
4138
+ if ( Array.isArray( key ) ) {
4069
4139
 
4070
4140
  // If key is an array of keys...
4071
4141
  // We always set camelCase keys, so remove that.
@@ -4077,7 +4147,7 @@ Data.prototype = {
4077
4147
  // Otherwise, create an array by matching non-whitespace
4078
4148
  key = key in cache ?
4079
4149
  [ key ] :
4080
- ( key.match( rnotwhite ) || [] );
4150
+ ( key.match( rnothtmlwhite ) || [] );
4081
4151
  }
4082
4152
 
4083
4153
  i = key.length;
@@ -4125,6 +4195,31 @@ var dataUser = new Data();
4125
4195
  var rbrace = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
4126
4196
  rmultiDash = /[A-Z]/g;
4127
4197
 
4198
+ function getData( data ) {
4199
+ if ( data === "true" ) {
4200
+ return true;
4201
+ }
4202
+
4203
+ if ( data === "false" ) {
4204
+ return false;
4205
+ }
4206
+
4207
+ if ( data === "null" ) {
4208
+ return null;
4209
+ }
4210
+
4211
+ // Only convert to a number if it doesn't change the string
4212
+ if ( data === +data + "" ) {
4213
+ return +data;
4214
+ }
4215
+
4216
+ if ( rbrace.test( data ) ) {
4217
+ return JSON.parse( data );
4218
+ }
4219
+
4220
+ return data;
4221
+ }
4222
+
4128
4223
  function dataAttr( elem, key, data ) {
4129
4224
  var name;
4130
4225
 
@@ -4136,14 +4231,7 @@ function dataAttr( elem, key, data ) {
4136
4231
 
4137
4232
  if ( typeof data === "string" ) {
4138
4233
  try {
4139
- data = data === "true" ? true :
4140
- data === "false" ? false :
4141
- data === "null" ? null :
4142
-
4143
- // Only convert to a number if it doesn't change the string
4144
- +data + "" === data ? +data :
4145
- rbrace.test( data ) ? JSON.parse( data ) :
4146
- data;
4234
+ data = getData( data );
4147
4235
  } catch ( e ) {}
4148
4236
 
4149
4237
  // Make sure we set the data so it isn't changed later
@@ -4273,7 +4361,7 @@ jQuery.extend( {
4273
4361
 
4274
4362
  // Speed up dequeue by getting out quickly if this is just a lookup
4275
4363
  if ( data ) {
4276
- if ( !queue || jQuery.isArray( data ) ) {
4364
+ if ( !queue || Array.isArray( data ) ) {
4277
4365
  queue = dataPriv.access( elem, type, jQuery.makeArray( data ) );
4278
4366
  } else {
4279
4367
  queue.push( data );
@@ -4520,7 +4608,7 @@ function getDefaultDisplay( elem ) {
4520
4608
  return display;
4521
4609
  }
4522
4610
 
4523
- temp = doc.body.appendChild( doc.createElement( nodeName ) ),
4611
+ temp = doc.body.appendChild( doc.createElement( nodeName ) );
4524
4612
  display = jQuery.css( temp, "display" );
4525
4613
 
4526
4614
  temp.parentNode.removeChild( temp );
@@ -4638,15 +4726,23 @@ function getAll( context, tag ) {
4638
4726
 
4639
4727
  // Support: IE <=9 - 11 only
4640
4728
  // Use typeof to avoid zero-argument method invocation on host objects (#15151)
4641
- var ret = typeof context.getElementsByTagName !== "undefined" ?
4642
- context.getElementsByTagName( tag || "*" ) :
4643
- typeof context.querySelectorAll !== "undefined" ?
4644
- context.querySelectorAll( tag || "*" ) :
4645
- [];
4646
-
4647
- return tag === undefined || tag && jQuery.nodeName( context, tag ) ?
4648
- jQuery.merge( [ context ], ret ) :
4649
- ret;
4729
+ var ret;
4730
+
4731
+ if ( typeof context.getElementsByTagName !== "undefined" ) {
4732
+ ret = context.getElementsByTagName( tag || "*" );
4733
+
4734
+ } else if ( typeof context.querySelectorAll !== "undefined" ) {
4735
+ ret = context.querySelectorAll( tag || "*" );
4736
+
4737
+ } else {
4738
+ ret = [];
4739
+ }
4740
+
4741
+ if ( tag === undefined || tag && nodeName( context, tag ) ) {
4742
+ return jQuery.merge( [ context ], ret );
4743
+ }
4744
+
4745
+ return ret;
4650
4746
  }
4651
4747
 
4652
4748
 
@@ -4920,7 +5016,7 @@ jQuery.event = {
4920
5016
  }
4921
5017
 
4922
5018
  // Handle multiple events separated by a space
4923
- types = ( types || "" ).match( rnotwhite ) || [ "" ];
5019
+ types = ( types || "" ).match( rnothtmlwhite ) || [ "" ];
4924
5020
  t = types.length;
4925
5021
  while ( t-- ) {
4926
5022
  tmp = rtypenamespace.exec( types[ t ] ) || [];
@@ -5002,7 +5098,7 @@ jQuery.event = {
5002
5098
  }
5003
5099
 
5004
5100
  // Once for each type.namespace in types; type may be omitted
5005
- types = ( types || "" ).match( rnotwhite ) || [ "" ];
5101
+ types = ( types || "" ).match( rnothtmlwhite ) || [ "" ];
5006
5102
  t = types.length;
5007
5103
  while ( t-- ) {
5008
5104
  tmp = rtypenamespace.exec( types[ t ] ) || [];
@@ -5128,51 +5224,58 @@ jQuery.event = {
5128
5224
  },
5129
5225
 
5130
5226
  handlers: function( event, handlers ) {
5131
- var i, matches, sel, handleObj,
5227
+ var i, handleObj, sel, matchedHandlers, matchedSelectors,
5132
5228
  handlerQueue = [],
5133
5229
  delegateCount = handlers.delegateCount,
5134
5230
  cur = event.target;
5135
5231
 
5136
- // Support: IE <=9
5137
5232
  // Find delegate handlers
5138
- // Black-hole SVG <use> instance trees (#13180)
5139
- //
5140
- // Support: Firefox <=42
5141
- // Avoid non-left-click in FF but don't block IE radio events (#3861, gh-2343)
5142
- if ( delegateCount && cur.nodeType &&
5143
- ( event.type !== "click" || isNaN( event.button ) || event.button < 1 ) ) {
5233
+ if ( delegateCount &&
5234
+
5235
+ // Support: IE <=9
5236
+ // Black-hole SVG <use> instance trees (trac-13180)
5237
+ cur.nodeType &&
5238
+
5239
+ // Support: Firefox <=42
5240
+ // Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)
5241
+ // https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click
5242
+ // Support: IE 11 only
5243
+ // ...but not arrow key "clicks" of radio inputs, which can have `button` -1 (gh-2343)
5244
+ !( event.type === "click" && event.button >= 1 ) ) {
5144
5245
 
5145
5246
  for ( ; cur !== this; cur = cur.parentNode || this ) {
5146
5247
 
5147
5248
  // Don't check non-elements (#13208)
5148
5249
  // Don't process clicks on disabled elements (#6911, #8165, #11382, #11764)
5149
- if ( cur.nodeType === 1 && ( cur.disabled !== true || event.type !== "click" ) ) {
5150
- matches = [];
5250
+ if ( cur.nodeType === 1 && !( event.type === "click" && cur.disabled === true ) ) {
5251
+ matchedHandlers = [];
5252
+ matchedSelectors = {};
5151
5253
  for ( i = 0; i < delegateCount; i++ ) {
5152
5254
  handleObj = handlers[ i ];
5153
5255
 
5154
5256
  // Don't conflict with Object.prototype properties (#13203)
5155
5257
  sel = handleObj.selector + " ";
5156
5258
 
5157
- if ( matches[ sel ] === undefined ) {
5158
- matches[ sel ] = handleObj.needsContext ?
5259
+ if ( matchedSelectors[ sel ] === undefined ) {
5260
+ matchedSelectors[ sel ] = handleObj.needsContext ?
5159
5261
  jQuery( sel, this ).index( cur ) > -1 :
5160
5262
  jQuery.find( sel, this, null, [ cur ] ).length;
5161
5263
  }
5162
- if ( matches[ sel ] ) {
5163
- matches.push( handleObj );
5264
+ if ( matchedSelectors[ sel ] ) {
5265
+ matchedHandlers.push( handleObj );
5164
5266
  }
5165
5267
  }
5166
- if ( matches.length ) {
5167
- handlerQueue.push( { elem: cur, handlers: matches } );
5268
+ if ( matchedHandlers.length ) {
5269
+ handlerQueue.push( { elem: cur, handlers: matchedHandlers } );
5168
5270
  }
5169
5271
  }
5170
5272
  }
5171
5273
  }
5172
5274
 
5173
5275
  // Add the remaining (directly-bound) handlers
5276
+ cur = this;
5174
5277
  if ( delegateCount < handlers.length ) {
5175
- handlerQueue.push( { elem: this, handlers: handlers.slice( delegateCount ) } );
5278
+ handlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );
5176
5279
  }
5177
5280
 
5178
5281
  return handlerQueue;
@@ -5242,7 +5345,7 @@ jQuery.event = {
5242
5345
 
5243
5346
  // For checkbox, fire native event so checked state will be right
5244
5347
  trigger: function() {
5245
- if ( this.type === "checkbox" && this.click && jQuery.nodeName( this, "input" ) ) {
5348
+ if ( this.type === "checkbox" && this.click && nodeName( this, "input" ) ) {
5246
5349
  this.click();
5247
5350
  return false;
5248
5351
  }
@@ -5250,7 +5353,7 @@ jQuery.event = {
5250
5353
 
5251
5354
  // For cross-browser consistency, don't fire native .click() on links
5252
5355
  _default: function( event ) {
5253
- return jQuery.nodeName( event.target, "a" );
5356
+ return nodeName( event.target, "a" );
5254
5357
  }
5255
5358
  },
5256
5359
 
@@ -5406,7 +5509,19 @@ jQuery.each( {
5406
5509
 
5407
5510
  // Add which for click: 1 === left; 2 === middle; 3 === right
5408
5511
  if ( !event.which && button !== undefined && rmouseEvent.test( event.type ) ) {
5409
- return ( button & 1 ? 1 : ( button & 2 ? 3 : ( button & 4 ? 2 : 0 ) ) );
5512
+ if ( button & 1 ) {
5513
+ return 1;
5514
+ }
5515
+
5516
+ if ( button & 2 ) {
5517
+ return 3;
5518
+ }
5519
+
5520
+ if ( button & 4 ) {
5521
+ return 2;
5522
+ }
5523
+
5524
+ return 0;
5410
5525
  }
5411
5526
 
5412
5527
  return event.which;
@@ -5515,11 +5630,12 @@ var
5515
5630
  rscriptTypeMasked = /^true\/(.*)/,
5516
5631
  rcleanScript = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;
5517
5632
 
5633
+ // Prefer a tbody over its parent table for containing new rows
5518
5634
  function manipulationTarget( elem, content ) {
5519
- if ( jQuery.nodeName( elem, "table" ) &&
5520
- jQuery.nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) {
5635
+ if ( nodeName( elem, "table" ) &&
5636
+ nodeName( content.nodeType !== 11 ? content : content.firstChild, "tr" ) ) {
5521
5637
 
5522
- return elem.getElementsByTagName( "tbody" )[ 0 ] || elem;
5638
+ return jQuery( ">tbody", elem )[ 0 ] || elem;
5523
5639
  }
5524
5640
 
5525
5641
  return elem;
@@ -6049,12 +6165,18 @@ var getStyles = function( elem ) {
6049
6165
 
6050
6166
  function curCSS( elem, name, computed ) {
6051
6167
  var width, minWidth, maxWidth, ret,
6168
+
6169
+ // Support: Firefox 51+
6170
+ // Retrieving style before computed somehow
6171
+ // fixes an issue with getting wrong values
6172
+ // on detached elements
6052
6173
  style = elem.style;
6053
6174
 
6054
6175
  computed = computed || getStyles( elem );
6055
6176
 
6056
- // Support: IE <=9 only
6057
- // getPropertyValue is only needed for .css('filter') (#12537)
6177
+ // getPropertyValue is needed for:
6178
+ // .css('filter') (IE 9 only, #12537)
6179
+ // .css('--customProperty) (#3144)
6058
6180
  if ( computed ) {
6059
6181
  ret = computed.getPropertyValue( name ) || computed[ name ];
6060
6182
 
@@ -6120,6 +6242,7 @@ var
6120
6242
  // except "table", "table-cell", or "table-caption"
6121
6243
  // See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display
6122
6244
  rdisplayswap = /^(none|table(?!-c[ea]).+)/,
6245
+ rcustomProp = /^--/,
6123
6246
  cssShow = { position: "absolute", visibility: "hidden", display: "block" },
6124
6247
  cssNormalTransform = {
6125
6248
  letterSpacing: "0",
@@ -6149,6 +6272,16 @@ function vendorPropName( name ) {
6149
6272
  }
6150
6273
  }
6151
6274
 
6275
+ // Return a property mapped along what jQuery.cssProps suggests or to
6276
+ // a vendor prefixed property.
6277
+ function finalPropName( name ) {
6278
+ var ret = jQuery.cssProps[ name ];
6279
+ if ( !ret ) {
6280
+ ret = jQuery.cssProps[ name ] = vendorPropName( name ) || name;
6281
+ }
6282
+ return ret;
6283
+ }
6284
+
6152
6285
  function setPositiveNumber( elem, value, subtract ) {
6153
6286
 
6154
6287
  // Any relative (+/-) values have already been
@@ -6162,15 +6295,17 @@ function setPositiveNumber( elem, value, subtract ) {
6162
6295
  }
6163
6296
 
6164
6297
  function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
6165
- var i = extra === ( isBorderBox ? "border" : "content" ) ?
6166
-
6167
- // If we already have the right measurement, avoid augmentation
6168
- 4 :
6298
+ var i,
6299
+ val = 0;
6169
6300
 
6170
- // Otherwise initialize for horizontal or vertical properties
6171
- name === "width" ? 1 : 0,
6301
+ // If we already have the right measurement, avoid augmentation
6302
+ if ( extra === ( isBorderBox ? "border" : "content" ) ) {
6303
+ i = 4;
6172
6304
 
6173
- val = 0;
6305
+ // Otherwise initialize for horizontal or vertical properties
6306
+ } else {
6307
+ i = name === "width" ? 1 : 0;
6308
+ }
6174
6309
 
6175
6310
  for ( ; i < 4; i += 2 ) {
6176
6311
 
@@ -6207,44 +6342,31 @@ function augmentWidthOrHeight( elem, name, extra, isBorderBox, styles ) {
6207
6342
 
6208
6343
  function getWidthOrHeight( elem, name, extra ) {
6209
6344
 
6210
- // Start with offset property, which is equivalent to the border-box value
6211
- var val,
6212
- valueIsBorderBox = true,
6345
+ // Start with computed style
6346
+ var valueIsBorderBox,
6213
6347
  styles = getStyles( elem ),
6348
+ val = curCSS( elem, name, styles ),
6214
6349
  isBorderBox = jQuery.css( elem, "boxSizing", false, styles ) === "border-box";
6215
6350
 
6216
- // Support: IE <=11 only
6217
- // Running getBoundingClientRect on a disconnected node
6218
- // in IE throws an error.
6219
- if ( elem.getClientRects().length ) {
6220
- val = elem.getBoundingClientRect()[ name ];
6351
+ // Computed unit is not pixels. Stop here and return.
6352
+ if ( rnumnonpx.test( val ) ) {
6353
+ return val;
6221
6354
  }
6222
6355
 
6223
- // Some non-html elements return undefined for offsetWidth, so check for null/undefined
6224
- // svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285
6225
- // MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668
6226
- if ( val <= 0 || val == null ) {
6227
-
6228
- // Fall back to computed then uncomputed css if necessary
6229
- val = curCSS( elem, name, styles );
6230
- if ( val < 0 || val == null ) {
6231
- val = elem.style[ name ];
6232
- }
6233
-
6234
- // Computed unit is not pixels. Stop here and return.
6235
- if ( rnumnonpx.test( val ) ) {
6236
- return val;
6237
- }
6238
-
6239
- // Check for style in case a browser which returns unreliable values
6240
- // for getComputedStyle silently falls back to the reliable elem.style
6241
- valueIsBorderBox = isBorderBox &&
6242
- ( support.boxSizingReliable() || val === elem.style[ name ] );
6356
+ // Check for style in case a browser which returns unreliable values
6357
+ // for getComputedStyle silently falls back to the reliable elem.style
6358
+ valueIsBorderBox = isBorderBox &&
6359
+ ( support.boxSizingReliable() || val === elem.style[ name ] );
6243
6360
 
6244
- // Normalize "", auto, and prepare for extra
6245
- val = parseFloat( val ) || 0;
6361
+ // Fall back to offsetWidth/Height when value is "auto"
6362
+ // This happens for inline elements with no explicit setting (gh-3571)
6363
+ if ( val === "auto" ) {
6364
+ val = elem[ "offset" + name[ 0 ].toUpperCase() + name.slice( 1 ) ];
6246
6365
  }
6247
6366
 
6367
+ // Normalize "", auto, and prepare for extra
6368
+ val = parseFloat( val ) || 0;
6369
+
6248
6370
  // Use the active box-sizing model to add/subtract irrelevant styles
6249
6371
  return ( val +
6250
6372
  augmentWidthOrHeight(
@@ -6308,10 +6430,15 @@ jQuery.extend( {
6308
6430
  // Make sure that we're working with the right name
6309
6431
  var ret, type, hooks,
6310
6432
  origName = jQuery.camelCase( name ),
6433
+ isCustomProp = rcustomProp.test( name ),
6311
6434
  style = elem.style;
6312
6435
 
6313
- name = jQuery.cssProps[ origName ] ||
6314
- ( jQuery.cssProps[ origName ] = vendorPropName( origName ) || origName );
6436
+ // Make sure that we're working with the right name. We don't
6437
+ // want to query the value if it is a CSS custom property
6438
+ // since they are user-defined.
6439
+ if ( !isCustomProp ) {
6440
+ name = finalPropName( origName );
6441
+ }
6315
6442
 
6316
6443
  // Gets hook for the prefixed version, then unprefixed version
6317
6444
  hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
@@ -6347,7 +6474,11 @@ jQuery.extend( {
6347
6474
  if ( !hooks || !( "set" in hooks ) ||
6348
6475
  ( value = hooks.set( elem, value, extra ) ) !== undefined ) {
6349
6476
 
6350
- style[ name ] = value;
6477
+ if ( isCustomProp ) {
6478
+ style.setProperty( name, value );
6479
+ } else {
6480
+ style[ name ] = value;
6481
+ }
6351
6482
  }
6352
6483
 
6353
6484
  } else {
@@ -6366,11 +6497,15 @@ jQuery.extend( {
6366
6497
 
6367
6498
  css: function( elem, name, extra, styles ) {
6368
6499
  var val, num, hooks,
6369
- origName = jQuery.camelCase( name );
6500
+ origName = jQuery.camelCase( name ),
6501
+ isCustomProp = rcustomProp.test( name );
6370
6502
 
6371
- // Make sure that we're working with the right name
6372
- name = jQuery.cssProps[ origName ] ||
6373
- ( jQuery.cssProps[ origName ] = vendorPropName( origName ) || origName );
6503
+ // Make sure that we're working with the right name. We don't
6504
+ // want to modify the value if it is a CSS custom property
6505
+ // since they are user-defined.
6506
+ if ( !isCustomProp ) {
6507
+ name = finalPropName( origName );
6508
+ }
6374
6509
 
6375
6510
  // Try prefixed name followed by the unprefixed name
6376
6511
  hooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];
@@ -6395,6 +6530,7 @@ jQuery.extend( {
6395
6530
  num = parseFloat( val );
6396
6531
  return extra === true || isFinite( num ) ? num || 0 : val;
6397
6532
  }
6533
+
6398
6534
  return val;
6399
6535
  }
6400
6536
  } );
@@ -6494,7 +6630,7 @@ jQuery.fn.extend( {
6494
6630
  map = {},
6495
6631
  i = 0;
6496
6632
 
6497
- if ( jQuery.isArray( name ) ) {
6633
+ if ( Array.isArray( name ) ) {
6498
6634
  styles = getStyles( elem );
6499
6635
  len = name.length;
6500
6636
 
@@ -6632,13 +6768,18 @@ jQuery.fx.step = {};
6632
6768
 
6633
6769
 
6634
6770
  var
6635
- fxNow, timerId,
6771
+ fxNow, inProgress,
6636
6772
  rfxtypes = /^(?:toggle|show|hide)$/,
6637
6773
  rrun = /queueHooks$/;
6638
6774
 
6639
- function raf() {
6640
- if ( timerId ) {
6641
- window.requestAnimationFrame( raf );
6775
+ function schedule() {
6776
+ if ( inProgress ) {
6777
+ if ( document.hidden === false && window.requestAnimationFrame ) {
6778
+ window.requestAnimationFrame( schedule );
6779
+ } else {
6780
+ window.setTimeout( schedule, jQuery.fx.interval );
6781
+ }
6782
+
6642
6783
  jQuery.fx.tick();
6643
6784
  }
6644
6785
  }
@@ -6865,7 +7006,7 @@ function propFilter( props, specialEasing ) {
6865
7006
  name = jQuery.camelCase( index );
6866
7007
  easing = specialEasing[ name ];
6867
7008
  value = props[ index ];
6868
- if ( jQuery.isArray( value ) ) {
7009
+ if ( Array.isArray( value ) ) {
6869
7010
  easing = value[ 1 ];
6870
7011
  value = props[ index ] = value[ 0 ];
6871
7012
  }
@@ -6924,12 +7065,19 @@ function Animation( elem, properties, options ) {
6924
7065
 
6925
7066
  deferred.notifyWith( elem, [ animation, percent, remaining ] );
6926
7067
 
7068
+ // If there's more to do, yield
6927
7069
  if ( percent < 1 && length ) {
6928
7070
  return remaining;
6929
- } else {
6930
- deferred.resolveWith( elem, [ animation ] );
6931
- return false;
6932
7071
  }
7072
+
7073
+ // If this was an empty animation, synthesize a final progress notification
7074
+ if ( !length ) {
7075
+ deferred.notifyWith( elem, [ animation, 1, 0 ] );
7076
+ }
7077
+
7078
+ // Resolve the animation and report its conclusion
7079
+ deferred.resolveWith( elem, [ animation ] );
7080
+ return false;
6933
7081
  },
6934
7082
  animation = deferred.promise( {
6935
7083
  elem: elem,
@@ -6994,6 +7142,13 @@ function Animation( elem, properties, options ) {
6994
7142
  animation.opts.start.call( elem, animation );
6995
7143
  }
6996
7144
 
7145
+ // Attach callbacks from options
7146
+ animation
7147
+ .progress( animation.opts.progress )
7148
+ .done( animation.opts.done, animation.opts.complete )
7149
+ .fail( animation.opts.fail )
7150
+ .always( animation.opts.always );
7151
+
6997
7152
  jQuery.fx.timer(
6998
7153
  jQuery.extend( tick, {
6999
7154
  elem: elem,
@@ -7002,11 +7157,7 @@ function Animation( elem, properties, options ) {
7002
7157
  } )
7003
7158
  );
7004
7159
 
7005
- // attach callbacks from options
7006
- return animation.progress( animation.opts.progress )
7007
- .done( animation.opts.done, animation.opts.complete )
7008
- .fail( animation.opts.fail )
7009
- .always( animation.opts.always );
7160
+ return animation;
7010
7161
  }
7011
7162
 
7012
7163
  jQuery.Animation = jQuery.extend( Animation, {
@@ -7024,7 +7175,7 @@ jQuery.Animation = jQuery.extend( Animation, {
7024
7175
  callback = props;
7025
7176
  props = [ "*" ];
7026
7177
  } else {
7027
- props = props.match( rnotwhite );
7178
+ props = props.match( rnothtmlwhite );
7028
7179
  }
7029
7180
 
7030
7181
  var prop,
@@ -7057,14 +7208,19 @@ jQuery.speed = function( speed, easing, fn ) {
7057
7208
  easing: fn && easing || easing && !jQuery.isFunction( easing ) && easing
7058
7209
  };
7059
7210
 
7060
- // Go to the end state if fx are off or if document is hidden
7061
- if ( jQuery.fx.off || document.hidden ) {
7211
+ // Go to the end state if fx are off
7212
+ if ( jQuery.fx.off ) {
7062
7213
  opt.duration = 0;
7063
7214
 
7064
7215
  } else {
7065
- opt.duration = typeof opt.duration === "number" ?
7066
- opt.duration : opt.duration in jQuery.fx.speeds ?
7067
- jQuery.fx.speeds[ opt.duration ] : jQuery.fx.speeds._default;
7216
+ if ( typeof opt.duration !== "number" ) {
7217
+ if ( opt.duration in jQuery.fx.speeds ) {
7218
+ opt.duration = jQuery.fx.speeds[ opt.duration ];
7219
+
7220
+ } else {
7221
+ opt.duration = jQuery.fx.speeds._default;
7222
+ }
7223
+ }
7068
7224
  }
7069
7225
 
7070
7226
  // Normalize opt.queue - true/undefined/null -> "fx"
@@ -7245,7 +7401,7 @@ jQuery.fx.tick = function() {
7245
7401
  for ( ; i < timers.length; i++ ) {
7246
7402
  timer = timers[ i ];
7247
7403
 
7248
- // Checks the timer has not already been removed
7404
+ // Run the timer and safely remove it when done (allowing for external removal)
7249
7405
  if ( !timer() && timers[ i ] === timer ) {
7250
7406
  timers.splice( i--, 1 );
7251
7407
  }
@@ -7259,30 +7415,21 @@ jQuery.fx.tick = function() {
7259
7415
 
7260
7416
  jQuery.fx.timer = function( timer ) {
7261
7417
  jQuery.timers.push( timer );
7262
- if ( timer() ) {
7263
- jQuery.fx.start();
7264
- } else {
7265
- jQuery.timers.pop();
7266
- }
7418
+ jQuery.fx.start();
7267
7419
  };
7268
7420
 
7269
7421
  jQuery.fx.interval = 13;
7270
7422
  jQuery.fx.start = function() {
7271
- if ( !timerId ) {
7272
- timerId = window.requestAnimationFrame ?
7273
- window.requestAnimationFrame( raf ) :
7274
- window.setInterval( jQuery.fx.tick, jQuery.fx.interval );
7423
+ if ( inProgress ) {
7424
+ return;
7275
7425
  }
7426
+
7427
+ inProgress = true;
7428
+ schedule();
7276
7429
  };
7277
7430
 
7278
7431
  jQuery.fx.stop = function() {
7279
- if ( window.cancelAnimationFrame ) {
7280
- window.cancelAnimationFrame( timerId );
7281
- } else {
7282
- window.clearInterval( timerId );
7283
- }
7284
-
7285
- timerId = null;
7432
+ inProgress = null;
7286
7433
  };
7287
7434
 
7288
7435
  jQuery.fx.speeds = {
@@ -7399,7 +7546,7 @@ jQuery.extend( {
7399
7546
  type: {
7400
7547
  set: function( elem, value ) {
7401
7548
  if ( !support.radioValue && value === "radio" &&
7402
- jQuery.nodeName( elem, "input" ) ) {
7549
+ nodeName( elem, "input" ) ) {
7403
7550
  var val = elem.value;
7404
7551
  elem.setAttribute( "type", value );
7405
7552
  if ( val ) {
@@ -7414,7 +7561,10 @@ jQuery.extend( {
7414
7561
  removeAttr: function( elem, value ) {
7415
7562
  var name,
7416
7563
  i = 0,
7417
- attrNames = value && value.match( rnotwhite );
7564
+
7565
+ // Attribute names can contain non-HTML whitespace characters
7566
+ // https://html.spec.whatwg.org/multipage/syntax.html#attributes-2
7567
+ attrNames = value && value.match( rnothtmlwhite );
7418
7568
 
7419
7569
  if ( attrNames && elem.nodeType === 1 ) {
7420
7570
  while ( ( name = attrNames[ i++ ] ) ) {
@@ -7521,12 +7671,19 @@ jQuery.extend( {
7521
7671
  // Use proper attribute retrieval(#12072)
7522
7672
  var tabindex = jQuery.find.attr( elem, "tabindex" );
7523
7673
 
7524
- return tabindex ?
7525
- parseInt( tabindex, 10 ) :
7674
+ if ( tabindex ) {
7675
+ return parseInt( tabindex, 10 );
7676
+ }
7677
+
7678
+ if (
7526
7679
  rfocusable.test( elem.nodeName ) ||
7527
- rclickable.test( elem.nodeName ) && elem.href ?
7528
- 0 :
7529
- -1;
7680
+ rclickable.test( elem.nodeName ) &&
7681
+ elem.href
7682
+ ) {
7683
+ return 0;
7684
+ }
7685
+
7686
+ return -1;
7530
7687
  }
7531
7688
  }
7532
7689
  },
@@ -7543,9 +7700,14 @@ jQuery.extend( {
7543
7700
  // on the option
7544
7701
  // The getter ensures a default option is selected
7545
7702
  // when in an optgroup
7703
+ // eslint rule "no-unused-expressions" is disabled for this code
7704
+ // since it considers such accessions noop
7546
7705
  if ( !support.optSelected ) {
7547
7706
  jQuery.propHooks.selected = {
7548
7707
  get: function( elem ) {
7708
+
7709
+ /* eslint no-unused-expressions: "off" */
7710
+
7549
7711
  var parent = elem.parentNode;
7550
7712
  if ( parent && parent.parentNode ) {
7551
7713
  parent.parentNode.selectedIndex;
@@ -7553,6 +7715,9 @@ if ( !support.optSelected ) {
7553
7715
  return null;
7554
7716
  },
7555
7717
  set: function( elem ) {
7718
+
7719
+ /* eslint no-unused-expressions: "off" */
7720
+
7556
7721
  var parent = elem.parentNode;
7557
7722
  if ( parent ) {
7558
7723
  parent.selectedIndex;
@@ -7583,7 +7748,13 @@ jQuery.each( [
7583
7748
 
7584
7749
 
7585
7750
 
7586
- var rclass = /[\t\r\n\f]/g;
7751
+ // Strip and collapse whitespace according to HTML spec
7752
+ // https://html.spec.whatwg.org/multipage/infrastructure.html#strip-and-collapse-whitespace
7753
+ function stripAndCollapse( value ) {
7754
+ var tokens = value.match( rnothtmlwhite ) || [];
7755
+ return tokens.join( " " );
7756
+ }
7757
+
7587
7758
 
7588
7759
  function getClass( elem ) {
7589
7760
  return elem.getAttribute && elem.getAttribute( "class" ) || "";
@@ -7601,12 +7772,11 @@ jQuery.fn.extend( {
7601
7772
  }
7602
7773
 
7603
7774
  if ( typeof value === "string" && value ) {
7604
- classes = value.match( rnotwhite ) || [];
7775
+ classes = value.match( rnothtmlwhite ) || [];
7605
7776
 
7606
7777
  while ( ( elem = this[ i++ ] ) ) {
7607
7778
  curValue = getClass( elem );
7608
- cur = elem.nodeType === 1 &&
7609
- ( " " + curValue + " " ).replace( rclass, " " );
7779
+ cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " );
7610
7780
 
7611
7781
  if ( cur ) {
7612
7782
  j = 0;
@@ -7617,7 +7787,7 @@ jQuery.fn.extend( {
7617
7787
  }
7618
7788
 
7619
7789
  // Only assign if different to avoid unneeded rendering.
7620
- finalValue = jQuery.trim( cur );
7790
+ finalValue = stripAndCollapse( cur );
7621
7791
  if ( curValue !== finalValue ) {
7622
7792
  elem.setAttribute( "class", finalValue );
7623
7793
  }
@@ -7643,14 +7813,13 @@ jQuery.fn.extend( {
7643
7813
  }
7644
7814
 
7645
7815
  if ( typeof value === "string" && value ) {
7646
- classes = value.match( rnotwhite ) || [];
7816
+ classes = value.match( rnothtmlwhite ) || [];
7647
7817
 
7648
7818
  while ( ( elem = this[ i++ ] ) ) {
7649
7819
  curValue = getClass( elem );
7650
7820
 
7651
7821
  // This expression is here for better compressibility (see addClass)
7652
- cur = elem.nodeType === 1 &&
7653
- ( " " + curValue + " " ).replace( rclass, " " );
7822
+ cur = elem.nodeType === 1 && ( " " + stripAndCollapse( curValue ) + " " );
7654
7823
 
7655
7824
  if ( cur ) {
7656
7825
  j = 0;
@@ -7663,7 +7832,7 @@ jQuery.fn.extend( {
7663
7832
  }
7664
7833
 
7665
7834
  // Only assign if different to avoid unneeded rendering.
7666
- finalValue = jQuery.trim( cur );
7835
+ finalValue = stripAndCollapse( cur );
7667
7836
  if ( curValue !== finalValue ) {
7668
7837
  elem.setAttribute( "class", finalValue );
7669
7838
  }
@@ -7698,7 +7867,7 @@ jQuery.fn.extend( {
7698
7867
  // Toggle individual class names
7699
7868
  i = 0;
7700
7869
  self = jQuery( this );
7701
- classNames = value.match( rnotwhite ) || [];
7870
+ classNames = value.match( rnothtmlwhite ) || [];
7702
7871
 
7703
7872
  while ( ( className = classNames[ i++ ] ) ) {
7704
7873
 
@@ -7741,10 +7910,8 @@ jQuery.fn.extend( {
7741
7910
  className = " " + selector + " ";
7742
7911
  while ( ( elem = this[ i++ ] ) ) {
7743
7912
  if ( elem.nodeType === 1 &&
7744
- ( " " + getClass( elem ) + " " ).replace( rclass, " " )
7745
- .indexOf( className ) > -1
7746
- ) {
7747
- return true;
7913
+ ( " " + stripAndCollapse( getClass( elem ) ) + " " ).indexOf( className ) > -1 ) {
7914
+ return true;
7748
7915
  }
7749
7916
  }
7750
7917
 
@@ -7755,8 +7922,7 @@ jQuery.fn.extend( {
7755
7922
 
7756
7923
 
7757
7924
 
7758
- var rreturn = /\r/g,
7759
- rspaces = /[\x20\t\r\n\f]+/g;
7925
+ var rreturn = /\r/g;
7760
7926
 
7761
7927
  jQuery.fn.extend( {
7762
7928
  val: function( value ) {
@@ -7777,13 +7943,13 @@ jQuery.fn.extend( {
7777
7943
 
7778
7944
  ret = elem.value;
7779
7945
 
7780
- return typeof ret === "string" ?
7781
-
7782
- // Handle most common string cases
7783
- ret.replace( rreturn, "" ) :
7946
+ // Handle most common string cases
7947
+ if ( typeof ret === "string" ) {
7948
+ return ret.replace( rreturn, "" );
7949
+ }
7784
7950
 
7785
- // Handle cases where value is null/undef or number
7786
- ret == null ? "" : ret;
7951
+ // Handle cases where value is null/undef or number
7952
+ return ret == null ? "" : ret;
7787
7953
  }
7788
7954
 
7789
7955
  return;
@@ -7811,7 +7977,7 @@ jQuery.fn.extend( {
7811
7977
  } else if ( typeof val === "number" ) {
7812
7978
  val += "";
7813
7979
 
7814
- } else if ( jQuery.isArray( val ) ) {
7980
+ } else if ( Array.isArray( val ) ) {
7815
7981
  val = jQuery.map( val, function( value ) {
7816
7982
  return value == null ? "" : value + "";
7817
7983
  } );
@@ -7840,20 +8006,24 @@ jQuery.extend( {
7840
8006
  // option.text throws exceptions (#14686, #14858)
7841
8007
  // Strip and collapse whitespace
7842
8008
  // https://html.spec.whatwg.org/#strip-and-collapse-whitespace
7843
- jQuery.trim( jQuery.text( elem ) ).replace( rspaces, " " );
8009
+ stripAndCollapse( jQuery.text( elem ) );
7844
8010
  }
7845
8011
  },
7846
8012
  select: {
7847
8013
  get: function( elem ) {
7848
- var value, option,
8014
+ var value, option, i,
7849
8015
  options = elem.options,
7850
8016
  index = elem.selectedIndex,
7851
8017
  one = elem.type === "select-one",
7852
8018
  values = one ? null : [],
7853
- max = one ? index + 1 : options.length,
7854
- i = index < 0 ?
7855
- max :
7856
- one ? index : 0;
8019
+ max = one ? index + 1 : options.length;
8020
+
8021
+ if ( index < 0 ) {
8022
+ i = max;
8023
+
8024
+ } else {
8025
+ i = one ? index : 0;
8026
+ }
7857
8027
 
7858
8028
  // Loop through all the selected options
7859
8029
  for ( ; i < max; i++ ) {
@@ -7866,7 +8036,7 @@ jQuery.extend( {
7866
8036
  // Don't return options that are disabled or in a disabled optgroup
7867
8037
  !option.disabled &&
7868
8038
  ( !option.parentNode.disabled ||
7869
- !jQuery.nodeName( option.parentNode, "optgroup" ) ) ) {
8039
+ !nodeName( option.parentNode, "optgroup" ) ) ) {
7870
8040
 
7871
8041
  // Get the specific value for the option
7872
8042
  value = jQuery( option ).val();
@@ -7918,7 +8088,7 @@ jQuery.extend( {
7918
8088
  jQuery.each( [ "radio", "checkbox" ], function() {
7919
8089
  jQuery.valHooks[ this ] = {
7920
8090
  set: function( elem, value ) {
7921
- if ( jQuery.isArray( value ) ) {
8091
+ if ( Array.isArray( value ) ) {
7922
8092
  return ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );
7923
8093
  }
7924
8094
  }
@@ -8213,7 +8383,7 @@ var
8213
8383
  function buildParams( prefix, obj, traditional, add ) {
8214
8384
  var name;
8215
8385
 
8216
- if ( jQuery.isArray( obj ) ) {
8386
+ if ( Array.isArray( obj ) ) {
8217
8387
 
8218
8388
  // Serialize array item.
8219
8389
  jQuery.each( obj, function( i, v ) {
@@ -8265,7 +8435,7 @@ jQuery.param = function( a, traditional ) {
8265
8435
  };
8266
8436
 
8267
8437
  // If an array was passed in, assume that it is an array of form elements.
8268
- if ( jQuery.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {
8438
+ if ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {
8269
8439
 
8270
8440
  // Serialize the form elements
8271
8441
  jQuery.each( a, function() {
@@ -8307,13 +8477,17 @@ jQuery.fn.extend( {
8307
8477
  .map( function( i, elem ) {
8308
8478
  var val = jQuery( this ).val();
8309
8479
 
8310
- return val == null ?
8311
- null :
8312
- jQuery.isArray( val ) ?
8313
- jQuery.map( val, function( val ) {
8314
- return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
8315
- } ) :
8316
- { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
8480
+ if ( val == null ) {
8481
+ return null;
8482
+ }
8483
+
8484
+ if ( Array.isArray( val ) ) {
8485
+ return jQuery.map( val, function( val ) {
8486
+ return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
8487
+ } );
8488
+ }
8489
+
8490
+ return { name: elem.name, value: val.replace( rCRLF, "\r\n" ) };
8317
8491
  } ).get();
8318
8492
  }
8319
8493
  } );
@@ -8322,7 +8496,7 @@ jQuery.fn.extend( {
8322
8496
  var
8323
8497
  r20 = /%20/g,
8324
8498
  rhash = /#.*$/,
8325
- rts = /([?&])_=[^&]*/,
8499
+ rantiCache = /([?&])_=[^&]*/,
8326
8500
  rheaders = /^(.*?):[ \t]*([^\r\n]*)$/mg,
8327
8501
 
8328
8502
  // #7653, #8125, #8152: local protocol detection
@@ -8368,7 +8542,7 @@ function addToPrefiltersOrTransports( structure ) {
8368
8542
 
8369
8543
  var dataType,
8370
8544
  i = 0,
8371
- dataTypes = dataTypeExpression.toLowerCase().match( rnotwhite ) || [];
8545
+ dataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];
8372
8546
 
8373
8547
  if ( jQuery.isFunction( func ) ) {
8374
8548
 
@@ -8836,7 +9010,7 @@ jQuery.extend( {
8836
9010
  s.type = options.method || options.type || s.method || s.type;
8837
9011
 
8838
9012
  // Extract dataTypes list
8839
- s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnotwhite ) || [ "" ];
9013
+ s.dataTypes = ( s.dataType || "*" ).toLowerCase().match( rnothtmlwhite ) || [ "" ];
8840
9014
 
8841
9015
  // A cross-domain request is in order when the origin doesn't match the current origin.
8842
9016
  if ( s.crossDomain == null ) {
@@ -8908,9 +9082,9 @@ jQuery.extend( {
8908
9082
  delete s.data;
8909
9083
  }
8910
9084
 
8911
- // Add anti-cache in uncached url if needed
9085
+ // Add or update anti-cache param if needed
8912
9086
  if ( s.cache === false ) {
8913
- cacheURL = cacheURL.replace( rts, "" );
9087
+ cacheURL = cacheURL.replace( rantiCache, "$1" );
8914
9088
  uncached = ( rquery.test( cacheURL ) ? "&" : "?" ) + "_=" + ( nonce++ ) + uncached;
8915
9089
  }
8916
9090
 
@@ -9649,7 +9823,7 @@ jQuery.fn.load = function( url, params, callback ) {
9649
9823
  off = url.indexOf( " " );
9650
9824
 
9651
9825
  if ( off > -1 ) {
9652
- selector = jQuery.trim( url.slice( off ) );
9826
+ selector = stripAndCollapse( url.slice( off ) );
9653
9827
  url = url.slice( 0, off );
9654
9828
  }
9655
9829
 
@@ -9732,13 +9906,6 @@ jQuery.expr.pseudos.animated = function( elem ) {
9732
9906
 
9733
9907
 
9734
9908
 
9735
- /**
9736
- * Gets a window from an element
9737
- */
9738
- function getWindow( elem ) {
9739
- return jQuery.isWindow( elem ) ? elem : elem.nodeType === 9 && elem.defaultView;
9740
- }
9741
-
9742
9909
  jQuery.offset = {
9743
9910
  setOffset: function( elem, options, i ) {
9744
9911
  var curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,
@@ -9803,13 +9970,14 @@ jQuery.fn.extend( {
9803
9970
  } );
9804
9971
  }
9805
9972
 
9806
- var docElem, win, rect, doc,
9973
+ var doc, docElem, rect, win,
9807
9974
  elem = this[ 0 ];
9808
9975
 
9809
9976
  if ( !elem ) {
9810
9977
  return;
9811
9978
  }
9812
9979
 
9980
+ // Return zeros for disconnected and hidden (display: none) elements (gh-2310)
9813
9981
  // Support: IE <=11 only
9814
9982
  // Running getBoundingClientRect on a
9815
9983
  // disconnected node in IE throws an error
@@ -9819,20 +9987,14 @@ jQuery.fn.extend( {
9819
9987
 
9820
9988
  rect = elem.getBoundingClientRect();
9821
9989
 
9822
- // Make sure element is not hidden (display: none)
9823
- if ( rect.width || rect.height ) {
9824
- doc = elem.ownerDocument;
9825
- win = getWindow( doc );
9826
- docElem = doc.documentElement;
9990
+ doc = elem.ownerDocument;
9991
+ docElem = doc.documentElement;
9992
+ win = doc.defaultView;
9827
9993
 
9828
- return {
9829
- top: rect.top + win.pageYOffset - docElem.clientTop,
9830
- left: rect.left + win.pageXOffset - docElem.clientLeft
9831
- };
9832
- }
9833
-
9834
- // Return zeros for disconnected and hidden elements (gh-2310)
9835
- return rect;
9994
+ return {
9995
+ top: rect.top + win.pageYOffset - docElem.clientTop,
9996
+ left: rect.left + win.pageXOffset - docElem.clientLeft
9997
+ };
9836
9998
  },
9837
9999
 
9838
10000
  position: function() {
@@ -9858,7 +10020,7 @@ jQuery.fn.extend( {
9858
10020
 
9859
10021
  // Get correct offsets
9860
10022
  offset = this.offset();
9861
- if ( !jQuery.nodeName( offsetParent[ 0 ], "html" ) ) {
10023
+ if ( !nodeName( offsetParent[ 0 ], "html" ) ) {
9862
10024
  parentOffset = offsetParent.offset();
9863
10025
  }
9864
10026
 
@@ -9905,7 +10067,14 @@ jQuery.each( { scrollLeft: "pageXOffset", scrollTop: "pageYOffset" }, function(
9905
10067
 
9906
10068
  jQuery.fn[ method ] = function( val ) {
9907
10069
  return access( this, function( elem, method, val ) {
9908
- var win = getWindow( elem );
10070
+
10071
+ // Coalesce documents and windows
10072
+ var win;
10073
+ if ( jQuery.isWindow( elem ) ) {
10074
+ win = elem;
10075
+ } else if ( elem.nodeType === 9 ) {
10076
+ win = elem.defaultView;
10077
+ }
9909
10078
 
9910
10079
  if ( val === undefined ) {
9911
10080
  return win ? win[ prop ] : elem[ method ];
@@ -10014,7 +10183,16 @@ jQuery.fn.extend( {
10014
10183
  }
10015
10184
  } );
10016
10185
 
10186
+ jQuery.holdReady = function( hold ) {
10187
+ if ( hold ) {
10188
+ jQuery.readyWait++;
10189
+ } else {
10190
+ jQuery.ready( true );
10191
+ }
10192
+ };
10193
+ jQuery.isArray = Array.isArray;
10017
10194
  jQuery.parseJSON = JSON.parse;
10195
+ jQuery.nodeName = nodeName;
10018
10196
 
10019
10197
 
10020
10198
 
@@ -10041,7 +10219,6 @@ if ( typeof define === "function" && define.amd ) {
10041
10219
 
10042
10220
 
10043
10221
 
10044
-
10045
10222
  var
10046
10223
 
10047
10224
  // Map over jQuery in case of overwrite
@@ -10070,5 +10247,7 @@ if ( !noGlobal ) {
10070
10247
  }
10071
10248
 
10072
10249
 
10250
+
10251
+
10073
10252
  return jQuery;
10074
10253
  } );