@ntlab/ntjs-assets 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (235) hide show
  1. package/assets/js/bootstrap-icons/bootstrap-icons.svg +1 -1
  2. package/assets/js/bootstrap-icons/folder-plus.svg +2 -2
  3. package/assets/js/bootstrap-icons/font/bootstrap-icons.css +1981 -0
  4. package/assets/js/bootstrap-icons/font/bootstrap-icons.json +1955 -0
  5. package/assets/js/bootstrap-icons/font/bootstrap-icons.min.css +5 -0
  6. package/assets/js/bootstrap-icons/font/bootstrap-icons.scss +1993 -0
  7. package/assets/js/bootstrap-icons/font/fonts/bootstrap-icons.woff +0 -0
  8. package/assets/js/bootstrap-icons/font/fonts/bootstrap-icons.woff2 +0 -0
  9. package/assets/js/bootstrap-icons/postcard-heart-fill.svg +1 -1
  10. package/assets/js/bootstrap-icons/trash.svg +2 -2
  11. package/assets/js/jquery/jquery.js +840 -1045
  12. package/assets/js/jquery/jquery.min.js +2 -2
  13. package/assets/js/jquery/jquery.min.map +1 -1
  14. package/assets/js/jquery/jquery.slim.js +834 -1039
  15. package/assets/js/jquery/jquery.slim.min.js +2 -2
  16. package/assets/js/jquery/jquery.slim.min.map +1 -1
  17. package/assets/js/popper.js/cjs/enums.js +1 -1
  18. package/assets/js/popper.js/cjs/popper-base.js +12 -170
  19. package/assets/js/popper.js/cjs/popper-base.js.map +1 -1
  20. package/assets/js/popper.js/cjs/popper-lite.js +14 -184
  21. package/assets/js/popper.js/cjs/popper-lite.js.map +1 -1
  22. package/assets/js/popper.js/cjs/popper.js +14 -197
  23. package/assets/js/popper.js/cjs/popper.js.map +1 -1
  24. package/assets/js/popper.js/esm/createPopper.js +6 -66
  25. package/assets/js/popper.js/esm/modifiers/arrow.js +1 -12
  26. package/assets/js/popper.js/esm/modifiers/computeStyles.js +2 -14
  27. package/assets/js/popper.js/esm/utils/computeAutoPlacement.js +0 -4
  28. package/assets/js/popper.js/esm/utils/userAgent.js +1 -1
  29. package/assets/js/popper.js/umd/enums.js +1 -1
  30. package/assets/js/popper.js/umd/enums.min.js +1 -1
  31. package/assets/js/popper.js/umd/popper-base.js +12 -170
  32. package/assets/js/popper.js/umd/popper-base.js.map +1 -1
  33. package/assets/js/popper.js/umd/popper-base.min.js +2 -2
  34. package/assets/js/popper.js/umd/popper-base.min.js.map +1 -1
  35. package/assets/js/popper.js/umd/popper-lite.js +14 -184
  36. package/assets/js/popper.js/umd/popper-lite.js.map +1 -1
  37. package/assets/js/popper.js/umd/popper-lite.min.js +2 -2
  38. package/assets/js/popper.js/umd/popper-lite.min.js.map +1 -1
  39. package/assets/js/popper.js/umd/popper.js +14 -197
  40. package/assets/js/popper.js/umd/popper.js.map +1 -1
  41. package/assets/js/popper.js/umd/popper.min.js +2 -2
  42. package/assets/js/popper.js/umd/popper.min.js.map +1 -1
  43. package/assets/js/semantic-ui/components/accordion.css +196 -74
  44. package/assets/js/semantic-ui/components/accordion.js +570 -591
  45. package/assets/js/semantic-ui/components/accordion.min.css +4 -4
  46. package/assets/js/semantic-ui/components/accordion.min.js +6 -6
  47. package/assets/js/semantic-ui/components/ad.css +40 -51
  48. package/assets/js/semantic-ui/components/ad.min.css +4 -4
  49. package/assets/js/semantic-ui/components/api.js +1154 -1117
  50. package/assets/js/semantic-ui/components/api.min.js +6 -6
  51. package/assets/js/semantic-ui/components/breadcrumb.css +7 -7
  52. package/assets/js/semantic-ui/components/breadcrumb.min.css +4 -4
  53. package/assets/js/semantic-ui/components/button.css +895 -1227
  54. package/assets/js/semantic-ui/components/button.min.css +4 -4
  55. package/assets/js/semantic-ui/components/calendar.css +60 -33
  56. package/assets/js/semantic-ui/components/calendar.js +1952 -1575
  57. package/assets/js/semantic-ui/components/calendar.min.css +4 -4
  58. package/assets/js/semantic-ui/components/calendar.min.js +6 -6
  59. package/assets/js/semantic-ui/components/card.css +1004 -441
  60. package/assets/js/semantic-ui/components/card.min.css +4 -4
  61. package/assets/js/semantic-ui/components/checkbox.css +275 -303
  62. package/assets/js/semantic-ui/components/checkbox.js +863 -855
  63. package/assets/js/semantic-ui/components/checkbox.min.css +4 -4
  64. package/assets/js/semantic-ui/components/checkbox.min.js +6 -6
  65. package/assets/js/semantic-ui/components/comment.css +45 -63
  66. package/assets/js/semantic-ui/components/comment.min.css +4 -4
  67. package/assets/js/semantic-ui/components/container.css +98 -4
  68. package/assets/js/semantic-ui/components/container.min.css +4 -4
  69. package/assets/js/semantic-ui/components/dimmer.css +95 -196
  70. package/assets/js/semantic-ui/components/dimmer.js +698 -717
  71. package/assets/js/semantic-ui/components/dimmer.min.css +4 -4
  72. package/assets/js/semantic-ui/components/dimmer.min.js +6 -6
  73. package/assets/js/semantic-ui/components/divider.css +75 -93
  74. package/assets/js/semantic-ui/components/divider.min.css +4 -4
  75. package/assets/js/semantic-ui/components/dropdown.css +490 -413
  76. package/assets/js/semantic-ui/components/dropdown.js +4203 -4068
  77. package/assets/js/semantic-ui/components/dropdown.min.css +4 -4
  78. package/assets/js/semantic-ui/components/dropdown.min.js +6 -6
  79. package/assets/js/semantic-ui/components/embed.css +27 -38
  80. package/assets/js/semantic-ui/components/embed.js +647 -673
  81. package/assets/js/semantic-ui/components/embed.min.css +4 -4
  82. package/assets/js/semantic-ui/components/embed.min.js +6 -6
  83. package/assets/js/semantic-ui/components/emoji.css +11156 -9192
  84. package/assets/js/semantic-ui/components/emoji.min.css +3 -3
  85. package/assets/js/semantic-ui/components/feed.css +56 -78
  86. package/assets/js/semantic-ui/components/feed.min.css +4 -4
  87. package/assets/js/semantic-ui/components/flag.css +1037 -929
  88. package/assets/js/semantic-ui/components/flag.min.css +4 -4
  89. package/assets/js/semantic-ui/components/flyout.css +552 -0
  90. package/assets/js/semantic-ui/components/flyout.js +1567 -0
  91. package/assets/js/semantic-ui/components/flyout.min.css +9 -0
  92. package/assets/js/semantic-ui/components/flyout.min.js +11 -0
  93. package/assets/js/semantic-ui/components/form.css +536 -530
  94. package/assets/js/semantic-ui/components/form.js +2037 -1945
  95. package/assets/js/semantic-ui/components/form.min.css +4 -4
  96. package/assets/js/semantic-ui/components/form.min.js +6 -6
  97. package/assets/js/semantic-ui/components/grid.css +218 -345
  98. package/assets/js/semantic-ui/components/grid.min.css +4 -4
  99. package/assets/js/semantic-ui/components/header.css +137 -154
  100. package/assets/js/semantic-ui/components/header.min.css +4 -4
  101. package/assets/js/semantic-ui/components/icon.css +3000 -2750
  102. package/assets/js/semantic-ui/components/icon.min.css +4 -4
  103. package/assets/js/semantic-ui/components/image.css +54 -49
  104. package/assets/js/semantic-ui/components/image.min.css +4 -4
  105. package/assets/js/semantic-ui/components/input.css +1081 -227
  106. package/assets/js/semantic-ui/components/input.min.css +4 -4
  107. package/assets/js/semantic-ui/components/item.css +91 -138
  108. package/assets/js/semantic-ui/components/item.min.css +4 -4
  109. package/assets/js/semantic-ui/components/label.css +470 -481
  110. package/assets/js/semantic-ui/components/label.min.css +4 -4
  111. package/assets/js/semantic-ui/components/list.css +93 -114
  112. package/assets/js/semantic-ui/components/list.min.css +4 -4
  113. package/assets/js/semantic-ui/components/loader.css +452 -536
  114. package/assets/js/semantic-ui/components/loader.min.css +4 -4
  115. package/assets/js/semantic-ui/components/menu.css +408 -510
  116. package/assets/js/semantic-ui/components/menu.min.css +9 -1
  117. package/assets/js/semantic-ui/components/message.css +188 -213
  118. package/assets/js/semantic-ui/components/message.min.css +4 -4
  119. package/assets/js/semantic-ui/components/modal.css +174 -166
  120. package/assets/js/semantic-ui/components/modal.js +1558 -1146
  121. package/assets/js/semantic-ui/components/modal.min.css +4 -4
  122. package/assets/js/semantic-ui/components/modal.min.js +6 -6
  123. package/assets/js/semantic-ui/components/nag.css +183 -41
  124. package/assets/js/semantic-ui/components/nag.js +527 -467
  125. package/assets/js/semantic-ui/components/nag.min.css +4 -4
  126. package/assets/js/semantic-ui/components/nag.min.js +6 -6
  127. package/assets/js/semantic-ui/components/placeholder.css +62 -76
  128. package/assets/js/semantic-ui/components/placeholder.min.css +4 -4
  129. package/assets/js/semantic-ui/components/popup.css +681 -312
  130. package/assets/js/semantic-ui/components/popup.js +1470 -1463
  131. package/assets/js/semantic-ui/components/popup.min.css +4 -4
  132. package/assets/js/semantic-ui/components/popup.min.js +6 -6
  133. package/assets/js/semantic-ui/components/progress.css +149 -217
  134. package/assets/js/semantic-ui/components/progress.js +945 -1002
  135. package/assets/js/semantic-ui/components/progress.min.css +4 -4
  136. package/assets/js/semantic-ui/components/progress.min.js +6 -6
  137. package/assets/js/semantic-ui/components/rail.css +17 -22
  138. package/assets/js/semantic-ui/components/rail.min.css +3 -3
  139. package/assets/js/semantic-ui/components/rating.css +89 -184
  140. package/assets/js/semantic-ui/components/rating.js +509 -521
  141. package/assets/js/semantic-ui/components/rating.min.css +4 -4
  142. package/assets/js/semantic-ui/components/rating.min.js +6 -6
  143. package/assets/js/semantic-ui/components/reset.css +12 -17
  144. package/assets/js/semantic-ui/components/reset.min.css +4 -4
  145. package/assets/js/semantic-ui/components/reveal.css +46 -85
  146. package/assets/js/semantic-ui/components/reveal.min.css +4 -4
  147. package/assets/js/semantic-ui/components/search.css +157 -96
  148. package/assets/js/semantic-ui/components/search.js +1522 -1479
  149. package/assets/js/semantic-ui/components/search.min.css +4 -4
  150. package/assets/js/semantic-ui/components/search.min.js +6 -6
  151. package/assets/js/semantic-ui/components/segment.css +317 -249
  152. package/assets/js/semantic-ui/components/segment.min.css +4 -4
  153. package/assets/js/semantic-ui/components/shape.css +16 -32
  154. package/assets/js/semantic-ui/components/shape.js +763 -812
  155. package/assets/js/semantic-ui/components/shape.min.css +4 -4
  156. package/assets/js/semantic-ui/components/shape.min.js +6 -6
  157. package/assets/js/semantic-ui/components/sidebar.css +128 -216
  158. package/assets/js/semantic-ui/components/sidebar.js +1042 -1003
  159. package/assets/js/semantic-ui/components/sidebar.min.css +4 -4
  160. package/assets/js/semantic-ui/components/sidebar.min.js +6 -6
  161. package/assets/js/semantic-ui/components/site.css +123 -48
  162. package/assets/js/semantic-ui/components/site.js +438 -478
  163. package/assets/js/semantic-ui/components/site.min.css +4 -4
  164. package/assets/js/semantic-ui/components/site.min.js +6 -6
  165. package/assets/js/semantic-ui/components/slider.css +133 -141
  166. package/assets/js/semantic-ui/components/slider.js +1312 -1274
  167. package/assets/js/semantic-ui/components/slider.min.css +9 -1
  168. package/assets/js/semantic-ui/components/slider.min.js +6 -6
  169. package/assets/js/semantic-ui/components/state.js +640 -659
  170. package/assets/js/semantic-ui/components/state.min.js +6 -6
  171. package/assets/js/semantic-ui/components/statistic.css +83 -124
  172. package/assets/js/semantic-ui/components/statistic.min.css +4 -4
  173. package/assets/js/semantic-ui/components/step.css +118 -184
  174. package/assets/js/semantic-ui/components/step.min.css +4 -4
  175. package/assets/js/semantic-ui/components/sticky.css +3 -8
  176. package/assets/js/semantic-ui/components/sticky.js +849 -892
  177. package/assets/js/semantic-ui/components/sticky.min.css +4 -4
  178. package/assets/js/semantic-ui/components/sticky.min.js +6 -6
  179. package/assets/js/semantic-ui/components/tab.css +16 -20
  180. package/assets/js/semantic-ui/components/tab.js +896 -941
  181. package/assets/js/semantic-ui/components/tab.min.css +4 -4
  182. package/assets/js/semantic-ui/components/tab.min.js +6 -6
  183. package/assets/js/semantic-ui/components/table.css +2073 -884
  184. package/assets/js/semantic-ui/components/table.min.css +4 -4
  185. package/assets/js/semantic-ui/components/text.css +51 -30
  186. package/assets/js/semantic-ui/components/text.min.css +4 -4
  187. package/assets/js/semantic-ui/components/toast.css +200 -137
  188. package/assets/js/semantic-ui/components/toast.js +912 -832
  189. package/assets/js/semantic-ui/components/toast.min.css +4 -4
  190. package/assets/js/semantic-ui/components/toast.min.js +6 -6
  191. package/assets/js/semantic-ui/components/transition.css +371 -1282
  192. package/assets/js/semantic-ui/components/transition.js +999 -1074
  193. package/assets/js/semantic-ui/components/transition.min.css +4 -4
  194. package/assets/js/semantic-ui/components/transition.min.js +6 -6
  195. package/assets/js/semantic-ui/components/visibility.js +1215 -1247
  196. package/assets/js/semantic-ui/components/visibility.min.js +6 -6
  197. package/assets/js/semantic-ui/semantic.css +43777 -37429
  198. package/assets/js/semantic-ui/semantic.js +29152 -26694
  199. package/assets/js/semantic-ui/semantic.min.css +6 -399
  200. package/assets/js/semantic-ui/semantic.min.js +6 -6
  201. package/assets/js/semantic-ui/themes/basic/assets/fonts/icons.woff2 +0 -0
  202. package/assets/js/semantic-ui/themes/default/assets/fonts/Lato-Bold.woff +0 -0
  203. package/assets/js/semantic-ui/themes/default/assets/fonts/Lato-Bold.woff2 +0 -0
  204. package/assets/js/semantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff +0 -0
  205. package/assets/js/semantic-ui/themes/default/assets/fonts/Lato-BoldItalic.woff2 +0 -0
  206. package/assets/js/semantic-ui/themes/default/assets/fonts/Lato-Italic.woff +0 -0
  207. package/assets/js/semantic-ui/themes/default/assets/fonts/Lato-Italic.woff2 +0 -0
  208. package/assets/js/semantic-ui/themes/default/assets/fonts/Lato-Regular.woff +0 -0
  209. package/assets/js/semantic-ui/themes/default/assets/fonts/Lato-Regular.woff2 +0 -0
  210. package/assets/js/semantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff +0 -0
  211. package/assets/js/semantic-ui/themes/default/assets/fonts/LatoLatin-Bold.woff2 +0 -0
  212. package/assets/js/semantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff +0 -0
  213. package/assets/js/semantic-ui/themes/default/assets/fonts/LatoLatin-BoldItalic.woff2 +0 -0
  214. package/assets/js/semantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff +0 -0
  215. package/assets/js/semantic-ui/themes/default/assets/fonts/LatoLatin-Italic.woff2 +0 -0
  216. package/assets/js/semantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff +0 -0
  217. package/assets/js/semantic-ui/themes/default/assets/fonts/LatoLatin-Regular.woff2 +0 -0
  218. package/assets/js/semantic-ui/themes/default/assets/fonts/brand-icons.woff +0 -0
  219. package/assets/js/semantic-ui/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  220. package/assets/js/semantic-ui/themes/default/assets/fonts/icons.woff +0 -0
  221. package/assets/js/semantic-ui/themes/default/assets/fonts/icons.woff2 +0 -0
  222. package/assets/js/semantic-ui/themes/default/assets/fonts/outline-icons.woff +0 -0
  223. package/assets/js/semantic-ui/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  224. package/assets/js/semantic-ui/themes/famfamfam/assets/images/flags.png +0 -0
  225. package/assets/js/semantic-ui/themes/github/assets/fonts/octicons.woff2 +0 -0
  226. package/assets/js/socket.io/socket.io.esm.min.js +3 -3
  227. package/assets/js/socket.io/socket.io.esm.min.js.map +1 -1
  228. package/assets/js/socket.io/socket.io.js +841 -333
  229. package/assets/js/socket.io/socket.io.js.map +1 -1
  230. package/assets/js/socket.io/socket.io.min.js +3 -3
  231. package/assets/js/socket.io/socket.io.min.js.map +1 -1
  232. package/assets/js/socket.io/socket.io.msgpack.min.js +3 -3
  233. package/assets/js/socket.io/socket.io.msgpack.min.js.map +1 -1
  234. package/cdn.json +19 -4
  235. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @popperjs/core v2.11.6 - MIT License
