lookbook 2.3.0 → 2.3.9

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 (426) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +11 -11
  3. data/app/components/lookbook/button/component.html.erb +1 -1
  4. data/app/components/lookbook/button/component.js +10 -3
  5. data/app/components/lookbook/display_options/editor/component.html.erb +1 -1
  6. data/app/components/lookbook/filter/component.html.erb +2 -2
  7. data/app/components/lookbook/header/component.html.erb +1 -1
  8. data/app/components/lookbook/icon/component.html.erb +4 -2
  9. data/app/components/lookbook/icon/component.rb +0 -16
  10. data/app/components/lookbook/nav/entity/component.html.erb +3 -0
  11. data/app/components/lookbook/nav/item/component.js +8 -10
  12. data/app/components/lookbook/params/editor/component.rb +1 -1
  13. data/app/components/lookbook/params/field/component.rb +1 -1
  14. data/app/components/lookbook/tab_panels/component.rb +1 -1
  15. data/app/controllers/lookbook/previews_controller.rb +11 -7
  16. data/app/helpers/lookbook/application_helper.rb +10 -0
  17. data/app/views/layouts/lookbook/application.html.erb +98 -87
  18. data/app/views/layouts/lookbook/embed.html.erb +29 -17
  19. data/app/views/layouts/lookbook/skeleton.html.erb +2 -0
  20. data/app/views/lookbook/inspector/panels/_notes.html.erb +1 -1
  21. data/app/views/lookbook/previews/preview.html.erb +5 -1
  22. data/assets/js/app.js +7 -4
  23. data/assets/js/helpers/request.js +2 -2
  24. data/config/app.yml +3 -1
  25. data/lib/lookbook/engine.rb +32 -6
  26. data/lib/lookbook/preview_controller_actions.rb +7 -2
  27. data/lib/lookbook/reloaders.rb +6 -2
  28. data/lib/lookbook/stores/config_store.rb +4 -0
  29. data/lib/lookbook/support/errors/config_error.rb +1 -1
  30. data/lib/lookbook/support/errors/parser_error.rb +1 -1
  31. data/lib/lookbook/support/errors/preview_template_error.rb +1 -1
  32. data/lib/lookbook/support/errors/template_error.rb +1 -1
  33. data/lib/lookbook/support/store.rb +1 -1
  34. data/lib/lookbook/support/utils/utils.rb +1 -1
  35. data/lib/lookbook/tags/yard_tag.rb +1 -1
  36. data/lib/lookbook/version.rb +1 -1
  37. data/public/lookbook-assets/css/lookbook.css +52 -42
  38. data/public/lookbook-assets/css/lookbook.css.map +1 -1
  39. data/public/lookbook-assets/css/themes/blue.css +0 -1
  40. data/public/lookbook-assets/css/themes/green.css +0 -1
  41. data/public/lookbook-assets/css/themes/indigo.css +0 -1
  42. data/public/lookbook-assets/css/themes/rose.css +0 -1
  43. data/public/lookbook-assets/css/themes/zinc.css +0 -1
  44. data/public/lookbook-assets/img/lucide-sprite.svg +1 -1
  45. data/public/lookbook-assets/js/iframe.js +193 -193
  46. data/public/lookbook-assets/js/index.js +680 -670
  47. data/public/lookbook-assets/js/index.js.map +1 -1
  48. data/public/lookbook-assets/js/lookbook-core.js +0 -37
  49. data/public/lookbook-assets/js/lookbook.js +252 -289
  50. metadata +5 -386
  51. data/assets/icons/activity-square.svg +0 -1
  52. data/assets/icons/ampersand.svg +0 -1
  53. data/assets/icons/ampersands.svg +0 -1
  54. data/assets/icons/antenna.svg +0 -1
  55. data/assets/icons/app-window.svg +0 -1
  56. data/assets/icons/archive-x.svg +0 -1
  57. data/assets/icons/area-chart.svg +0 -1
  58. data/assets/icons/arrow-big-down-dash.svg +0 -1
  59. data/assets/icons/arrow-big-left-dash.svg +0 -1
  60. data/assets/icons/arrow-big-right-dash.svg +0 -1
  61. data/assets/icons/arrow-big-up-dash.svg +0 -1
  62. data/assets/icons/arrow-down-0-1.svg +0 -1
  63. data/assets/icons/arrow-down-1-0.svg +0 -1
  64. data/assets/icons/arrow-down-a-z.svg +0 -1
  65. data/assets/icons/arrow-down-from-line.svg +0 -1
  66. data/assets/icons/arrow-down-left-from-circle.svg +0 -1
  67. data/assets/icons/arrow-down-left-square.svg +0 -1
  68. data/assets/icons/arrow-down-narrow-wide.svg +0 -1
  69. data/assets/icons/arrow-down-right-from-circle.svg +0 -1
  70. data/assets/icons/arrow-down-right-square.svg +0 -1
  71. data/assets/icons/arrow-down-square.svg +0 -1
  72. data/assets/icons/arrow-down-to-dot.svg +0 -1
  73. data/assets/icons/arrow-down-to-line.svg +0 -1
  74. data/assets/icons/arrow-down-up.svg +0 -1
  75. data/assets/icons/arrow-down-wide-narrow.svg +0 -1
  76. data/assets/icons/arrow-down-z-a.svg +0 -1
  77. data/assets/icons/arrow-left-from-line.svg +0 -1
  78. data/assets/icons/arrow-left-square.svg +0 -1
  79. data/assets/icons/arrow-left-to-line.svg +0 -1
  80. data/assets/icons/arrow-right-from-line.svg +0 -1
  81. data/assets/icons/arrow-right-left.svg +0 -1
  82. data/assets/icons/arrow-right-square.svg +0 -1
  83. data/assets/icons/arrow-right-to-line.svg +0 -1
  84. data/assets/icons/arrow-up-0-1.svg +0 -1
  85. data/assets/icons/arrow-up-1-0.svg +0 -1
  86. data/assets/icons/arrow-up-a-z.svg +0 -1
  87. data/assets/icons/arrow-up-from-dot.svg +0 -1
  88. data/assets/icons/arrow-up-from-line.svg +0 -1
  89. data/assets/icons/arrow-up-left-from-circle.svg +0 -1
  90. data/assets/icons/arrow-up-left-square.svg +0 -1
  91. data/assets/icons/arrow-up-narrow-wide.svg +0 -1
  92. data/assets/icons/arrow-up-right-from-circle.svg +0 -1
  93. data/assets/icons/arrow-up-right-square.svg +0 -1
  94. data/assets/icons/arrow-up-square.svg +0 -1
  95. data/assets/icons/arrow-up-to-line.svg +0 -1
  96. data/assets/icons/arrow-up-wide-narrow.svg +0 -1
  97. data/assets/icons/arrow-up-z-a.svg +0 -1
  98. data/assets/icons/arrows-up-from-line.svg +0 -1
  99. data/assets/icons/atom.svg +0 -1
  100. data/assets/icons/badge-alert.svg +0 -1
  101. data/assets/icons/badge-cent.svg +0 -1
  102. data/assets/icons/badge-check.svg +0 -1
  103. data/assets/icons/badge-dollar-sign.svg +0 -1
  104. data/assets/icons/badge-euro.svg +0 -1
  105. data/assets/icons/badge-help.svg +0 -1
  106. data/assets/icons/badge-indian-rupee.svg +0 -1
  107. data/assets/icons/badge-info.svg +0 -1
  108. data/assets/icons/badge-japanese-yen.svg +0 -1
  109. data/assets/icons/badge-minus.svg +0 -1
  110. data/assets/icons/badge-percent.svg +0 -1
  111. data/assets/icons/badge-plus.svg +0 -1
  112. data/assets/icons/badge-pound-sterling.svg +0 -1
  113. data/assets/icons/badge-russian-ruble.svg +0 -1
  114. data/assets/icons/badge-swiss-franc.svg +0 -1
  115. data/assets/icons/badge-x.svg +0 -1
  116. data/assets/icons/badge.svg +0 -1
  117. data/assets/icons/ban.svg +0 -1
  118. data/assets/icons/bar-chart-big.svg +0 -1
  119. data/assets/icons/bar-chart-horizontal-big.svg +0 -1
  120. data/assets/icons/bell-dot.svg +0 -1
  121. data/assets/icons/biohazard.svg +0 -1
  122. data/assets/icons/blocks.svg +0 -1
  123. data/assets/icons/book-copy.svg +0 -1
  124. data/assets/icons/book-down.svg +0 -1
  125. data/assets/icons/book-key.svg +0 -1
  126. data/assets/icons/book-lock.svg +0 -1
  127. data/assets/icons/book-marked.svg +0 -1
  128. data/assets/icons/book-minus.svg +0 -1
  129. data/assets/icons/book-plus.svg +0 -1
  130. data/assets/icons/book-template.svg +0 -1
  131. data/assets/icons/book-up-2.svg +0 -1
  132. data/assets/icons/book-up.svg +0 -1
  133. data/assets/icons/book-x.svg +0 -1
  134. data/assets/icons/bookmark-check.svg +0 -1
  135. data/assets/icons/bookmark-x.svg +0 -1
  136. data/assets/icons/boom-box.svg +0 -1
  137. data/assets/icons/braces.svg +0 -1
  138. data/assets/icons/brackets.svg +0 -1
  139. data/assets/icons/brain-circuit.svg +0 -1
  140. data/assets/icons/brain-cog.svg +0 -1
  141. data/assets/icons/brain.svg +0 -1
  142. data/assets/icons/bring-to-front.svg +0 -1
  143. data/assets/icons/bug-off.svg +0 -1
  144. data/assets/icons/bug-play.svg +0 -1
  145. data/assets/icons/bus-front.svg +0 -1
  146. data/assets/icons/cable-car.svg +0 -1
  147. data/assets/icons/cable.svg +0 -1
  148. data/assets/icons/cake-slice.svg +0 -1
  149. data/assets/icons/candlestick-chart.svg +0 -1
  150. data/assets/icons/candy-cane.svg +0 -1
  151. data/assets/icons/car-front.svg +0 -1
  152. data/assets/icons/car-taxi-front.svg +0 -1
  153. data/assets/icons/case-lower.svg +0 -1
  154. data/assets/icons/case-sensitive.svg +0 -1
  155. data/assets/icons/case-upper.svg +0 -1
  156. data/assets/icons/cassette-tape.svg +0 -1
  157. data/assets/icons/castle.svg +0 -1
  158. data/assets/icons/chevron-down-circle.svg +0 -1
  159. data/assets/icons/chevron-down-square.svg +0 -1
  160. data/assets/icons/chevron-left-circle.svg +0 -1
  161. data/assets/icons/chevron-left-square.svg +0 -1
  162. data/assets/icons/chevron-right-circle.svg +0 -1
  163. data/assets/icons/chevron-right-square.svg +0 -1
  164. data/assets/icons/chevron-up-circle.svg +0 -1
  165. data/assets/icons/chevron-up-square.svg +0 -1
  166. data/assets/icons/church.svg +0 -1
  167. data/assets/icons/circle-dashed.svg +0 -1
  168. data/assets/icons/circle-dollar-sign.svg +0 -1
  169. data/assets/icons/circle-dot-dashed.svg +0 -1
  170. data/assets/icons/circle-equal.svg +0 -1
  171. data/assets/icons/circle-off.svg +0 -1
  172. data/assets/icons/circle-slash-2.svg +0 -1
  173. data/assets/icons/circle-slash.svg +0 -1
  174. data/assets/icons/circuit-board.svg +0 -1
  175. data/assets/icons/clipboard-paste.svg +0 -1
  176. data/assets/icons/club.svg +0 -1
  177. data/assets/icons/combine.svg +0 -1
  178. data/assets/icons/computer.svg +0 -1
  179. data/assets/icons/contact-2.svg +0 -1
  180. data/assets/icons/container.svg +0 -1
  181. data/assets/icons/copy-check.svg +0 -1
  182. data/assets/icons/copy-minus.svg +0 -1
  183. data/assets/icons/copy-plus.svg +0 -1
  184. data/assets/icons/copy-slash.svg +0 -1
  185. data/assets/icons/copy-x.svg +0 -1
  186. data/assets/icons/database-zap.svg +0 -1
  187. data/assets/icons/dessert.svg +0 -1
  188. data/assets/icons/disc-2.svg +0 -1
  189. data/assets/icons/disc-3.svg +0 -1
  190. data/assets/icons/donut.svg +0 -1
  191. data/assets/icons/door-closed.svg +0 -1
  192. data/assets/icons/door-open.svg +0 -1
  193. data/assets/icons/dot.svg +0 -1
  194. data/assets/icons/drama.svg +0 -1
  195. data/assets/icons/ferris-wheel.svg +0 -1
  196. data/assets/icons/file-code-2.svg +0 -1
  197. data/assets/icons/file-stack.svg +0 -1
  198. data/assets/icons/fish-symbol.svg +0 -1
  199. data/assets/icons/fold-horizontal.svg +0 -1
  200. data/assets/icons/fold-vertical.svg +0 -1
  201. data/assets/icons/folder-dot.svg +0 -1
  202. data/assets/icons/folder-git-2.svg +0 -1
  203. data/assets/icons/folder-git.svg +0 -1
  204. data/assets/icons/folder-kanban.svg +0 -1
  205. data/assets/icons/folder-open-dot.svg +0 -1
  206. data/assets/icons/folder-root.svg +0 -1
  207. data/assets/icons/folder-sync.svg +0 -1
  208. data/assets/icons/gallery-horizontal-end.svg +0 -1
  209. data/assets/icons/gallery-horizontal.svg +0 -1
  210. data/assets/icons/gallery-thumbnails.svg +0 -1
  211. data/assets/icons/gallery-vertical-end.svg +0 -1
  212. data/assets/icons/gallery-vertical.svg +0 -1
  213. data/assets/icons/gantt-chart-square.svg +0 -1
  214. data/assets/icons/gantt-chart.svg +0 -1
  215. data/assets/icons/gauge-circle.svg +0 -1
  216. data/assets/icons/goal.svg +0 -1
  217. data/assets/icons/grid-2x2.svg +0 -1
  218. data/assets/icons/grid-3x3.svg +0 -1
  219. data/assets/icons/group.svg +0 -1
  220. data/assets/icons/hard-drive-download.svg +0 -1
  221. data/assets/icons/hard-drive-upload.svg +0 -1
  222. data/assets/icons/hdmi-port.svg +0 -1
  223. data/assets/icons/hotel.svg +0 -1
  224. data/assets/icons/iteration-ccw.svg +0 -1
  225. data/assets/icons/iteration-cw.svg +0 -1
  226. data/assets/icons/kanban-square-dashed.svg +0 -1
  227. data/assets/icons/kanban-square.svg +0 -1
  228. data/assets/icons/kanban.svg +0 -1
  229. data/assets/icons/key-round.svg +0 -1
  230. data/assets/icons/key-square.svg +0 -1
  231. data/assets/icons/layout-panel-left.svg +0 -1
  232. data/assets/icons/layout-panel-top.svg +0 -1
  233. data/assets/icons/leafy-green.svg +0 -1
  234. data/assets/icons/ligature.svg +0 -1
  235. data/assets/icons/list-filter.svg +0 -1
  236. data/assets/icons/list-restart.svg +0 -1
  237. data/assets/icons/list-todo.svg +0 -1
  238. data/assets/icons/list-tree.svg +0 -1
  239. data/assets/icons/lollipop.svg +0 -1
  240. data/assets/icons/m-square.svg +0 -1
  241. data/assets/icons/mailbox.svg +0 -1
  242. data/assets/icons/memory-stick.svg +0 -1
  243. data/assets/icons/menu-square.svg +0 -1
  244. data/assets/icons/merge.svg +0 -1
  245. data/assets/icons/message-square-dashed.svg +0 -1
  246. data/assets/icons/message-square-plus.svg +0 -1
  247. data/assets/icons/messages-square.svg +0 -1
  248. data/assets/icons/monitor-check.svg +0 -1
  249. data/assets/icons/monitor-dot.svg +0 -1
  250. data/assets/icons/monitor-down.svg +0 -1
  251. data/assets/icons/monitor-pause.svg +0 -1
  252. data/assets/icons/monitor-play.svg +0 -1
  253. data/assets/icons/monitor-stop.svg +0 -1
  254. data/assets/icons/monitor-up.svg +0 -1
  255. data/assets/icons/monitor-x.svg +0 -1
  256. data/assets/icons/moon-star.svg +0 -1
  257. data/assets/icons/mouse-pointer-square-dashed.svg +0 -1
  258. data/assets/icons/mouse-pointer-square.svg +0 -1
  259. data/assets/icons/move-down-left.svg +0 -1
  260. data/assets/icons/move-down-right.svg +0 -1
  261. data/assets/icons/move-down.svg +0 -1
  262. data/assets/icons/move-left.svg +0 -1
  263. data/assets/icons/move-right.svg +0 -1
  264. data/assets/icons/move-up-left.svg +0 -1
  265. data/assets/icons/move-up-right.svg +0 -1
  266. data/assets/icons/move-up.svg +0 -1
  267. data/assets/icons/orbit.svg +0 -1
  268. data/assets/icons/panel-bottom-close.svg +0 -1
  269. data/assets/icons/panel-bottom-inactive.svg +0 -1
  270. data/assets/icons/panel-bottom-open.svg +0 -1
  271. data/assets/icons/panel-bottom.svg +0 -1
  272. data/assets/icons/panel-left-close.svg +0 -1
  273. data/assets/icons/panel-left-inactive.svg +0 -1
  274. data/assets/icons/panel-left-open.svg +0 -1
  275. data/assets/icons/panel-left.svg +0 -1
  276. data/assets/icons/panel-right-close.svg +0 -1
  277. data/assets/icons/panel-right-inactive.svg +0 -1
  278. data/assets/icons/panel-right-open.svg +0 -1
  279. data/assets/icons/panel-right.svg +0 -1
  280. data/assets/icons/panel-top-close.svg +0 -1
  281. data/assets/icons/panel-top-inactive.svg +0 -1
  282. data/assets/icons/panel-top-open.svg +0 -1
  283. data/assets/icons/panel-top.svg +0 -1
  284. data/assets/icons/parentheses.svg +0 -1
  285. data/assets/icons/parking-circle-off.svg +0 -1
  286. data/assets/icons/parking-circle.svg +0 -1
  287. data/assets/icons/parking-meter.svg +0 -1
  288. data/assets/icons/parking-square-off.svg +0 -1
  289. data/assets/icons/parking-square.svg +0 -1
  290. data/assets/icons/paw-print.svg +0 -1
  291. data/assets/icons/pc-case.svg +0 -1
  292. data/assets/icons/pen-line.svg +0 -1
  293. data/assets/icons/pen-square.svg +0 -1
  294. data/assets/icons/pen.svg +0 -1
  295. data/assets/icons/pencil-line.svg +0 -1
  296. data/assets/icons/pencil-ruler.svg +0 -1
  297. data/assets/icons/percent-circle.svg +0 -1
  298. data/assets/icons/percent-diamond.svg +0 -1
  299. data/assets/icons/percent-square.svg +0 -1
  300. data/assets/icons/pi-square.svg +0 -1
  301. data/assets/icons/pi.svg +0 -1
  302. data/assets/icons/pilcrow-square.svg +0 -1
  303. data/assets/icons/plane-landing.svg +0 -1
  304. data/assets/icons/plane-takeoff.svg +0 -1
  305. data/assets/icons/play-square.svg +0 -1
  306. data/assets/icons/plug-zap-2.svg +0 -1
  307. data/assets/icons/pocket-knife.svg +0 -1
  308. data/assets/icons/popcorn.svg +0 -1
  309. data/assets/icons/popsicle.svg +0 -1
  310. data/assets/icons/presentation.svg +0 -1
  311. data/assets/icons/projector.svg +0 -1
  312. data/assets/icons/rabbit.svg +0 -1
  313. data/assets/icons/radar.svg +0 -1
  314. data/assets/icons/radiation.svg +0 -1
  315. data/assets/icons/radio-tower.svg +0 -1
  316. data/assets/icons/rail-symbol.svg +0 -1
  317. data/assets/icons/rainbow.svg +0 -1
  318. data/assets/icons/rat.svg +0 -1
  319. data/assets/icons/ratio.svg +0 -1
  320. data/assets/icons/receipt.svg +0 -1
  321. data/assets/icons/redo-dot.svg +0 -1
  322. data/assets/icons/refresh-ccw-dot.svg +0 -1
  323. data/assets/icons/refresh-cw-off.svg +0 -1
  324. data/assets/icons/repeat-2.svg +0 -1
  325. data/assets/icons/replace-all.svg +0 -1
  326. data/assets/icons/replace.svg +0 -1
  327. data/assets/icons/roller-coaster.svg +0 -1
  328. data/assets/icons/rows.svg +0 -1
  329. data/assets/icons/satellite-dish.svg +0 -1
  330. data/assets/icons/satellite.svg +0 -1
  331. data/assets/icons/save-all.svg +0 -1
  332. data/assets/icons/scatter-chart.svg +0 -1
  333. data/assets/icons/school-2.svg +0 -1
  334. data/assets/icons/school.svg +0 -1
  335. data/assets/icons/scissors-line-dashed.svg +0 -1
  336. data/assets/icons/scissors-square-dashed-bottom.svg +0 -1
  337. data/assets/icons/scissors-square.svg +0 -1
  338. data/assets/icons/scroll-text.svg +0 -1
  339. data/assets/icons/search-check.svg +0 -1
  340. data/assets/icons/search-code.svg +0 -1
  341. data/assets/icons/search-slash.svg +0 -1
  342. data/assets/icons/search-x.svg +0 -1
  343. data/assets/icons/send-horizontal.svg +0 -1
  344. data/assets/icons/send-to-back.svg +0 -1
  345. data/assets/icons/shapes.svg +0 -1
  346. data/assets/icons/shell.svg +0 -1
  347. data/assets/icons/shield-ban.svg +0 -1
  348. data/assets/icons/shield-ellipsis.svg +0 -1
  349. data/assets/icons/shield-half.svg +0 -1
  350. data/assets/icons/shield-minus.svg +0 -1
  351. data/assets/icons/shield-plus.svg +0 -1
  352. data/assets/icons/shield-question.svg +0 -1
  353. data/assets/icons/shield-x.svg +0 -1
  354. data/assets/icons/ship-wheel.svg +0 -1
  355. data/assets/icons/shopping-basket.svg +0 -1
  356. data/assets/icons/sigma-square.svg +0 -1
  357. data/assets/icons/snail.svg +0 -1
  358. data/assets/icons/space.svg +0 -1
  359. data/assets/icons/spade.svg +0 -1
  360. data/assets/icons/sparkle.svg +0 -1
  361. data/assets/icons/sparkles.svg +0 -1
  362. data/assets/icons/speech.svg +0 -1
  363. data/assets/icons/spell-check-2.svg +0 -1
  364. data/assets/icons/spell-check.svg +0 -1
  365. data/assets/icons/split.svg +0 -1
  366. data/assets/icons/spray-can.svg +0 -1
  367. data/assets/icons/square-asterisk.svg +0 -1
  368. data/assets/icons/square-code.svg +0 -1
  369. data/assets/icons/square-dashed-bottom-code.svg +0 -1
  370. data/assets/icons/square-dashed-bottom.svg +0 -1
  371. data/assets/icons/square-dot.svg +0 -1
  372. data/assets/icons/square-equal.svg +0 -1
  373. data/assets/icons/square-slash.svg +0 -1
  374. data/assets/icons/square-stack.svg +0 -1
  375. data/assets/icons/squirrel.svg +0 -1
  376. data/assets/icons/step-back.svg +0 -1
  377. data/assets/icons/step-forward.svg +0 -1
  378. data/assets/icons/store.svg +0 -1
  379. data/assets/icons/table-properties.svg +0 -1
  380. data/assets/icons/tablet-smartphone.svg +0 -1
  381. data/assets/icons/tally-1.svg +0 -1
  382. data/assets/icons/tally-2.svg +0 -1
  383. data/assets/icons/tally-3.svg +0 -1
  384. data/assets/icons/tally-4.svg +0 -1
  385. data/assets/icons/tally-5.svg +0 -1
  386. data/assets/icons/test-tube-2.svg +0 -1
  387. data/assets/icons/test-tube.svg +0 -1
  388. data/assets/icons/test-tubes.svg +0 -1
  389. data/assets/icons/text-quote.svg +0 -1
  390. data/assets/icons/text-select.svg +0 -1
  391. data/assets/icons/text.svg +0 -1
  392. data/assets/icons/theater.svg +0 -1
  393. data/assets/icons/touchpad-off.svg +0 -1
  394. data/assets/icons/touchpad.svg +0 -1
  395. data/assets/icons/tractor.svg +0 -1
  396. data/assets/icons/traffic-cone.svg +0 -1
  397. data/assets/icons/train-front-tunnel.svg +0 -1
  398. data/assets/icons/train-front.svg +0 -1
  399. data/assets/icons/train-track.svg +0 -1
  400. data/assets/icons/tram-front.svg +0 -1
  401. data/assets/icons/triangle-right.svg +0 -1
  402. data/assets/icons/turtle.svg +0 -1
  403. data/assets/icons/undo-dot.svg +0 -1
  404. data/assets/icons/unfold-horizontal.svg +0 -1
  405. data/assets/icons/unfold-vertical.svg +0 -1
  406. data/assets/icons/ungroup.svg +0 -1
  407. data/assets/icons/unplug.svg +0 -1
  408. data/assets/icons/user-2.svg +0 -1
  409. data/assets/icons/user-check-2.svg +0 -1
  410. data/assets/icons/user-circle-2.svg +0 -1
  411. data/assets/icons/user-circle.svg +0 -1
  412. data/assets/icons/user-cog-2.svg +0 -1
  413. data/assets/icons/user-minus-2.svg +0 -1
  414. data/assets/icons/user-plus-2.svg +0 -1
  415. data/assets/icons/user-square-2.svg +0 -1
  416. data/assets/icons/user-square.svg +0 -1
  417. data/assets/icons/user-x-2.svg +0 -1
  418. data/assets/icons/users-2.svg +0 -1
  419. data/assets/icons/variable.svg +0 -1
  420. data/assets/icons/videotape.svg +0 -1
  421. data/assets/icons/wallet-2.svg +0 -1
  422. data/assets/icons/wallet-cards.svg +0 -1
  423. data/assets/icons/wallpaper.svg +0 -1
  424. data/assets/icons/warehouse.svg +0 -1
  425. data/assets/icons/whole-word.svg +0 -1
  426. data/assets/icons/workflow.svg +0 -1