2
+ * @popperjs/core v2.11.8 - MIT License
3
3
  */
4
4
 
5
5
  'use strict';
@@ -46,7 +46,7 @@ var round = Math.round;
46
46
  function getUAString() {
47
47
  var uaData = navigator.userAgentData;
48
48
 
49
- if (uaData != null && uaData.brands) {
49
+ if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) {
50
50
  return uaData.brands.map(function (item) {
51
51
  return item.brand + "/" + item.version;
52
52
  }).join(' ');
@@ -442,112 +442,6 @@ function debounce(fn) {
442
442
  };
443
443
  }
444
444
 
445
- function format(str) {
446
- for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
447
- args[_key - 1] = arguments[_key];
448
- }
449
-
450
- return [].concat(args).reduce(function (p, c) {
451
- return p.replace(/%s/, c);
452
- }, str);
453
- }
454
-
455
- var INVALID_MODIFIER_ERROR = 'Popper: modifier "%s" provided an invalid %s property, expected %s but got %s';
456
- var MISSING_DEPENDENCY_ERROR = 'Popper: modifier "%s" requires "%s", but "%s" modifier is not available';
457
- var VALID_PROPERTIES = ['name', 'enabled', 'phase', 'fn', 'effect', 'requires', 'options'];
458
- function validateModifiers(modifiers) {
459
- modifiers.forEach(function (modifier) {
460
- [].concat(Object.keys(modifier), VALID_PROPERTIES) // IE11-compatible replacement for `new Set(iterable)`
461
- .filter(function (value, index, self) {
462
- return self.indexOf(value) === index;
463
- }).forEach(function (key) {
464
- switch (key) {
465
- case 'name':
466
- if (typeof modifier.name !== 'string') {
467
- console.error(format(INVALID_MODIFIER_ERROR, String(modifier.name), '"name"', '"string"', "\"" + String(modifier.name) + "\""));
468
- }
469
-
470
- break;
471
-
472
- case 'enabled':
473
- if (typeof modifier.enabled !== 'boolean') {
474
- console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"enabled"', '"boolean"', "\"" + String(modifier.enabled) + "\""));
475
- }
476
-
477
- break;
478
-
479
- case 'phase':
480
- if (modifierPhases.indexOf(modifier.phase) < 0) {
481
- console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"phase"', "either " + modifierPhases.join(', '), "\"" + String(modifier.phase) + "\""));
482
- }
483
-
484
- break;
485
-
486
- case 'fn':
487
- if (typeof modifier.fn !== 'function') {
488
- console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"fn"', '"function"', "\"" + String(modifier.fn) + "\""));
489
- }
490
-
491
- break;
492
-
493
- case 'effect':
494
- if (modifier.effect != null && typeof modifier.effect !== 'function') {
495
- console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"effect"', '"function"', "\"" + String(modifier.fn) + "\""));
496
- }
497
-
498
- break;
499
-
500
- case 'requires':
501
- if (modifier.requires != null && !Array.isArray(modifier.requires)) {
502
- console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requires"', '"array"', "\"" + String(modifier.requires) + "\""));
503
- }
504
-
505
- break;
506
-
507
- case 'requiresIfExists':
508
- if (!Array.isArray(modifier.requiresIfExists)) {
509
- console.error(format(INVALID_MODIFIER_ERROR, modifier.name, '"requiresIfExists"', '"array"', "\"" + String(modifier.requiresIfExists) + "\""));
510
- }
511
-
512
- break;
513
-
514
- case 'options':
515
- case 'data':
516
- break;
517
-
518
- default:
519
- console.error("PopperJS: an invalid property has been provided to the \"" + modifier.name + "\" modifier, valid properties are " + VALID_PROPERTIES.map(function (s) {
520
- return "\"" + s + "\"";
521
- }).join(', ') + "; but \"" + key + "\" was provided.");
522
- }
523
-
524
- modifier.requires && modifier.requires.forEach(function (requirement) {
525
- if (modifiers.find(function (mod) {
526
- return mod.name === requirement;
527
- }) == null) {
528
- console.error(format(MISSING_DEPENDENCY_ERROR, String(modifier.name), requirement, requirement));
529
- }
530
- });
531
- });
532
- });
533
- }
534
-
535
- function uniqueBy(arr, fn) {
536
- var identifiers = new Set();
537
- return arr.filter(function (item) {
538
- var identifier = fn(item);
539
-
540
- if (!identifiers.has(identifier)) {
541
- identifiers.add(identifier);
542
- return true;
543
- }
544
- });
545
- }
546
-
547
- function getBasePlacement(placement) {
548
- return placement.split('-')[0];
549
- }
550
-
551
445
  function mergeByName(modifiers) {
552
446
  var merged = modifiers.reduce(function (merged, current) {
553
447
  var existing = merged[current.name];
@@ -704,6 +598,10 @@ function getClippingRect(element, boundary, rootBoundary, strategy) {
704
598
  return clippingRect;
705
599
  }
706
600
 
601
+ function getBasePlacement(placement) {
602
+ return placement.split('-')[0];
603
+ }
604
+
707
605
  function getVariation(placement) {
708
606
  return placement.split('-')[1];
709
607
  }
@@ -853,8 +751,6 @@ function detectOverflow(state, options) {
853
751
  return overflowOffsets;
854
752
  }
855
753
 
856
- var INVALID_ELEMENT_ERROR = 'Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.';
857
- var INFINITE_LOOP_ERROR = 'Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.';
858
754
  var DEFAULT_OPTIONS = {
859
755
  placement: 'bottom',
860
756
  modifiers: [],
@@ -916,42 +812,7 @@ function popperGenerator(generatorOptions) {
916
812
 
917
813
  state.orderedModifiers = orderedModifiers.filter(function (m) {
918
814
  return m.enabled;
919
- }); // Validate the provided modifiers so that the consumer will get warned
920
- // if one of the modifiers is invalid for any reason
921
-
922
- if (process.env.NODE_ENV !== "production") {
923
- var modifiers = uniqueBy([].concat(orderedModifiers, state.options.modifiers), function (_ref) {
924
- var name = _ref.name;
925
- return name;
926
- });
927
- validateModifiers(modifiers);
928
-
929
- if (getBasePlacement(state.options.placement) === auto) {
930
- var flipModifier = state.orderedModifiers.find(function (_ref2) {
931
- var name = _ref2.name;
932
- return name === 'flip';
933
- });
934
-
935
- if (!flipModifier) {
936
- console.error(['Popper: "auto" placements require the "flip" modifier be', 'present and enabled to work.'].join(' '));
937
- }
938
- }
939
-
940
- var _getComputedStyle = getComputedStyle(popper),
941
- marginTop = _getComputedStyle.marginTop,
942
- marginRight = _getComputedStyle.marginRight,
943
- marginBottom = _getComputedStyle.marginBottom,
944
- marginLeft = _getComputedStyle.marginLeft; // We no longer take into account `margins` on the popper, and it can
945
- // cause bugs with positioning, so we'll warn the consumer
946
-
947
-
948
- if ([marginTop, marginRight, marginBottom, marginLeft].some(function (margin) {
949
- return parseFloat(margin);
950
- })) {
951
- console.warn(['Popper: CSS "margin" styles cannot be used to apply padding', 'between the popper and its reference element or boundary.', 'To replicate margin, use the `offset` modifier, as well as', 'the `padding` option in the `preventOverflow` and `flip`', 'modifiers.'].join(' '));
952
- }
953
- }
954
-
815
+ });
955
816
  runModifierEffects();
956
817
  return instance.update();
957
818
  },
@@ -971,10 +832,6 @@ function popperGenerator(generatorOptions) {
971
832
  // anymore
972
833
 
973
834
  if (!areValidElements(reference, popper)) {
974
- if (process.env.NODE_ENV !== "production") {
975
- console.error(INVALID_ELEMENT_ERROR);
976
- }
977
-
978
835
  return;
979
836
  } // Store the reference and popper rects to be read by modifiers
980
837
 
@@ -997,18 +854,8 @@ function popperGenerator(generatorOptions) {
997
854
  state.orderedModifiers.forEach(function (modifier) {
998
855
  return state.modifiersData[modifier.name] = Object.assign({}, modifier.data);
999
856
  });
1000
- var __debug_loops__ = 0;
1001
857
 
1002
858
  for (var index = 0; index < state.orderedModifiers.length; index++) {
1003
- if (process.env.NODE_ENV !== "production") {
1004
- __debug_loops__ += 1;
1005
-
1006
- if (__debug_loops__ > 100) {
1007
- console.error(INFINITE_LOOP_ERROR);
1008
- break;
1009
- }
1010
- }
1011
-
1012
859
  if (state.reset === true) {
1013
860
  state.reset = false;
1014
861
  index = -1;
@@ -1046,10 +893,6 @@ function popperGenerator(generatorOptions) {
1046
893
  };
1047
894
 
1048
895
  if (!areValidElements(reference, popper)) {
1049
- if (process.env.NODE_ENV !== "production") {
1050
- console.error(INVALID_ELEMENT_ERROR);
1051
- }
1052
-
1053
896
  return instance;
1054
897
  }
1055
898
 
@@ -1064,11 +907,11 @@ function popperGenerator(generatorOptions) {
1064
907
  // one.
1065
908
 
1066
909
  function runModifierEffects() {
1067
- state.orderedModifiers.forEach(function (_ref3) {
1068
- var name = _ref3.name,
1069
- _ref3$options = _ref3.options,
1070
- options = _ref3$options === void 0 ? {} : _ref3$options,
1071
- effect = _ref3.effect;
910
+ state.orderedModifiers.forEach(function (_ref) {
911
+ var name = _ref.name,
912
+ _ref$options = _ref.options,
913
+ options = _ref$options === void 0 ? {} : _ref$options,
914
+ effect = _ref.effect;
1072
915
 
1073
916
  if (typeof effect === 'function') {
1074
917
  var cleanupFn = effect({
@@ -1177,10 +1020,9 @@ var unsetSides = {
1177
1020
  // Zooming can change the DPR, but it seems to report a value that will
1178
1021
  // cleanly divide the values into the appropriate subpixels.
1179
1022
 
1180
- function roundOffsetsByDPR(_ref) {
1023
+ function roundOffsetsByDPR(_ref, win) {
1181
1024
  var x = _ref.x,
1182
1025
  y = _ref.y;
1183
- var win = window;
1184
1026
  var dpr = win.devicePixelRatio || 1;
1185
1027
  return {
1186
1028
  x: round(x * dpr) / dpr || 0,
@@ -1263,7 +1105,7 @@ function mapToStyles(_ref2) {
1263
1105
  var _ref4 = roundOffsets === true ? roundOffsetsByDPR({
1264
1106
  x: x,
1265
1107
  y: y
1266
- }) : {
1108
+ }, getWindow(popper)) : {
1267
1109
  x: x,
1268
1110
  y: y
1269
1111
  };
@@ -1289,17 +1131,6 @@ function computeStyles(_ref5) {
1289
1131
  adaptive = _options$adaptive === void 0 ? true : _options$adaptive,
1290
1132
  _options$roundOffsets = options.roundOffsets,
1291
1133
  roundOffsets = _options$roundOffsets === void 0 ? true : _options$roundOffsets;
1292
-
1293
- if (process.env.NODE_ENV !== "production") {
1294
- var transitionProperty = getComputedStyle(state.elements.popper).transitionProperty || '';
1295
-
1296
- if (adaptive && ['transform', 'top', 'right', 'bottom', 'left'].some(function (property) {
1297
- return transitionProperty.indexOf(property) >= 0;
1298
- })) {
1299
- console.warn(['Popper: Detected CSS transitions on at least one of the following', 'CSS properties: "transform", "top", "right", "bottom", "left".', '\n\n', 'Disable the "computeStyles" modifier\'s `adaptive` option to allow', 'for smooth transitions, or remove these properties from the CSS', 'transition declaration on the popper element if only transitioning', 'opacity or background-color for example.', '\n\n', 'We recommend using the popper element as a wrapper around an inner', 'element that can have any CSS property transitioned for animations.'].join(' '));
1300
- }
1301
- }
1302
-
1303
1134
  var commonStyles = {
1304
1135
  placement: getBasePlacement(state.placement),
1305
1136
  variation: getVariation(state.placement),
@@ -1521,10 +1352,6 @@ function computeAutoPlacement(state, options) {
1521
1352
 
1522
1353
  if (allowedPlacements.length === 0) {
1523
1354
  allowedPlacements = placements$1;
1524
-
1525
- if (process.env.NODE_ENV !== "production") {
1526
- console.error(['Popper: The `allowedAutoPlacements` option did not allow any', 'placements. Ensure the `placement` option matches the variation', 'of the allowed placements.', 'For example, "auto" cannot be used to allow "bottom-start".', 'Use "auto-start" instead.'].join(' '));
1527
- }
1528
1355
  } // $FlowFixMe[incompatible-type]: Flow seems to have problems with two array unions...
1529
1356
 
1530
1357
 
@@ -1888,17 +1715,7 @@ function effect(_ref2) {
1888
1715
  }
1889
1716
  }
1890
1717
 
1891
- if (process.env.NODE_ENV !== "production") {
1892
- if (!isHTMLElement(arrowElement)) {
1893
- console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).', 'To use an SVG arrow, wrap it in an HTMLElement that will be used as', 'the arrow.'].join(' '));
1894
- }
1895
- }
1896
-
1897
1718
  if (!contains(state.elements.popper, arrowElement)) {
1898
- if (process.env.NODE_ENV !== "production") {
1899
- console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper', 'element.'].join(' '));
1900
- }
1901
-
1902
1719
  return;
1903
1720
  }
1904
1721