@@ -4930,7 +4930,7 @@ var $69a8ec8dbeef3157$var$require_tippy_cjs = $69a8ec8dbeef3157$var$__commonJS((
4930
4930
  return value.replace(spacesAndTabs, " ").replace(lineStartWithSpaces, "").trim();
4931
4931
  }
4932
4932
  function getDevMessage(message) {
4933
- return clean("\n %ctippy.js\n\n %c" + clean(message) + "\n\n %c\uD83D\uDC77\u200D This is a development-only message. It will be removed in production.\n ");
4933
+ return clean("\n %ctippy.js\n\n %c" + clean(message) + "\n\n %c\u{1F477}\u200D This is a development-only message. It will be removed in production.\n ");
4934
4934
  }
4935
4935
  function getFormattedMessage(message) {
4936
4936
  return [
@@ -6596,7 +6596,7 @@ var $5267f0d63de538ba$exports = {};
6596
6596
  * Licensed under the MIT license.
6597
6597
  */ (function(root, definition) {
6598
6598
  "use strict";
6599
- if (typeof define === "function" && define.amd) define(definition);
6599
+ if (typeof define === 'function' && define.amd) define(definition);
6600
6600
  else if (0, $5267f0d63de538ba$exports) $5267f0d63de538ba$exports = definition();
6601
6601
  else root.log = definition();
6602
6602
  })($5267f0d63de538ba$exports, function() {
@@ -6617,7 +6617,7 @@ var $5267f0d63de538ba$exports = {};
6617
6617
  // Cross-browser bind equivalent that works at least back to IE6
6618
6618
  function bindMethod(obj, methodName) {
6619
6619
  var method = obj[methodName];
6620
- if (typeof method.bind === "function") return method.bind(obj);
6620
+ if (typeof method.bind === 'function') return method.bind(obj);
6621
6621
  else try {
6622
6622
  return Function.prototype.bind.call(method, obj);
6623
6623
  } catch (e) {
@@ -6645,11 +6645,11 @@ var $5267f0d63de538ba$exports = {};
6645
6645
  // Build the best logging method possible for this env
6646
6646
  // Wherever possible we want to bind, not wrap, to preserve stack traces
6647
6647
  function realMethod(methodName) {
6648
- if (methodName === "debug") methodName = "log";
6648
+ if (methodName === 'debug') methodName = 'log';
6649
6649
  if (typeof console === undefinedType) return false; // No method possible, for now - fixed later by enableLoggingWhenConsoleArrives
6650
- else if (methodName === "trace" && isIE) return traceForIE;
6650
+ else if (methodName === 'trace' && isIE) return traceForIE;
6651
6651
  else if (console[methodName] !== undefined) return bindMethod(console, methodName);
6652
- else if (console.log !== undefined) return bindMethod(console, "log");
6652
+ else if (console.log !== undefined) return bindMethod(console, 'log');
6653
6653
  else return noop;
6654
6654
  }
6655
6655
  // These private functions always need `this` to be set properly
@@ -6705,7 +6705,7 @@ var $5267f0d63de538ba$exports = {};
6705
6705
  if (typeof name === "string") storageKey += ":" + name;
6706
6706
  else if (typeof name === "symbol") storageKey = undefined;
6707
6707
  function persistLevelIfPossible(levelNum) {
6708
- var levelName = (logMethods[levelNum] || "silent").toUpperCase();
6708
+ var levelName = (logMethods[levelNum] || 'silent').toUpperCase();
6709
6709
  if (typeof window === undefinedType || !storageKey) return;
6710
6710
  // Use localStorage if available
6711
6711
  try {
@@ -6823,18 +6823,18 @@ var $5267f0d63de538ba$exports = {};
6823
6823
  return _loggersByName;
6824
6824
  };
6825
6825
  // ES6 default export, for compatibility
6826
- defaultLogger["default"] = defaultLogger;
6826
+ defaultLogger['default'] = defaultLogger;
6827
6827
  return defaultLogger;
6828
6828
  });
6829
6829
 
6830
6830
 
6831
6831
  var $1ffebed09abdb92f$exports = {};
6832
6832
  (function(root, factory) {
6833
- if (typeof define === "function" && define.amd) define(factory);
6833
+ if (typeof define === 'function' && define.amd) define(factory);
6834
6834
  else if (0, $1ffebed09abdb92f$exports) $1ffebed09abdb92f$exports = factory();
6835
6835
  else root.prefix = factory(root);
6836
6836
  })($1ffebed09abdb92f$exports, function(root) {
6837
- "use strict";
6837
+ 'use strict';
6838
6838
  var merge = function(target) {
6839
6839
  var i = 1;
6840
6840
  var length = arguments.length;
@@ -6845,37 +6845,37 @@ var $1ffebed09abdb92f$exports = {};
6845
6845
  return target;
6846
6846
  };
6847
6847
  var defaults = {
6848
- template: "[%t] %l:",
6848
+ template: '[%t] %l:',
6849
6849
  levelFormatter: function(level) {
6850
6850
  return level.toUpperCase();
6851
6851
  },
6852
6852
  nameFormatter: function(name) {
6853
- return name || "root";
6853
+ return name || 'root';
6854
6854
  },
6855
6855
  timestampFormatter: function(date) {
6856
- return date.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, "$1");
6856
+ return date.toTimeString().replace(/.*(\d{2}:\d{2}:\d{2}).*/, '$1');
6857
6857
  },
6858
6858
  format: undefined
6859
6859
  };
6860
6860
  var loglevel;
6861
6861
  var configs = {};
6862
6862
  var reg = function(rootLogger) {
6863
- if (!rootLogger || !rootLogger.getLogger) throw new TypeError("Argument is not a root logger");
6863
+ if (!rootLogger || !rootLogger.getLogger) throw new TypeError('Argument is not a root logger');
6864
6864
  loglevel = rootLogger;
6865
6865
  };
6866
6866
  var apply = function(logger, config) {
6867
- if (!logger || !logger.setLevel) throw new TypeError("Argument is not a logger");
6867
+ if (!logger || !logger.setLevel) throw new TypeError('Argument is not a logger');
6868
6868
  /* eslint-disable vars-on-top */ var originalFactory = logger.methodFactory;
6869
- var name = logger.name || "";
6870
- var parent = configs[name] || configs[""] || defaults;
6869
+ var name = logger.name || '';
6870
+ var parent = configs[name] || configs[''] || defaults;
6871
6871
  /* eslint-enable vars-on-top */ function methodFactory(methodName, logLevel, loggerName) {
6872
6872
  var originalMethod = originalFactory(methodName, logLevel, loggerName);
6873
- var options = configs[loggerName] || configs[""];
6874
- var hasTimestamp = options.template.indexOf("%t") !== -1;
6875
- var hasLevel = options.template.indexOf("%l") !== -1;
6876
- var hasName = options.template.indexOf("%n") !== -1;
6873
+ var options = configs[loggerName] || configs[''];
6874
+ var hasTimestamp = options.template.indexOf('%t') !== -1;
6875
+ var hasLevel = options.template.indexOf('%l') !== -1;
6876
+ var hasName = options.template.indexOf('%n') !== -1;
6877
6877
  return function() {
6878
- var content = "";
6878
+ var content = '';
6879
6879
  var length = arguments.length;
6880
6880
  var args = Array(length);
6881
6881
  var key = 0;
@@ -6892,8 +6892,8 @@ var $1ffebed09abdb92f$exports = {};
6892
6892
  if (hasLevel) content = content.replace(/%l/, level);
6893
6893
  if (hasName) content = content.replace(/%n/, lname);
6894
6894
  }
6895
- if (args.length && typeof args[0] === "string") // concat prefix with first argument to support string substitutions
6896
- args[0] = content + " " + args[0];
6895
+ if (args.length && typeof args[0] === 'string') // concat prefix with first argument to support string substitutions
6896
+ args[0] = content + ' ' + args[0];
6897
6897
  else args.unshift(content);
6898
6898
  }
6899
6899
  originalMethod.apply(undefined, args);
@@ -6905,7 +6905,7 @@ var $1ffebed09abdb92f$exports = {};
6905
6905
  if (config.template) config.format = undefined;
6906
6906
  configs[name] = merge({}, parent, config);
6907
6907
  logger.setLevel(logger.getLevel());
6908
- if (!loglevel) logger.warn("It is necessary to call the function reg() of loglevel-plugin-prefix before calling apply. From the next release, it will throw an error. See more: https://github.com/kutuluk/loglevel-plugin-prefix/blob/master/README.md");
6908
+ if (!loglevel) logger.warn('It is necessary to call the function reg() of loglevel-plugin-prefix before calling apply. From the next release, it will throw an error. See more: https://github.com/kutuluk/loglevel-plugin-prefix/blob/master/README.md');
6909
6909
  return logger;
6910
6910
  };
6911
6911
  var api = {
@@ -7760,11 +7760,14 @@ var $7d6b1fa982d8364d$exports = {};
7760
7760
  * `callback` is executed at the proper times in `throttle` and `end`
7761
7761
  * debounce modes.
7762
7762
  */ var timeoutID;
7763
- var cancelled = false; // Keep track of the last time `callback` was executed.
7764
- var lastExec = 0; // Function to clear existing timeout
7763
+ var cancelled = false;
7764
+ // Keep track of the last time `callback` was executed.
7765
+ var lastExec = 0;
7766
+ // Function to clear existing timeout
7765
7767
  function clearExistingTimeout() {
7766
7768
  if (timeoutID) clearTimeout(timeoutID);
7767
- } // Function to cancel next exec
7769
+ }
7770
+ // Function to cancel next exec
7768
7771
  function cancel(options) {
7769
7772
  var _ref2 = options || {}, _ref2$upcomingOnly = _ref2.upcomingOnly, upcomingOnly = _ref2$upcomingOnly === void 0 ? false : _ref2$upcomingOnly;
7770
7773
  clearExistingTimeout();
@@ -7779,7 +7782,7 @@ var $7d6b1fa982d8364d$exports = {};
7779
7782
  var self = this;
7780
7783
  var elapsed = Date.now() - lastExec;
7781
7784
  if (cancelled) return;
7782
- // Execute `callback` and update the `lastExec` timestamp.
7785
+ // Execute `callback` and update the `lastExec` timestamp.
7783
7786
  function exec() {
7784
7787
  lastExec = Date.now();
7785
7788
  callback.apply(self, arguments_);
@@ -7820,7 +7823,8 @@ var $7d6b1fa982d8364d$exports = {};
7820
7823
  * execute after `delay` ms.
7821
7824
  */ timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);
7822
7825
  }
7823
- wrapper.cancel = cancel; // Return the wrapper function.
7826
+ wrapper.cancel = cancel;
7827
+ // Return the wrapper function.
7824
7828
  return wrapper;
7825
7829
  }
7826
7830
  /* eslint-disable no-undefined */ /**
@@ -7898,8 +7902,8 @@ function $490552754c23ef6f$export$b98882f166bb7ce2(link) {
7898
7902
  }
7899
7903
 
7900
7904
 
7901
- async function $41e83ac737081df5$export$51c59e2af49c1a92(url, selector) {
7902
- const response = await fetch(url || window.document.location);
7905
+ async function $41e83ac737081df5$export$51c59e2af49c1a92(url, selector, options = {}) {
7906
+ const response = await fetch(url || window.document.location, options);
7903
7907
  const html = await response.text();
7904
7908
  const doc = new DOMParser().parseFromString(html, "text/html");
7905
7909
  return {
@@ -7942,7 +7946,11 @@ function $5792afa4170ed552$export$2e2bcd8739ae039() {
7942
7946
  this.debug("Navigating to ", window.location.pathname);
7943
7947
  this.$dispatch("navigation:start");
7944
7948
  this.location = window.location;
7945
- await this.updateDOM();
7949
+ await this.updateDOM("#app-main", {
7950
+ headers: {
7951
+ "X-Lookbook-Frame": "main"
7952
+ }
7953
+ });
7946
7954
  this.$dispatch("navigation:complete");
7947
7955
  },
7948
7956
  hijax (evt) {
@@ -7961,13 +7969,13 @@ function $5792afa4170ed552$export$2e2bcd8739ae039() {
7961
7969
  }
7962
7970
  }
7963
7971
  },
7964
- async updateDOM () {
7972
+ async updateDOM (rootSelector = `#${this.$root.id}`, options = {}) {
7965
7973
  this.debug("Starting DOM update");
7966
7974
  this.$dispatch("dom:update-start");
7967
7975
  this.requestStart();
7968
7976
  try {
7969
- const { fragment: fragment, title: title } = await (0, $41e83ac737081df5$export$51c59e2af49c1a92)(window.location, `#${this.$root.id}`);
7970
- (0, $490552754c23ef6f$export$2e5e8c41f5d4e7c7)(this.$root, fragment);
7977
+ const { fragment: fragment, title: title } = await (0, $41e83ac737081df5$export$51c59e2af49c1a92)(window.location, rootSelector, options);
7978
+ (0, $490552754c23ef6f$export$2e5e8c41f5d4e7c7)(document.querySelector(rootSelector), fragment);
7971
7979
  document.title = title;
7972
7980
  this.requestEnd();
7973
7981
  this.$dispatch("dom:update-complete");
@@ -8033,13 +8041,13 @@ $parcel$export($cbd28b10fa9798c7$exports, "default", () => $cbd28b10fa9798c7$exp
8033
8041
  * (c) 2017-2021 atomiks
8034
8042
  * MIT License
8035
8043
  */ function $59d97a6bab2b727e$export$2e2bcd8739ae039(element) {
8036
- return element ? (element.nodeName || "").toLowerCase() : null;
8044
+ return element ? (element.nodeName || '').toLowerCase() : null;
8037
8045
  }
8038
8046
 
8039
8047
 
8040
8048
  function $f41f4520bee001a7$export$2e2bcd8739ae039(node) {
8041
8049
  if (node == null) return window;
8042
- if (node.toString() !== "[object Window]") {
8050
+ if (node.toString() !== '[object Window]') {
8043
8051
  var ownerDocument = node.ownerDocument;
8044
8052
  return ownerDocument ? ownerDocument.defaultView || window : window;
8045
8053
  }
@@ -8057,7 +8065,7 @@ function $1fa2a5446b18c455$export$1b3bfaa9684536aa(node) {
8057
8065
  }
8058
8066
  function $1fa2a5446b18c455$export$af51f0f06c0f328a(node) {
8059
8067
  // IE 11 has no ShadowRoot
8060
- if (typeof ShadowRoot === "undefined") return false;
8068
+ if (typeof ShadowRoot === 'undefined') return false;
8061
8069
  var OwnElement = (0, $f41f4520bee001a7$export$2e2bcd8739ae039)(node).ShadowRoot;
8062
8070
  return node instanceof OwnElement || node instanceof ShadowRoot;
8063
8071
  }
@@ -8078,7 +8086,7 @@ function $dfb41fce0bddd2d8$var$applyStyles(_ref) {
8078
8086
  Object.keys(attributes).forEach(function(name) {
8079
8087
  var value = attributes[name];
8080
8088
  if (value === false) element.removeAttribute(name);
8081
- else element.setAttribute(name, value === true ? "" : value);
8089
+ else element.setAttribute(name, value === true ? '' : value);
8082
8090
  });
8083
8091
  });
8084
8092
  }
@@ -8087,12 +8095,12 @@ function $dfb41fce0bddd2d8$var$effect(_ref2) {
8087
8095
  var initialStyles = {
8088
8096
  popper: {
8089
8097
  position: state.options.strategy,
8090
- left: "0",
8091
- top: "0",
8092
- margin: "0"
8098
+ left: '0',
8099
+ top: '0',
8100
+ margin: '0'
8093
8101
  },
8094
8102
  arrow: {
8095
- position: "absolute"
8103
+ position: 'absolute'
8096
8104
  },
8097
8105
  reference: {}
8098
8106
  };
@@ -8105,7 +8113,7 @@ function $dfb41fce0bddd2d8$var$effect(_ref2) {
8105
8113
  var attributes = state.attributes[name] || {};
8106
8114
  var styleProperties = Object.keys(state.styles.hasOwnProperty(name) ? state.styles[name] : initialStyles[name]); // Set all values to an empty string to unset them
8107
8115
  var style = styleProperties.reduce(function(style, property) {
8108
- style[property] = "";
8116
+ style[property] = '';
8109
8117
  return style;
8110
8118
  }, {}); // arrow is optional + virtual elements
8111
8119
  if (!(0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(element) || !(0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(element)) return;
@@ -8117,13 +8125,13 @@ function $dfb41fce0bddd2d8$var$effect(_ref2) {
8117
8125
  };
8118
8126
  } // eslint-disable-next-line import/no-unused-modules
8119
8127
  var $dfb41fce0bddd2d8$export$2e2bcd8739ae039 = {
8120
- name: "applyStyles",
8128
+ name: 'applyStyles',
8121
8129
  enabled: true,
8122
- phase: "write",
8130
+ phase: 'write',
8123
8131
  fn: $dfb41fce0bddd2d8$var$applyStyles,
8124
8132
  effect: $dfb41fce0bddd2d8$var$effect,
8125
8133
  requires: [
8126
- "computeStyles"
8134
+ 'computeStyles'
8127
8135
  ]
8128
8136
  };
8129
8137
 
@@ -8138,7 +8146,7 @@ function $beb42d7aceecf8c8$export$2e2bcd8739ae039() {
8138
8146
  var uaData = navigator.userAgentData;
8139
8147
  if (uaData != null && uaData.brands && Array.isArray(uaData.brands)) return uaData.brands.map(function(item) {
8140
8148
  return item.brand + "/" + item.version;
8141
- }).join(" ");
8149
+ }).join(' ');
8142
8150
  return navigator.userAgent;
8143
8151
  }
8144
8152
 
@@ -8264,7 +8272,7 @@ function $a195ad21b1cffe79$export$2e2bcd8739ae039(elementOrVirtualElement, offse
8264
8272
  y: 0
8265
8273
  };
8266
8274
  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {
8267
- if ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) !== "body" || // https://github.com/popperjs/popper-core/issues/1078
8275
+ if ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) !== 'body' || // https://github.com/popperjs/popper-core/issues/1078
8268
8276
  (0, $d0e76ea5ac4d8fe1$export$2e2bcd8739ae039)(documentElement)) scroll = (0, $40149fb4267f270e$export$2e2bcd8739ae039)(offsetParent);
8269
8277
  if ((0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(offsetParent)) {
8270
8278
  offsets = (0, $b854957821c00430$export$2e2bcd8739ae039)(offsetParent, true);
@@ -8302,7 +8310,7 @@ function $e287ac773d355028$export$2e2bcd8739ae039(element) {
8302
8310
 
8303
8311
 
8304
8312
  function $b1adb38089003474$export$2e2bcd8739ae039(element) {
8305
- if ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(element) === "html") return element;
8313
+ if ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(element) === 'html') return element;
8306
8314
  return(// $FlowFixMe[incompatible-return]
8307
8315
  // $FlowFixMe[prop-missing]
8308
8316
  element.assignedSlot || // step into the shadow DOM of the parent of a slotted node
@@ -8318,9 +8326,9 @@ function $b1adb38089003474$export$2e2bcd8739ae039(element) {
8318
8326
 
8319
8327
  function $8fec37e99f881747$export$2e2bcd8739ae039(node) {
8320
8328
  if ([
8321
- "html",
8322
- "body",
8323
- "#document"
8329
+ 'html',
8330
+ 'body',
8331
+ '#document'
8324
8332
  ].indexOf((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(node)) >= 0) // $FlowFixMe[incompatible-return]: assume body is always available
8325
8333
  return node.ownerDocument.body;
8326
8334
  if ((0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(node) && (0, $d0e76ea5ac4d8fe1$export$2e2bcd8739ae039)(node)) return node;
@@ -8352,9 +8360,9 @@ function $f14b4e1cd31512ee$export$2e2bcd8739ae039(element, list) {
8352
8360
 
8353
8361
  function $b7f6a1d3d9524a70$export$2e2bcd8739ae039(element) {
8354
8362
  return [
8355
- "table",
8356
- "td",
8357
- "th"
8363
+ 'table',
8364
+ 'td',
8365
+ 'th'
8358
8366
  ].indexOf((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(element)) >= 0;
8359
8367
  }
8360
8368
 
@@ -8363,7 +8371,7 @@ function $b7f6a1d3d9524a70$export$2e2bcd8739ae039(element) {
8363
8371
 
8364
8372
  function $4acba801a6bfbaa3$var$getTrueOffsetParent(element) {
8365
8373
  if (!(0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(element) || // https://github.com/popperjs/popper-core/issues/837
8366
- (0, $392247934674b5b4$export$2e2bcd8739ae039)(element).position === "fixed") return null;
8374
+ (0, $392247934674b5b4$export$2e2bcd8739ae039)(element).position === 'fixed') return null;
8367
8375
  return element.offsetParent;
8368
8376
  } // `.offsetParent` reports `null` for fixed elements, while absolute elements
8369
8377
  // return the containing block
@@ -8373,21 +8381,21 @@ function $4acba801a6bfbaa3$var$getContainingBlock(element) {
8373
8381
  if (isIE && (0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(element)) {
8374
8382
  // In IE 9, 10 and 11 fixed elements containing block is always established by the viewport
8375
8383
  var elementCss = (0, $392247934674b5b4$export$2e2bcd8739ae039)(element);
8376
- if (elementCss.position === "fixed") return null;
8384
+ if (elementCss.position === 'fixed') return null;
8377
8385
  }
8378
8386
  var currentNode = (0, $b1adb38089003474$export$2e2bcd8739ae039)(element);
8379
8387
  if ((0, $1fa2a5446b18c455$export$af51f0f06c0f328a)(currentNode)) currentNode = currentNode.host;
8380
8388
  while((0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(currentNode) && [
8381
- "html",
8382
- "body"
8389
+ 'html',
8390
+ 'body'
8383
8391
  ].indexOf((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(currentNode)) < 0){
8384
8392
  var css = (0, $392247934674b5b4$export$2e2bcd8739ae039)(currentNode); // This is non-exhaustive but covers the most common CSS properties that
8385
8393
  // create a containing block.
8386
8394
  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block
8387
- if (css.transform !== "none" || css.perspective !== "none" || css.contain === "paint" || [
8388
- "transform",
8389
- "perspective"
8390
- ].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === "filter" || isFirefox && css.filter && css.filter !== "none") return currentNode;
8395
+ if (css.transform !== 'none' || css.perspective !== 'none' || css.contain === 'paint' || [
8396
+ 'transform',
8397
+ 'perspective'
8398
+ ].indexOf(css.willChange) !== -1 || isFirefox && css.willChange === 'filter' || isFirefox && css.filter && css.filter !== 'none') return currentNode;
8391
8399
  else currentNode = currentNode.parentNode;
8392
8400
  }
8393
8401
  return null;
@@ -8395,29 +8403,29 @@ function $4acba801a6bfbaa3$var$getContainingBlock(element) {
8395
8403
  function $4acba801a6bfbaa3$export$2e2bcd8739ae039(element) {
8396
8404
  var window = (0, $f41f4520bee001a7$export$2e2bcd8739ae039)(element);
8397
8405
  var offsetParent = $4acba801a6bfbaa3$var$getTrueOffsetParent(element);
8398
- while(offsetParent && (0, $b7f6a1d3d9524a70$export$2e2bcd8739ae039)(offsetParent) && (0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position === "static")offsetParent = $4acba801a6bfbaa3$var$getTrueOffsetParent(offsetParent);
8399
- if (offsetParent && ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) === "html" || (0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) === "body" && (0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position === "static")) return window;
8406
+ while(offsetParent && (0, $b7f6a1d3d9524a70$export$2e2bcd8739ae039)(offsetParent) && (0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position === 'static')offsetParent = $4acba801a6bfbaa3$var$getTrueOffsetParent(offsetParent);
8407
+ if (offsetParent && ((0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) === 'html' || (0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(offsetParent) === 'body' && (0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position === 'static')) return window;
8400
8408
  return offsetParent || $4acba801a6bfbaa3$var$getContainingBlock(element) || window;
8401
8409
  }
8402
8410
 
8403
8411
 
8404
- var $9b56e55559dfbda1$export$1e95b668f3b82d = "top";
8405
- var $9b56e55559dfbda1$export$40e543e69a8b3fbb = "bottom";
8406
- var $9b56e55559dfbda1$export$79ffe56a765070d2 = "right";
8407
- var $9b56e55559dfbda1$export$eabcd2c8791e7bf4 = "left";
8408
- var $9b56e55559dfbda1$export$dfb5619354ba860 = "auto";
8412
+ var $9b56e55559dfbda1$export$1e95b668f3b82d = 'top';
8413
+ var $9b56e55559dfbda1$export$40e543e69a8b3fbb = 'bottom';
8414
+ var $9b56e55559dfbda1$export$79ffe56a765070d2 = 'right';
8415
+ var $9b56e55559dfbda1$export$eabcd2c8791e7bf4 = 'left';
8416
+ var $9b56e55559dfbda1$export$dfb5619354ba860 = 'auto';
8409
8417
  var $9b56e55559dfbda1$export$aec2ce47c367b8c3 = [
8410
8418
  $9b56e55559dfbda1$export$1e95b668f3b82d,
8411
8419
  $9b56e55559dfbda1$export$40e543e69a8b3fbb,
8412
8420
  $9b56e55559dfbda1$export$79ffe56a765070d2,
8413
8421
  $9b56e55559dfbda1$export$eabcd2c8791e7bf4
8414
8422
  ];
8415
- var $9b56e55559dfbda1$export$b3571188c770cc5a = "start";
8416
- var $9b56e55559dfbda1$export$bd5df0f255a350f8 = "end";
8417
- var $9b56e55559dfbda1$export$390fd549c5303b4d = "clippingParents";
8418
- var $9b56e55559dfbda1$export$d7b7311ec04a3e8f = "viewport";
8419
- var $9b56e55559dfbda1$export$ae5ab1c730825774 = "popper";
8420
- var $9b56e55559dfbda1$export$ca50aac9f3ba507f = "reference";
8423
+ var $9b56e55559dfbda1$export$b3571188c770cc5a = 'start';
8424
+ var $9b56e55559dfbda1$export$bd5df0f255a350f8 = 'end';
8425
+ var $9b56e55559dfbda1$export$390fd549c5303b4d = 'clippingParents';
8426
+ var $9b56e55559dfbda1$export$d7b7311ec04a3e8f = 'viewport';
8427
+ var $9b56e55559dfbda1$export$ae5ab1c730825774 = 'popper';
8428
+ var $9b56e55559dfbda1$export$ca50aac9f3ba507f = 'reference';
8421
8429
  var $9b56e55559dfbda1$export$368f9a87e87fa4e1 = /*#__PURE__*/ $9b56e55559dfbda1$export$aec2ce47c367b8c3.reduce(function(acc, placement) {
8422
8430
  return acc.concat([
8423
8431
  placement + "-" + $9b56e55559dfbda1$export$b3571188c770cc5a,
@@ -8433,15 +8441,15 @@ var $9b56e55559dfbda1$export$803cd8101b6c182b = /*#__PURE__*/ [].concat($9b56e55
8433
8441
  placement + "-" + $9b56e55559dfbda1$export$bd5df0f255a350f8
8434
8442
  ]);
8435
8443
  }, []); // modifiers that need to read the DOM
8436
- var $9b56e55559dfbda1$export$421679a7c3d56e = "beforeRead";
8437
- var $9b56e55559dfbda1$export$aafa59e2e03f2942 = "read";
8438
- var $9b56e55559dfbda1$export$6964f6c886723980 = "afterRead"; // pure-logic modifiers
8439
- var $9b56e55559dfbda1$export$c65e99957a05207c = "beforeMain";
8440
- var $9b56e55559dfbda1$export$f22da7240b7add18 = "main";
8441
- var $9b56e55559dfbda1$export$bab79516f2d662fe = "afterMain"; // modifier with the purpose to write to the DOM (or write into a framework state)
8442
- var $9b56e55559dfbda1$export$8d4d2d70e7d46032 = "beforeWrite";
8443
- var $9b56e55559dfbda1$export$68d8715fc104d294 = "write";
8444
- var $9b56e55559dfbda1$export$70a6e5159acce2e6 = "afterWrite";
8444
+ var $9b56e55559dfbda1$export$421679a7c3d56e = 'beforeRead';
8445
+ var $9b56e55559dfbda1$export$aafa59e2e03f2942 = 'read';
8446
+ var $9b56e55559dfbda1$export$6964f6c886723980 = 'afterRead'; // pure-logic modifiers
8447
+ var $9b56e55559dfbda1$export$c65e99957a05207c = 'beforeMain';
8448
+ var $9b56e55559dfbda1$export$f22da7240b7add18 = 'main';
8449
+ var $9b56e55559dfbda1$export$bab79516f2d662fe = 'afterMain'; // modifier with the purpose to write to the DOM (or write into a framework state)
8450
+ var $9b56e55559dfbda1$export$8d4d2d70e7d46032 = 'beforeWrite';
8451
+ var $9b56e55559dfbda1$export$68d8715fc104d294 = 'write';
8452
+ var $9b56e55559dfbda1$export$70a6e5159acce2e6 = 'afterWrite';
8445
8453
  var $9b56e55559dfbda1$export$d087d3878fdf71d5 = [
8446
8454
  $9b56e55559dfbda1$export$421679a7c3d56e,
8447
8455
  $9b56e55559dfbda1$export$aafa59e2e03f2942,
@@ -8522,14 +8530,14 @@ function $6af99e74d4c8a734$export$2e2bcd8739ae039(modifiers) {
8522
8530
 
8523
8531
 
8524
8532
  var $8e357be334f3fad9$var$DEFAULT_OPTIONS = {
8525
- placement: "bottom",
8533
+ placement: 'bottom',
8526
8534
  modifiers: [],
8527
- strategy: "absolute"
8535
+ strategy: 'absolute'
8528
8536
  };
8529
8537
  function $8e357be334f3fad9$var$areValidElements() {
8530
8538
  for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++)args[_key] = arguments[_key];
8531
8539
  return !args.some(function(element) {
8532
- return !(element && typeof element.getBoundingClientRect === "function");
8540
+ return !(element && typeof element.getBoundingClientRect === 'function');
8533
8541
  });
8534
8542
  }
8535
8543
  function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
@@ -8538,7 +8546,7 @@ function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
8538
8546
  return function createPopper(reference, popper, options) {
8539
8547
  if (options === void 0) options = defaultOptions;
8540
8548
  var state = {
8541
- placement: "bottom",
8549
+ placement: 'bottom',
8542
8550
  orderedModifiers: [],
8543
8551
  options: Object.assign({}, $8e357be334f3fad9$var$DEFAULT_OPTIONS, defaultOptions),
8544
8552
  modifiersData: {},
@@ -8554,7 +8562,7 @@ function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
8554
8562
  var instance = {
8555
8563
  state: state,
8556
8564
  setOptions: function setOptions(setOptionsAction) {
8557
- var options = typeof setOptionsAction === "function" ? setOptionsAction(state.options) : setOptionsAction;
8565
+ var options = typeof setOptionsAction === 'function' ? setOptionsAction(state.options) : setOptionsAction;
8558
8566
  cleanupModifierEffects();
8559
8567
  state.options = Object.assign({}, defaultOptions, state.options, options);
8560
8568
  state.scrollParents = {
@@ -8581,7 +8589,7 @@ function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
8581
8589
  if (!$8e357be334f3fad9$var$areValidElements(reference, popper)) return;
8582
8590
  // Store the reference and popper rects to be read by modifiers
8583
8591
  state.rects = {
8584
- reference: (0, $a195ad21b1cffe79$export$2e2bcd8739ae039)(reference, (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(popper), state.options.strategy === "fixed"),
8592
+ reference: (0, $a195ad21b1cffe79$export$2e2bcd8739ae039)(reference, (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(popper), state.options.strategy === 'fixed'),
8585
8593
  popper: (0, $e287ac773d355028$export$2e2bcd8739ae039)(popper)
8586
8594
  }; // Modifiers have the ability to reset the current update cycle. The
8587
8595
  // most common use case for this is the `flip` modifier changing the
@@ -8603,7 +8611,7 @@ function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
8603
8611
  continue;
8604
8612
  }
8605
8613
  var _state$orderedModifie = state.orderedModifiers[index], fn = _state$orderedModifie.fn, _state$orderedModifie2 = _state$orderedModifie.options, _options = _state$orderedModifie2 === void 0 ? {} : _state$orderedModifie2, name = _state$orderedModifie.name;
8606
- if (typeof fn === "function") state = fn({
8614
+ if (typeof fn === 'function') state = fn({
8607
8615
  state: state,
8608
8616
  options: _options,
8609
8617
  name: name,
@@ -8635,7 +8643,7 @@ function $8e357be334f3fad9$export$ed5e13716264f202(generatorOptions) {
8635
8643
  function runModifierEffects() {
8636
8644
  state.orderedModifiers.forEach(function(_ref) {
8637
8645
  var name = _ref.name, _ref$options = _ref.options, options = _ref$options === void 0 ? {} : _ref$options, effect = _ref.effect;
8638
- if (typeof effect === "function") {
8646
+ if (typeof effect === 'function') {
8639
8647
  var cleanupFn = effect({
8640
8648
  state: state,
8641
8649
  name: name,
@@ -8669,20 +8677,20 @@ function $e3348dc516600e8b$var$effect(_ref) {
8669
8677
  var window = (0, $f41f4520bee001a7$export$2e2bcd8739ae039)(state.elements.popper);
8670
8678
  var scrollParents = [].concat(state.scrollParents.reference, state.scrollParents.popper);
8671
8679
  if (scroll) scrollParents.forEach(function(scrollParent) {
8672
- scrollParent.addEventListener("scroll", instance.update, $e3348dc516600e8b$var$passive);
8680
+ scrollParent.addEventListener('scroll', instance.update, $e3348dc516600e8b$var$passive);
8673
8681
  });
8674
- if (resize) window.addEventListener("resize", instance.update, $e3348dc516600e8b$var$passive);
8682
+ if (resize) window.addEventListener('resize', instance.update, $e3348dc516600e8b$var$passive);
8675
8683
  return function() {
8676
8684
  if (scroll) scrollParents.forEach(function(scrollParent) {
8677
- scrollParent.removeEventListener("scroll", instance.update, $e3348dc516600e8b$var$passive);
8685
+ scrollParent.removeEventListener('scroll', instance.update, $e3348dc516600e8b$var$passive);
8678
8686
  });
8679
- if (resize) window.removeEventListener("resize", instance.update, $e3348dc516600e8b$var$passive);
8687
+ if (resize) window.removeEventListener('resize', instance.update, $e3348dc516600e8b$var$passive);
8680
8688
  };
8681
8689
  } // eslint-disable-next-line import/no-unused-modules
8682
8690
  var $e3348dc516600e8b$export$2e2bcd8739ae039 = {
8683
- name: "eventListeners",
8691
+ name: 'eventListeners',
8684
8692
  enabled: true,
8685
- phase: "write",
8693
+ phase: 'write',
8686
8694
  fn: function fn() {},
8687
8695
  effect: $e3348dc516600e8b$var$effect,
8688
8696
  data: {}
@@ -8691,20 +8699,20 @@ var $e3348dc516600e8b$export$2e2bcd8739ae039 = {
8691
8699
 
8692
8700
 
8693
8701
  function $923eec132c8d334b$export$2e2bcd8739ae039(placement) {
8694
- return placement.split("-")[0];
8702
+ return placement.split('-')[0];
8695
8703
  }
8696
8704
 
8697
8705
 
8698
8706
  function $6572b8fb6297a772$export$2e2bcd8739ae039(placement) {
8699
- return placement.split("-")[1];
8707
+ return placement.split('-')[1];
8700
8708
  }
8701
8709
 
8702
8710
 
8703
8711
  function $d388da57f90fb762$export$2e2bcd8739ae039(placement) {
8704
8712
  return [
8705
- "top",
8706
- "bottom"
8707
- ].indexOf(placement) >= 0 ? "x" : "y";
8713
+ 'top',
8714
+ 'bottom'
8715
+ ].indexOf(placement) >= 0 ? 'x' : 'y';
8708
8716
  }
8709
8717
 
8710
8718
 
@@ -8749,7 +8757,7 @@ function $05d4a7bd7e0110bf$export$2e2bcd8739ae039(_ref) {
8749
8757
  }
8750
8758
  var mainAxis = basePlacement ? (0, $d388da57f90fb762$export$2e2bcd8739ae039)(basePlacement) : null;
8751
8759
  if (mainAxis != null) {
8752
- var len = mainAxis === "y" ? "height" : "width";
8760
+ var len = mainAxis === 'y' ? 'height' : 'width';
8753
8761
  switch(variation){
8754
8762
  case 0, $9b56e55559dfbda1$export$b3571188c770cc5a:
8755
8763
  offsets[mainAxis] = offsets[mainAxis] - (reference[len] / 2 - element[len] / 2);
@@ -8773,14 +8781,14 @@ function $4aa27a7a3db85746$var$popperOffsets(_ref) {
8773
8781
  state.modifiersData[name] = (0, $05d4a7bd7e0110bf$export$2e2bcd8739ae039)({
8774
8782
  reference: state.rects.reference,
8775
8783
  element: state.rects.popper,
8776
- strategy: "absolute",
8784
+ strategy: 'absolute',
8777
8785
  placement: state.placement
8778
8786
  });
8779
8787
  } // eslint-disable-next-line import/no-unused-modules
8780
8788
  var $4aa27a7a3db85746$export$2e2bcd8739ae039 = {
8781
- name: "popperOffsets",
8789
+ name: 'popperOffsets',
8782
8790
  enabled: true,
8783
- phase: "read",
8791
+ phase: 'read',
8784
8792
  fn: $4aa27a7a3db85746$var$popperOffsets,
8785
8793
  data: {}
8786
8794
  };
@@ -8795,10 +8803,10 @@ var $4aa27a7a3db85746$export$2e2bcd8739ae039 = {
8795
8803
 
8796
8804
 
8797
8805
  var $03e421bdaa8eda14$var$unsetSides = {
8798
- top: "auto",
8799
- right: "auto",
8800
- bottom: "auto",
8801
- left: "auto"
8806
+ top: 'auto',
8807
+ right: 'auto',
8808
+ bottom: 'auto',
8809
+ left: 'auto'
8802
8810
  }; // Round the offsets to the nearest suitable subpixel based on the DPR.
8803
8811
  // Zooming can change the DPR, but it seems to report a value that will
8804
8812
  // cleanly divide the values into the appropriate subpixels.
@@ -8814,7 +8822,7 @@ function $03e421bdaa8eda14$export$378fa78a8fea596f(_ref2) {
8814
8822
  var _Object$assign2;
8815
8823
  var popper = _ref2.popper, popperRect = _ref2.popperRect, placement = _ref2.placement, variation = _ref2.variation, offsets = _ref2.offsets, position = _ref2.position, gpuAcceleration = _ref2.gpuAcceleration, adaptive = _ref2.adaptive, roundOffsets = _ref2.roundOffsets, isFixed = _ref2.isFixed;
8816
8824
  var _offsets$x = offsets.x, x = _offsets$x === void 0 ? 0 : _offsets$x, _offsets$y = offsets.y, y = _offsets$y === void 0 ? 0 : _offsets$y;
8817
- var _ref3 = typeof roundOffsets === "function" ? roundOffsets({
8825
+ var _ref3 = typeof roundOffsets === 'function' ? roundOffsets({
8818
8826
  x: x,
8819
8827
  y: y
8820
8828
  }) : {
@@ -8823,20 +8831,20 @@ function $03e421bdaa8eda14$export$378fa78a8fea596f(_ref2) {
8823
8831
  };
8824
8832
  x = _ref3.x;
8825
8833
  y = _ref3.y;
8826
- var hasX = offsets.hasOwnProperty("x");
8827
- var hasY = offsets.hasOwnProperty("y");
8834
+ var hasX = offsets.hasOwnProperty('x');
8835
+ var hasY = offsets.hasOwnProperty('y');
8828
8836
  var sideX = (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
8829
8837
  var sideY = (0, $9b56e55559dfbda1$export$1e95b668f3b82d);
8830
8838
  var win = window;
8831
8839
  if (adaptive) {
8832
8840
  var offsetParent = (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(popper);
8833
- var heightProp = "clientHeight";
8834
- var widthProp = "clientWidth";
8841
+ var heightProp = 'clientHeight';
8842
+ var widthProp = 'clientWidth';
8835
8843
  if (offsetParent === (0, $f41f4520bee001a7$export$2e2bcd8739ae039)(popper)) {
8836
8844
  offsetParent = (0, $3e02d6708e2a16ac$export$2e2bcd8739ae039)(popper);
8837
- if ((0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position !== "static" && position === "absolute") {
8838
- heightProp = "scrollHeight";
8839
- widthProp = "scrollWidth";
8845
+ if ((0, $392247934674b5b4$export$2e2bcd8739ae039)(offsetParent).position !== 'static' && position === 'absolute') {
8846
+ heightProp = 'scrollHeight';
8847
+ widthProp = 'scrollWidth';
8840
8848
  }
8841
8849
  } // $FlowFixMe[incompatible-cast]: force type refinement, we compare offsetParent with window above, but Flow doesn't detect it
8842
8850
  offsetParent;
@@ -8867,9 +8875,9 @@ function $03e421bdaa8eda14$export$378fa78a8fea596f(_ref2) {
8867
8875
  y = _ref4.y;
8868
8876
  if (gpuAcceleration) {
8869
8877
  var _Object$assign;
8870
- return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? "0" : "", _Object$assign[sideX] = hasX ? "0" : "", _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
8878
+ return Object.assign({}, commonStyles, (_Object$assign = {}, _Object$assign[sideY] = hasY ? '0' : '', _Object$assign[sideX] = hasX ? '0' : '', _Object$assign.transform = (win.devicePixelRatio || 1) <= 1 ? "translate(" + x + "px, " + y + "px)" : "translate3d(" + x + "px, " + y + "px, 0)", _Object$assign));
8871
8879
  }
8872
- return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : "", _Object$assign2[sideX] = hasX ? x + "px" : "", _Object$assign2.transform = "", _Object$assign2));
8880
+ return Object.assign({}, commonStyles, (_Object$assign2 = {}, _Object$assign2[sideY] = hasY ? y + "px" : '', _Object$assign2[sideX] = hasX ? x + "px" : '', _Object$assign2.transform = '', _Object$assign2));
8873
8881
  }
8874
8882
  function $03e421bdaa8eda14$var$computeStyles(_ref5) {
8875
8883
  var state = _ref5.state, options = _ref5.options;
@@ -8880,7 +8888,7 @@ function $03e421bdaa8eda14$var$computeStyles(_ref5) {
8880
8888
  popper: state.elements.popper,
8881
8889
  popperRect: state.rects.popper,
8882
8890
  gpuAcceleration: gpuAcceleration,
8883
- isFixed: state.options.strategy === "fixed"
8891
+ isFixed: state.options.strategy === 'fixed'
8884
8892
  };
8885
8893
  if (state.modifiersData.popperOffsets != null) state.styles.popper = Object.assign({}, state.styles.popper, $03e421bdaa8eda14$export$378fa78a8fea596f(Object.assign({}, commonStyles, {
8886
8894
  offsets: state.modifiersData.popperOffsets,
@@ -8890,18 +8898,18 @@ function $03e421bdaa8eda14$var$computeStyles(_ref5) {
8890
8898
  })));
8891
8899
  if (state.modifiersData.arrow != null) state.styles.arrow = Object.assign({}, state.styles.arrow, $03e421bdaa8eda14$export$378fa78a8fea596f(Object.assign({}, commonStyles, {
8892
8900
  offsets: state.modifiersData.arrow,
8893
- position: "absolute",
8901
+ position: 'absolute',
8894
8902
  adaptive: false,
8895
8903
  roundOffsets: roundOffsets
8896
8904
  })));
8897
8905
  state.attributes.popper = Object.assign({}, state.attributes.popper, {
8898
- "data-popper-placement": state.placement
8906
+ 'data-popper-placement': state.placement
8899
8907
  });
8900
8908
  } // eslint-disable-next-line import/no-unused-modules
8901
8909
  var $03e421bdaa8eda14$export$2e2bcd8739ae039 = {
8902
- name: "computeStyles",
8910
+ name: 'computeStyles',
8903
8911
  enabled: true,
8904
- phase: "beforeWrite",
8912
+ phase: 'beforeWrite',
8905
8913
  fn: $03e421bdaa8eda14$var$computeStyles,
8906
8914
  data: {}
8907
8915
  };
@@ -8916,7 +8924,7 @@ function $b2dec03e76957d70$export$7fa02d8595b015ed(placement, rects, offset) {
8916
8924
  (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4),
8917
8925
  (0, $9b56e55559dfbda1$export$1e95b668f3b82d)
8918
8926
  ].indexOf(basePlacement) >= 0 ? -1 : 1;
8919
- var _ref = typeof offset === "function" ? offset(Object.assign({}, rects, {
8927
+ var _ref = typeof offset === 'function' ? offset(Object.assign({}, rects, {
8920
8928
  placement: placement
8921
8929
  })) : offset, skidding = _ref[0], distance = _ref[1];
8922
8930
  skidding = skidding || 0;
@@ -8950,21 +8958,21 @@ function $b2dec03e76957d70$var$offset(_ref2) {
8950
8958
  state.modifiersData[name] = data;
8951
8959
  } // eslint-disable-next-line import/no-unused-modules
8952
8960
  var $b2dec03e76957d70$export$2e2bcd8739ae039 = {
8953
- name: "offset",
8961
+ name: 'offset',
8954
8962
  enabled: true,
8955
- phase: "main",
8963
+ phase: 'main',
8956
8964
  requires: [
8957
- "popperOffsets"
8965
+ 'popperOffsets'
8958
8966
  ],
8959
8967
  fn: $b2dec03e76957d70$var$offset
8960
8968
  };
8961
8969
 
8962
8970
 
8963
8971
  var $e21601d0082602f5$var$hash = {
8964
- left: "right",
8965
- right: "left",
8966
- bottom: "top",
8967
- top: "bottom"
8972
+ left: 'right',
8973
+ right: 'left',
8974
+ bottom: 'top',
8975
+ top: 'bottom'
8968
8976
  };
8969
8977
  function $e21601d0082602f5$export$2e2bcd8739ae039(placement) {
8970
8978
  return placement.replace(/left|right|bottom|top/g, function(matched) {
@@ -8975,8 +8983,8 @@ function $e21601d0082602f5$export$2e2bcd8739ae039(placement) {
8975
8983
 
8976
8984
 
8977
8985
  var $e23a845ff98433e2$var$hash = {
8978
- start: "end",
8979
- end: "start"
8986
+ start: 'end',
8987
+ end: 'start'
8980
8988
  };
8981
8989
  function $e23a845ff98433e2$export$2e2bcd8739ae039(placement) {
8982
8990
  return placement.replace(/start|end/g, function(matched) {
@@ -9002,7 +9010,7 @@ function $ed6afea5d5a4d314$export$2e2bcd8739ae039(element, strategy) {
9002
9010
  width = visualViewport.width;
9003
9011
  height = visualViewport.height;
9004
9012
  var layoutViewport = (0, $f6bdda075fc14cbf$export$2e2bcd8739ae039)();
9005
- if (layoutViewport || !layoutViewport && strategy === "fixed") {
9013
+ if (layoutViewport || !layoutViewport && strategy === 'fixed') {
9006
9014
  x = visualViewport.offsetLeft;
9007
9015
  y = visualViewport.offsetTop;
9008
9016
  }
@@ -9030,7 +9038,7 @@ function $048158ac5222e515$export$2e2bcd8739ae039(element) {
9030
9038
  var height = (0, $a435872b5ba665df$export$8960430cfd85939f)(html.scrollHeight, html.clientHeight, body ? body.scrollHeight : 0, body ? body.clientHeight : 0);
9031
9039
  var x = -winScroll.scrollLeft + (0, $05804587c501a8a1$export$2e2bcd8739ae039)(element);
9032
9040
  var y = -winScroll.scrollTop;
9033
- if ((0, $392247934674b5b4$export$2e2bcd8739ae039)(body || html).direction === "rtl") x += (0, $a435872b5ba665df$export$8960430cfd85939f)(html.clientWidth, body ? body.clientWidth : 0) - width;
9041
+ if ((0, $392247934674b5b4$export$2e2bcd8739ae039)(body || html).direction === 'rtl') x += (0, $a435872b5ba665df$export$8960430cfd85939f)(html.clientWidth, body ? body.clientWidth : 0) - width;
9034
9042
  return {
9035
9043
  width: width,
9036
9044
  height: height,
@@ -9076,7 +9084,7 @@ function $611b7cfc3d40c8f5$export$2e2bcd8739ae039(rect) {
9076
9084
 
9077
9085
 
9078
9086
  function $1ae21a55ad42cc80$var$getInnerBoundingClientRect(element, strategy) {
9079
- var rect = (0, $b854957821c00430$export$2e2bcd8739ae039)(element, false, strategy === "fixed");
9087
+ var rect = (0, $b854957821c00430$export$2e2bcd8739ae039)(element, false, strategy === 'fixed');
9080
9088
  rect.top = rect.top + element.clientTop;
9081
9089
  rect.left = rect.left + element.clientLeft;
9082
9090
  rect.bottom = rect.top + element.clientHeight;
@@ -9095,18 +9103,18 @@ function $1ae21a55ad42cc80$var$getClientRectFromMixedType(element, clippingParen
9095
9103
  function $1ae21a55ad42cc80$var$getClippingParents(element) {
9096
9104
  var clippingParents = (0, $f14b4e1cd31512ee$export$2e2bcd8739ae039)((0, $b1adb38089003474$export$2e2bcd8739ae039)(element));
9097
9105
  var canEscapeClipping = [
9098
- "absolute",
9099
- "fixed"
9106
+ 'absolute',
9107
+ 'fixed'
9100
9108
  ].indexOf((0, $392247934674b5b4$export$2e2bcd8739ae039)(element).position) >= 0;
9101
9109
  var clipperElement = canEscapeClipping && (0, $1fa2a5446b18c455$export$1b3bfaa9684536aa)(element) ? (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(element) : element;
9102
9110
  if (!(0, $1fa2a5446b18c455$export$45a5e7f76e0caa8d)(clipperElement)) return [];
9103
9111
  // $FlowFixMe[incompatible-return]: https://github.com/facebook/flow/issues/1414
9104
9112
  return clippingParents.filter(function(clippingParent) {
9105
- return (0, $1fa2a5446b18c455$export$45a5e7f76e0caa8d)(clippingParent) && (0, $d1f185f47d247fa7$export$2e2bcd8739ae039)(clippingParent, clipperElement) && (0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(clippingParent) !== "body";
9113
+ return (0, $1fa2a5446b18c455$export$45a5e7f76e0caa8d)(clippingParent) && (0, $d1f185f47d247fa7$export$2e2bcd8739ae039)(clippingParent, clipperElement) && (0, $59d97a6bab2b727e$export$2e2bcd8739ae039)(clippingParent) !== 'body';
9106
9114
  });
9107
9115
  } // Gets the maximum area that the element is visible in due to any number of
9108
9116
  function $1ae21a55ad42cc80$export$2e2bcd8739ae039(element, boundary, rootBoundary, strategy) {
9109
- var mainClippingParents = boundary === "clippingParents" ? $1ae21a55ad42cc80$var$getClippingParents(element) : [].concat(boundary);
9117
+ var mainClippingParents = boundary === 'clippingParents' ? $1ae21a55ad42cc80$var$getClippingParents(element) : [].concat(boundary);
9110
9118
  var clippingParents = [].concat(mainClippingParents, [
9111
9119
  rootBoundary
9112
9120
  ]);
@@ -9159,7 +9167,7 @@ function $f5b522f3e076d616$export$2e2bcd8739ae039(value, keys) {
9159
9167
  function $223e3075705edc49$export$2e2bcd8739ae039(state, options) {
9160
9168
  if (options === void 0) options = {};
9161
9169
  var _options = options, _options$placement = _options.placement, placement = _options$placement === void 0 ? state.placement : _options$placement, _options$strategy = _options.strategy, strategy = _options$strategy === void 0 ? state.strategy : _options$strategy, _options$boundary = _options.boundary, boundary = _options$boundary === void 0 ? (0, $9b56e55559dfbda1$export$390fd549c5303b4d) : _options$boundary, _options$rootBoundary = _options.rootBoundary, rootBoundary = _options$rootBoundary === void 0 ? (0, $9b56e55559dfbda1$export$d7b7311ec04a3e8f) : _options$rootBoundary, _options$elementConte = _options.elementContext, elementContext = _options$elementConte === void 0 ? (0, $9b56e55559dfbda1$export$ae5ab1c730825774) : _options$elementConte, _options$altBoundary = _options.altBoundary, altBoundary = _options$altBoundary === void 0 ? false : _options$altBoundary, _options$padding = _options.padding, padding = _options$padding === void 0 ? 0 : _options$padding;
9162
- var paddingObject = (0, $4867192599152955$export$2e2bcd8739ae039)(typeof padding !== "number" ? padding : (0, $f5b522f3e076d616$export$2e2bcd8739ae039)(padding, (0, $9b56e55559dfbda1$export$aec2ce47c367b8c3)));
9170
+ var paddingObject = (0, $4867192599152955$export$2e2bcd8739ae039)(typeof padding !== 'number' ? padding : (0, $f5b522f3e076d616$export$2e2bcd8739ae039)(padding, (0, $9b56e55559dfbda1$export$aec2ce47c367b8c3)));
9163
9171
  var altContext = elementContext === (0, $9b56e55559dfbda1$export$ae5ab1c730825774) ? (0, $9b56e55559dfbda1$export$ca50aac9f3ba507f) : (0, $9b56e55559dfbda1$export$ae5ab1c730825774);
9164
9172
  var popperRect = state.rects.popper;
9165
9173
  var element = state.elements[altBoundary ? altContext : elementContext];
@@ -9168,7 +9176,7 @@ function $223e3075705edc49$export$2e2bcd8739ae039(state, options) {
9168
9176
  var popperOffsets = (0, $05d4a7bd7e0110bf$export$2e2bcd8739ae039)({
9169
9177
  reference: referenceClientRect,
9170
9178
  element: popperRect,
9171
- strategy: "absolute",
9179
+ strategy: 'absolute',
9172
9180
  placement: placement
9173
9181
  });
9174
9182
  var popperClientRect = (0, $611b7cfc3d40c8f5$export$2e2bcd8739ae039)(Object.assign({}, popperRect, popperOffsets));
@@ -9191,7 +9199,7 @@ function $223e3075705edc49$export$2e2bcd8739ae039(state, options) {
9191
9199
  var axis = [
9192
9200
  (0, $9b56e55559dfbda1$export$1e95b668f3b82d),
9193
9201
  (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb)
9194
- ].indexOf(key) >= 0 ? "y" : "x";
9202
+ ].indexOf(key) >= 0 ? 'y' : 'x';
9195
9203
  overflowOffsets[key] += offset[axis] * multiply;
9196
9204
  });
9197
9205
  }
@@ -9276,7 +9284,7 @@ function $d886080699dc4994$var$flip(_ref) {
9276
9284
  (0, $9b56e55559dfbda1$export$1e95b668f3b82d),
9277
9285
  (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb)
9278
9286
  ].indexOf(_basePlacement) >= 0;
9279
- var len = isVertical ? "width" : "height";
9287
+ var len = isVertical ? 'width' : 'height';
9280
9288
  var overflow = (0, $223e3075705edc49$export$2e2bcd8739ae039)(state, {
9281
9289
  placement: placement,
9282
9290
  boundary: boundary,
@@ -9326,12 +9334,12 @@ function $d886080699dc4994$var$flip(_ref) {
9326
9334
  }
9327
9335
  } // eslint-disable-next-line import/no-unused-modules
9328
9336
  var $d886080699dc4994$export$2e2bcd8739ae039 = {
9329
- name: "flip",
9337
+ name: 'flip',
9330
9338
  enabled: true,
9331
- phase: "main",
9339
+ phase: 'main',
9332
9340
  fn: $d886080699dc4994$var$flip,
9333
9341
  requiresIfExists: [
9334
- "offset"
9342
+ 'offset'
9335
9343
  ],
9336
9344
  data: {
9337
9345
  _skip: false
@@ -9343,7 +9351,7 @@ var $d886080699dc4994$export$2e2bcd8739ae039 = {
9343
9351
 
9344
9352
 
9345
9353
  function $635c62073241bcfb$export$2e2bcd8739ae039(axis) {
9346
- return axis === "x" ? "y" : "x";
9354
+ return axis === 'x' ? 'y' : 'x';
9347
9355
  }
9348
9356
 
9349
9357
 
@@ -9380,10 +9388,10 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9380
9388
  var popperOffsets = state.modifiersData.popperOffsets;
9381
9389
  var referenceRect = state.rects.reference;
9382
9390
  var popperRect = state.rects.popper;
9383
- var tetherOffsetValue = typeof tetherOffset === "function" ? tetherOffset(Object.assign({}, state.rects, {
9391
+ var tetherOffsetValue = typeof tetherOffset === 'function' ? tetherOffset(Object.assign({}, state.rects, {
9384
9392
  placement: state.placement
9385
9393
  })) : tetherOffset;
9386
- var normalizedTetherOffsetValue = typeof tetherOffsetValue === "number" ? {
9394
+ var normalizedTetherOffsetValue = typeof tetherOffsetValue === 'number' ? {
9387
9395
  mainAxis: tetherOffsetValue,
9388
9396
  altAxis: tetherOffsetValue
9389
9397
  } : Object.assign({
@@ -9398,9 +9406,9 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9398
9406
  if (!popperOffsets) return;
9399
9407
  if (checkMainAxis) {
9400
9408
  var _offsetModifierState$;
9401
- var mainSide = mainAxis === "y" ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9402
- var altSide = mainAxis === "y" ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9403
- var len = mainAxis === "y" ? "height" : "width";
9409
+ var mainSide = mainAxis === 'y' ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9410
+ var altSide = mainAxis === 'y' ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9411
+ var len = mainAxis === 'y' ? 'height' : 'width';
9404
9412
  var offset = popperOffsets[mainAxis];
9405
9413
  var min = offset + overflow[mainSide];
9406
9414
  var max = offset - overflow[altSide];
@@ -9413,7 +9421,7 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9413
9421
  width: 0,
9414
9422
  height: 0
9415
9423
  };
9416
- var arrowPaddingObject = state.modifiersData["arrow#persistent"] ? state.modifiersData["arrow#persistent"].padding : (0, $d245fd553c91b4b7$export$2e2bcd8739ae039)();
9424
+ var arrowPaddingObject = state.modifiersData['arrow#persistent'] ? state.modifiersData['arrow#persistent'].padding : (0, $d245fd553c91b4b7$export$2e2bcd8739ae039)();
9417
9425
  var arrowPaddingMin = arrowPaddingObject[mainSide];
9418
9426
  var arrowPaddingMax = arrowPaddingObject[altSide]; // If the reference length is smaller than the arrow length, we don't want
9419
9427
  // to include its full size in the calculation. If the reference is small
@@ -9424,7 +9432,7 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9424
9432
  var minOffset = isBasePlacement ? referenceRect[len] / 2 - additive - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis : minLen - arrowLen - arrowPaddingMin - normalizedTetherOffsetValue.mainAxis;
9425
9433
  var maxOffset = isBasePlacement ? -referenceRect[len] / 2 + additive + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis : maxLen + arrowLen + arrowPaddingMax + normalizedTetherOffsetValue.mainAxis;
9426
9434
  var arrowOffsetParent = state.elements.arrow && (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(state.elements.arrow);
9427
- var clientOffset = arrowOffsetParent ? mainAxis === "y" ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
9435
+ var clientOffset = arrowOffsetParent ? mainAxis === 'y' ? arrowOffsetParent.clientTop || 0 : arrowOffsetParent.clientLeft || 0 : 0;
9428
9436
  var offsetModifierValue = (_offsetModifierState$ = offsetModifierState == null ? void 0 : offsetModifierState[mainAxis]) != null ? _offsetModifierState$ : 0;
9429
9437
  var tetherMin = offset + minOffset - offsetModifierValue - clientOffset;
9430
9438
  var tetherMax = offset + maxOffset - offsetModifierValue;
@@ -9434,10 +9442,10 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9434
9442
  }
9435
9443
  if (checkAltAxis) {
9436
9444
  var _offsetModifierState$2;
9437
- var _mainSide = mainAxis === "x" ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9438
- var _altSide = mainAxis === "x" ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9445
+ var _mainSide = mainAxis === 'x' ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9446
+ var _altSide = mainAxis === 'x' ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9439
9447
  var _offset = popperOffsets[altAxis];
9440
- var _len = altAxis === "y" ? "height" : "width";
9448
+ var _len = altAxis === 'y' ? 'height' : 'width';
9441
9449
  var _min = _offset + overflow[_mainSide];
9442
9450
  var _max = _offset - overflow[_altSide];
9443
9451
  var isOriginSide = [
@@ -9454,12 +9462,12 @@ function $59ad2e7a9286a2b9$var$preventOverflow(_ref) {
9454
9462
  state.modifiersData[name] = data;
9455
9463
  } // eslint-disable-next-line import/no-unused-modules
9456
9464
  var $59ad2e7a9286a2b9$export$2e2bcd8739ae039 = {
9457
- name: "preventOverflow",
9465
+ name: 'preventOverflow',
9458
9466
  enabled: true,
9459
- phase: "main",
9467
+ phase: 'main',
9460
9468
  fn: $59ad2e7a9286a2b9$var$preventOverflow,
9461
9469
  requiresIfExists: [
9462
- "offset"
9470
+ 'offset'
9463
9471
  ]
9464
9472
  };
9465
9473
 
@@ -9474,10 +9482,10 @@ var $59ad2e7a9286a2b9$export$2e2bcd8739ae039 = {
9474
9482
 
9475
9483
 
9476
9484
  var $84962ce4645f8891$var$toPaddingObject = function toPaddingObject(padding, state) {
9477
- padding = typeof padding === "function" ? padding(Object.assign({}, state.rects, {
9485
+ padding = typeof padding === 'function' ? padding(Object.assign({}, state.rects, {
9478
9486
  placement: state.placement
9479
9487
  })) : padding;
9480
- return (0, $4867192599152955$export$2e2bcd8739ae039)(typeof padding !== "number" ? padding : (0, $f5b522f3e076d616$export$2e2bcd8739ae039)(padding, (0, $9b56e55559dfbda1$export$aec2ce47c367b8c3)));
9488
+ return (0, $4867192599152955$export$2e2bcd8739ae039)(typeof padding !== 'number' ? padding : (0, $f5b522f3e076d616$export$2e2bcd8739ae039)(padding, (0, $9b56e55559dfbda1$export$aec2ce47c367b8c3)));
9481
9489
  };
9482
9490
  function $84962ce4645f8891$var$arrow(_ref) {
9483
9491
  var _state$modifiersData$;
@@ -9490,16 +9498,16 @@ function $84962ce4645f8891$var$arrow(_ref) {
9490
9498
  (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4),
9491
9499
  (0, $9b56e55559dfbda1$export$79ffe56a765070d2)
9492
9500
  ].indexOf(basePlacement) >= 0;
9493
- var len = isVertical ? "height" : "width";
9501
+ var len = isVertical ? 'height' : 'width';
9494
9502
  if (!arrowElement || !popperOffsets) return;
9495
9503
  var paddingObject = $84962ce4645f8891$var$toPaddingObject(options.padding, state);
9496
9504
  var arrowRect = (0, $e287ac773d355028$export$2e2bcd8739ae039)(arrowElement);
9497
- var minProp = axis === "y" ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9498
- var maxProp = axis === "y" ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9505
+ var minProp = axis === 'y' ? (0, $9b56e55559dfbda1$export$1e95b668f3b82d) : (0, $9b56e55559dfbda1$export$eabcd2c8791e7bf4);
9506
+ var maxProp = axis === 'y' ? (0, $9b56e55559dfbda1$export$40e543e69a8b3fbb) : (0, $9b56e55559dfbda1$export$79ffe56a765070d2);
9499
9507
  var endDiff = state.rects.reference[len] + state.rects.reference[axis] - popperOffsets[axis] - state.rects.popper[len];
9500
9508
  var startDiff = popperOffsets[axis] - state.rects.reference[axis];
9501
9509
  var arrowOffsetParent = (0, $4acba801a6bfbaa3$export$2e2bcd8739ae039)(arrowElement);
9502
- var clientSize = arrowOffsetParent ? axis === "y" ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
9510
+ var clientSize = arrowOffsetParent ? axis === 'y' ? arrowOffsetParent.clientHeight || 0 : arrowOffsetParent.clientWidth || 0 : 0;
9503
9511
  var centerToReference = endDiff / 2 - startDiff / 2; // Make sure the arrow doesn't overflow the popper if the center point is
9504
9512
  // outside of the popper bounds
9505
9513
  var min = paddingObject[minProp];
@@ -9511,10 +9519,10 @@ function $84962ce4645f8891$var$arrow(_ref) {
9511
9519
  }
9512
9520
  function $84962ce4645f8891$var$effect(_ref2) {
9513
9521
  var state = _ref2.state, options = _ref2.options;
9514
- var _options$element = options.element, arrowElement = _options$element === void 0 ? "[data-popper-arrow]" : _options$element;
9522
+ var _options$element = options.element, arrowElement = _options$element === void 0 ? '[data-popper-arrow]' : _options$element;
9515
9523
  if (arrowElement == null) return;
9516
9524
  // CSS selector
9517
- if (typeof arrowElement === "string") {
9525
+ if (typeof arrowElement === 'string') {
9518
9526
  arrowElement = state.elements.popper.querySelector(arrowElement);
9519
9527
  if (!arrowElement) return;
9520
9528
  }
@@ -9522,16 +9530,16 @@ function $84962ce4645f8891$var$effect(_ref2) {
9522
9530
  state.elements.arrow = arrowElement;
9523
9531
  } // eslint-disable-next-line import/no-unused-modules
9524
9532
  var $84962ce4645f8891$export$2e2bcd8739ae039 = {
9525
- name: "arrow",
9533
+ name: 'arrow',
9526
9534
  enabled: true,
9527
- phase: "main",
9535
+ phase: 'main',
9528
9536
  fn: $84962ce4645f8891$var$arrow,
9529
9537
  effect: $84962ce4645f8891$var$effect,
9530
9538
  requires: [
9531
- "popperOffsets"
9539
+ 'popperOffsets'
9532
9540
  ],
9533
9541
  requiresIfExists: [
9534
- "preventOverflow"
9542
+ 'preventOverflow'
9535
9543
  ]
9536
9544
  };
9537
9545
 
@@ -9566,7 +9574,7 @@ function $c7da519ecac238a3$var$hide(_ref) {
9566
9574
  var popperRect = state.rects.popper;
9567
9575
  var preventedOffsets = state.modifiersData.preventOverflow;
9568
9576
  var referenceOverflow = (0, $223e3075705edc49$export$2e2bcd8739ae039)(state, {
9569
- elementContext: "reference"
9577
+ elementContext: 'reference'
9570
9578
  });
9571
9579
  var popperAltOverflow = (0, $223e3075705edc49$export$2e2bcd8739ae039)(state, {
9572
9580
  altBoundary: true
@@ -9582,16 +9590,16 @@ function $c7da519ecac238a3$var$hide(_ref) {
9582
9590
  hasPopperEscaped: hasPopperEscaped
9583
9591
  };
9584
9592
  state.attributes.popper = Object.assign({}, state.attributes.popper, {
9585
- "data-popper-reference-hidden": isReferenceHidden,
9586
- "data-popper-escaped": hasPopperEscaped
9593
+ 'data-popper-reference-hidden': isReferenceHidden,
9594
+ 'data-popper-escaped': hasPopperEscaped
9587
9595
  });
9588
9596
  } // eslint-disable-next-line import/no-unused-modules
9589
9597
  var $c7da519ecac238a3$export$2e2bcd8739ae039 = {
9590
- name: "hide",
9598
+ name: 'hide',
9591
9599
  enabled: true,
9592
- phase: "main",
9600
+ phase: 'main',
9593
9601
  requiresIfExists: [
9594
- "preventOverflow"
9602
+ 'preventOverflow'
9595
9603
  ],
9596
9604
  fn: $c7da519ecac238a3$var$hide
9597
9605
  };
@@ -9640,10 +9648,10 @@ function $b013befce1f6217f$var$getValueAtIndexOrReturn(value, index, defaultValu
9640
9648
  }
9641
9649
  function $b013befce1f6217f$var$isType(value, type) {
9642
9650
  var str = ({}).toString.call(value);
9643
- return str.indexOf("[object") === 0 && str.indexOf(type + "]") > -1;
9651
+ return str.indexOf('[object') === 0 && str.indexOf(type + "]") > -1;
9644
9652
  }
9645
9653
  function $b013befce1f6217f$var$invokeWithArgsOrReturn(value, args) {
9646
- return typeof value === "function" ? value.apply(void 0, args) : value;
9654
+ return typeof value === 'function' ? value.apply(void 0, args) : value;
9647
9655
  }
9648
9656
  function $b013befce1f6217f$var$debounce(fn, ms) {
9649
9657
  // Avoid wrapping in `setTimeout` if ms is 0 anyway
@@ -9678,7 +9686,7 @@ function $b013befce1f6217f$var$unique(arr) {
9678
9686
  });
9679
9687
  }
9680
9688
  function $b013befce1f6217f$var$getBasePlacement(placement) {
9681
- return placement.split("-")[0];
9689
+ return placement.split('-')[0];
9682
9690
  }
9683
9691
  function $b013befce1f6217f$var$arrayFrom(value) {
9684
9692
  return [].slice.call(value);
@@ -9690,21 +9698,21 @@ function $b013befce1f6217f$var$removeUndefinedProps(obj) {
9690
9698
  }, {});
9691
9699
  }
9692
9700
  function $b013befce1f6217f$var$div() {
9693
- return document.createElement("div");
9701
+ return document.createElement('div');
9694
9702
  }
9695
9703
  function $b013befce1f6217f$var$isElement(value) {
9696
9704
  return [
9697
- "Element",
9698
- "Fragment"
9705
+ 'Element',
9706
+ 'Fragment'
9699
9707
  ].some(function(type) {
9700
9708
  return $b013befce1f6217f$var$isType(value, type);
9701
9709
  });
9702
9710
  }
9703
9711
  function $b013befce1f6217f$var$isNodeList(value) {
9704
- return $b013befce1f6217f$var$isType(value, "NodeList");
9712
+ return $b013befce1f6217f$var$isType(value, 'NodeList');
9705
9713
  }
9706
9714
  function $b013befce1f6217f$var$isMouseEvent(value) {
9707
- return $b013befce1f6217f$var$isType(value, "MouseEvent");
9715
+ return $b013befce1f6217f$var$isType(value, 'MouseEvent');
9708
9716
  }
9709
9717
  function $b013befce1f6217f$var$isReferenceElement(value) {
9710
9718
  return !!(value && value._tippy && value._tippy.reference === value);
@@ -9724,7 +9732,7 @@ function $b013befce1f6217f$var$setTransitionDuration(els, value) {
9724
9732
  }
9725
9733
  function $b013befce1f6217f$var$setVisibilityState(els, state) {
9726
9734
  els.forEach(function(el) {
9727
- if (el) el.setAttribute("data-state", state);
9735
+ if (el) el.setAttribute('data-state', state);
9728
9736
  });
9729
9737
  }
9730
9738
  function $b013befce1f6217f$var$getOwnerDocument(elementOrElements) {
@@ -9740,10 +9748,10 @@ function $b013befce1f6217f$var$isCursorOutsideInteractiveBorder(popperTreeData,
9740
9748
  var basePlacement = $b013befce1f6217f$var$getBasePlacement(popperState.placement);
9741
9749
  var offsetData = popperState.modifiersData.offset;
9742
9750
  if (!offsetData) return true;
9743
- var topDistance = basePlacement === "bottom" ? offsetData.top.y : 0;
9744
- var bottomDistance = basePlacement === "top" ? offsetData.bottom.y : 0;
9745
- var leftDistance = basePlacement === "right" ? offsetData.left.x : 0;
9746
- var rightDistance = basePlacement === "left" ? offsetData.right.x : 0;
9751
+ var topDistance = basePlacement === 'bottom' ? offsetData.top.y : 0;
9752
+ var bottomDistance = basePlacement === 'top' ? offsetData.bottom.y : 0;
9753
+ var leftDistance = basePlacement === 'right' ? offsetData.left.x : 0;
9754
+ var rightDistance = basePlacement === 'left' ? offsetData.right.x : 0;
9747
9755
  var exceedsTop = popperRect.top - clientY + topDistance > interactiveBorder;
9748
9756
  var exceedsBottom = clientY - popperRect.bottom - bottomDistance > interactiveBorder;
9749
9757
  var exceedsLeft = popperRect.left - clientX + leftDistance > interactiveBorder;
@@ -9755,8 +9763,8 @@ function $b013befce1f6217f$var$updateTransitionEndListener(box, action, listener
9755
9763
  var method = action + "EventListener"; // some browsers apparently support `transition` (unprefixed) but only fire
9756
9764
  // `webkitTransitionEnd`...
9757
9765
  [
9758
- "transitionend",
9759
- "webkitTransitionEnd"
9766
+ 'transitionend',
9767
+ 'webkitTransitionEnd'
9760
9768
  ].forEach(function(event) {
9761
9769
  box[method](event, listener);
9762
9770
  });
@@ -9785,7 +9793,7 @@ var $b013befce1f6217f$var$lastMouseMoveTime = 0;
9785
9793
  */ function $b013befce1f6217f$var$onDocumentTouchStart() {
9786
9794
  if ($b013befce1f6217f$var$currentInput.isTouch) return;
9787
9795
  $b013befce1f6217f$var$currentInput.isTouch = true;
9788
- if (window.performance) document.addEventListener("mousemove", $b013befce1f6217f$var$onDocumentMouseMove);
9796
+ if (window.performance) document.addEventListener('mousemove', $b013befce1f6217f$var$onDocumentMouseMove);
9789
9797
  }
9790
9798
  /**
9791
9799
  * When two `mousemove` event are fired consecutively within 20ms, it's assumed
@@ -9795,7 +9803,7 @@ var $b013befce1f6217f$var$lastMouseMoveTime = 0;
9795
9803
  var now = performance.now();
9796
9804
  if (now - $b013befce1f6217f$var$lastMouseMoveTime < 20) {
9797
9805
  $b013befce1f6217f$var$currentInput.isTouch = false;
9798
- document.removeEventListener("mousemove", $b013befce1f6217f$var$onDocumentMouseMove);
9806
+ document.removeEventListener('mousemove', $b013befce1f6217f$var$onDocumentMouseMove);
9799
9807
  }
9800
9808
  $b013befce1f6217f$var$lastMouseMoveTime = now;
9801
9809
  }
@@ -9812,22 +9820,22 @@ var $b013befce1f6217f$var$lastMouseMoveTime = 0;
9812
9820
  }
9813
9821
  }
9814
9822
  function $b013befce1f6217f$var$bindGlobalEventListeners() {
9815
- document.addEventListener("touchstart", $b013befce1f6217f$var$onDocumentTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
9816
- window.addEventListener("blur", $b013befce1f6217f$var$onWindowBlur);
9823
+ document.addEventListener('touchstart', $b013befce1f6217f$var$onDocumentTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
9824
+ window.addEventListener('blur', $b013befce1f6217f$var$onWindowBlur);
9817
9825
  }
9818
- var $b013befce1f6217f$var$isBrowser = typeof window !== "undefined" && typeof document !== "undefined";
9826
+ var $b013befce1f6217f$var$isBrowser = typeof window !== 'undefined' && typeof document !== 'undefined';
9819
9827
  var $b013befce1f6217f$var$isIE11 = $b013befce1f6217f$var$isBrowser ? !!window.msCrypto : false;
9820
9828
  function $b013befce1f6217f$var$createMemoryLeakWarning(method) {
9821
- var txt = method === "destroy" ? "n already-" : " ";
9829
+ var txt = method === 'destroy' ? 'n already-' : ' ';
9822
9830
  return [
9823
9831
  method + "() was called on a" + txt + "destroyed instance. This is a no-op but",
9824
- "indicates a potential memory leak."
9825
- ].join(" ");
9832
+ 'indicates a potential memory leak.'
9833
+ ].join(' ');
9826
9834
  }
9827
9835
  function $b013befce1f6217f$var$clean(value) {
9828
9836
  var spacesAndTabs = /[ \t]{2,}/g;
9829
9837
  var lineStartWithSpaces = /^[ \t]*/gm;
9830
- return value.replace(spacesAndTabs, " ").replace(lineStartWithSpaces, "").trim();
9838
+ return value.replace(spacesAndTabs, ' ').replace(lineStartWithSpaces, '').trim();
9831
9839
  }
9832
9840
  function $b013befce1f6217f$var$getDevMessage(message) {
9833
9841
  return $b013befce1f6217f$var$clean("\n %ctippy.js\n\n %c" + $b013befce1f6217f$var$clean(message) + "\n\n %c\uD83D\uDC77\u200D This is a development-only message. It will be removed in production.\n ");
@@ -9835,9 +9843,9 @@ function $b013befce1f6217f$var$getDevMessage(message) {
9835
9843
  function $b013befce1f6217f$var$getFormattedMessage(message) {
9836
9844
  return [
9837
9845
  $b013befce1f6217f$var$getDevMessage(message),
9838
- "color: #00C584; font-size: 1.3em; font-weight: bold;",
9839
- "line-height: 1.5",
9840
- "color: #a6a095;"
9846
+ 'color: #00C584; font-size: 1.3em; font-weight: bold;',
9847
+ 'line-height: 1.5',
9848
+ 'color: #a6a095;'
9841
9849
  ];
9842
9850
  } // Assume warnings and errors never have the same message
9843
9851
  var $b013befce1f6217f$var$visitedMessages;
@@ -9860,17 +9868,17 @@ function $b013befce1f6217f$var$errorWhen(condition, message) {
9860
9868
  }
9861
9869
  function $b013befce1f6217f$var$validateTargets(targets) {
9862
9870
  var didPassFalsyValue = !targets;
9863
- var didPassPlainObject = Object.prototype.toString.call(targets) === "[object Object]" && !targets.addEventListener;
9871
+ var didPassPlainObject = Object.prototype.toString.call(targets) === '[object Object]' && !targets.addEventListener;
9864
9872
  $b013befce1f6217f$var$errorWhen(didPassFalsyValue, [
9865
- "tippy() was passed",
9866
- "`" + String(targets) + "`",
9867
- "as its targets (first) argument. Valid types are: String, Element,",
9868
- "Element[], or NodeList."
9869
- ].join(" "));
9873
+ 'tippy() was passed',
9874
+ '`' + String(targets) + '`',
9875
+ 'as its targets (first) argument. Valid types are: String, Element,',
9876
+ 'Element[], or NodeList.'
9877
+ ].join(' '));
9870
9878
  $b013befce1f6217f$var$errorWhen(didPassPlainObject, [
9871
- "tippy() was passed a plain object which is not supported as an argument",
9872
- "for virtual positioning. Use props.getReferenceClientRect instead."
9873
- ].join(" "));
9879
+ 'tippy() was passed a plain object which is not supported as an argument',
9880
+ 'for virtual positioning. Use props.getReferenceClientRect instead.'
9881
+ ].join(' '));
9874
9882
  }
9875
9883
  var $b013befce1f6217f$var$pluginProps = {
9876
9884
  animateFill: false,
@@ -9880,20 +9888,20 @@ var $b013befce1f6217f$var$pluginProps = {
9880
9888
  };
9881
9889
  var $b013befce1f6217f$var$renderProps = {
9882
9890
  allowHTML: false,
9883
- animation: "fade",
9891
+ animation: 'fade',
9884
9892
  arrow: true,
9885
- content: "",
9893
+ content: '',
9886
9894
  inertia: false,
9887
9895
  maxWidth: 350,
9888
- role: "tooltip",
9889
- theme: "",
9896
+ role: 'tooltip',
9897
+ theme: '',
9890
9898
  zIndex: 9999
9891
9899
  };
9892
9900
  var $b013befce1f6217f$var$defaultProps = Object.assign({
9893
9901
  appendTo: $b013befce1f6217f$var$TIPPY_DEFAULT_APPEND_TO,
9894
9902
  aria: {
9895
- content: "auto",
9896
- expanded: "auto"
9903
+ content: 'auto',
9904
+ expanded: 'auto'
9897
9905
  },
9898
9906
  delay: 0,
9899
9907
  duration: [
@@ -9906,7 +9914,7 @@ var $b013befce1f6217f$var$defaultProps = Object.assign({
9906
9914
  interactive: false,
9907
9915
  interactiveBorder: 2,
9908
9916
  interactiveDebounce: 0,
9909
- moveTransition: "",
9917
+ moveTransition: '',
9910
9918
  offset: [
9911
9919
  0,
9912
9920
  10
@@ -9923,13 +9931,13 @@ var $b013befce1f6217f$var$defaultProps = Object.assign({
9923
9931
  onTrigger: function onTrigger() {},
9924
9932
  onUntrigger: function onUntrigger() {},
9925
9933
  onClickOutside: function onClickOutside() {},
9926
- placement: "top",
9934
+ placement: 'top',
9927
9935
  plugins: [],
9928
9936
  popperOptions: {},
9929
9937
  render: null,
9930
9938
  showOnCreate: false,
9931
9939
  touch: true,
9932
- trigger: "mouseenter focus",
9940
+ trigger: 'mouseenter focus',
9933
9941
  triggerTarget: null
9934
9942
  }, $b013befce1f6217f$var$pluginProps, $b013befce1f6217f$var$renderProps);
9935
9943
  var $b013befce1f6217f$var$defaultKeys = Object.keys($b013befce1f6217f$var$defaultProps);
@@ -9956,9 +9964,9 @@ function $b013befce1f6217f$var$getDataAttributeProps(reference, plugins) {
9956
9964
  plugins: plugins
9957
9965
  }))) : $b013befce1f6217f$var$defaultKeys;
9958
9966
  var props = propKeys.reduce(function(acc, key) {
9959
- var valueAsString = (reference.getAttribute("data-tippy-" + key) || "").trim();
9967
+ var valueAsString = (reference.getAttribute("data-tippy-" + key) || '').trim();
9960
9968
  if (!valueAsString) return acc;
9961
- if (key === "content") acc[key] = valueAsString;
9969
+ if (key === 'content') acc[key] = valueAsString;
9962
9970
  else try {
9963
9971
  acc[key] = JSON.parse(valueAsString);
9964
9972
  } catch (e) {
@@ -9976,8 +9984,8 @@ function $b013befce1f6217f$var$evaluateProps(reference, props) {
9976
9984
  }, props.ignoreAttributes ? {} : $b013befce1f6217f$var$getDataAttributeProps(reference, props.plugins));
9977
9985
  out.aria = Object.assign({}, $b013befce1f6217f$var$defaultProps.aria, out.aria);
9978
9986
  out.aria = {
9979
- expanded: out.aria.expanded === "auto" ? props.interactive : out.aria.expanded,
9980
- content: out.aria.content === "auto" ? props.interactive ? null : "describedby" : out.aria.content
9987
+ expanded: out.aria.expanded === 'auto' ? props.interactive : out.aria.expanded,
9988
+ content: out.aria.content === 'auto' ? props.interactive ? null : 'describedby' : out.aria.content
9981
9989
  };
9982
9990
  return out;
9983
9991
  }
@@ -9994,15 +10002,15 @@ function $b013befce1f6217f$var$validateProps(partialProps, plugins) {
9994
10002
  $b013befce1f6217f$var$warnWhen(didPassUnknownProp, [
9995
10003
  "`" + prop + "`",
9996
10004
  "is not a valid prop. You may have spelled it incorrectly, or if it's",
9997
- "a plugin, forgot to pass it in an array as props.plugins.",
9998
- "\n\n",
9999
- "All props: https://atomiks.github.io/tippyjs/v6/all-props/\n",
10000
- "Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"
10001
- ].join(" "));
10005
+ 'a plugin, forgot to pass it in an array as props.plugins.',
10006
+ '\n\n',
10007
+ 'All props: https://atomiks.github.io/tippyjs/v6/all-props/\n',
10008
+ 'Plugins: https://atomiks.github.io/tippyjs/v6/plugins/'
10009
+ ].join(' '));
10002
10010
  });
10003
10011
  }
10004
10012
  var $b013befce1f6217f$var$innerHTML = function innerHTML() {
10005
- return "innerHTML";
10013
+ return 'innerHTML';
10006
10014
  };
10007
10015
  function $b013befce1f6217f$var$dangerouslySetInnerHTML(element, html) {
10008
10016
  element[$b013befce1f6217f$var$innerHTML()] = html;
@@ -10019,9 +10027,9 @@ function $b013befce1f6217f$var$createArrowElement(value) {
10019
10027
  }
10020
10028
  function $b013befce1f6217f$var$setContent(content, props) {
10021
10029
  if ($b013befce1f6217f$var$isElement(props.content)) {
10022
- $b013befce1f6217f$var$dangerouslySetInnerHTML(content, "");
10030
+ $b013befce1f6217f$var$dangerouslySetInnerHTML(content, '');
10023
10031
  content.appendChild(props.content);
10024
- } else if (typeof props.content !== "function") {
10032
+ } else if (typeof props.content !== 'function') {
10025
10033
  if (props.allowHTML) $b013befce1f6217f$var$dangerouslySetInnerHTML(content, props.content);
10026
10034
  else content.textContent = props.content;
10027
10035
  }
@@ -10046,26 +10054,26 @@ function $b013befce1f6217f$var$render(instance) {
10046
10054
  var popper = $b013befce1f6217f$var$div();
10047
10055
  var box = $b013befce1f6217f$var$div();
10048
10056
  box.className = $b013befce1f6217f$var$BOX_CLASS;
10049
- box.setAttribute("data-state", "hidden");
10050
- box.setAttribute("tabindex", "-1");
10057
+ box.setAttribute('data-state', 'hidden');
10058
+ box.setAttribute('tabindex', '-1');
10051
10059
  var content = $b013befce1f6217f$var$div();
10052
10060
  content.className = $b013befce1f6217f$var$CONTENT_CLASS;
10053
- content.setAttribute("data-state", "hidden");
10061
+ content.setAttribute('data-state', 'hidden');
10054
10062
  $b013befce1f6217f$var$setContent(content, instance.props);
10055
10063
  popper.appendChild(box);
10056
10064
  box.appendChild(content);
10057
10065
  onUpdate(instance.props, instance.props);
10058
10066
  function onUpdate(prevProps, nextProps) {
10059
10067
  var _getChildren = $b013befce1f6217f$var$getChildren(popper), box = _getChildren.box, content = _getChildren.content, arrow = _getChildren.arrow;
10060
- if (nextProps.theme) box.setAttribute("data-theme", nextProps.theme);
10061
- else box.removeAttribute("data-theme");
10062
- if (typeof nextProps.animation === "string") box.setAttribute("data-animation", nextProps.animation);
10063
- else box.removeAttribute("data-animation");
10064
- if (nextProps.inertia) box.setAttribute("data-inertia", "");
10065
- else box.removeAttribute("data-inertia");
10066
- box.style.maxWidth = typeof nextProps.maxWidth === "number" ? nextProps.maxWidth + "px" : nextProps.maxWidth;
10067
- if (nextProps.role) box.setAttribute("role", nextProps.role);
10068
- else box.removeAttribute("role");
10068
+ if (nextProps.theme) box.setAttribute('data-theme', nextProps.theme);
10069
+ else box.removeAttribute('data-theme');
10070
+ if (typeof nextProps.animation === 'string') box.setAttribute('data-animation', nextProps.animation);
10071
+ else box.removeAttribute('data-animation');
10072
+ if (nextProps.inertia) box.setAttribute('data-inertia', '');
10073
+ else box.removeAttribute('data-inertia');
10074
+ box.style.maxWidth = typeof nextProps.maxWidth === 'number' ? nextProps.maxWidth + "px" : nextProps.maxWidth;
10075
+ if (nextProps.role) box.setAttribute('role', nextProps.role);
10076
+ else box.removeAttribute('role');
10069
10077
  if (prevProps.content !== nextProps.content || prevProps.allowHTML !== nextProps.allowHTML) $b013befce1f6217f$var$setContent(content, instance.props);
10070
10078
  if (nextProps.arrow) {
10071
10079
  if (!arrow) box.appendChild($b013befce1f6217f$var$createArrowElement(nextProps.arrow));
@@ -10146,7 +10154,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10146
10154
  // Initial mutations
10147
10155
  // ===========================================================================
10148
10156
  var _props$render = props.render(instance), popper = _props$render.popper, onUpdate = _props$render.onUpdate;
10149
- popper.setAttribute("data-tippy-root", "");
10157
+ popper.setAttribute('data-tippy-root', '');
10150
10158
  popper.id = "tippy-" + instance.id;
10151
10159
  instance.popper = popper;
10152
10160
  reference._tippy = instance;
@@ -10154,21 +10162,21 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10154
10162
  var pluginsHooks = plugins.map(function(plugin) {
10155
10163
  return plugin.fn(instance);
10156
10164
  });
10157
- var hasAriaExpanded = reference.hasAttribute("aria-expanded");
10165
+ var hasAriaExpanded = reference.hasAttribute('aria-expanded');
10158
10166
  addListeners();
10159
10167
  handleAriaExpandedAttribute();
10160
10168
  handleStyles();
10161
- invokeHook("onCreate", [
10169
+ invokeHook('onCreate', [
10162
10170
  instance
10163
10171
  ]);
10164
10172
  if (props.showOnCreate) scheduleShow();
10165
10173
  // Prevent a tippy with a delay from hiding if the cursor left then returned
10166
10174
  // before it started hiding
10167
- popper.addEventListener("mouseenter", function() {
10175
+ popper.addEventListener('mouseenter', function() {
10168
10176
  if (instance.props.interactive && instance.state.isVisible) instance.clearDelayTimeouts();
10169
10177
  });
10170
- popper.addEventListener("mouseleave", function() {
10171
- if (instance.props.interactive && instance.props.trigger.indexOf("mouseenter") >= 0) getDocument().addEventListener("mousemove", debouncedOnMouseMove);
10178
+ popper.addEventListener('mouseleave', function() {
10179
+ if (instance.props.interactive && instance.props.trigger.indexOf('mouseenter') >= 0) getDocument().addEventListener('mousemove', debouncedOnMouseMove);
10172
10180
  });
10173
10181
  return instance; // ===========================================================================
10174
10182
  // 🔒 Private methods
@@ -10181,7 +10189,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10181
10189
  ];
10182
10190
  }
10183
10191
  function getIsCustomTouchBehavior() {
10184
- return getNormalizedTouchSettings()[0] === "hold";
10192
+ return getNormalizedTouchSettings()[0] === 'hold';
10185
10193
  }
10186
10194
  function getIsDefaultRenderFn() {
10187
10195
  var _instance$props$rende;
@@ -10202,12 +10210,12 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10202
10210
  // For touch or keyboard input, force `0` delay for UX reasons
10203
10211
  // Also if the instance is mounted but not visible (transitioning out),
10204
10212
  // ignore delay
10205
- if (instance.state.isMounted && !instance.state.isVisible || $b013befce1f6217f$var$currentInput.isTouch || lastTriggerEvent && lastTriggerEvent.type === "focus") return 0;
10213
+ if (instance.state.isMounted && !instance.state.isVisible || $b013befce1f6217f$var$currentInput.isTouch || lastTriggerEvent && lastTriggerEvent.type === 'focus') return 0;
10206
10214
  return $b013befce1f6217f$var$getValueAtIndexOrReturn(instance.props.delay, isShow ? 0 : 1, $b013befce1f6217f$var$defaultProps.delay);
10207
10215
  }
10208
10216
  function handleStyles(fromHide) {
10209
10217
  if (fromHide === void 0) fromHide = false;
10210
- popper.style.pointerEvents = instance.props.interactive && !fromHide ? "" : "none";
10218
+ popper.style.pointerEvents = instance.props.interactive && !fromHide ? '' : 'none';
10211
10219
  popper.style.zIndex = "" + instance.props.zIndex;
10212
10220
  }
10213
10221
  function invokeHook(hook, args, shouldInvokePropsHook) {
@@ -10230,7 +10238,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10230
10238
  var currentValue = node.getAttribute(attr);
10231
10239
  if (instance.state.isVisible) node.setAttribute(attr, currentValue ? currentValue + " " + id : id);
10232
10240
  else {
10233
- var nextValue = currentValue && currentValue.replace(id, "").trim();
10241
+ var nextValue = currentValue && currentValue.replace(id, '').trim();
10234
10242
  if (nextValue) node.setAttribute(attr, nextValue);
10235
10243
  else node.removeAttribute(attr);
10236
10244
  }
@@ -10240,12 +10248,12 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10240
10248
  if (hasAriaExpanded || !instance.props.aria.expanded) return;
10241
10249
  var nodes = $b013befce1f6217f$var$normalizeToArray(instance.props.triggerTarget || reference);
10242
10250
  nodes.forEach(function(node) {
10243
- if (instance.props.interactive) node.setAttribute("aria-expanded", instance.state.isVisible && node === getCurrentTarget() ? "true" : "false");
10244
- else node.removeAttribute("aria-expanded");
10251
+ if (instance.props.interactive) node.setAttribute('aria-expanded', instance.state.isVisible && node === getCurrentTarget() ? 'true' : 'false');
10252
+ else node.removeAttribute('aria-expanded');
10245
10253
  });
10246
10254
  }
10247
10255
  function cleanupInteractiveMouseListeners() {
10248
- getDocument().removeEventListener("mousemove", debouncedOnMouseMove);
10256
+ getDocument().removeEventListener('mousemove', debouncedOnMouseMove);
10249
10257
  $b013befce1f6217f$var$mouseMoveListeners = $b013befce1f6217f$var$mouseMoveListeners.filter(function(listener) {
10250
10258
  return listener !== debouncedOnMouseMove;
10251
10259
  });
@@ -10253,7 +10261,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10253
10261
  function onDocumentPress(event) {
10254
10262
  // Moved finger to scroll instead of an intentional tap outside
10255
10263
  if ($b013befce1f6217f$var$currentInput.isTouch) {
10256
- if (didTouchMove || event.type === "mousedown") return;
10264
+ if (didTouchMove || event.type === 'mousedown') return;
10257
10265
  }
10258
10266
  var actualTarget = event.composedPath && event.composedPath()[0] || event.target; // Clicked on interactive popper
10259
10267
  if (instance.props.interactive && $b013befce1f6217f$var$actualContains(popper, actualTarget)) return;
@@ -10262,8 +10270,8 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10262
10270
  return $b013befce1f6217f$var$actualContains(el, actualTarget);
10263
10271
  })) {
10264
10272
  if ($b013befce1f6217f$var$currentInput.isTouch) return;
10265
- if (instance.state.isVisible && instance.props.trigger.indexOf("click") >= 0) return;
10266
- } else invokeHook("onClickOutside", [
10273
+ if (instance.state.isVisible && instance.props.trigger.indexOf('click') >= 0) return;
10274
+ } else invokeHook('onClickOutside', [
10267
10275
  instance,
10268
10276
  event
10269
10277
  ]);
@@ -10289,17 +10297,17 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10289
10297
  }
10290
10298
  function addDocumentPress() {
10291
10299
  var doc = getDocument();
10292
- doc.addEventListener("mousedown", onDocumentPress, true);
10293
- doc.addEventListener("touchend", onDocumentPress, $b013befce1f6217f$var$TOUCH_OPTIONS);
10294
- doc.addEventListener("touchstart", onTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
10295
- doc.addEventListener("touchmove", onTouchMove, $b013befce1f6217f$var$TOUCH_OPTIONS);
10300
+ doc.addEventListener('mousedown', onDocumentPress, true);
10301
+ doc.addEventListener('touchend', onDocumentPress, $b013befce1f6217f$var$TOUCH_OPTIONS);
10302
+ doc.addEventListener('touchstart', onTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
10303
+ doc.addEventListener('touchmove', onTouchMove, $b013befce1f6217f$var$TOUCH_OPTIONS);
10296
10304
  }
10297
10305
  function removeDocumentPress() {
10298
10306
  var doc = getDocument();
10299
- doc.removeEventListener("mousedown", onDocumentPress, true);
10300
- doc.removeEventListener("touchend", onDocumentPress, $b013befce1f6217f$var$TOUCH_OPTIONS);
10301
- doc.removeEventListener("touchstart", onTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
10302
- doc.removeEventListener("touchmove", onTouchMove, $b013befce1f6217f$var$TOUCH_OPTIONS);
10307
+ doc.removeEventListener('mousedown', onDocumentPress, true);
10308
+ doc.removeEventListener('touchend', onDocumentPress, $b013befce1f6217f$var$TOUCH_OPTIONS);
10309
+ doc.removeEventListener('touchstart', onTouchStart, $b013befce1f6217f$var$TOUCH_OPTIONS);
10310
+ doc.removeEventListener('touchmove', onTouchMove, $b013befce1f6217f$var$TOUCH_OPTIONS);
10303
10311
  }
10304
10312
  function onTransitionedOut(duration, callback) {
10305
10313
  onTransitionEnd(duration, function() {
@@ -10313,14 +10321,14 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10313
10321
  var box = getDefaultTemplateChildren().box;
10314
10322
  function listener(event) {
10315
10323
  if (event.target === box) {
10316
- $b013befce1f6217f$var$updateTransitionEndListener(box, "remove", listener);
10324
+ $b013befce1f6217f$var$updateTransitionEndListener(box, 'remove', listener);
10317
10325
  callback();
10318
10326
  }
10319
10327
  } // Make callback synchronous if duration is 0
10320
10328
  // `transitionend` won't fire otherwise
10321
10329
  if (duration === 0) return callback();
10322
- $b013befce1f6217f$var$updateTransitionEndListener(box, "remove", currentTransitionEndListener);
10323
- $b013befce1f6217f$var$updateTransitionEndListener(box, "add", listener);
10330
+ $b013befce1f6217f$var$updateTransitionEndListener(box, 'remove', currentTransitionEndListener);
10331
+ $b013befce1f6217f$var$updateTransitionEndListener(box, 'add', listener);
10324
10332
  currentTransitionEndListener = listener;
10325
10333
  }
10326
10334
  function on(eventType, handler, options) {
@@ -10338,25 +10346,25 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10338
10346
  }
10339
10347
  function addListeners() {
10340
10348
  if (getIsCustomTouchBehavior()) {
10341
- on("touchstart", onTrigger, {
10349
+ on('touchstart', onTrigger, {
10342
10350
  passive: true
10343
10351
  });
10344
- on("touchend", onMouseLeave, {
10352
+ on('touchend', onMouseLeave, {
10345
10353
  passive: true
10346
10354
  });
10347
10355
  }
10348
10356
  $b013befce1f6217f$var$splitBySpaces(instance.props.trigger).forEach(function(eventType) {
10349
- if (eventType === "manual") return;
10357
+ if (eventType === 'manual') return;
10350
10358
  on(eventType, onTrigger);
10351
10359
  switch(eventType){
10352
- case "mouseenter":
10353
- on("mouseleave", onMouseLeave);
10360
+ case 'mouseenter':
10361
+ on('mouseleave', onMouseLeave);
10354
10362
  break;
10355
- case "focus":
10356
- on($b013befce1f6217f$var$isIE11 ? "focusout" : "blur", onBlurOrFocusOut);
10363
+ case 'focus':
10364
+ on($b013befce1f6217f$var$isIE11 ? 'focusout' : 'blur', onBlurOrFocusOut);
10357
10365
  break;
10358
- case "focusin":
10359
- on("focusout", onBlurOrFocusOut);
10366
+ case 'focusin':
10367
+ on('focusout', onBlurOrFocusOut);
10360
10368
  break;
10361
10369
  }
10362
10370
  });
@@ -10372,7 +10380,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10372
10380
  var _lastTriggerEvent;
10373
10381
  var shouldScheduleClickHide = false;
10374
10382
  if (!instance.state.isEnabled || isEventListenerStopped(event) || didHideDueToDocumentMouseDown) return;
10375
- var wasFocused = ((_lastTriggerEvent = lastTriggerEvent) == null ? void 0 : _lastTriggerEvent.type) === "focus";
10383
+ var wasFocused = ((_lastTriggerEvent = lastTriggerEvent) == null ? void 0 : _lastTriggerEvent.type) === 'focus';
10376
10384
  lastTriggerEvent = event;
10377
10385
  currentTarget = event.currentTarget;
10378
10386
  handleAriaExpandedAttribute();
@@ -10384,15 +10392,15 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10384
10392
  return listener(event);
10385
10393
  });
10386
10394
  // Toggle show/hide when clicking click-triggered tooltips
10387
- if (event.type === "click" && (instance.props.trigger.indexOf("mouseenter") < 0 || isVisibleFromClick) && instance.props.hideOnClick !== false && instance.state.isVisible) shouldScheduleClickHide = true;
10395
+ if (event.type === 'click' && (instance.props.trigger.indexOf('mouseenter') < 0 || isVisibleFromClick) && instance.props.hideOnClick !== false && instance.state.isVisible) shouldScheduleClickHide = true;
10388
10396
  else scheduleShow(event);
10389
- if (event.type === "click") isVisibleFromClick = !shouldScheduleClickHide;
10397
+ if (event.type === 'click') isVisibleFromClick = !shouldScheduleClickHide;
10390
10398
  if (shouldScheduleClickHide && !wasFocused) scheduleHide(event);
10391
10399
  }
10392
10400
  function onMouseMove(event) {
10393
10401
  var target = event.target;
10394
10402
  var isCursorOverReferenceOrPopper = getCurrentTarget().contains(target) || popper.contains(target);
10395
- if (event.type === "mousemove" && isCursorOverReferenceOrPopper) return;
10403
+ if (event.type === 'mousemove' && isCursorOverReferenceOrPopper) return;
10396
10404
  var popperTreeData = getNestedPopperTree().concat(popper).map(function(popper) {
10397
10405
  var _instance$popperInsta;
10398
10406
  var instance = popper._tippy;
@@ -10410,7 +10418,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10410
10418
  }
10411
10419
  }
10412
10420
  function onMouseLeave(event) {
10413
- var shouldBail = isEventListenerStopped(event) || instance.props.trigger.indexOf("click") >= 0 && isVisibleFromClick;
10421
+ var shouldBail = isEventListenerStopped(event) || instance.props.trigger.indexOf('click') >= 0 && isVisibleFromClick;
10414
10422
  if (shouldBail) return;
10415
10423
  if (instance.props.interactive) {
10416
10424
  instance.hideWithInteractivity(event);
@@ -10419,13 +10427,13 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10419
10427
  scheduleHide(event);
10420
10428
  }
10421
10429
  function onBlurOrFocusOut(event) {
10422
- if (instance.props.trigger.indexOf("focusin") < 0 && event.target !== getCurrentTarget()) return;
10430
+ if (instance.props.trigger.indexOf('focusin') < 0 && event.target !== getCurrentTarget()) return;
10423
10431
  // If focus was moved to within the popper
10424
10432
  if (instance.props.interactive && event.relatedTarget && popper.contains(event.relatedTarget)) return;
10425
10433
  scheduleHide(event);
10426
10434
  }
10427
10435
  function isEventListenerStopped(event) {
10428
- return $b013befce1f6217f$var$currentInput.isTouch ? getIsCustomTouchBehavior() !== event.type.indexOf("touch") >= 0 : false;
10436
+ return $b013befce1f6217f$var$currentInput.isTouch ? getIsCustomTouchBehavior() !== event.type.indexOf('touch') >= 0 : false;
10429
10437
  }
10430
10438
  function createPopperInstance() {
10431
10439
  destroyPopperInstance();
@@ -10436,23 +10444,23 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10436
10444
  contextElement: getReferenceClientRect.contextElement || getCurrentTarget()
10437
10445
  } : reference;
10438
10446
  var tippyModifier = {
10439
- name: "$$tippy",
10447
+ name: '$$tippy',
10440
10448
  enabled: true,
10441
- phase: "beforeWrite",
10449
+ phase: 'beforeWrite',
10442
10450
  requires: [
10443
- "computeStyles"
10451
+ 'computeStyles'
10444
10452
  ],
10445
10453
  fn: function fn(_ref2) {
10446
10454
  var state = _ref2.state;
10447
10455
  if (getIsDefaultRenderFn()) {
10448
10456
  var _getDefaultTemplateCh = getDefaultTemplateChildren(), box = _getDefaultTemplateCh.box;
10449
10457
  [
10450
- "placement",
10451
- "reference-hidden",
10452
- "escaped"
10458
+ 'placement',
10459
+ 'reference-hidden',
10460
+ 'escaped'
10453
10461
  ].forEach(function(attr) {
10454
- if (attr === "placement") box.setAttribute("data-placement", state.placement);
10455
- else if (state.attributes.popper["data-popper-" + attr]) box.setAttribute("data-" + attr, "");
10462
+ if (attr === 'placement') box.setAttribute('data-placement', state.placement);
10463
+ else if (state.attributes.popper["data-popper-" + attr]) box.setAttribute("data-" + attr, '');
10456
10464
  else box.removeAttribute("data-" + attr);
10457
10465
  });
10458
10466
  state.attributes.popper = {};
@@ -10461,13 +10469,13 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10461
10469
  };
10462
10470
  var modifiers = [
10463
10471
  {
10464
- name: "offset",
10472
+ name: 'offset',
10465
10473
  options: {
10466
10474
  offset: offset
10467
10475
  }
10468
10476
  },
10469
10477
  {
10470
- name: "preventOverflow",
10478
+ name: 'preventOverflow',
10471
10479
  options: {
10472
10480
  padding: {
10473
10481
  top: 2,
@@ -10478,13 +10486,13 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10478
10486
  }
10479
10487
  },
10480
10488
  {
10481
- name: "flip",
10489
+ name: 'flip',
10482
10490
  options: {
10483
10491
  padding: 5
10484
10492
  }
10485
10493
  },
10486
10494
  {
10487
- name: "computeStyles",
10495
+ name: 'computeStyles',
10488
10496
  options: {
10489
10497
  adaptive: !moveTransition
10490
10498
  }
@@ -10492,7 +10500,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10492
10500
  tippyModifier
10493
10501
  ];
10494
10502
  if (getIsDefaultRenderFn() && arrow) modifiers.push({
10495
- name: "arrow",
10503
+ name: 'arrow',
10496
10504
  options: {
10497
10505
  element: arrow,
10498
10506
  padding: 3
@@ -10519,7 +10527,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10519
10527
  // If there are clipping issues, the user can specify a different appendTo
10520
10528
  // and ensure focus management is handled correctly manually
10521
10529
  var node = getCurrentTarget();
10522
- if (instance.props.interactive && appendTo === $b013befce1f6217f$var$TIPPY_DEFAULT_APPEND_TO || appendTo === "parent") parentNode = node.parentNode;
10530
+ if (instance.props.interactive && appendTo === $b013befce1f6217f$var$TIPPY_DEFAULT_APPEND_TO || appendTo === 'parent') parentNode = node.parentNode;
10523
10531
  else parentNode = $b013befce1f6217f$var$invokeWithArgsOrReturn(appendTo, [
10524
10532
  node
10525
10533
  ]);
@@ -10530,18 +10538,18 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10530
10538
  createPopperInstance();
10531
10539
  }
10532
10540
  function getNestedPopperTree() {
10533
- return $b013befce1f6217f$var$arrayFrom(popper.querySelectorAll("[data-tippy-root]"));
10541
+ return $b013befce1f6217f$var$arrayFrom(popper.querySelectorAll('[data-tippy-root]'));
10534
10542
  }
10535
10543
  function scheduleShow(event) {
10536
10544
  instance.clearDelayTimeouts();
10537
- if (event) invokeHook("onTrigger", [
10545
+ if (event) invokeHook('onTrigger', [
10538
10546
  instance,
10539
10547
  event
10540
10548
  ]);
10541
10549
  addDocumentPress();
10542
10550
  var delay = getDelay(true);
10543
10551
  var _getNormalizedTouchSe = getNormalizedTouchSettings(), touchValue = _getNormalizedTouchSe[0], touchDelay = _getNormalizedTouchSe[1];
10544
- if ($b013befce1f6217f$var$currentInput.isTouch && touchValue === "hold" && touchDelay) delay = touchDelay;
10552
+ if ($b013befce1f6217f$var$currentInput.isTouch && touchValue === 'hold' && touchDelay) delay = touchDelay;
10545
10553
  if (delay) showTimeout = setTimeout(function() {
10546
10554
  instance.show();
10547
10555
  }, delay);
@@ -10549,7 +10557,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10549
10557
  }
10550
10558
  function scheduleHide(event) {
10551
10559
  instance.clearDelayTimeouts();
10552
- invokeHook("onUntrigger", [
10560
+ invokeHook('onUntrigger', [
10553
10561
  instance,
10554
10562
  event
10555
10563
  ]);
@@ -10560,9 +10568,9 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10560
10568
  // from onMouseLeave so must intercept scheduled hides from mousemove/leave
10561
10569
  // events when trigger contains mouseenter and click, and the tip is
10562
10570
  // currently shown as a result of a click.
10563
- if (instance.props.trigger.indexOf("mouseenter") >= 0 && instance.props.trigger.indexOf("click") >= 0 && [
10564
- "mouseleave",
10565
- "mousemove"
10571
+ if (instance.props.trigger.indexOf('mouseenter') >= 0 && instance.props.trigger.indexOf('click') >= 0 && [
10572
+ 'mouseleave',
10573
+ 'mousemove'
10566
10574
  ].indexOf(event.type) >= 0 && isVisibleFromClick) return;
10567
10575
  var delay = getDelay(false);
10568
10576
  if (delay) hideTimeout = setTimeout(function() {
@@ -10592,7 +10600,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10592
10600
  }
10593
10601
  function setProps(partialProps) {
10594
10602
  if (instance.state.isDestroyed) return;
10595
- invokeHook("onBeforeUpdate", [
10603
+ invokeHook('onBeforeUpdate', [
10596
10604
  instance,
10597
10605
  partialProps
10598
10606
  ]);
@@ -10608,9 +10616,9 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10608
10616
  debouncedOnMouseMove = $b013befce1f6217f$var$debounce(onMouseMove, nextProps.interactiveDebounce);
10609
10617
  } // Ensure stale aria-expanded attributes are removed
10610
10618
  if (prevProps.triggerTarget && !nextProps.triggerTarget) $b013befce1f6217f$var$normalizeToArray(prevProps.triggerTarget).forEach(function(node) {
10611
- node.removeAttribute("aria-expanded");
10619
+ node.removeAttribute('aria-expanded');
10612
10620
  });
10613
- else if (nextProps.triggerTarget) reference.removeAttribute("aria-expanded");
10621
+ else if (nextProps.triggerTarget) reference.removeAttribute('aria-expanded');
10614
10622
  handleAriaExpandedAttribute();
10615
10623
  handleStyles();
10616
10624
  if (onUpdate) onUpdate(prevProps, nextProps);
@@ -10625,7 +10633,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10625
10633
  requestAnimationFrame(nestedPopper._tippy.popperInstance.forceUpdate);
10626
10634
  });
10627
10635
  }
10628
- invokeHook("onAfterUpdate", [
10636
+ invokeHook('onAfterUpdate', [
10629
10637
  instance,
10630
10638
  partialProps
10631
10639
  ]);
@@ -10645,16 +10653,16 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10645
10653
  // Normalize `disabled` behavior across browsers.
10646
10654
  // Firefox allows events on disabled elements, but Chrome doesn't.
10647
10655
  // Using a wrapper element (i.e. <span>) is recommended.
10648
- if (getCurrentTarget().hasAttribute("disabled")) return;
10649
- invokeHook("onShow", [
10656
+ if (getCurrentTarget().hasAttribute('disabled')) return;
10657
+ invokeHook('onShow', [
10650
10658
  instance
10651
10659
  ], false);
10652
10660
  if (instance.props.onShow(instance) === false) return;
10653
10661
  instance.state.isVisible = true;
10654
- if (getIsDefaultRenderFn()) popper.style.visibility = "visible";
10662
+ if (getIsDefaultRenderFn()) popper.style.visibility = 'visible';
10655
10663
  handleStyles();
10656
10664
  addDocumentPress();
10657
- if (!instance.state.isMounted) popper.style.transition = "none";
10665
+ if (!instance.state.isMounted) popper.style.transition = 'none';
10658
10666
  // If flipping to the opposite side after hiding at least once, the
10659
10667
  // animation will use the wrong placement without resetting the duration
10660
10668
  if (getIsDefaultRenderFn()) {
@@ -10679,19 +10687,19 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10679
10687
  $b013befce1f6217f$var$setVisibilityState([
10680
10688
  _box,
10681
10689
  _content
10682
- ], "visible");
10690
+ ], 'visible');
10683
10691
  }
10684
10692
  handleAriaContentAttribute();
10685
10693
  handleAriaExpandedAttribute();
10686
10694
  $b013befce1f6217f$var$pushIfUnique($b013befce1f6217f$var$mountedInstances, instance); // certain modifiers (e.g. `maxSize`) require a second update after the
10687
10695
  // popper has been positioned for the first time
10688
10696
  (_instance$popperInsta2 = instance.popperInstance) == null || _instance$popperInsta2.forceUpdate();
10689
- invokeHook("onMount", [
10697
+ invokeHook('onMount', [
10690
10698
  instance
10691
10699
  ]);
10692
10700
  if (instance.props.animation && getIsDefaultRenderFn()) onTransitionedIn(duration, function() {
10693
10701
  instance.state.isShown = true;
10694
- invokeHook("onShown", [
10702
+ invokeHook('onShown', [
10695
10703
  instance
10696
10704
  ]);
10697
10705
  });
@@ -10704,7 +10712,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10704
10712
  var isDisabled = !instance.state.isEnabled;
10705
10713
  var duration = $b013befce1f6217f$var$getValueAtIndexOrReturn(instance.props.duration, 1, $b013befce1f6217f$var$defaultProps.duration);
10706
10714
  if (isAlreadyHidden || isDestroyed || isDisabled) return;
10707
- invokeHook("onHide", [
10715
+ invokeHook('onHide', [
10708
10716
  instance
10709
10717
  ], false);
10710
10718
  if (instance.props.onHide(instance) === false) return;
@@ -10712,7 +10720,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10712
10720
  instance.state.isShown = false;
10713
10721
  ignoreOnFirstUpdate = false;
10714
10722
  isVisibleFromClick = false;
10715
- if (getIsDefaultRenderFn()) popper.style.visibility = "hidden";
10723
+ if (getIsDefaultRenderFn()) popper.style.visibility = 'hidden';
10716
10724
  cleanupInteractiveMouseListeners();
10717
10725
  removeDocumentPress();
10718
10726
  handleStyles(true);
@@ -10726,7 +10734,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10726
10734
  $b013befce1f6217f$var$setVisibilityState([
10727
10735
  box,
10728
10736
  content
10729
- ], "hidden");
10737
+ ], 'hidden');
10730
10738
  }
10731
10739
  }
10732
10740
  handleAriaContentAttribute();
@@ -10736,7 +10744,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10736
10744
  } else instance.unmount();
10737
10745
  }
10738
10746
  function hideWithInteractivity(event) {
10739
- getDocument().addEventListener("mousemove", debouncedOnMouseMove);
10747
+ getDocument().addEventListener('mousemove', debouncedOnMouseMove);
10740
10748
  $b013befce1f6217f$var$pushIfUnique($b013befce1f6217f$var$mouseMoveListeners, debouncedOnMouseMove);
10741
10749
  debouncedOnMouseMove(event);
10742
10750
  }
@@ -10754,7 +10762,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10754
10762
  return i !== instance;
10755
10763
  });
10756
10764
  instance.state.isMounted = false;
10757
- invokeHook("onHidden", [
10765
+ invokeHook('onHidden', [
10758
10766
  instance
10759
10767
  ]);
10760
10768
  }
@@ -10765,7 +10773,7 @@ function $b013befce1f6217f$var$createTippy(reference, passedProps) {
10765
10773
  removeListeners();
10766
10774
  delete reference._tippy;
10767
10775
  instance.state.isDestroyed = true;
10768
- invokeHook("onDestroy", [
10776
+ invokeHook('onDestroy', [
10769
10777
  instance
10770
10778
  ]);
10771
10779
  }
@@ -10815,12 +10823,12 @@ var $b013befce1f6217f$var$applyStylesModifier = Object.assign({}, (0, $dfb41fce0
10815
10823
  var initialStyles = {
10816
10824
  popper: {
10817
10825
  position: state.options.strategy,
10818
- left: "0",
10819
- top: "0",
10820
- margin: "0"
10826
+ left: '0',
10827
+ top: '0',
10828
+ margin: '0'
10821
10829
  },
10822
10830
  arrow: {
10823
- position: "absolute"
10831
+ position: 'absolute'
10824
10832
  },
10825
10833
  reference: {}
10826
10834
  };
@@ -10875,12 +10883,12 @@ var $b013befce1f6217f$export$374c483667c1ea9b = function createSingleton(tippyIn
10875
10883
  var index = triggerTargets.indexOf(target); // bail-out
10876
10884
  if (target === currentTarget) return;
10877
10885
  currentTarget = target;
10878
- var overrideProps = (overrides || []).concat("content").reduce(function(acc, prop) {
10886
+ var overrideProps = (overrides || []).concat('content').reduce(function(acc, prop) {
10879
10887
  acc[prop] = individualInstances[index].props[prop];
10880
10888
  return acc;
10881
10889
  }, {});
10882
10890
  singleton.setProps(Object.assign({}, overrideProps, {
10883
- getReferenceClientRect: typeof overrideProps.getReferenceClientRect === "function" ? overrideProps.getReferenceClientRect : function() {
10891
+ getReferenceClientRect: typeof overrideProps.getReferenceClientRect === 'function' ? overrideProps.getReferenceClientRect : function() {
10884
10892
  var _references$index;
10885
10893
  return (_references$index = references[index]) == null ? void 0 : _references$index.getBoundingClientRect();
10886
10894
  }
@@ -10917,7 +10925,7 @@ var $b013befce1f6217f$export$374c483667c1ea9b = function createSingleton(tippyIn
10917
10925
  }
10918
10926
  };
10919
10927
  var singleton = $b013befce1f6217f$var$tippy($b013befce1f6217f$var$div(), Object.assign({}, $b013befce1f6217f$var$removeProperties(optionalProps, [
10920
- "overrides"
10928
+ 'overrides'
10921
10929
  ]), {
10922
10930
  plugins: [
10923
10931
  plugin
@@ -10938,7 +10946,7 @@ var $b013befce1f6217f$export$374c483667c1ea9b = function createSingleton(tippyIn
10938
10946
  // programmatic call with no params when already visible (do nothing again)
10939
10947
  if (currentTarget && target == null) return;
10940
10948
  // target is index of instance
10941
- if (typeof target === "number") return references[target] && prepareInstance(singleton, references[target]);
10949
+ if (typeof target === 'number') return references[target] && prepareInstance(singleton, references[target]);
10942
10950
  // target is a child tippy instance
10943
10951
  if (individualInstances.indexOf(target) >= 0) {
10944
10952
  var ref = target.reference;
@@ -10982,9 +10990,9 @@ var $b013befce1f6217f$export$374c483667c1ea9b = function createSingleton(tippyIn
10982
10990
  return singleton;
10983
10991
  };
10984
10992
  var $b013befce1f6217f$var$BUBBLING_EVENTS_MAP = {
10985
- mouseover: "mouseenter",
10986
- focusin: "focus",
10987
- click: "click"
10993
+ mouseover: 'mouseenter',
10994
+ focusin: 'focus',
10995
+ click: 'click'
10988
10996
  };
10989
10997
  /**
10990
10998
  * Creates a delegate instance that controls the creation of tippy instances
@@ -10995,10 +11003,10 @@ var $b013befce1f6217f$var$BUBBLING_EVENTS_MAP = {
10995
11003
  var disabled = false;
10996
11004
  var target = props.target;
10997
11005
  var nativeProps = $b013befce1f6217f$var$removeProperties(props, [
10998
- "target"
11006
+ 'target'
10999
11007
  ]);
11000
11008
  var parentProps = Object.assign({}, nativeProps, {
11001
- trigger: "manual",
11009
+ trigger: 'manual',
11002
11010
  touch: false
11003
11011
  });
11004
11012
  var childProps = Object.assign({
@@ -11016,10 +11024,10 @@ var $b013befce1f6217f$var$BUBBLING_EVENTS_MAP = {
11016
11024
  // 1. Check `data-tippy-trigger` attribute on target node
11017
11025
  // 2. Fallback to `trigger` passed to `delegate()`
11018
11026
  // 3. Fallback to `defaultProps.trigger`
11019
- var trigger = targetNode.getAttribute("data-tippy-trigger") || props.trigger || $b013befce1f6217f$var$defaultProps.trigger; // @ts-ignore
11027
+ var trigger = targetNode.getAttribute('data-tippy-trigger') || props.trigger || $b013befce1f6217f$var$defaultProps.trigger; // @ts-ignore
11020
11028
  if (targetNode._tippy) return;
11021
- if (event.type === "touchstart" && typeof childProps.touch === "boolean") return;
11022
- if (event.type !== "touchstart" && trigger.indexOf($b013befce1f6217f$var$BUBBLING_EVENTS_MAP[event.type]) < 0) return;
11029
+ if (event.type === 'touchstart' && typeof childProps.touch === 'boolean') return;
11030
+ if (event.type !== 'touchstart' && trigger.indexOf($b013befce1f6217f$var$BUBBLING_EVENTS_MAP[event.type]) < 0) return;
11023
11031
  var instance = $b013befce1f6217f$var$tippy(targetNode, childProps);
11024
11032
  if (instance) childTippyInstances = childTippyInstances.concat(instance);
11025
11033
  }
@@ -11035,10 +11043,10 @@ var $b013befce1f6217f$var$BUBBLING_EVENTS_MAP = {
11035
11043
  }
11036
11044
  function addEventListeners(instance) {
11037
11045
  var reference = instance.reference;
11038
- on(reference, "touchstart", onTrigger, $b013befce1f6217f$var$TOUCH_OPTIONS);
11039
- on(reference, "mouseover", onTrigger);
11040
- on(reference, "focusin", onTrigger);
11041
- on(reference, "click", onTrigger);
11046
+ on(reference, 'touchstart', onTrigger, $b013befce1f6217f$var$TOUCH_OPTIONS);
11047
+ on(reference, 'mouseover', onTrigger);
11048
+ on(reference, 'focusin', onTrigger);
11049
+ on(reference, 'click', onTrigger);
11042
11050
  }
11043
11051
  function removeEventListeners() {
11044
11052
  listeners.forEach(function(_ref) {
@@ -11080,7 +11088,7 @@ var $b013befce1f6217f$var$BUBBLING_EVENTS_MAP = {
11080
11088
  return returnValue;
11081
11089
  }
11082
11090
  var $b013befce1f6217f$export$dd8ded329c01db79 = {
11083
- name: "animateFill",
11091
+ name: 'animateFill',
11084
11092
  defaultValue: false,
11085
11093
  fn: function fn(instance) {
11086
11094
  var _instance$props$rende;
@@ -11092,34 +11100,34 @@ var $b013befce1f6217f$export$dd8ded329c01db79 = {
11092
11100
  onCreate: function onCreate() {
11093
11101
  if (backdrop) {
11094
11102
  box.insertBefore(backdrop, box.firstElementChild);
11095
- box.setAttribute("data-animatefill", "");
11096
- box.style.overflow = "hidden";
11103
+ box.setAttribute('data-animatefill', '');
11104
+ box.style.overflow = 'hidden';
11097
11105
  instance.setProps({
11098
11106
  arrow: false,
11099
- animation: "shift-away"
11107
+ animation: 'shift-away'
11100
11108
  });
11101
11109
  }
11102
11110
  },
11103
11111
  onMount: function onMount() {
11104
11112
  if (backdrop) {
11105
11113
  var transitionDuration = box.style.transitionDuration;
11106
- var duration = Number(transitionDuration.replace("ms", "")); // The content should fade in after the backdrop has mostly filled the
11114
+ var duration = Number(transitionDuration.replace('ms', '')); // The content should fade in after the backdrop has mostly filled the
11107
11115
  // tooltip element. `clip-path` is the other alternative but is not
11108
11116
  // well-supported and is buggy on some devices.
11109
11117
  content.style.transitionDelay = Math.round(duration / 10) + "ms";
11110
11118
  backdrop.style.transitionDuration = transitionDuration;
11111
11119
  $b013befce1f6217f$var$setVisibilityState([
11112
11120
  backdrop
11113
- ], "visible");
11121
+ ], 'visible');
11114
11122
  }
11115
11123
  },
11116
11124
  onShow: function onShow() {
11117
- if (backdrop) backdrop.style.transitionDuration = "0ms";
11125
+ if (backdrop) backdrop.style.transitionDuration = '0ms';
11118
11126
  },
11119
11127
  onHide: function onHide() {
11120
11128
  if (backdrop) $b013befce1f6217f$var$setVisibilityState([
11121
11129
  backdrop
11122
- ], "hidden");
11130
+ ], 'hidden');
11123
11131
  }
11124
11132
  };
11125
11133
  }
@@ -11129,7 +11137,7 @@ function $b013befce1f6217f$var$createBackdropElement() {
11129
11137
  backdrop.className = $b013befce1f6217f$var$BACKDROP_CLASS;
11130
11138
  $b013befce1f6217f$var$setVisibilityState([
11131
11139
  backdrop
11132
- ], "hidden");
11140
+ ], 'hidden');
11133
11141
  return backdrop;
11134
11142
  }
11135
11143
  var $b013befce1f6217f$var$mouseCoords = {
@@ -11145,13 +11153,13 @@ function $b013befce1f6217f$var$storeMouseCoords(_ref) {
11145
11153
  };
11146
11154
  }
11147
11155
  function $b013befce1f6217f$var$addMouseCoordsListener(doc) {
11148
- doc.addEventListener("mousemove", $b013befce1f6217f$var$storeMouseCoords);
11156
+ doc.addEventListener('mousemove', $b013befce1f6217f$var$storeMouseCoords);
11149
11157
  }
11150
11158
  function $b013befce1f6217f$var$removeMouseCoordsListener(doc) {
11151
- doc.removeEventListener("mousemove", $b013befce1f6217f$var$storeMouseCoords);
11159
+ doc.removeEventListener('mousemove', $b013befce1f6217f$var$storeMouseCoords);
11152
11160
  }
11153
11161
  var $b013befce1f6217f$export$ac81526b64504ab6 = {
11154
- name: "followCursor",
11162
+ name: 'followCursor',
11155
11163
  defaultValue: false,
11156
11164
  fn: function fn(instance) {
11157
11165
  var reference = instance.reference;
@@ -11161,13 +11169,13 @@ var $b013befce1f6217f$export$ac81526b64504ab6 = {
11161
11169
  var isUnmounted = true;
11162
11170
  var prevProps = instance.props;
11163
11171
  function getIsInitialBehavior() {
11164
- return instance.props.followCursor === "initial" && instance.state.isVisible;
11172
+ return instance.props.followCursor === 'initial' && instance.state.isVisible;
11165
11173
  }
11166
11174
  function addListener() {
11167
- doc.addEventListener("mousemove", onMouseMove);
11175
+ doc.addEventListener('mousemove', onMouseMove);
11168
11176
  }
11169
11177
  function removeListener() {
11170
- doc.removeEventListener("mousemove", onMouseMove);
11178
+ doc.removeEventListener('mousemove', onMouseMove);
11171
11179
  }
11172
11180
  function unsetGetReferenceClientRect() {
11173
11181
  isInternalUpdate = true;
@@ -11191,14 +11199,14 @@ var $b013befce1f6217f$export$ac81526b64504ab6 = {
11191
11199
  var rect = reference.getBoundingClientRect();
11192
11200
  var x = clientX;
11193
11201
  var y = clientY;
11194
- if (followCursor === "initial") {
11202
+ if (followCursor === 'initial') {
11195
11203
  x = rect.left + relativeX;
11196
11204
  y = rect.top + relativeY;
11197
11205
  }
11198
- var top = followCursor === "horizontal" ? rect.top : y;
11199
- var right = followCursor === "vertical" ? rect.right : x;
11200
- var bottom = followCursor === "horizontal" ? rect.bottom : y;
11201
- var left = followCursor === "vertical" ? rect.left : x;
11206
+ var top = followCursor === 'horizontal' ? rect.top : y;
11207
+ var right = followCursor === 'vertical' ? rect.right : x;
11208
+ var bottom = followCursor === 'horizontal' ? rect.bottom : y;
11209
+ var left = followCursor === 'vertical' ? rect.left : x;
11202
11210
  return {
11203
11211
  width: right - left,
11204
11212
  height: bottom - top,
@@ -11261,7 +11269,7 @@ var $b013befce1f6217f$export$ac81526b64504ab6 = {
11261
11269
  clientX: event.clientX,
11262
11270
  clientY: event.clientY
11263
11271
  };
11264
- wasFocusEvent = event.type === "focus";
11272
+ wasFocusEvent = event.type === 'focus';
11265
11273
  },
11266
11274
  onHidden: function onHidden() {
11267
11275
  if (instance.props.followCursor) {
@@ -11287,7 +11295,7 @@ function $b013befce1f6217f$var$getProps(props, modifier) {
11287
11295
  };
11288
11296
  }
11289
11297
  var $b013befce1f6217f$export$e2b668424a9c728 = {
11290
- name: "inlinePositioning",
11298
+ name: 'inlinePositioning',
11291
11299
  defaultValue: false,
11292
11300
  fn: function fn(instance) {
11293
11301
  var reference = instance.reference;
@@ -11299,9 +11307,9 @@ var $b013befce1f6217f$export$e2b668424a9c728 = {
11299
11307
  var isInternalUpdate = false;
11300
11308
  var triedPlacements = [];
11301
11309
  var modifier = {
11302
- name: "tippyInlinePositioning",
11310
+ name: 'tippyInlinePositioning',
11303
11311
  enabled: true,
11304
- phase: "afterWrite",
11312
+ phase: 'afterWrite',
11305
11313
  fn: function fn(_ref2) {
11306
11314
  var state = _ref2.state;
11307
11315
  if (isEnabled()) {
@@ -11355,11 +11363,11 @@ function $b013befce1f6217f$var$getInlineBoundingClientRect(currentBasePlacement,
11355
11363
  // There are two rects and they are disjoined
11356
11364
  if (clientRects.length === 2 && cursorRectIndex >= 0 && clientRects[0].left > clientRects[1].right) return clientRects[cursorRectIndex] || boundingRect;
11357
11365
  switch(currentBasePlacement){
11358
- case "top":
11359
- case "bottom":
11366
+ case 'top':
11367
+ case 'bottom':
11360
11368
  var firstRect = clientRects[0];
11361
11369
  var lastRect = clientRects[clientRects.length - 1];
11362
- var isTop = currentBasePlacement === "top";
11370
+ var isTop = currentBasePlacement === 'top';
11363
11371
  var top = firstRect.top;
11364
11372
  var bottom = lastRect.bottom;
11365
11373
  var left = isTop ? firstRect.left : lastRect.left;
@@ -11374,8 +11382,8 @@ function $b013befce1f6217f$var$getInlineBoundingClientRect(currentBasePlacement,
11374
11382
  width: width,
11375
11383
  height: height
11376
11384
  };
11377
- case "left":
11378
- case "right":
11385
+ case 'left':
11386
+ case 'right':
11379
11387
  var minLeft = Math.min.apply(Math, clientRects.map(function(rects) {
11380
11388
  return rects.left;
11381
11389
  }));
@@ -11383,7 +11391,7 @@ function $b013befce1f6217f$var$getInlineBoundingClientRect(currentBasePlacement,
11383
11391
  return rects.right;
11384
11392
  }));
11385
11393
  var measureRects = clientRects.filter(function(rect) {
11386
- return currentBasePlacement === "left" ? rect.left === minLeft : rect.right === maxRight;
11394
+ return currentBasePlacement === 'left' ? rect.left === minLeft : rect.right === maxRight;
11387
11395
  });
11388
11396
  var _top = measureRects[0].top;
11389
11397
  var _bottom = measureRects[measureRects.length - 1].bottom;
@@ -11404,7 +11412,7 @@ function $b013befce1f6217f$var$getInlineBoundingClientRect(currentBasePlacement,
11404
11412
  }
11405
11413
  }
11406
11414
  var $b013befce1f6217f$export$4bd4b47501432316 = {
11407
- name: "sticky",
11415
+ name: 'sticky',
11408
11416
  defaultValue: false,
11409
11417
  fn: function fn(instance) {
11410
11418
  var reference = instance.reference, popper = instance.popper;
@@ -11417,8 +11425,8 @@ var $b013befce1f6217f$export$4bd4b47501432316 = {
11417
11425
  var prevRefRect = null;
11418
11426
  var prevPopRect = null;
11419
11427
  function updatePosition() {
11420
- var currentRefRect = shouldCheck("reference") ? getReference().getBoundingClientRect() : null;
11421
- var currentPopRect = shouldCheck("popper") ? popper.getBoundingClientRect() : null;
11428
+ var currentRefRect = shouldCheck('reference') ? getReference().getBoundingClientRect() : null;
11429
+ var currentPopRect = shouldCheck('popper') ? popper.getBoundingClientRect() : null;
11422
11430
  if (currentRefRect && $b013befce1f6217f$var$areRectsDifferent(prevRefRect, currentRefRect) || currentPopRect && $b013befce1f6217f$var$areRectsDifferent(prevPopRect, currentPopRect)) {
11423
11431
  if (instance.popperInstance) instance.popperInstance.update();
11424
11432
  }
@@ -11487,7 +11495,9 @@ function $cbd28b10fa9798c7$export$2e2bcd8739ae039() {
11487
11495
  let tooltip = null;
11488
11496
  let dropdown = null;
11489
11497
  return {
11498
+ updateAfterNavigate: true,
11490
11499
  init () {
11500
+ this.updateAfterNavigate = this.$el.dataset.updateAfterNavigate !== "false";
11491
11501
  if (this.$refs.tooltip) tooltip = (0, $7a759511c361f2bd$export$353372104066311a)(this, {
11492
11502
  target: this.$refs.icon
11493
11503
  });
@@ -11522,7 +11532,7 @@ function $cbd28b10fa9798c7$export$2e2bcd8739ae039() {
11522
11532
  updateDropdown () {
11523
11533
  if (dropdown) {
11524
11534
  dropdown.hide();
11525
- this.$nextTick(()=>{
11535
+ if (this.updateAfterNavigate) this.$nextTick(()=>{
11526
11536
  dropdown.setContent(this.dropdownContent);
11527
11537
  });
11528
11538
  }
@@ -11728,29 +11738,29 @@ var $7cac9a0d4b75bf4e$var$numeric = function(value, unit) {
11728
11738
  return Number(value.slice(0, -1 * unit.length));
11729
11739
  };
11730
11740
  var $7cac9a0d4b75bf4e$var$parseValue = function(value) {
11731
- if (value.endsWith("px")) return {
11741
+ if (value.endsWith('px')) return {
11732
11742
  value: value,
11733
- type: "px",
11734
- numeric: $7cac9a0d4b75bf4e$var$numeric(value, "px")
11743
+ type: 'px',
11744
+ numeric: $7cac9a0d4b75bf4e$var$numeric(value, 'px')
11735
11745
  };
11736
- if (value.endsWith("fr")) return {
11746
+ if (value.endsWith('fr')) return {
11737
11747
  value: value,
11738
- type: "fr",
11739
- numeric: $7cac9a0d4b75bf4e$var$numeric(value, "fr")
11748
+ type: 'fr',
11749
+ numeric: $7cac9a0d4b75bf4e$var$numeric(value, 'fr')
11740
11750
  };
11741
- if (value.endsWith("%")) return {
11751
+ if (value.endsWith('%')) return {
11742
11752
  value: value,
11743
- type: "%",
11744
- numeric: $7cac9a0d4b75bf4e$var$numeric(value, "%")
11753
+ type: '%',
11754
+ numeric: $7cac9a0d4b75bf4e$var$numeric(value, '%')
11745
11755
  };
11746
- if (value === "auto") return {
11756
+ if (value === 'auto') return {
11747
11757
  value: value,
11748
- type: "auto"
11758
+ type: 'auto'
11749
11759
  };
11750
11760
  return null;
11751
11761
  };
11752
11762
  var $7cac9a0d4b75bf4e$var$parse = function(rule) {
11753
- return rule.split(" ").map($7cac9a0d4b75bf4e$var$parseValue);
11763
+ return rule.split(' ').map($7cac9a0d4b75bf4e$var$parseValue);
11754
11764
  };
11755
11765
  var $7cac9a0d4b75bf4e$var$getSizeAtTrack = function(index, tracks, gap, end) {
11756
11766
  if (gap === void 0) gap = 0;
@@ -11766,7 +11776,7 @@ var $7cac9a0d4b75bf4e$var$getStyles = function(rule, ownRules, matchedRules) {
11766
11776
  return ownRules.concat(matchedRules).map(function(r) {
11767
11777
  return r.style[rule];
11768
11778
  }).filter(function(style) {
11769
- return style !== undefined && style !== "";
11779
+ return style !== undefined && style !== '';
11770
11780
  });
11771
11781
  };
11772
11782
  var $7cac9a0d4b75bf4e$var$getGapValue = function(unit, size) {
@@ -11812,41 +11822,41 @@ function $7cac9a0d4b75bf4e$var$getMatchedCSSRules(el) {
11812
11822
  return matches;
11813
11823
  });
11814
11824
  }
11815
- var $7cac9a0d4b75bf4e$var$gridTemplatePropColumns = "grid-template-columns";
11816
- var $7cac9a0d4b75bf4e$var$gridTemplatePropRows = "grid-template-rows";
11825
+ var $7cac9a0d4b75bf4e$var$gridTemplatePropColumns = 'grid-template-columns';
11826
+ var $7cac9a0d4b75bf4e$var$gridTemplatePropRows = 'grid-template-rows';
11817
11827
  var $7cac9a0d4b75bf4e$var$Gutter = function Gutter(direction, options, parentOptions) {
11818
11828
  this.direction = direction;
11819
11829
  this.element = options.element;
11820
11830
  this.track = options.track;
11821
- if (direction === "column") {
11831
+ if (direction === 'column') {
11822
11832
  this.gridTemplateProp = $7cac9a0d4b75bf4e$var$gridTemplatePropColumns;
11823
- this.gridGapProp = "grid-column-gap";
11824
- this.cursor = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "columnCursor", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "cursor", "col-resize"));
11825
- this.snapOffset = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "columnSnapOffset", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "snapOffset", 30));
11826
- this.dragInterval = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "columnDragInterval", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "dragInterval", 1));
11827
- this.clientAxis = "clientX";
11828
- this.optionStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "gridTemplateColumns");
11829
- } else if (direction === "row") {
11833
+ this.gridGapProp = 'grid-column-gap';
11834
+ this.cursor = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'columnCursor', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'cursor', 'col-resize'));
11835
+ this.snapOffset = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'columnSnapOffset', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'snapOffset', 30));
11836
+ this.dragInterval = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'columnDragInterval', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'dragInterval', 1));
11837
+ this.clientAxis = 'clientX';
11838
+ this.optionStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'gridTemplateColumns');
11839
+ } else if (direction === 'row') {
11830
11840
  this.gridTemplateProp = $7cac9a0d4b75bf4e$var$gridTemplatePropRows;
11831
- this.gridGapProp = "grid-row-gap";
11832
- this.cursor = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "rowCursor", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "cursor", "row-resize"));
11833
- this.snapOffset = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "rowSnapOffset", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "snapOffset", 30));
11834
- this.dragInterval = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "rowDragInterval", $7cac9a0d4b75bf4e$var$getOption(parentOptions, "dragInterval", 1));
11835
- this.clientAxis = "clientY";
11836
- this.optionStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "gridTemplateRows");
11837
- }
11838
- this.onDragStart = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "onDragStart", $7cac9a0d4b75bf4e$var$NOOP);
11839
- this.onDragEnd = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "onDragEnd", $7cac9a0d4b75bf4e$var$NOOP);
11840
- this.onDrag = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "onDrag", $7cac9a0d4b75bf4e$var$NOOP);
11841
- this.writeStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, "writeStyle", $7cac9a0d4b75bf4e$var$defaultWriteStyle);
11841
+ this.gridGapProp = 'grid-row-gap';
11842
+ this.cursor = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'rowCursor', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'cursor', 'row-resize'));
11843
+ this.snapOffset = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'rowSnapOffset', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'snapOffset', 30));
11844
+ this.dragInterval = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'rowDragInterval', $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'dragInterval', 1));
11845
+ this.clientAxis = 'clientY';
11846
+ this.optionStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'gridTemplateRows');
11847
+ }
11848
+ this.onDragStart = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'onDragStart', $7cac9a0d4b75bf4e$var$NOOP);
11849
+ this.onDragEnd = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'onDragEnd', $7cac9a0d4b75bf4e$var$NOOP);
11850
+ this.onDrag = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'onDrag', $7cac9a0d4b75bf4e$var$NOOP);
11851
+ this.writeStyle = $7cac9a0d4b75bf4e$var$getOption(parentOptions, 'writeStyle', $7cac9a0d4b75bf4e$var$defaultWriteStyle);
11842
11852
  this.startDragging = this.startDragging.bind(this);
11843
11853
  this.stopDragging = this.stopDragging.bind(this);
11844
11854
  this.drag = this.drag.bind(this);
11845
11855
  this.minSizeStart = options.minSizeStart;
11846
11856
  this.minSizeEnd = options.minSizeEnd;
11847
11857
  if (options.element) {
11848
- this.element.addEventListener("mousedown", this.startDragging);
11849
- this.element.addEventListener("touchstart", this.startDragging);
11858
+ this.element.addEventListener('mousedown', this.startDragging);
11859
+ this.element.addEventListener('touchstart', this.startDragging);
11850
11860
  }
11851
11861
  };
11852
11862
  $7cac9a0d4b75bf4e$var$Gutter.prototype.getDimensions = function getDimensions() {
@@ -11857,11 +11867,11 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.getDimensions = function getDimensions()
11857
11867
  var bottom = ref.bottom;
11858
11868
  var left = ref.left;
11859
11869
  var right = ref.right;
11860
- if (this.direction === "column") {
11870
+ if (this.direction === 'column') {
11861
11871
  this.start = top;
11862
11872
  this.end = bottom;
11863
11873
  this.size = height;
11864
- } else if (this.direction === "row") {
11874
+ } else if (this.direction === 'row') {
11865
11875
  this.start = left;
11866
11876
  this.end = right;
11867
11877
  this.size = width;
@@ -11879,7 +11889,7 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.getRawTracks = function getRawTracks() {
11879
11889
  ], $7cac9a0d4b75bf4e$var$getMatchedCSSRules(this.grid));
11880
11890
  if (!tracks.length) {
11881
11891
  if (this.optionStyle) return this.optionStyle;
11882
- throw Error("Unable to determine grid template tracks from styles.");
11892
+ throw Error('Unable to determine grid template tracks from styles.');
11883
11893
  }
11884
11894
  return tracks[0];
11885
11895
  };
@@ -11897,11 +11907,11 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.getRawComputedGap = function getRawComput
11897
11907
  return window.getComputedStyle(this.grid)[this.gridGapProp];
11898
11908
  };
11899
11909
  $7cac9a0d4b75bf4e$var$Gutter.prototype.setTracks = function setTracks(raw) {
11900
- this.tracks = raw.split(" ");
11910
+ this.tracks = raw.split(' ');
11901
11911
  this.trackValues = $7cac9a0d4b75bf4e$var$parse(raw);
11902
11912
  };
11903
11913
  $7cac9a0d4b75bf4e$var$Gutter.prototype.setComputedTracks = function setComputedTracks(raw) {
11904
- this.computedTracks = raw.split(" ");
11914
+ this.computedTracks = raw.split(' ');
11905
11915
  this.computedPixels = $7cac9a0d4b75bf4e$var$parse(raw);
11906
11916
  };
11907
11917
  $7cac9a0d4b75bf4e$var$Gutter.prototype.setGap = function setGap(raw) {
@@ -11909,14 +11919,14 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.setGap = function setGap(raw) {
11909
11919
  };
11910
11920
  $7cac9a0d4b75bf4e$var$Gutter.prototype.setComputedGap = function setComputedGap(raw) {
11911
11921
  this.computedGap = raw;
11912
- this.computedGapPixels = $7cac9a0d4b75bf4e$var$getGapValue("px", this.computedGap) || 0;
11922
+ this.computedGapPixels = $7cac9a0d4b75bf4e$var$getGapValue('px', this.computedGap) || 0;
11913
11923
  };
11914
11924
  $7cac9a0d4b75bf4e$var$Gutter.prototype.getMousePosition = function getMousePosition(e) {
11915
- if ("touches" in e) return e.touches[0][this.clientAxis];
11925
+ if ('touches' in e) return e.touches[0][this.clientAxis];
11916
11926
  return e[this.clientAxis];
11917
11927
  };
11918
11928
  $7cac9a0d4b75bf4e$var$Gutter.prototype.startDragging = function startDragging(e) {
11919
- if ("button" in e && e.button !== 0) return;
11929
+ if ('button' in e && e.button !== 0) return;
11920
11930
  // Don't actually drag the element. We emulate that in the drag function.
11921
11931
  e.preventDefault();
11922
11932
  if (this.element) this.grid = this.element.parentNode;
@@ -11927,10 +11937,10 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.startDragging = function startDragging(e)
11927
11937
  this.setGap(this.getGap());
11928
11938
  this.setComputedGap(this.getRawComputedGap());
11929
11939
  var trackPercentage = this.trackValues.filter(function(track) {
11930
- return track.type === "%";
11940
+ return track.type === '%';
11931
11941
  });
11932
11942
  var trackFr = this.trackValues.filter(function(track) {
11933
- return track.type === "fr";
11943
+ return track.type === 'fr';
11934
11944
  });
11935
11945
  this.totalFrs = trackFr.length;
11936
11946
  if (this.totalFrs) {
@@ -11952,18 +11962,18 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.startDragging = function startDragging(e)
11952
11962
  // Set the dragging property of the pair object.
11953
11963
  this.dragging = true;
11954
11964
  // All the binding. `window` gets the stop events in case we drag out of the elements.
11955
- window.addEventListener("mouseup", this.stopDragging);
11956
- window.addEventListener("touchend", this.stopDragging);
11957
- window.addEventListener("touchcancel", this.stopDragging);
11958
- window.addEventListener("mousemove", this.drag);
11959
- window.addEventListener("touchmove", this.drag);
11965
+ window.addEventListener('mouseup', this.stopDragging);
11966
+ window.addEventListener('touchend', this.stopDragging);
11967
+ window.addEventListener('touchcancel', this.stopDragging);
11968
+ window.addEventListener('mousemove', this.drag);
11969
+ window.addEventListener('touchmove', this.drag);
11960
11970
  // Disable selection. Disable!
11961
- this.grid.addEventListener("selectstart", $7cac9a0d4b75bf4e$var$NOOP);
11962
- this.grid.addEventListener("dragstart", $7cac9a0d4b75bf4e$var$NOOP);
11963
- this.grid.style.userSelect = "none";
11964
- this.grid.style.webkitUserSelect = "none";
11965
- this.grid.style.MozUserSelect = "none";
11966
- this.grid.style.pointerEvents = "none";
11971
+ this.grid.addEventListener('selectstart', $7cac9a0d4b75bf4e$var$NOOP);
11972
+ this.grid.addEventListener('dragstart', $7cac9a0d4b75bf4e$var$NOOP);
11973
+ this.grid.style.userSelect = 'none';
11974
+ this.grid.style.webkitUserSelect = 'none';
11975
+ this.grid.style.MozUserSelect = 'none';
11976
+ this.grid.style.pointerEvents = 'none';
11967
11977
  // Set the cursor at multiple levels
11968
11978
  this.grid.style.cursor = this.cursor;
11969
11979
  window.document.body.style.cursor = this.cursor;
@@ -11976,8 +11986,8 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.stopDragging = function stopDragging() {
11976
11986
  this.onDragEnd(this.direction, this.track);
11977
11987
  if (this.needsDestroy) {
11978
11988
  if (this.element) {
11979
- this.element.removeEventListener("mousedown", this.startDragging);
11980
- this.element.removeEventListener("touchstart", this.startDragging);
11989
+ this.element.removeEventListener('mousedown', this.startDragging);
11990
+ this.element.removeEventListener('touchstart', this.startDragging);
11981
11991
  }
11982
11992
  this.destroyCb();
11983
11993
  this.needsDestroy = false;
@@ -12004,56 +12014,56 @@ $7cac9a0d4b75bf4e$var$Gutter.prototype.drag = function drag(e) {
12004
12014
  }
12005
12015
  if (aTrackSize < this.minSizeStart) aTrackSize = this.minSizeStart;
12006
12016
  if (bTrackSize < this.minSizeEnd) bTrackSize = this.minSizeEnd;
12007
- if (this.trackValues[this.aTrack].type === "px") this.tracks[this.aTrack] = aTrackSize + "px";
12008
- else if (this.trackValues[this.aTrack].type === "fr") {
12009
- if (this.totalFrs === 1) this.tracks[this.aTrack] = "1fr";
12017
+ if (this.trackValues[this.aTrack].type === 'px') this.tracks[this.aTrack] = aTrackSize + "px";
12018
+ else if (this.trackValues[this.aTrack].type === 'fr') {
12019
+ if (this.totalFrs === 1) this.tracks[this.aTrack] = '1fr';
12010
12020
  else {
12011
12021
  var targetFr = aTrackSize / this.frToPixels;
12012
12022
  this.tracks[this.aTrack] = targetFr + "fr";
12013
12023
  }
12014
- } else if (this.trackValues[this.aTrack].type === "%") {
12024
+ } else if (this.trackValues[this.aTrack].type === '%') {
12015
12025
  var targetPercentage = aTrackSize / this.percentageToPixels;
12016
12026
  this.tracks[this.aTrack] = targetPercentage + "%";
12017
12027
  }
12018
- if (this.trackValues[this.bTrack].type === "px") this.tracks[this.bTrack] = bTrackSize + "px";
12019
- else if (this.trackValues[this.bTrack].type === "fr") {
12020
- if (this.totalFrs === 1) this.tracks[this.bTrack] = "1fr";
12028
+ if (this.trackValues[this.bTrack].type === 'px') this.tracks[this.bTrack] = bTrackSize + "px";
12029
+ else if (this.trackValues[this.bTrack].type === 'fr') {
12030
+ if (this.totalFrs === 1) this.tracks[this.bTrack] = '1fr';
12021
12031
  else {
12022
12032
  var targetFr$1 = bTrackSize / this.frToPixels;
12023
12033
  this.tracks[this.bTrack] = targetFr$1 + "fr";
12024
12034
  }
12025
- } else if (this.trackValues[this.bTrack].type === "%") {
12035
+ } else if (this.trackValues[this.bTrack].type === '%') {
12026
12036
  var targetPercentage$1 = bTrackSize / this.percentageToPixels;
12027
12037
  this.tracks[this.bTrack] = targetPercentage$1 + "%";
12028
12038
  }
12029
- var style = this.tracks.join(" ");
12039
+ var style = this.tracks.join(' ');
12030
12040
  this.writeStyle(this.grid, this.gridTemplateProp, style);
12031
12041
  this.onDrag(this.direction, this.track, style);
12032
12042
  };
12033
12043
  $7cac9a0d4b75bf4e$var$Gutter.prototype.cleanup = function cleanup() {
12034
- window.removeEventListener("mouseup", this.stopDragging);
12035
- window.removeEventListener("touchend", this.stopDragging);
12036
- window.removeEventListener("touchcancel", this.stopDragging);
12037
- window.removeEventListener("mousemove", this.drag);
12038
- window.removeEventListener("touchmove", this.drag);
12044
+ window.removeEventListener('mouseup', this.stopDragging);
12045
+ window.removeEventListener('touchend', this.stopDragging);
12046
+ window.removeEventListener('touchcancel', this.stopDragging);
12047
+ window.removeEventListener('mousemove', this.drag);
12048
+ window.removeEventListener('touchmove', this.drag);
12039
12049
  if (this.grid) {
12040
- this.grid.removeEventListener("selectstart", $7cac9a0d4b75bf4e$var$NOOP);
12041
- this.grid.removeEventListener("dragstart", $7cac9a0d4b75bf4e$var$NOOP);
12042
- this.grid.style.userSelect = "";
12043
- this.grid.style.webkitUserSelect = "";
12044
- this.grid.style.MozUserSelect = "";
12045
- this.grid.style.pointerEvents = "";
12046
- this.grid.style.cursor = "";
12047
- }
12048
- window.document.body.style.cursor = "";
12050
+ this.grid.removeEventListener('selectstart', $7cac9a0d4b75bf4e$var$NOOP);
12051
+ this.grid.removeEventListener('dragstart', $7cac9a0d4b75bf4e$var$NOOP);
12052
+ this.grid.style.userSelect = '';
12053
+ this.grid.style.webkitUserSelect = '';
12054
+ this.grid.style.MozUserSelect = '';
12055
+ this.grid.style.pointerEvents = '';
12056
+ this.grid.style.cursor = '';
12057
+ }
12058
+ window.document.body.style.cursor = '';
12049
12059
  };
12050
12060
  $7cac9a0d4b75bf4e$var$Gutter.prototype.destroy = function destroy(immediate, cb) {
12051
12061
  if (immediate === void 0) immediate = true;
12052
12062
  if (immediate || this.dragging === false) {
12053
12063
  this.cleanup();
12054
12064
  if (this.element) {
12055
- this.element.removeEventListener("mousedown", this.startDragging);
12056
- this.element.removeEventListener("touchstart", this.startDragging);
12065
+ this.element.removeEventListener('mousedown', this.startDragging);
12066
+ this.element.removeEventListener('touchstart', this.startDragging);
12057
12067
  }
12058
12068
  if (cb) cb();
12059
12069
  } else {
@@ -12068,11 +12078,11 @@ var $7cac9a0d4b75bf4e$var$getTrackOption = function(options, track, defaultValue
12068
12078
  var $7cac9a0d4b75bf4e$var$createGutter = function(direction, options) {
12069
12079
  return function(gutterOptions) {
12070
12080
  if (gutterOptions.track < 1) throw Error("Invalid track index: " + gutterOptions.track + ". Track must be between two other tracks.");
12071
- var trackMinSizes = direction === "column" ? options.columnMinSizes || {} : options.rowMinSizes || {};
12072
- var trackMinSize = direction === "column" ? "columnMinSize" : "rowMinSize";
12081
+ var trackMinSizes = direction === 'column' ? options.columnMinSizes || {} : options.rowMinSizes || {};
12082
+ var trackMinSize = direction === 'column' ? 'columnMinSize' : 'rowMinSize';
12073
12083
  return new $7cac9a0d4b75bf4e$var$Gutter(direction, Object.assign({}, {
12074
- minSizeStart: $7cac9a0d4b75bf4e$var$getTrackOption(trackMinSizes, gutterOptions.track - 1, $7cac9a0d4b75bf4e$var$getOption(options, trackMinSize, $7cac9a0d4b75bf4e$var$getOption(options, "minSize", 0))),
12075
- minSizeEnd: $7cac9a0d4b75bf4e$var$getTrackOption(trackMinSizes, gutterOptions.track + 1, $7cac9a0d4b75bf4e$var$getOption(options, trackMinSize, $7cac9a0d4b75bf4e$var$getOption(options, "minSize", 0)))
12084
+ minSizeStart: $7cac9a0d4b75bf4e$var$getTrackOption(trackMinSizes, gutterOptions.track - 1, $7cac9a0d4b75bf4e$var$getOption(options, trackMinSize, $7cac9a0d4b75bf4e$var$getOption(options, 'minSize', 0))),
12085
+ minSizeEnd: $7cac9a0d4b75bf4e$var$getTrackOption(trackMinSizes, gutterOptions.track + 1, $7cac9a0d4b75bf4e$var$getOption(options, trackMinSize, $7cac9a0d4b75bf4e$var$getOption(options, 'minSize', 0)))
12076
12086
  }, gutterOptions), options);
12077
12087
  };
12078
12088
  };
@@ -12087,22 +12097,22 @@ var $7cac9a0d4b75bf4e$var$Grid = function Grid(options) {
12087
12097
  rowMinSizes: options.rowMinSizes || {}
12088
12098
  }, options);
12089
12099
  this.options.columnGutters.forEach(function(gutterOptions) {
12090
- this$1.columnGutters[gutterOptions.track] = $7cac9a0d4b75bf4e$var$createGutter("column", this$1.options)(gutterOptions);
12100
+ this$1.columnGutters[gutterOptions.track] = $7cac9a0d4b75bf4e$var$createGutter('column', this$1.options)(gutterOptions);
12091
12101
  });
12092
12102
  this.options.rowGutters.forEach(function(gutterOptions) {
12093
- this$1.rowGutters[gutterOptions.track] = $7cac9a0d4b75bf4e$var$createGutter("row", this$1.options)(gutterOptions);
12103
+ this$1.rowGutters[gutterOptions.track] = $7cac9a0d4b75bf4e$var$createGutter('row', this$1.options)(gutterOptions);
12094
12104
  });
12095
12105
  };
12096
12106
  $7cac9a0d4b75bf4e$var$Grid.prototype.addColumnGutter = function addColumnGutter(element, track) {
12097
12107
  if (this.columnGutters[track]) this.columnGutters[track].destroy();
12098
- this.columnGutters[track] = $7cac9a0d4b75bf4e$var$createGutter("column", this.options)({
12108
+ this.columnGutters[track] = $7cac9a0d4b75bf4e$var$createGutter('column', this.options)({
12099
12109
  element: element,
12100
12110
  track: track
12101
12111
  });
12102
12112
  };
12103
12113
  $7cac9a0d4b75bf4e$var$Grid.prototype.addRowGutter = function addRowGutter(element, track) {
12104
12114
  if (this.rowGutters[track]) this.rowGutters[track].destroy();
12105
- this.rowGutters[track] = $7cac9a0d4b75bf4e$var$createGutter("row", this.options)({
12115
+ this.rowGutters[track] = $7cac9a0d4b75bf4e$var$createGutter('row', this.options)({
12106
12116
  element: element,
12107
12117
  track: track
12108
12118
  });
@@ -12122,15 +12132,15 @@ $7cac9a0d4b75bf4e$var$Grid.prototype.removeRowGutter = function removeRowGutter(
12122
12132
  });
12123
12133
  };
12124
12134
  $7cac9a0d4b75bf4e$var$Grid.prototype.handleDragStart = function handleDragStart(e, direction, track) {
12125
- if (direction === "column") {
12135
+ if (direction === 'column') {
12126
12136
  if (this.columnGutters[track]) this.columnGutters[track].destroy();
12127
- this.columnGutters[track] = $7cac9a0d4b75bf4e$var$createGutter("column", this.options)({
12137
+ this.columnGutters[track] = $7cac9a0d4b75bf4e$var$createGutter('column', this.options)({
12128
12138
  track: track
12129
12139
  });
12130
12140
  this.columnGutters[track].startDragging(e);
12131
- } else if (direction === "row") {
12141
+ } else if (direction === 'row') {
12132
12142
  if (this.rowGutters[track]) this.rowGutters[track].destroy();
12133
- this.rowGutters[track] = $7cac9a0d4b75bf4e$var$createGutter("row", this.options)({
12143
+ this.rowGutters[track] = $7cac9a0d4b75bf4e$var$createGutter('row', this.options)({
12134
12144
  track: track
12135
12145
  });
12136
12146
  this.rowGutters[track].startDragging(e);
@@ -12548,8 +12558,8 @@ var $ef5e88eaa61efd95$exports = {};
12548
12558
  * Contributor: Reed Dadoune - reed@dadoune.com
12549
12559
  */ // eslint-disable-next-line sonarjs/cognitive-complexity, no-shadow-restricted-names
12550
12560
  (function(undefined) {
12551
- if (typeof window === "undefined") return; // don't run for server side render
12552
- var count = 0, logEnabled = false, hiddenCheckEnabled = false, msgHeader = "message", msgHeaderLen = msgHeader.length, msgId = "[iFrameSizer]", msgIdLen = msgId.length, pagePosition = null, requestAnimationFrame = window.requestAnimationFrame, resetRequiredMethods = Object.freeze({
12561
+ if (typeof window === 'undefined') return; // don't run for server side render
12562
+ var count = 0, logEnabled = false, hiddenCheckEnabled = false, msgHeader = 'message', msgHeaderLen = msgHeader.length, msgId = '[iFrameSizer]', msgIdLen = msgId.length, pagePosition = null, requestAnimationFrame = window.requestAnimationFrame, resetRequiredMethods = Object.freeze({
12553
12563
  max: 1,
12554
12564
  scroll: 1,
12555
12565
  bodyScroll: 1,
@@ -12563,8 +12573,8 @@ var $ef5e88eaa61efd95$exports = {};
12563
12573
  checkOrigin: true,
12564
12574
  inPageLinks: false,
12565
12575
  enablePublicMethods: true,
12566
- heightCalculationMethod: "bodyOffset",
12567
- id: "iFrameResizer",
12576
+ heightCalculationMethod: 'bodyOffset',
12577
+ id: 'iFrameResizer',
12568
12578
  interval: 32,
12569
12579
  log: false,
12570
12580
  maxHeight: Infinity,
@@ -12572,20 +12582,20 @@ var $ef5e88eaa61efd95$exports = {};
12572
12582
  minHeight: 0,
12573
12583
  minWidth: 0,
12574
12584
  mouseEvents: true,
12575
- resizeFrom: "parent",
12585
+ resizeFrom: 'parent',
12576
12586
  scrolling: false,
12577
12587
  sizeHeight: true,
12578
12588
  sizeWidth: false,
12579
12589
  warningTimeout: 5000,
12580
12590
  tolerance: 0,
12581
- widthCalculationMethod: "scroll",
12591
+ widthCalculationMethod: 'scroll',
12582
12592
  onClose: function() {
12583
12593
  return true;
12584
12594
  },
12585
12595
  onClosed: function() {},
12586
12596
  onInit: function() {},
12587
12597
  onMessage: function() {
12588
- warn("onMessage function not defined");
12598
+ warn('onMessage function not defined');
12589
12599
  },
12590
12600
  onMouseEnter: function() {},
12591
12601
  onMouseLeave: function() {},
@@ -12605,42 +12615,42 @@ var $ef5e88eaa61efd95$exports = {};
12605
12615
  }
12606
12616
  function setupRequestAnimationFrame() {
12607
12617
  var vendors = [
12608
- "moz",
12609
- "webkit",
12610
- "o",
12611
- "ms"
12618
+ 'moz',
12619
+ 'webkit',
12620
+ 'o',
12621
+ 'ms'
12612
12622
  ];
12613
12623
  var x;
12614
12624
  // Remove vendor prefixing if prefixed and break early if not
12615
- for(x = 0; x < vendors.length && !requestAnimationFrame; x += 1)requestAnimationFrame = window[vendors[x] + "RequestAnimationFrame"];
12625
+ for(x = 0; x < vendors.length && !requestAnimationFrame; x += 1)requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame'];
12616
12626
  if (requestAnimationFrame) // Firefox extension content-scripts have a globalThis object that is not the same as window.
12617
12627
  // Binding `requestAnimationFrame` to window allows the function to work and prevents errors
12618
12628
  // being thrown when run in that context, and should be a no-op in every other context.
12619
12629
  requestAnimationFrame = requestAnimationFrame.bind(window);
12620
- else log("setup", "RequestAnimationFrame not supported");
12630
+ else log('setup', 'RequestAnimationFrame not supported');
12621
12631
  }
12622
12632
  function getMyID(iframeId) {
12623
- var retStr = "Host page: " + iframeId;
12624
- if (window.top !== window.self) retStr = window.parentIFrame && window.parentIFrame.getId ? window.parentIFrame.getId() + ": " + iframeId : "Nested host page: " + iframeId;
12633
+ var retStr = 'Host page: ' + iframeId;
12634
+ if (window.top !== window.self) retStr = window.parentIFrame && window.parentIFrame.getId ? window.parentIFrame.getId() + ': ' + iframeId : 'Nested host page: ' + iframeId;
12625
12635
  return retStr;
12626
12636
  }
12627
12637
  function formatLogHeader(iframeId) {
12628
- return msgId + "[" + getMyID(iframeId) + "]";
12638
+ return msgId + '[' + getMyID(iframeId) + ']';
12629
12639
  }
12630
12640
  function isLogEnabled(iframeId) {
12631
12641
  return settings[iframeId] ? settings[iframeId].log : logEnabled;
12632
12642
  }
12633
12643
  function log(iframeId, msg) {
12634
- output("log", iframeId, msg, isLogEnabled(iframeId));
12644
+ output('log', iframeId, msg, isLogEnabled(iframeId));
12635
12645
  }
12636
12646
  function info(iframeId, msg) {
12637
- output("info", iframeId, msg, isLogEnabled(iframeId));
12647
+ output('info', iframeId, msg, isLogEnabled(iframeId));
12638
12648
  }
12639
12649
  function warn(iframeId, msg) {
12640
- output("warn", iframeId, msg, true);
12650
+ output('warn', iframeId, msg, true);
12641
12651
  }
12642
12652
  function output(type, iframeId, msg, enabled) {
12643
- if (true === enabled && "object" === typeof window.console) // eslint-disable-next-line no-console
12653
+ if (true === enabled && 'object' === typeof window.console) // eslint-disable-next-line no-console
12644
12654
  console[type](formatLogHeader(iframeId), msg);
12645
12655
  }
12646
12656
  function iFrameListener(event) {
@@ -12648,14 +12658,14 @@ var $ef5e88eaa61efd95$exports = {};
12648
12658
  function resize() {
12649
12659
  setSize(messageData);
12650
12660
  setPagePosition(iframeId);
12651
- on("onResized", messageData);
12661
+ on('onResized', messageData);
12652
12662
  }
12653
- ensureInRange("Height");
12654
- ensureInRange("Width");
12655
- syncResize(resize, messageData, "init");
12663
+ ensureInRange('Height');
12664
+ ensureInRange('Width');
12665
+ syncResize(resize, messageData, 'init');
12656
12666
  }
12657
12667
  function processMsg() {
12658
- var data = msg.slice(msgIdLen).split(":");
12668
+ var data = msg.slice(msgIdLen).split(':');
12659
12669
  var height = data[1] ? parseInt(data[1], 10) : 0;
12660
12670
  var iframe = settings[data[0]] && settings[data[0]].iframe;
12661
12671
  var compStyle = getComputedStyle(iframe);
@@ -12668,35 +12678,35 @@ var $ef5e88eaa61efd95$exports = {};
12668
12678
  };
12669
12679
  }
12670
12680
  function getPaddingEnds(compStyle) {
12671
- if (compStyle.boxSizing !== "border-box") return 0;
12681
+ if (compStyle.boxSizing !== 'border-box') return 0;
12672
12682
  var top = compStyle.paddingTop ? parseInt(compStyle.paddingTop, 10) : 0;
12673
12683
  var bot = compStyle.paddingBottom ? parseInt(compStyle.paddingBottom, 10) : 0;
12674
12684
  return top + bot;
12675
12685
  }
12676
12686
  function getBorderEnds(compStyle) {
12677
- if (compStyle.boxSizing !== "border-box") return 0;
12687
+ if (compStyle.boxSizing !== 'border-box') return 0;
12678
12688
  var top = compStyle.borderTopWidth ? parseInt(compStyle.borderTopWidth, 10) : 0;
12679
12689
  var bot = compStyle.borderBottomWidth ? parseInt(compStyle.borderBottomWidth, 10) : 0;
12680
12690
  return top + bot;
12681
12691
  }
12682
12692
  function ensureInRange(Dimension) {
12683
- var max = Number(settings[iframeId]["max" + Dimension]), min = Number(settings[iframeId]["min" + Dimension]), dimension = Dimension.toLowerCase(), size = Number(messageData[dimension]);
12684
- log(iframeId, "Checking " + dimension + " is in range " + min + "-" + max);
12693
+ var max = Number(settings[iframeId]['max' + Dimension]), min = Number(settings[iframeId]['min' + Dimension]), dimension = Dimension.toLowerCase(), size = Number(messageData[dimension]);
12694
+ log(iframeId, 'Checking ' + dimension + ' is in range ' + min + '-' + max);
12685
12695
  if (size < min) {
12686
12696
  size = min;
12687
- log(iframeId, "Set " + dimension + " to min value");
12697
+ log(iframeId, 'Set ' + dimension + ' to min value');
12688
12698
  }
12689
12699
  if (size > max) {
12690
12700
  size = max;
12691
- log(iframeId, "Set " + dimension + " to max value");
12701
+ log(iframeId, 'Set ' + dimension + ' to max value');
12692
12702
  }
12693
- messageData[dimension] = "" + size;
12703
+ messageData[dimension] = '' + size;
12694
12704
  }
12695
12705
  function isMessageFromIFrame() {
12696
12706
  function checkAllowedOrigin() {
12697
12707
  function checkList() {
12698
12708
  var i = 0, retCode = false;
12699
- log(iframeId, "Checking connection is from allowed list of origins: " + checkOrigin);
12709
+ log(iframeId, 'Checking connection is from allowed list of origins: ' + checkOrigin);
12700
12710
  for(; i < checkOrigin.length; i++)if (checkOrigin[i] === origin) {
12701
12711
  retCode = true;
12702
12712
  break;
@@ -12705,17 +12715,17 @@ var $ef5e88eaa61efd95$exports = {};
12705
12715
  }
12706
12716
  function checkSingle() {
12707
12717
  var remoteHost = settings[iframeId] && settings[iframeId].remoteHost;
12708
- log(iframeId, "Checking connection is from: " + remoteHost);
12718
+ log(iframeId, 'Checking connection is from: ' + remoteHost);
12709
12719
  return origin === remoteHost;
12710
12720
  }
12711
12721
  return checkOrigin.constructor === Array ? checkList() : checkSingle();
12712
12722
  }
12713
12723
  var origin = event.origin, checkOrigin = settings[iframeId] && settings[iframeId].checkOrigin;
12714
- if (checkOrigin && "" + origin !== "null" && !checkAllowedOrigin()) throw new Error("Unexpected message received from: " + origin + " for " + messageData.iframe.id + ". Message was: " + event.data + ". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");
12724
+ if (checkOrigin && '' + origin !== 'null' && !checkAllowedOrigin()) throw new Error('Unexpected message received from: ' + origin + ' for ' + messageData.iframe.id + '. Message was: ' + event.data + '. This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.');
12715
12725
  return true;
12716
12726
  }
12717
12727
  function isMessageForUs() {
12718
- return msgId === ("" + msg).slice(0, msgIdLen) && msg.slice(msgIdLen).split(":")[0] in settings // ''+Protects against non-string msg
12728
+ return msgId === ('' + msg).slice(0, msgIdLen) && msg.slice(msgIdLen).split(':')[0] in settings // ''+Protects against non-string msg
12719
12729
  ;
12720
12730
  }
12721
12731
  function isMessageFromMetaParent() {
@@ -12726,19 +12736,19 @@ var $ef5e88eaa61efd95$exports = {};
12726
12736
  false: 1,
12727
12737
  undefined: 1
12728
12738
  };
12729
- if (retCode) log(iframeId, "Ignoring init message from meta parent page");
12739
+ if (retCode) log(iframeId, 'Ignoring init message from meta parent page');
12730
12740
  return retCode;
12731
12741
  }
12732
12742
  function getMsgBody(offset) {
12733
- return msg.slice(msg.indexOf(":") + msgHeaderLen + offset);
12743
+ return msg.slice(msg.indexOf(':') + msgHeaderLen + offset);
12734
12744
  }
12735
12745
  function forwardMsgFromIFrame(msgBody) {
12736
- log(iframeId, "onMessage passed: {iframe: " + messageData.iframe.id + ", message: " + msgBody + "}");
12737
- on("onMessage", {
12746
+ log(iframeId, 'onMessage passed: {iframe: ' + messageData.iframe.id + ', message: ' + msgBody + '}');
12747
+ on('onMessage', {
12738
12748
  iframe: messageData.iframe,
12739
12749
  message: JSON.parse(msgBody)
12740
12750
  });
12741
- log(iframeId, "--");
12751
+ log(iframeId, '--');
12742
12752
  }
12743
12753
  function getPageInfo() {
12744
12754
  var bodyPosition = document.body.getBoundingClientRect(), iFramePosition = messageData.iframe.getBoundingClientRect();
@@ -12759,7 +12769,7 @@ var $ef5e88eaa61efd95$exports = {};
12759
12769
  }
12760
12770
  function sendPageInfoToIframe(iframe, iframeId) {
12761
12771
  function debouncedTrigger() {
12762
- trigger("Send Page Info", "pageInfo:" + getPageInfo(), iframe, iframeId);
12772
+ trigger('Send Page Info', 'pageInfo:' + getPageInfo(), iframe, iframeId);
12763
12773
  }
12764
12774
  debounceFrameEvents(debouncedTrigger, 32, iframeId);
12765
12775
  }
@@ -12770,18 +12780,18 @@ var $ef5e88eaa61efd95$exports = {};
12770
12780
  else stop();
12771
12781
  }
12772
12782
  [
12773
- "scroll",
12774
- "resize"
12783
+ 'scroll',
12784
+ 'resize'
12775
12785
  ].forEach(function(evt) {
12776
- log(id, type + evt + " listener for sendPageInfo");
12786
+ log(id, type + evt + ' listener for sendPageInfo');
12777
12787
  func(window, evt, sendPageInfo);
12778
12788
  });
12779
12789
  }
12780
12790
  function stop() {
12781
- setListener("Remove ", removeEventListener);
12791
+ setListener('Remove ', removeEventListener);
12782
12792
  }
12783
12793
  function start() {
12784
- setListener("Add ", addEventListener);
12794
+ setListener('Add ', addEventListener);
12785
12795
  }
12786
12796
  var id = iframeId // Create locally scoped copy of iFrame ID
12787
12797
  ;
@@ -12797,7 +12807,7 @@ var $ef5e88eaa61efd95$exports = {};
12797
12807
  function checkIFrameExists() {
12798
12808
  var retBool = true;
12799
12809
  if (null === messageData.iframe) {
12800
- warn(iframeId, "IFrame (" + messageData.id + ") not found");
12810
+ warn(iframeId, 'IFrame (' + messageData.id + ') not found');
12801
12811
  retBool = false;
12802
12812
  }
12803
12813
  return retBool;
@@ -12815,7 +12825,7 @@ var $ef5e88eaa61efd95$exports = {};
12815
12825
  function reposition() {
12816
12826
  pagePosition = newPosition;
12817
12827
  scrollTo();
12818
- log(iframeId, "--");
12828
+ log(iframeId, '--');
12819
12829
  }
12820
12830
  function calcOffset() {
12821
12831
  return {
@@ -12824,45 +12834,45 @@ var $ef5e88eaa61efd95$exports = {};
12824
12834
  };
12825
12835
  }
12826
12836
  function scrollParent() {
12827
- if (window.parentIFrame) window.parentIFrame["scrollTo" + (addOffset ? "Offset" : "")](newPosition.x, newPosition.y);
12828
- else warn(iframeId, "Unable to scroll to requested position, window.parentIFrame not found");
12837
+ if (window.parentIFrame) window.parentIFrame['scrollTo' + (addOffset ? 'Offset' : '')](newPosition.x, newPosition.y);
12838
+ else warn(iframeId, 'Unable to scroll to requested position, window.parentIFrame not found');
12829
12839
  }
12830
12840
  var offset = addOffset ? getElementPosition(messageData.iframe) : {
12831
12841
  x: 0,
12832
12842
  y: 0
12833
12843
  }, newPosition = calcOffset();
12834
- log(iframeId, "Reposition requested from iFrame (offset x:" + offset.x + " y:" + offset.y + ")");
12844
+ log(iframeId, 'Reposition requested from iFrame (offset x:' + offset.x + ' y:' + offset.y + ')');
12835
12845
  if (window.top === window.self) reposition();
12836
12846
  else scrollParent();
12837
12847
  }
12838
12848
  function scrollTo() {
12839
- if (false === on("onScroll", pagePosition)) unsetPagePosition();
12849
+ if (false === on('onScroll', pagePosition)) unsetPagePosition();
12840
12850
  else setPagePosition(iframeId);
12841
12851
  }
12842
12852
  function findTarget(location) {
12843
12853
  function jumpToTarget() {
12844
12854
  var jumpPosition = getElementPosition(target);
12845
- log(iframeId, "Moving to in page link (#" + hash + ") at x: " + jumpPosition.x + " y: " + jumpPosition.y);
12855
+ log(iframeId, 'Moving to in page link (#' + hash + ') at x: ' + jumpPosition.x + ' y: ' + jumpPosition.y);
12846
12856
  pagePosition = {
12847
12857
  x: jumpPosition.x,
12848
12858
  y: jumpPosition.y
12849
12859
  };
12850
12860
  scrollTo();
12851
- log(iframeId, "--");
12861
+ log(iframeId, '--');
12852
12862
  }
12853
12863
  function jumpToParent() {
12854
12864
  if (window.parentIFrame) window.parentIFrame.moveToAnchor(hash);
12855
- else log(iframeId, "In page link #" + hash + " not found and window.parentIFrame not found");
12865
+ else log(iframeId, 'In page link #' + hash + ' not found and window.parentIFrame not found');
12856
12866
  }
12857
- var hash = location.split("#")[1] || "", hashData = decodeURIComponent(hash), target = document.getElementById(hashData) || document.getElementsByName(hashData)[0];
12867
+ var hash = location.split('#')[1] || '', hashData = decodeURIComponent(hash), target = document.getElementById(hashData) || document.getElementsByName(hashData)[0];
12858
12868
  if (target) jumpToTarget();
12859
- else if (window.top === window.self) log(iframeId, "In page link #" + hash + " not found");
12869
+ else if (window.top === window.self) log(iframeId, 'In page link #' + hash + ' not found');
12860
12870
  else jumpToParent();
12861
12871
  }
12862
12872
  function onMouse(event) {
12863
12873
  var mousePos = {};
12864
12874
  if (Number(messageData.width) === 0 && Number(messageData.height) === 0) {
12865
- var data = getMsgBody(9).split(":");
12875
+ var data = getMsgBody(9).split(':');
12866
12876
  mousePos = {
12867
12877
  x: data[1],
12868
12878
  y: data[0]
@@ -12884,46 +12894,46 @@ var $ef5e88eaa61efd95$exports = {};
12884
12894
  function actionMsg() {
12885
12895
  if (settings[iframeId] && settings[iframeId].firstRun) firstRun();
12886
12896
  switch(messageData.type){
12887
- case "close":
12897
+ case 'close':
12888
12898
  closeIFrame(messageData.iframe);
12889
12899
  break;
12890
- case "message":
12900
+ case 'message':
12891
12901
  forwardMsgFromIFrame(getMsgBody(6));
12892
12902
  break;
12893
- case "mouseenter":
12894
- onMouse("onMouseEnter");
12903
+ case 'mouseenter':
12904
+ onMouse('onMouseEnter');
12895
12905
  break;
12896
- case "mouseleave":
12897
- onMouse("onMouseLeave");
12906
+ case 'mouseleave':
12907
+ onMouse('onMouseLeave');
12898
12908
  break;
12899
- case "autoResize":
12909
+ case 'autoResize':
12900
12910
  settings[iframeId].autoResize = JSON.parse(getMsgBody(9));
12901
12911
  break;
12902
- case "scrollTo":
12912
+ case 'scrollTo':
12903
12913
  scrollRequestFromChild(false);
12904
12914
  break;
12905
- case "scrollToOffset":
12915
+ case 'scrollToOffset':
12906
12916
  scrollRequestFromChild(true);
12907
12917
  break;
12908
- case "pageInfo":
12918
+ case 'pageInfo':
12909
12919
  sendPageInfoToIframe(settings[iframeId] && settings[iframeId].iframe, iframeId);
12910
12920
  startPageInfoMonitor();
12911
12921
  break;
12912
- case "pageInfoStop":
12922
+ case 'pageInfoStop':
12913
12923
  stopPageInfoMonitor();
12914
12924
  break;
12915
- case "inPageLink":
12925
+ case 'inPageLink':
12916
12926
  findTarget(getMsgBody(9));
12917
12927
  break;
12918
- case "reset":
12928
+ case 'reset':
12919
12929
  resetIFrame(messageData);
12920
12930
  break;
12921
- case "init":
12931
+ case 'init':
12922
12932
  resizeIFrame();
12923
- on("onInit", messageData.iframe);
12933
+ on('onInit', messageData.iframe);
12924
12934
  break;
12925
12935
  default:
12926
- if (Number(messageData.width) === 0 && Number(messageData.height) === 0) warn("Unsupported message received (" + messageData.type + "), this is likely due to the iframe containing a later " + "version of iframe-resizer than the parent page");
12936
+ if (Number(messageData.width) === 0 && Number(messageData.height) === 0) warn('Unsupported message received (' + messageData.type + '), this is likely due to the iframe containing a later ' + 'version of iframe-resizer than the parent page');
12927
12937
  else resizeIFrame();
12928
12938
  }
12929
12939
  }
@@ -12931,35 +12941,35 @@ var $ef5e88eaa61efd95$exports = {};
12931
12941
  var retBool = true;
12932
12942
  if (!settings[iframeId]) {
12933
12943
  retBool = false;
12934
- warn(messageData.type + " No settings for " + iframeId + ". Message was: " + msg);
12944
+ warn(messageData.type + ' No settings for ' + iframeId + '. Message was: ' + msg);
12935
12945
  }
12936
12946
  return retBool;
12937
12947
  }
12938
12948
  function iFrameReadyMsgReceived() {
12939
12949
  // eslint-disable-next-line no-restricted-syntax, guard-for-in
12940
- for(var iframeId in settings)trigger("iFrame requested init", createOutgoingMsg(iframeId), settings[iframeId].iframe, iframeId);
12950
+ for(var iframeId in settings)trigger('iFrame requested init', createOutgoingMsg(iframeId), settings[iframeId].iframe, iframeId);
12941
12951
  }
12942
12952
  function firstRun() {
12943
12953
  if (settings[iframeId]) settings[iframeId].firstRun = false;
12944
12954
  }
12945
12955
  var msg = event.data, messageData = {}, iframeId = null;
12946
- if ("[iFrameResizerChild]Ready" === msg) iFrameReadyMsgReceived();
12956
+ if ('[iFrameResizerChild]Ready' === msg) iFrameReadyMsgReceived();
12947
12957
  else if (isMessageForUs()) {
12948
12958
  messageData = processMsg();
12949
12959
  iframeId = messageData.id;
12950
12960
  if (settings[iframeId]) settings[iframeId].loaded = true;
12951
12961
  if (!isMessageFromMetaParent() && hasSettings(iframeId)) {
12952
- log(iframeId, "Received: " + msg);
12962
+ log(iframeId, 'Received: ' + msg);
12953
12963
  if (checkIFrameExists() && isMessageFromIFrame()) actionMsg();
12954
12964
  }
12955
- } else info(iframeId, "Ignored: " + msg);
12965
+ } else info(iframeId, 'Ignored: ' + msg);
12956
12966
  }
12957
12967
  function chkEvent(iframeId, funcName, val) {
12958
12968
  var func = null, retVal = null;
12959
12969
  if (settings[iframeId]) {
12960
12970
  func = settings[iframeId][funcName];
12961
- if ("function" === typeof func) retVal = func(val);
12962
- else throw new TypeError(funcName + " on iFrame[" + iframeId + "] is not a function");
12971
+ if ('function' === typeof func) retVal = func(val);
12972
+ else throw new TypeError(funcName + ' on iFrame[' + iframeId + '] is not a function');
12963
12973
  }
12964
12974
  return retVal;
12965
12975
  }
@@ -12969,19 +12979,19 @@ var $ef5e88eaa61efd95$exports = {};
12969
12979
  }
12970
12980
  function closeIFrame(iframe) {
12971
12981
  var iframeId = iframe.id;
12972
- if (chkEvent(iframeId, "onClose", iframeId) === false) {
12973
- log(iframeId, "Close iframe cancelled by onClose event");
12982
+ if (chkEvent(iframeId, 'onClose', iframeId) === false) {
12983
+ log(iframeId, 'Close iframe cancelled by onClose event');
12974
12984
  return;
12975
12985
  }
12976
- log(iframeId, "Removing iFrame: " + iframeId);
12986
+ log(iframeId, 'Removing iFrame: ' + iframeId);
12977
12987
  try {
12978
12988
  // Catch race condition error with React
12979
12989
  if (iframe.parentNode) iframe.parentNode.removeChild(iframe);
12980
12990
  } catch (error) {
12981
12991
  warn(error);
12982
12992
  }
12983
- chkEvent(iframeId, "onClosed", iframeId);
12984
- log(iframeId, "--");
12993
+ chkEvent(iframeId, 'onClosed', iframeId);
12994
+ log(iframeId, '--');
12985
12995
  removeIframeListeners(iframe);
12986
12996
  }
12987
12997
  function getPagePosition(iframeId) {
@@ -12990,13 +13000,13 @@ var $ef5e88eaa61efd95$exports = {};
12990
13000
  x: window.pageXOffset === undefined ? document.documentElement.scrollLeft : window.pageXOffset,
12991
13001
  y: window.pageYOffset === undefined ? document.documentElement.scrollTop : window.pageYOffset
12992
13002
  };
12993
- log(iframeId, "Get page position: " + pagePosition.x + "," + pagePosition.y);
13003
+ log(iframeId, 'Get page position: ' + pagePosition.x + ',' + pagePosition.y);
12994
13004
  }
12995
13005
  }
12996
13006
  function setPagePosition(iframeId) {
12997
13007
  if (null !== pagePosition) {
12998
13008
  window.scrollTo(pagePosition.x, pagePosition.y);
12999
- log(iframeId, "Set page position: " + pagePosition.x + "," + pagePosition.y);
13009
+ log(iframeId, 'Set page position: ' + pagePosition.x + ',' + pagePosition.y);
13000
13010
  unsetPagePosition();
13001
13011
  }
13002
13012
  }
@@ -13006,29 +13016,29 @@ var $ef5e88eaa61efd95$exports = {};
13006
13016
  function resetIFrame(messageData) {
13007
13017
  function reset() {
13008
13018
  setSize(messageData);
13009
- trigger("reset", "reset", messageData.iframe, messageData.id);
13019
+ trigger('reset', 'reset', messageData.iframe, messageData.id);
13010
13020
  }
13011
- log(messageData.id, "Size reset requested by " + ("init" === messageData.type ? "host page" : "iFrame"));
13021
+ log(messageData.id, 'Size reset requested by ' + ('init' === messageData.type ? 'host page' : 'iFrame'));
13012
13022
  getPagePosition(messageData.id);
13013
- syncResize(reset, messageData, "reset");
13023
+ syncResize(reset, messageData, 'reset');
13014
13024
  }
13015
13025
  function setSize(messageData) {
13016
13026
  function setDimension(dimension) {
13017
13027
  if (!messageData.id) {
13018
- log("undefined", "messageData id not set");
13028
+ log('undefined', 'messageData id not set');
13019
13029
  return;
13020
13030
  }
13021
- messageData.iframe.style[dimension] = messageData[dimension] + "px";
13022
- log(messageData.id, "IFrame (" + iframeId + ") " + dimension + " set to " + messageData[dimension] + "px");
13031
+ messageData.iframe.style[dimension] = messageData[dimension] + 'px';
13032
+ log(messageData.id, 'IFrame (' + iframeId + ') ' + dimension + ' set to ' + messageData[dimension] + 'px');
13023
13033
  }
13024
13034
  function chkZero(dimension) {
13025
13035
  // FireFox sets dimension of hidden iFrames to zero.
13026
13036
  // So if we detect that set up an event to check for
13027
13037
  // when iFrame becomes visible.
13028
13038
  /* istanbul ignore next */ // Not testable in PhantomJS
13029
- if (!hiddenCheckEnabled && "0" === messageData[dimension]) {
13039
+ if (!hiddenCheckEnabled && '0' === messageData[dimension]) {
13030
13040
  hiddenCheckEnabled = true;
13031
- log(iframeId, "Hidden iFrame detected, creating visibility listener");
13041
+ log(iframeId, 'Hidden iFrame detected, creating visibility listener');
13032
13042
  fixHiddenIFrames();
13033
13043
  }
13034
13044
  }
@@ -13038,29 +13048,29 @@ var $ef5e88eaa61efd95$exports = {};
13038
13048
  }
13039
13049
  var iframeId = messageData.iframe.id;
13040
13050
  if (settings[iframeId]) {
13041
- if (settings[iframeId].sizeHeight) processDimension("height");
13042
- if (settings[iframeId].sizeWidth) processDimension("width");
13051
+ if (settings[iframeId].sizeHeight) processDimension('height');
13052
+ if (settings[iframeId].sizeWidth) processDimension('width');
13043
13053
  }
13044
13054
  }
13045
13055
  function syncResize(func, messageData, doNotSync) {
13046
13056
  /* istanbul ignore if */ // Not testable in PhantomJS
13047
13057
  if (doNotSync !== messageData.type && requestAnimationFrame && // including check for jasmine because had trouble getting spy to work in unit test using requestAnimationFrame
13048
13058
  !window.jasmine) {
13049
- log(messageData.id, "Requesting animation frame");
13059
+ log(messageData.id, 'Requesting animation frame');
13050
13060
  requestAnimationFrame(func);
13051
13061
  } else func();
13052
13062
  }
13053
13063
  function trigger(calleeMsg, msg, iframe, id, noResponseWarning) {
13054
13064
  function postMessageToIFrame() {
13055
13065
  var target = settings[id] && settings[id].targetOrigin;
13056
- log(id, "[" + calleeMsg + "] Sending msg to iframe[" + id + "] (" + msg + ") targetOrigin: " + target);
13066
+ log(id, '[' + calleeMsg + '] Sending msg to iframe[' + id + '] (' + msg + ') targetOrigin: ' + target);
13057
13067
  iframe.contentWindow.postMessage(msgId + msg, target);
13058
13068
  }
13059
13069
  function iFrameNotFound() {
13060
- warn(id, "[" + calleeMsg + "] IFrame(" + id + ") not found");
13070
+ warn(id, '[' + calleeMsg + '] IFrame(' + id + ') not found');
13061
13071
  }
13062
13072
  function chkAndSend() {
13063
- if (iframe && "contentWindow" in iframe && null !== iframe.contentWindow) // Null test for PhantomJS
13073
+ if (iframe && 'contentWindow' in iframe && null !== iframe.contentWindow) // Null test for PhantomJS
13064
13074
  postMessageToIFrame();
13065
13075
  else iFrameNotFound();
13066
13076
  }
@@ -13068,7 +13078,7 @@ var $ef5e88eaa61efd95$exports = {};
13068
13078
  function warning() {
13069
13079
  if (settings[id] && !settings[id].loaded && !errorShown) {
13070
13080
  errorShown = true;
13071
- warn(id, "IFrame has not responded within " + settings[id].warningTimeout / 1000 + " seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning.");
13081
+ warn(id, 'IFrame has not responded within ' + settings[id].warningTimeout / 1000 + ' seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning.');
13072
13082
  }
13073
13083
  }
13074
13084
  if (!!noResponseWarning && settings[id] && !!settings[id].warningTimeout) settings[id].msgTimeout = setTimeout(warning, settings[id].warningTimeout);
@@ -13081,29 +13091,29 @@ var $ef5e88eaa61efd95$exports = {};
13081
13091
  }
13082
13092
  }
13083
13093
  function createOutgoingMsg(iframeId) {
13084
- return iframeId + ":" + settings[iframeId].bodyMarginV1 + ":" + settings[iframeId].sizeWidth + ":" + settings[iframeId].log + ":" + settings[iframeId].interval + ":" + settings[iframeId].enablePublicMethods + ":" + settings[iframeId].autoResize + ":" + settings[iframeId].bodyMargin + ":" + settings[iframeId].heightCalculationMethod + ":" + settings[iframeId].bodyBackground + ":" + settings[iframeId].bodyPadding + ":" + settings[iframeId].tolerance + ":" + settings[iframeId].inPageLinks + ":" + settings[iframeId].resizeFrom + ":" + settings[iframeId].widthCalculationMethod + ":" + settings[iframeId].mouseEvents;
13094
+ return iframeId + ':' + settings[iframeId].bodyMarginV1 + ':' + settings[iframeId].sizeWidth + ':' + settings[iframeId].log + ':' + settings[iframeId].interval + ':' + settings[iframeId].enablePublicMethods + ':' + settings[iframeId].autoResize + ':' + settings[iframeId].bodyMargin + ':' + settings[iframeId].heightCalculationMethod + ':' + settings[iframeId].bodyBackground + ':' + settings[iframeId].bodyPadding + ':' + settings[iframeId].tolerance + ':' + settings[iframeId].inPageLinks + ':' + settings[iframeId].resizeFrom + ':' + settings[iframeId].widthCalculationMethod + ':' + settings[iframeId].mouseEvents;
13085
13095
  }
13086
13096
  function isNumber(value) {
13087
- return typeof value === "number";
13097
+ return typeof value === 'number';
13088
13098
  }
13089
13099
  function setupIFrame(iframe, options) {
13090
13100
  function setLimits() {
13091
13101
  function addStyle(style) {
13092
13102
  var styleValue = settings[iframeId][style];
13093
13103
  if (Infinity !== styleValue && 0 !== styleValue) {
13094
- iframe.style[style] = isNumber(styleValue) ? styleValue + "px" : styleValue;
13095
- log(iframeId, "Set " + style + " = " + iframe.style[style]);
13104
+ iframe.style[style] = isNumber(styleValue) ? styleValue + 'px' : styleValue;
13105
+ log(iframeId, 'Set ' + style + ' = ' + iframe.style[style]);
13096
13106
  }
13097
13107
  }
13098
13108
  function chkMinMax(dimension) {
13099
- if (settings[iframeId]["min" + dimension] > settings[iframeId]["max" + dimension]) throw new Error("Value for min" + dimension + " can not be greater than max" + dimension);
13109
+ if (settings[iframeId]['min' + dimension] > settings[iframeId]['max' + dimension]) throw new Error('Value for min' + dimension + ' can not be greater than max' + dimension);
13100
13110
  }
13101
- chkMinMax("Height");
13102
- chkMinMax("Width");
13103
- addStyle("maxHeight");
13104
- addStyle("minHeight");
13105
- addStyle("maxWidth");
13106
- addStyle("minWidth");
13111
+ chkMinMax('Height');
13112
+ chkMinMax('Width');
13113
+ addStyle('maxHeight');
13114
+ addStyle('minHeight');
13115
+ addStyle('maxWidth');
13116
+ addStyle('minWidth');
13107
13117
  }
13108
13118
  function newId() {
13109
13119
  var id = options && options.id || defaults.id + count++;
@@ -13111,38 +13121,38 @@ var $ef5e88eaa61efd95$exports = {};
13111
13121
  return id;
13112
13122
  }
13113
13123
  function ensureHasId(iframeId) {
13114
- if (typeof iframeId !== "string") throw new TypeError("Invaild id for iFrame. Expected String");
13115
- if ("" === iframeId) {
13124
+ if (typeof iframeId !== 'string') throw new TypeError('Invaild id for iFrame. Expected String');
13125
+ if ('' === iframeId) {
13116
13126
  // eslint-disable-next-line no-multi-assign
13117
13127
  iframe.id = iframeId = newId();
13118
13128
  logEnabled = (options || {}).log;
13119
- log(iframeId, "Added missing iframe ID: " + iframeId + " (" + iframe.src + ")");
13129
+ log(iframeId, 'Added missing iframe ID: ' + iframeId + ' (' + iframe.src + ')');
13120
13130
  }
13121
13131
  return iframeId;
13122
13132
  }
13123
13133
  function setScrolling() {
13124
- log(iframeId, "IFrame scrolling " + (settings[iframeId] && settings[iframeId].scrolling ? "enabled" : "disabled") + " for " + iframeId);
13125
- iframe.style.overflow = false === (settings[iframeId] && settings[iframeId].scrolling) ? "hidden" : "auto";
13134
+ log(iframeId, 'IFrame scrolling ' + (settings[iframeId] && settings[iframeId].scrolling ? 'enabled' : 'disabled') + ' for ' + iframeId);
13135
+ iframe.style.overflow = false === (settings[iframeId] && settings[iframeId].scrolling) ? 'hidden' : 'auto';
13126
13136
  switch(settings[iframeId] && settings[iframeId].scrolling){
13127
- case "omit":
13137
+ case 'omit':
13128
13138
  break;
13129
13139
  case true:
13130
- iframe.scrolling = "yes";
13140
+ iframe.scrolling = 'yes';
13131
13141
  break;
13132
13142
  case false:
13133
- iframe.scrolling = "no";
13143
+ iframe.scrolling = 'no';
13134
13144
  break;
13135
13145
  default:
13136
- iframe.scrolling = settings[iframeId] ? settings[iframeId].scrolling : "no";
13146
+ iframe.scrolling = settings[iframeId] ? settings[iframeId].scrolling : 'no';
13137
13147
  }
13138
13148
  }
13139
13149
  // The V1 iFrame script expects an int, where as in V2 expects a CSS
13140
13150
  // string value such as '1px 3em', so if we have an int for V2, set V1=V2
13141
13151
  // and then convert V2 to a string PX value.
13142
13152
  function setupBodyMarginValues() {
13143
- if ("number" === typeof (settings[iframeId] && settings[iframeId].bodyMargin) || "0" === (settings[iframeId] && settings[iframeId].bodyMargin)) {
13153
+ if ('number' === typeof (settings[iframeId] && settings[iframeId].bodyMargin) || '0' === (settings[iframeId] && settings[iframeId].bodyMargin)) {
13144
13154
  settings[iframeId].bodyMarginV1 = settings[iframeId].bodyMargin;
13145
- settings[iframeId].bodyMargin = "" + settings[iframeId].bodyMargin + "px";
13155
+ settings[iframeId].bodyMargin = '' + settings[iframeId].bodyMargin + 'px';
13146
13156
  }
13147
13157
  }
13148
13158
  function checkReset() {
@@ -13154,20 +13164,20 @@ var $ef5e88eaa61efd95$exports = {};
13154
13164
  iframe: iframe,
13155
13165
  height: 0,
13156
13166
  width: 0,
13157
- type: "init"
13167
+ type: 'init'
13158
13168
  });
13159
13169
  }
13160
13170
  function setupIFrameObject() {
13161
13171
  if (settings[iframeId]) settings[iframeId].iframe.iFrameResizer = {
13162
13172
  close: closeIFrame.bind(null, settings[iframeId].iframe),
13163
13173
  removeListeners: removeIframeListeners.bind(null, settings[iframeId].iframe),
13164
- resize: trigger.bind(null, "Window resize", "resize", settings[iframeId].iframe),
13174
+ resize: trigger.bind(null, 'Window resize', 'resize', settings[iframeId].iframe),
13165
13175
  moveToAnchor: function(anchor) {
13166
- trigger("Move to anchor", "moveToAnchor:" + anchor, settings[iframeId].iframe, iframeId);
13176
+ trigger('Move to anchor', 'moveToAnchor:' + anchor, settings[iframeId].iframe, iframeId);
13167
13177
  },
13168
13178
  sendMessage: function(message) {
13169
13179
  message = JSON.stringify(message);
13170
- trigger("Send Message", "message:" + message, settings[iframeId].iframe, iframeId);
13180
+ trigger('Send Message', 'message:' + message, settings[iframeId].iframe, iframeId);
13171
13181
  }
13172
13182
  };
13173
13183
  }
@@ -13176,7 +13186,7 @@ var $ef5e88eaa61efd95$exports = {};
13176
13186
  // event listener also catches the page changing in the iFrame.
13177
13187
  function init(msg) {
13178
13188
  function iFrameLoaded() {
13179
- trigger("iFrame.onload", msg, iframe, undefined, true);
13189
+ trigger('iFrame.onload', msg, iframe, undefined, true);
13180
13190
  checkReset();
13181
13191
  }
13182
13192
  function createDestroyObserver(MutationObserver) {
@@ -13196,23 +13206,23 @@ var $ef5e88eaa61efd95$exports = {};
13196
13206
  }
13197
13207
  var MutationObserver = getMutationObserver();
13198
13208
  if (MutationObserver) createDestroyObserver(MutationObserver);
13199
- addEventListener(iframe, "load", iFrameLoaded);
13200
- trigger("init", msg, iframe, undefined, true);
13209
+ addEventListener(iframe, 'load', iFrameLoaded);
13210
+ trigger('init', msg, iframe, undefined, true);
13201
13211
  }
13202
13212
  function checkOptions(options) {
13203
- if ("object" !== typeof options) throw new TypeError("Options is not an object");
13213
+ if ('object' !== typeof options) throw new TypeError('Options is not an object');
13204
13214
  }
13205
13215
  function copyOptions(options) {
13206
13216
  // eslint-disable-next-line no-restricted-syntax
13207
13217
  for(var option in defaults)if (Object.prototype.hasOwnProperty.call(defaults, option)) settings[iframeId][option] = Object.prototype.hasOwnProperty.call(options, option) ? options[option] : defaults[option];
13208
13218
  }
13209
13219
  function getTargetOrigin(remoteHost) {
13210
- return "" === remoteHost || null !== remoteHost.match(/^(about:blank|javascript:|file:\/\/)/) ? "*" : remoteHost;
13220
+ return '' === remoteHost || null !== remoteHost.match(/^(about:blank|javascript:|file:\/\/)/) ? '*' : remoteHost;
13211
13221
  }
13212
13222
  function depricate(key) {
13213
- var splitName = key.split("Callback");
13223
+ var splitName = key.split('Callback');
13214
13224
  if (splitName.length === 2) {
13215
- var name = "on" + splitName[0].charAt(0).toUpperCase() + splitName[0].slice(1);
13225
+ var name = 'on' + splitName[0].charAt(0).toUpperCase() + splitName[0].slice(1);
13216
13226
  this[name] = this[key];
13217
13227
  delete this[key];
13218
13228
  warn(iframeId, "Deprecated: '" + key + "' has been renamed '" + name + "'. The old method will be removed in the next major version.");
@@ -13224,17 +13234,17 @@ var $ef5e88eaa61efd95$exports = {};
13224
13234
  ;
13225
13235
  settings[iframeId].iframe = iframe;
13226
13236
  settings[iframeId].firstRun = true;
13227
- settings[iframeId].remoteHost = iframe.src && iframe.src.split("/").slice(0, 3).join("/");
13237
+ settings[iframeId].remoteHost = iframe.src && iframe.src.split('/').slice(0, 3).join('/');
13228
13238
  checkOptions(options);
13229
13239
  Object.keys(options).forEach(depricate, options);
13230
13240
  copyOptions(options);
13231
- if (settings[iframeId]) settings[iframeId].targetOrigin = true === settings[iframeId].checkOrigin ? getTargetOrigin(settings[iframeId].remoteHost) : "*";
13241
+ if (settings[iframeId]) settings[iframeId].targetOrigin = true === settings[iframeId].checkOrigin ? getTargetOrigin(settings[iframeId].remoteHost) : '*';
13232
13242
  }
13233
13243
  function beenHere() {
13234
- return iframeId in settings && "iFrameResizer" in iframe;
13244
+ return iframeId in settings && 'iFrameResizer' in iframe;
13235
13245
  }
13236
13246
  var iframeId = ensureHasId(iframe.id);
13237
- if (beenHere()) warn(iframeId, "Ignored iFrame, already setup.");
13247
+ if (beenHere()) warn(iframeId, 'Ignored iFrame, already setup.');
13238
13248
  else {
13239
13249
  processOptions(options);
13240
13250
  setScrolling();
@@ -13262,23 +13272,23 @@ var $ef5e88eaa61efd95$exports = {};
13262
13272
  function checkIFrames() {
13263
13273
  function checkIFrame(settingId) {
13264
13274
  function chkDimension(dimension) {
13265
- return "0px" === (settings[settingId] && settings[settingId].iframe.style[dimension]);
13275
+ return '0px' === (settings[settingId] && settings[settingId].iframe.style[dimension]);
13266
13276
  }
13267
13277
  function isVisible(el) {
13268
13278
  return null !== el.offsetParent;
13269
13279
  }
13270
- if (settings[settingId] && isVisible(settings[settingId].iframe) && (chkDimension("height") || chkDimension("width"))) trigger("Visibility change", "resize", settings[settingId].iframe, settingId);
13280
+ if (settings[settingId] && isVisible(settings[settingId].iframe) && (chkDimension('height') || chkDimension('width'))) trigger('Visibility change', 'resize', settings[settingId].iframe, settingId);
13271
13281
  }
13272
13282
  Object.keys(settings).forEach(function(key) {
13273
13283
  checkIFrame(key);
13274
13284
  });
13275
13285
  }
13276
13286
  function mutationObserved(mutations) {
13277
- log("window", "Mutation observed: " + mutations[0].target + " " + mutations[0].type);
13287
+ log('window', 'Mutation observed: ' + mutations[0].target + ' ' + mutations[0].type);
13278
13288
  debouce(checkIFrames, 16);
13279
13289
  }
13280
13290
  function createMutationObserver() {
13281
- var target = document.querySelector("body"), config = {
13291
+ var target = document.querySelector('body'), config = {
13282
13292
  attributes: true,
13283
13293
  attributeOldValue: false,
13284
13294
  characterData: true,
@@ -13293,42 +13303,42 @@ var $ef5e88eaa61efd95$exports = {};
13293
13303
  }
13294
13304
  function resizeIFrames(event) {
13295
13305
  function resize() {
13296
- sendTriggerMsg("Window " + event, "resize");
13306
+ sendTriggerMsg('Window ' + event, 'resize');
13297
13307
  }
13298
- log("window", "Trigger event: " + event);
13308
+ log('window', 'Trigger event: ' + event);
13299
13309
  debouce(resize, 16);
13300
13310
  }
13301
13311
  // Not testable in PhantomJS
13302
13312
  /* istanbul ignore next */ function tabVisible() {
13303
13313
  function resize() {
13304
- sendTriggerMsg("Tab Visible", "resize");
13314
+ sendTriggerMsg('Tab Visible', 'resize');
13305
13315
  }
13306
- if ("hidden" !== document.visibilityState) {
13307
- log("document", "Trigger event: Visibility change");
13316
+ if ('hidden' !== document.visibilityState) {
13317
+ log('document', 'Trigger event: Visibility change');
13308
13318
  debouce(resize, 16);
13309
13319
  }
13310
13320
  }
13311
13321
  function sendTriggerMsg(eventName, event) {
13312
13322
  function isIFrameResizeEnabled(iframeId) {
13313
- return settings[iframeId] && "parent" === settings[iframeId].resizeFrom && settings[iframeId].autoResize && !settings[iframeId].firstRun;
13323
+ return settings[iframeId] && 'parent' === settings[iframeId].resizeFrom && settings[iframeId].autoResize && !settings[iframeId].firstRun;
13314
13324
  }
13315
13325
  Object.keys(settings).forEach(function(iframeId) {
13316
13326
  if (isIFrameResizeEnabled(iframeId)) trigger(eventName, event, settings[iframeId].iframe, iframeId);
13317
13327
  });
13318
13328
  }
13319
13329
  function setupEventListeners() {
13320
- addEventListener(window, "message", iFrameListener);
13321
- addEventListener(window, "resize", function() {
13322
- resizeIFrames("resize");
13330
+ addEventListener(window, 'message', iFrameListener);
13331
+ addEventListener(window, 'resize', function() {
13332
+ resizeIFrames('resize');
13323
13333
  });
13324
- addEventListener(document, "visibilitychange", tabVisible);
13325
- addEventListener(document, "-webkit-visibilitychange", tabVisible);
13334
+ addEventListener(document, 'visibilitychange', tabVisible);
13335
+ addEventListener(document, '-webkit-visibilitychange', tabVisible);
13326
13336
  }
13327
13337
  function factory() {
13328
13338
  function init(options, element) {
13329
13339
  function chkType() {
13330
- if (!element.tagName) throw new TypeError("Object is not a valid DOM element");
13331
- else if ("IFRAME" !== element.tagName.toUpperCase()) throw new TypeError("Expected <IFRAME> tag, found <" + element.tagName + ">");
13340
+ if (!element.tagName) throw new TypeError('Object is not a valid DOM element');
13341
+ else if ('IFRAME' !== element.tagName.toUpperCase()) throw new TypeError('Expected <IFRAME> tag, found <' + element.tagName + '>');
13332
13342
  }
13333
13343
  if (element) {
13334
13344
  chkType();
@@ -13337,7 +13347,7 @@ var $ef5e88eaa61efd95$exports = {};
13337
13347
  }
13338
13348
  }
13339
13349
  function warnDeprecatedOptions(options) {
13340
- if (options && options.enablePublicMethods) warn("enablePublicMethods option has been removed, public methods are now always available in the iFrame");
13350
+ if (options && options.enablePublicMethods) warn('enablePublicMethods option has been removed, public methods are now always available in the iFrame');
13341
13351
  }
13342
13352
  var iFrames;
13343
13353
  setupRequestAnimationFrame();
@@ -13347,31 +13357,31 @@ var $ef5e88eaa61efd95$exports = {};
13347
13357
  ;
13348
13358
  warnDeprecatedOptions(options);
13349
13359
  switch(typeof target){
13350
- case "undefined":
13351
- case "string":
13352
- Array.prototype.forEach.call(document.querySelectorAll(target || "iframe"), init.bind(undefined, options));
13360
+ case 'undefined':
13361
+ case 'string':
13362
+ Array.prototype.forEach.call(document.querySelectorAll(target || 'iframe'), init.bind(undefined, options));
13353
13363
  break;
13354
- case "object":
13364
+ case 'object':
13355
13365
  init(options, target);
13356
13366
  break;
13357
13367
  default:
13358
- throw new TypeError("Unexpected data type (" + typeof target + ")");
13368
+ throw new TypeError('Unexpected data type (' + typeof target + ')');
13359
13369
  }
13360
13370
  return iFrames;
13361
13371
  };
13362
13372
  }
13363
13373
  function createJQueryPublicMethod($) {
13364
- if (!$.fn) info("", "Unable to bind to jQuery, it is not fully loaded.");
13374
+ if (!$.fn) info('', 'Unable to bind to jQuery, it is not fully loaded.');
13365
13375
  else if (!$.fn.iFrameResize) $.fn.iFrameResize = function $iFrameResizeF(options) {
13366
13376
  function init(index, element) {
13367
13377
  setupIFrame(element, options);
13368
13378
  }
13369
- return this.filter("iframe").each(init).end();
13379
+ return this.filter('iframe').each(init).end();
13370
13380
  };
13371
13381
  }
13372
13382
  if (window.jQuery !== undefined) createJQueryPublicMethod(window.jQuery);
13373
- if (typeof define === "function" && define.amd) define([], factory);
13374
- else if (typeof $ef5e88eaa61efd95$exports === "object") // Node for browserfy
13383
+ if (typeof define === 'function' && define.amd) define([], factory);
13384
+ else if (typeof $ef5e88eaa61efd95$exports === 'object') // Node for browserfy
13375
13385
  $ef5e88eaa61efd95$exports = factory();
13376
13386
  window.iFrameResize = window.iFrameResize || factory();
13377
13387
  })();
@@ -13433,7 +13443,7 @@ var $cdfeaa1e0e8d642c$exports = {};
13433
13443
  (function(global, factory) {
13434
13444
  $cdfeaa1e0e8d642c$exports = factory();
13435
13445
  })($cdfeaa1e0e8d642c$exports, function() {
13436
- "use strict";
13446
+ 'use strict';
13437
13447
  /* eslint-disable no-var */ function assign(target) {
13438
13448
  for(var i = 1; i < arguments.length; i++){
13439
13449
  var source = arguments[i];
@@ -13452,15 +13462,15 @@ var $cdfeaa1e0e8d642c$exports = {};
13452
13462
  };
13453
13463
  /* eslint-enable no-var */ /* eslint-disable no-var */ function init(converter, defaultAttributes) {
13454
13464
  function set(name, value, attributes) {
13455
- if (typeof document === "undefined") return;
13465
+ if (typeof document === 'undefined') return;
13456
13466
  attributes = assign({}, defaultAttributes, attributes);
13457
- if (typeof attributes.expires === "number") attributes.expires = new Date(Date.now() + attributes.expires * 864e5);
13467
+ if (typeof attributes.expires === 'number') attributes.expires = new Date(Date.now() + attributes.expires * 864e5);
13458
13468
  if (attributes.expires) attributes.expires = attributes.expires.toUTCString();
13459
13469
  name = encodeURIComponent(name).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
13460
- var stringifiedAttributes = "";
13470
+ var stringifiedAttributes = '';
13461
13471
  for(var attributeName in attributes){
13462
13472
  if (!attributes[attributeName]) continue;
13463
- stringifiedAttributes += "; " + attributeName;
13473
+ stringifiedAttributes += '; ' + attributeName;
13464
13474
  if (attributes[attributeName] === true) continue;
13465
13475
  // Considers RFC 6265 section 5.2:
13466
13476
  // ...
@@ -13469,19 +13479,19 @@ var $cdfeaa1e0e8d642c$exports = {};
13469
13479
  // Consume the characters of the unparsed-attributes up to,
13470
13480
  // not including, the first %x3B (";") character.
13471
13481
  // ...
13472
- stringifiedAttributes += "=" + attributes[attributeName].split(";")[0];
13482
+ stringifiedAttributes += '=' + attributes[attributeName].split(';')[0];
13473
13483
  }
13474
- return document.cookie = name + "=" + converter.write(value, name) + stringifiedAttributes;
13484
+ return document.cookie = name + '=' + converter.write(value, name) + stringifiedAttributes;
13475
13485
  }
13476
13486
  function get(name) {
13477
- if (typeof document === "undefined" || arguments.length && !name) return;
13487
+ if (typeof document === 'undefined' || arguments.length && !name) return;
13478
13488
  // To prevent the for loop in the first place assign an empty array
13479
13489
  // in case there are no cookies at all.
13480
- var cookies = document.cookie ? document.cookie.split("; ") : [];
13490
+ var cookies = document.cookie ? document.cookie.split('; ') : [];
13481
13491
  var jar = {};
13482
13492
  for(var i = 0; i < cookies.length; i++){
13483
- var parts = cookies[i].split("=");
13484
- var value = parts.slice(1).join("=");
13493
+ var parts = cookies[i].split('=');
13494
+ var value = parts.slice(1).join('=');
13485
13495
  try {
13486
13496
  var found = decodeURIComponent(parts[0]);
13487
13497
  jar[found] = converter.read(value, found);
@@ -13494,7 +13504,7 @@ var $cdfeaa1e0e8d642c$exports = {};
13494
13504
  set: set,
13495
13505
  get: get,
13496
13506
  remove: function(name, attributes) {
13497
- set(name, "", assign({}, attributes, {
13507
+ set(name, '', assign({}, attributes, {
13498
13508
  expires: -1
13499
13509
  }));
13500
13510
  },
@@ -13514,7 +13524,7 @@ var $cdfeaa1e0e8d642c$exports = {};
13514
13524
  });
13515
13525
  }
13516
13526
  var api = init(defaultConverter, {
13517
- path: "/"
13527
+ path: '/'
13518
13528
  });
13519
13529
  /* eslint-enable no-var */ return api;
13520
13530
  });
@@ -13551,19 +13561,19 @@ function $9b24cbeb3a465447$export$2e2bcd8739ae039({ id: id, matchers: matchers }
13551
13561
  matchers = matchers.map((matcher)=>matcher.replace(/\s/g, "").toLowerCase());
13552
13562
  return {
13553
13563
  filteredOut: false,
13564
+ active: false,
13554
13565
  get open () {
13555
13566
  return this.isCollection && this.isOpen(id);
13556
13567
  },
13557
- get active () {
13558
- if (this.$refs.link) return this.location && this.location.pathname === this.$refs.link.getAttribute("href");
13559
- return false;
13560
- },
13561
13568
  get children () {
13562
13569
  return this.$refs.items ? Array.from(this.$refs.items.children) : [];
13563
13570
  },
13564
13571
  get isCollection () {
13565
13572
  return !this.$refs.link;
13566
13573
  },
13574
+ checkActive () {
13575
+ this.active = this.$refs.link && window.location.pathname === this.$refs.link.getAttribute("href");
13576
+ },
13567
13577
  toggle () {
13568
13578
  this.toggleOpen(id);
13569
13579
  },